{"openapi": "3.0.3", "info": {"title": "Telegram MTProto test directory", "version": "0.1.0", "description": "Каталог методов клиентского API Telegram."}, "servers": [{"url": "."}], "tags": [{"name": "Utility Methods", "description": "Global TL Operations."}, {"name": "Authorization", "description": "TL-Namensraum: auth."}, {"name": "Konto", "description": "TL-Namensraum: account."}, {"name": "Users", "description": "TL-Namensraum: users."}, {"name": "Contacts", "description": "TL-Namensraum: contacts."}, {"name": "Nachrichten", "description": "TL-Namensraum: messages."}, {"name": "Updates", "description": "TL-Namensraum: updates."}, {"name": "Photos", "description": "TL-Namensraum: photos."}, {"name": "Files", "description": "TL-Namensraum: upload."}, {"name": "Configuration and Help", "description": "TL-Namensraum: help."}, {"name": "Kanäle und Supergruppen", "description": "TL-Namensraum: channels."}, {"name": "Bots", "description": "TL-Namensraum: bots."}, {"name": "Payments", "description": "TL-Namensraum: payments."}, {"name": "Stickers", "description": "TL-Namensraum: stickers."}, {"name": "Calls", "description": "TL-Namensraum: phone."}, {"name": "Translations", "description": "TL-Namensraum: langpack."}, {"name": "Folders", "description": "TL-Namensraum: folders."}, {"name": "Statistics", "description": "TL-Namensraum: stats."}, {"name": "Chat-Ordner", "description": "TL-Namensraum: chatlists."}, {"name": "Stories", "description": "TL-Namensraum: stories."}, {"name": "Telegram Premium", "description": "TL-Namensraum: premium."}, {"name": "SMS", "description": "TL-Namensraum: smsjobs."}, {"name": "Fragment", "description": "TL-Namensraum: fragment."}, {"name": "KI-Editor", "description": "TL-Namensraum: aicompose."}, {"name": "Communitys", "description": "TL-Namensraum: communities."}, {"name": "Temporäre Nachrichten", "description": "TL-Namensraum: ephemeral."}, {"name": "TON Center", "description": "TL-Namensraum: toncenter."}, {"name": "Wallet", "description": "TL-Namensraum: wallet."}, {"name": "Feed", "description": "TL-Namensraum: feed."}], "paths": {"/catalog/invokeAfterMsg": {"post": {"operationId": "invokeAfterMsg", "tags": ["Utility Methods"], "summary": "Execute a request after another one completes successfully", "description": "Telegram will execute the nested request after the previous one succeeds. The client can send both requests in advance. Available to users and bots. [Sequential queries](https://core.telegram.org/api/invoking#sequential-requests).", "x-tl-method": "invokeAfterMsg", "x-tl-id": "3416209197", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `X`.\n\nThe type of X is the same as the result type of the nested method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- `MSG_WAIT_TIMEOUT` – Bei der vorherigen Anfrage ist eine Zeitüberschreitung aufgetreten.\n- `MSG_WAIT_FAILED` – Die vorherige Anfrage ist mit dem Fehler RPC fehlgeschlagen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeAfterMsg"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"msg_id": {"type": "string", "pattern": "^-?\\d+$", "description": "The 64-bit transport ID of the previous MTProto request.", "x-tl-type": "long"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Eine verschachtelte TL-Anfrage, die Telegram nach der vorherigen ausführt."}}, "additionalProperties": false, "required": ["msg_id", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `msg_id` | `long` | Ja | The 64-bit transport ID of the previous MTProto request. |\n| `query` | `!X` | Ja | Eine verschachtelte TL-Anfrage, die Telegram nach der vorherigen ausführt. |"}, "x-telegram-rpc-errors": ["MSG_WAIT_TIMEOUT", "MSG_WAIT_FAILED"], "x-browser-schema-id": "3416209197"}}, "/catalog/invokeAfterMsgs": {"post": {"operationId": "invokeAfterMsgs", "tags": ["Utility Methods"], "summary": "Invokes a query after a successful completion of previous queries", "description": "Invokes a query after a successful completion of previous queries", "x-tl-method": "invokeAfterMsgs", "x-tl-id": "1036301552", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeAfterMsgs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"msg_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "List of messages on which a current query depends"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "The query itself"}}, "additionalProperties": false, "required": ["msg_ids", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `msg_ids` | `Vector<long>` | Ja | List of messages on which a current query depends |\n| `query` | `!X` | Ja | The query itself |"}, "x-browser-schema-id": "1036301552"}}, "/catalog/initConnection": {"post": {"operationId": "initConnection", "tags": ["Utility Methods"], "summary": "Initialize connection", "description": "Initialize connection\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "initConnection", "x-tl-id": "3251461801", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CONNECTION_LAYER_INVALID` – Layer ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/initConnection"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Application identifier (see. [App configuration](https://core.telegram.org/myapp))"}, "device_model": {"type": "string", "x-tl-type": "string", "description": "Gerätemodell"}, "system_version": {"type": "string", "x-tl-type": "string", "description": "Operation system version"}, "app_version": {"type": "string", "x-tl-type": "string", "description": "Application version"}, "system_lang_code": {"type": "string", "x-tl-type": "string", "description": "Code for the language used on the device's OS, ISO 639-1 standard"}, "lang_pack": {"type": "string", "x-tl-type": "string", "description": "Platform identifier (i.e. `android`, `tdesktop`, etc)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links)."}, "proxy": {"type": "object", "x-tl-type": "InputClientProxy", "oneOf": [{"$ref": "#/components/schemas/inputClientProxy"}], "description": "Info about an MTProto proxy", "x-tl-flag": "flags.0?InputClientProxy"}, "params": {"type": "object", "x-tl-type": "JSONValue", "oneOf": [{"$ref": "#/components/schemas/jsonNull"}, {"$ref": "#/components/schemas/jsonBool"}, {"$ref": "#/components/schemas/jsonNumber"}, {"$ref": "#/components/schemas/jsonString"}, {"$ref": "#/components/schemas/jsonArray"}, {"$ref": "#/components/schemas/jsonObject"}], "description": "Zusätzliche initConnection-Parameter.  Derzeit wird nur das Feld `tz_offset` zur Angabe des Zeitzonenversatzes in Sekunden unterstützt.", "x-tl-flag": "flags.1?JSONValue"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "The query itself"}}, "additionalProperties": false, "required": ["api_id", "device_model", "system_version", "app_version", "system_lang_code", "lang_pack", "lang_code", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `api_id` | `int` | Ja | Application identifier (see. [App configuration](https://core.telegram.org/myapp)) |\n| `device_model` | `string` | Ja | Gerätemodell |\n| `system_version` | `string` | Ja | Operation system version |\n| `app_version` | `string` | Ja | Application version |\n| `system_lang_code` | `string` | Ja | Code for the language used on the device's OS, ISO 639-1 standard |\n| `lang_pack` | `string` | Ja | Platform identifier (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Ja | Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links). |\n| `proxy` | `InputClientProxy` | Nein | Info about an MTProto proxy |\n| `params` | `JSONValue` | Nein | Zusätzliche initConnection-Parameter.  Derzeit wird nur das Feld `tz_offset` zur Angabe des Zeitzonenversatzes in Sekunden unterstützt. |\n| `query` | `!X` | Ja | The query itself |"}, "x-telegram-rpc-errors": ["CONNECTION_LAYER_INVALID"], "x-browser-schema-id": "3251461801"}}, "/catalog/invokeWithLayer": {"post": {"operationId": "invokeWithLayer", "tags": ["Utility Methods"], "summary": "Invoke the specified query using the specified API layer", "description": "Invoke the specified query using the specified API [layer](https://core.telegram.org/api/invoking.md#layers)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Aufruf von API Methoden](https://core.telegram.org/api/invoking.md)", "x-tl-method": "invokeWithLayer", "x-tl-id": "3667594509", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Calling API Methods", "https://core.telegram.org/api/invoking.md"]], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AUTH_BYTES_INVALID` – Die bereitgestellte Autorisierung ist ungültig.\n- 400 · `CDN_METHOD_INVALID` – Sie können diese Methode nicht in einem CDN DC aufrufen.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `CONNECTION_API_ID_INVALID` – Die angegebene API-ID ist ungültig.\n- 400 · `CONNECTION_LAYER_INVALID` – Layer ungültig.\n- 406 · `INVITE_HASH_EXPIRED` — Der Einladungslink ist abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeWithLayer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"layer": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The layer to use"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "The query"}}, "additionalProperties": false, "required": ["layer", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `layer` | `int` | Ja | The layer to use |\n| `query` | `!X` | Ja | The query |"}, "x-telegram-rpc-errors": ["AUTH_BYTES_INVALID", "CDN_METHOD_INVALID", "CHAT_WRITE_FORBIDDEN", "CONNECTION_API_ID_INVALID", "CONNECTION_LAYER_INVALID", "INVITE_HASH_EXPIRED"], "x-browser-schema-id": "3667594509"}}, "/catalog/invokeWithoutUpdates": {"post": {"operationId": "invokeWithoutUpdates", "tags": ["Utility Methods"], "summary": "Invoke a request without subscribing the used connection for updates (this is enabled by default for file queries).", "description": "Invoke a request without subscribing the used connection for [updates](https://core.telegram.org/api/updates.md) (this is enabled by default for [file queries](https://core.telegram.org/api/files.md)).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Hochladen und Herunterladen von Dateien](https://core.telegram.org/api/files.md)", "x-tl-method": "invokeWithoutUpdates", "x-tl-id": "3214170551", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Uploading and Downloading Files", "https://core.telegram.org/api/files.md"]], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeWithoutUpdates"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "The query"}}, "additionalProperties": false, "required": ["query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `query` | `!X` | Ja | The query |"}, "x-browser-schema-id": "3214170551"}}, "/catalog/invokeWithMessagesRange": {"post": {"operationId": "invokeWithMessagesRange", "tags": ["Utility Methods"], "summary": "Invoke with the given message range", "description": "Invoke with the given message range", "x-tl-method": "invokeWithMessagesRange", "x-tl-id": "911373810", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeWithMessagesRange"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"range": {"type": "object", "x-tl-type": "MessageRange", "oneOf": [{"$ref": "#/components/schemas/messageRange"}], "description": "Message range"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Query"}}, "additionalProperties": false, "required": ["range", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `range` | `MessageRange` | Ja | Message range |\n| `query` | `!X` | Ja | Query |"}, "x-browser-schema-id": "911373810"}}, "/catalog/invokeWithTakeout": {"post": {"operationId": "invokeWithTakeout", "tags": ["Utility Methods"], "summary": "Invoke a method within a takeout session, see here » for more info.", "description": "Invoke a method within a [takeout session, see here » for more info](https://core.telegram.org/api/takeout.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Zum Mitnehmen API](https://core.telegram.org/api/takeout.md)", "x-tl-method": "invokeWithTakeout", "x-tl-id": "2896821550", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Takeout API", "https://core.telegram.org/api/takeout.md"]], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeWithTakeout"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"takeout_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Takeout session ID »](https://core.telegram.org/api/takeout.md)", "x-tl-type": "long"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Query"}}, "additionalProperties": false, "required": ["takeout_id", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `takeout_id` | `long` | Ja | [Takeout session ID »](https://core.telegram.org/api/takeout.md) |\n| `query` | `!X` | Ja | Query |"}, "x-browser-schema-id": "2896821550"}}, "/catalog/invokeWithBusinessConnection": {"post": {"operationId": "invokeWithBusinessConnection", "tags": ["Utility Methods"], "summary": "Invoke a method using a Telegram Business Bot connection, see here » for more info, including a list of the methods that can be wrapped in this constructor.", "description": "Invoke a method using a [Telegram Business Bot connection, see here » for more info, including a list of the methods that can be wrapped in this constructor](https://core.telegram.org/api/bots/connected-business-bots.md).\n\nMake sure to always send queries wrapped in a `invokeWithBusinessConnection` to the datacenter ID, specified in the `dc_id` field of the [botBusinessConnection](https://core.telegram.org/constructor/botBusinessConnection.md) that is being used.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)", "x-tl-method": "invokeWithBusinessConnection", "x-tl-id": "3710427022", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"]], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeWithBusinessConnection"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"connection_id": {"type": "string", "x-tl-type": "string", "description": "Geschäftsverbindungs-ID."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "The actual query."}}, "additionalProperties": false, "required": ["connection_id", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `connection_id` | `string` | Ja | Geschäftsverbindungs-ID. |\n| `query` | `!X` | Ja | The actual query. |"}, "x-browser-schema-id": "3710427022"}}, "/catalog/invokeWithGooglePlayIntegrity": {"post": {"operationId": "invokeWithGooglePlayIntegrity", "tags": ["Utility Methods"], "summary": "Official clients only, invoke with Google Play Integrity token.", "description": "Official clients only, invoke with Google Play Integrity token.", "x-tl-method": "invokeWithGooglePlayIntegrity", "x-tl-id": "502868356", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeWithGooglePlayIntegrity"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"nonce": {"type": "string", "x-tl-type": "string", "description": "Nonce."}, "token": {"type": "string", "x-tl-type": "string", "description": "Token."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Query."}}, "additionalProperties": false, "required": ["nonce", "token", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `nonce` | `string` | Ja | Nonce. |\n| `token` | `string` | Ja | Token. |\n| `query` | `!X` | Ja | Query. |"}, "x-browser-schema-id": "502868356"}}, "/catalog/invokeWithApnsSecret": {"post": {"operationId": "invokeWithApnsSecret", "tags": ["Utility Methods"], "summary": "Official clients only, invoke with Apple push verification.", "description": "Official clients only, invoke with Apple push verification.", "x-tl-method": "invokeWithApnsSecret", "x-tl-id": "229528824", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeWithApnsSecret"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"nonce": {"type": "string", "x-tl-type": "string", "description": "Nonce."}, "secret": {"type": "string", "x-tl-type": "string", "description": "Secret."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Query."}}, "additionalProperties": false, "required": ["nonce", "secret", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `nonce` | `string` | Ja | Nonce. |\n| `secret` | `string` | Ja | Secret. |\n| `query` | `!X` | Ja | Query. |"}, "x-browser-schema-id": "229528824"}}, "/catalog/invokeWithReCaptcha": {"post": {"operationId": "invokeWithReCaptcha", "tags": ["Utility Methods"], "summary": "Official clients only: re-execute a method call that required reCAPTCHA verification via a `RECAPTCHA_CHECK_%s__%s`, where the first placeholder is the `action`, and the second one is the reCAPTCHA key ID.", "description": "Official clients only: re-execute a method call that required reCAPTCHA verification via a `RECAPTCHA_CHECK_%s__%s`, where the first placeholder is the `action`, and the second one is the reCAPTCHA key ID.", "x-tl-method": "invokeWithReCaptcha", "x-tl-id": "2914717588", "x-tl-result": "X", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `X`.\n\nReturns the type returned by the invoked method.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "TL type: X."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/invokeWithReCaptcha"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"token": {"type": "string", "x-tl-type": "string", "description": "reCAPTCHA token received after verification."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "The original method call."}}, "additionalProperties": false, "required": ["token", "query"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `token` | `string` | Ja | reCAPTCHA token received after verification. |\n| `query` | `!X` | Ja | The original method call. |"}, "x-browser-schema-id": "2914717588"}}, "/catalog/auth.sendCode": {"post": {"operationId": "auth.sendCode", "tags": ["Authorization"], "summary": "Send the verification code for login", "description": "Send the verification code for login\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "auth.sendCode", "x-tl-id": "2792825935", "x-tl-result": "auth.SentCode", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.SentCode`.\n\n[auth.SentCode](https://core.telegram.org/type/auth.SentCode.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.SentCode", "oneOf": [{"$ref": "#/components/schemas/auth.sentCode"}, {"$ref": "#/components/schemas/auth.sentCodeSuccess"}, {"$ref": "#/components/schemas/auth.sentCodePaymentRequired"}], "description": "Type TL: auth.SentCode."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `API_ID_INVALID` — API ID ungültig.\n- 400 · `API_ID_PUBLISHED_FLOOD` – Diese API-ID wurde irgendwo veröffentlicht, Sie können sie jetzt nicht verwenden.\n- 500 · `AUTH_RESTART` – Starten Sie den Autorisierungsprozess neu.\n- 500 · `AUTH_RESTART_%d` – Interner Fehler (Debug-Info %d), bitte wiederholen Sie den Methodenaufruf.\n- 400 · `PHONE_NUMBER_APP_SIGNUP_FORBIDDEN` – Sie können sich nicht mit dieser App anmelden.\n- 400 · `PHONE_NUMBER_BANNED` — Die angegebene Telefonnummer ist aus dem Telegramm ausgeschlossen.\n- 400 · `PHONE_NUMBER_FLOOD` – Sie haben zu oft nach dem Code gefragt.\n- 406 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig.\n- 406 · `PHONE_PASSWORD_FLOOD` – Sie haben zu oft versucht, sich anzumelden.\n- 400 · `PHONE_PASSWORD_PROTECTED` — Dieses Telefon ist passwortgeschützt.\n- 400 · `SMS_CODE_CREATE_FAILED` – Beim Erstellen des SMS-Codes ist ein Fehler aufgetreten.\n- 406 · `UPDATE_APP_TO_LOGIN` — Please update your client to login."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.sendCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "Phone number in international format"}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Application identifier (see [App configuration](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Application secret hash (see [App configuration](https://core.telegram.org/myapp))"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Settings for the code type to send"}}, "additionalProperties": false, "required": ["phone_number", "api_id", "api_hash", "settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | Phone number in international format |\n| `api_id` | `int` | Ja | Application identifier (see [App configuration](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | Ja | Application secret hash (see [App configuration](https://core.telegram.org/myapp)) |\n| `settings` | `CodeSettings` | Ja | Settings for the code type to send |"}, "x-telegram-rpc-errors": ["API_ID_INVALID", "API_ID_PUBLISHED_FLOOD", "AUTH_RESTART", "AUTH_RESTART_%d", "PHONE_NUMBER_APP_SIGNUP_FORBIDDEN", "PHONE_NUMBER_BANNED", "PHONE_NUMBER_FLOOD", "PHONE_NUMBER_INVALID", "PHONE_PASSWORD_FLOOD", "PHONE_PASSWORD_PROTECTED", "SMS_CODE_CREATE_FAILED", "UPDATE_APP_TO_LOGIN"], "x-browser-schema-id": "2792825935"}}, "/catalog/auth.signUp": {"post": {"operationId": "auth.signUp", "tags": ["Authorization"], "summary": "Registers a validated phone number in the system.", "description": "Registers a validated phone number in the system.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "auth.signUp", "x-tl-id": "2865215255", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.\n\n[auth.Authorization](https://core.telegram.org/type/auth.Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FIRSTNAME_INVALID` – Der Vorname ist ungültig.\n- 400 · `LASTNAME_INVALID` — Der Nachname ist ungültig.\n- 400 · `PHONE_CODE_EMPTY` — phone_code fehlt.\n- 400 · `PHONE_CODE_EXPIRED` – Der von Ihnen angegebene Telefoncode ist abgelaufen.\n- 400 · `PHONE_CODE_INVALID` – Der angegebene Telefoncode ist ungültig.\n- 400 · `PHONE_NUMBER_FLOOD` – Sie haben zu oft nach dem Code gefragt.\n- 406 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig.\n- 400 · `PHONE_NUMBER_OCCUPIED` – Die Telefonnummer wird bereits verwendet."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.signUp"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"no_joined_notifications": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, users on Telegram that have already added `phone_number` to their contacts will *not* receive signup notifications about this user."}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Phone number in the international format"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "SMS-message ID"}, "first_name": {"type": "string", "x-tl-type": "string", "description": "New user first name"}, "last_name": {"type": "string", "x-tl-type": "string", "description": "New user last name"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "first_name", "last_name"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `no_joined_notifications` | `true` | Nein | If set, users on Telegram that have already added `phone_number` to their contacts will *not* receive signup notifications about this user. |\n| `phone_number` | `string` | Ja | Phone number in the international format |\n| `phone_code_hash` | `string` | Ja | SMS-message ID |\n| `first_name` | `string` | Ja | New user first name |\n| `last_name` | `string` | Ja | New user last name |"}, "x-telegram-rpc-errors": ["FIRSTNAME_INVALID", "LASTNAME_INVALID", "PHONE_CODE_EMPTY", "PHONE_CODE_EXPIRED", "PHONE_CODE_INVALID", "PHONE_NUMBER_FLOOD", "PHONE_NUMBER_INVALID", "PHONE_NUMBER_OCCUPIED"], "x-browser-schema-id": "2865215255"}}, "/catalog/auth.signIn": {"post": {"operationId": "auth.signIn", "tags": ["Authorization"], "summary": "Signs in a user with a validated phone number.", "description": "Signs in a user with a validated phone number.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "auth.signIn", "x-tl-id": "2371004753", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.\n\n[auth.Authorization](https://core.telegram.org/type/auth.Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 500 · `AUTH_RESTART` – Starten Sie den Autorisierungsprozess neu.\n- 400 · `PHONE_CODE_EMPTY` — phone_code fehlt.\n- 400 · `PHONE_CODE_EXPIRED` – Der von Ihnen angegebene Telefoncode ist abgelaufen.\n- 400 · `PHONE_CODE_INVALID` – Der angegebene Telefoncode ist ungültig.\n- 406 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig.\n- 400 · `PHONE_NUMBER_UNOCCUPIED` — Die Telefonnummer wird noch nicht verwendet.\n- 500 · `SIGN_IN_FAILED` – Fehler beim Anmelden.\n- 406 · `UPDATE_APP_TO_LOGIN` — Please update your client to login."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.signIn"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "Phone number in the international format"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "SMS-message ID, obtained from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valid numerical code from the SMS-message"}, "email_verification": {"type": "object", "x-tl-type": "EmailVerification", "oneOf": [{"$ref": "#/components/schemas/emailVerificationCode"}, {"$ref": "#/components/schemas/emailVerificationGoogle"}, {"$ref": "#/components/schemas/emailVerificationApple"}], "description": "Email verification code or token", "x-tl-flag": "flags.1?EmailVerification"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | Phone number in the international format |\n| `phone_code_hash` | `string` | Ja | SMS-message ID, obtained from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `phone_code` | `string` | Nein | Valid numerical code from the SMS-message |\n| `email_verification` | `EmailVerification` | Nein | Email verification code or token |"}, "x-telegram-rpc-errors": ["AUTH_RESTART", "PHONE_CODE_EMPTY", "PHONE_CODE_EXPIRED", "PHONE_CODE_INVALID", "PHONE_NUMBER_INVALID", "PHONE_NUMBER_UNOCCUPIED", "SIGN_IN_FAILED", "UPDATE_APP_TO_LOGIN"], "x-browser-schema-id": "2371004753"}}, "/catalog/auth.logOut": {"post": {"operationId": "auth.logOut", "tags": ["Authorization"], "summary": "Logs out the user.", "description": "Logs out the user.", "x-tl-method": "auth.logOut", "x-tl-id": "1047706137", "x-tl-result": "auth.LoggedOut", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.LoggedOut`.\n\n[auth.LoggedOut](https://core.telegram.org/type/auth.LoggedOut.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.LoggedOut", "oneOf": [{"$ref": "#/components/schemas/auth.loggedOut"}], "description": "Type TL: auth.LoggedOut."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.logOut"}, "x-browser-schema-id": "1047706137"}}, "/catalog/auth.resetAuthorizations": {"post": {"operationId": "auth.resetAuthorizations", "tags": ["Authorization"], "summary": "Terminates all user's authorized sessions except for the current one.", "description": "Terminates all user's authorized sessions except for the current one.\n\nNach dem Aufruf dieser Methode ist es notwendig, das aktuelle Gerät mit der Methode [account.registerDevice](https://core.telegram.org/method/account.registerDevice.md)] neu zu registrieren\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "auth.resetAuthorizations", "x-tl-id": "2678787354", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` – Sie können sich von anderen Sitzungen nicht abmelden, wenn seit der Anmeldung bei der aktuellen Sitzung weniger als 24 Stunden vergangen sind."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.resetAuthorizations"}, "x-telegram-rpc-errors": ["FRESH_RESET_AUTHORISATION_FORBIDDEN"], "x-browser-schema-id": "2678787354"}}, "/catalog/auth.exportAuthorization": {"post": {"operationId": "auth.exportAuthorization", "tags": ["Authorization"], "summary": "Returns data for copying authorization to another data-center.", "description": "Returns data for copying authorization to another data-center.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "auth.exportAuthorization", "x-tl-id": "3854565325", "x-tl-result": "auth.ExportedAuthorization", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.ExportedAuthorization`.\n\n[auth.ExportedAuthorization](https://core.telegram.org/type/auth.ExportedAuthorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.ExportedAuthorization", "oneOf": [{"$ref": "#/components/schemas/auth.exportedAuthorization"}], "description": "Type TL: auth.ExportedAuthorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `DC_ID_INVALID` – Die angegebene DC-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.exportAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of a target data-center"}}, "additionalProperties": false, "required": ["dc_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dc_id` | `int` | Ja | Number of a target data-center |"}, "x-telegram-rpc-errors": ["DC_ID_INVALID"], "x-browser-schema-id": "3854565325"}}, "/catalog/auth.importAuthorization": {"post": {"operationId": "auth.importAuthorization", "tags": ["Authorization"], "summary": "Logs in a user using a key transmitted from his native data-center.", "description": "Logs in a user using a key transmitted from his native data-center.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "auth.importAuthorization", "x-tl-id": "2776268205", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.\n\n[auth.Authorization](https://core.telegram.org/type/auth.Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AUTH_BYTES_INVALID` – Die bereitgestellte Autorisierung ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.importAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "string", "pattern": "^-?\\d+$", "description": "Benutzer-ID", "x-tl-type": "long"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Authorization key"}}, "additionalProperties": false, "required": ["id", "bytes"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `long` | Ja | Benutzer-ID |\n| `bytes` | `bytes` | Ja | Authorization key |"}, "x-telegram-rpc-errors": ["AUTH_BYTES_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "2776268205"}}, "/catalog/auth.bindTempAuthKey": {"post": {"operationId": "auth.bindTempAuthKey", "tags": ["Authorization"], "summary": "Binds a temporary authorization key `temp_auth_key_id` to the permanent authorization key `perm_auth_key_id`.", "description": "Binds a temporary authorization key `temp_auth_key_id` to the permanent authorization key `perm_auth_key_id`.\n\nFor more information, see [Perfect Forward Secrecy](https://core.telegram.org/api/pfs.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Perfekte Vorwärtsgeheimhaltung](https://core.telegram.org/api/pfs.md)\n- [﻿Mobiles Protokoll: Detaillierte Beschreibung](https://core.telegram.org/mtproto/description.md)\n- [Aufruf von API Methoden](https://core.telegram.org/api/invoking.md)", "x-tl-method": "auth.bindTempAuthKey", "x-tl-id": "3453233669", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Perfect Forward Secrecy", "https://core.telegram.org/api/pfs.md"], ["﻿Mobile Protocol: Detailed Description", "https://core.telegram.org/mtproto/description.md"], ["Calling API Methods", "https://core.telegram.org/api/invoking.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ENCRYPTED_MESSAGE_INVALID` – Verschlüsselte Nachricht ungültig.\n- 400 · `EXPIRES_AT_INVALID` – Der angegebene Zeitstempel `expires_at` ist ungültig.\n- 400 · `TEMP_AUTH_KEY_ALREADY_BOUND` – Der übergebene temporäre Schlüssel ist bereits an einen anderen **perm_auth_key_id** gebunden.\n- 400 · `TEMP_AUTH_KEY_EMPTY` – Kein temporärer Authentifizierungsschlüssel bereitgestellt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.bindTempAuthKey"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"perm_auth_key_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Permanent auth_key_id to bind to", "x-tl-type": "long"}, "nonce": {"type": "string", "pattern": "^-?\\d+$", "description": "Random long from [Binding message contents](#binding-message-contents)", "x-tl-type": "long"}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Unix timestamp to invalidate temporary key, see [Binding message contents](#binding-message-contents)"}, "encrypted_message": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "See [Generating encrypted_message](#generating-encrypted-message)"}}, "additionalProperties": false, "required": ["perm_auth_key_id", "nonce", "expires_at", "encrypted_message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `perm_auth_key_id` | `long` | Ja | Permanent auth_key_id to bind to |\n| `nonce` | `long` | Ja | Random long from [Binding message contents](#binding-message-contents) |\n| `expires_at` | `int` | Ja | Unix timestamp to invalidate temporary key, see [Binding message contents](#binding-message-contents) |\n| `encrypted_message` | `bytes` | Ja | See [Generating encrypted_message](#generating-encrypted-message) |"}, "x-telegram-rpc-errors": ["ENCRYPTED_MESSAGE_INVALID", "EXPIRES_AT_INVALID", "TEMP_AUTH_KEY_ALREADY_BOUND", "TEMP_AUTH_KEY_EMPTY"], "x-browser-schema-id": "3453233669"}}, "/catalog/auth.importBotAuthorization": {"post": {"operationId": "auth.importBotAuthorization", "tags": ["Authorization"], "summary": "Login as a bot", "description": "Login as a bot\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "auth.importBotAuthorization", "x-tl-id": "1738800940", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.\n\n[auth.Authorization](https://core.telegram.org/type/auth.Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ACCESS_TOKEN_EXPIRED` – Zugriffstoken abgelaufen.\n- 400 · `ACCESS_TOKEN_INVALID` – Zugriffstoken ungültig.\n- 400 · `API_ID_INVALID` — API ID ungültig.\n- 400 · `API_ID_PUBLISHED_FLOOD` – Diese API-ID wurde irgendwo veröffentlicht, Sie können sie jetzt nicht verwenden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.importBotAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"flags": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für zukünftige Verwendung reserviert"}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Application identifier (see. [App configuration](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Application identifier hash (see. [App configuration](https://core.telegram.org/myapp))"}, "bot_auth_token": {"type": "string", "x-tl-type": "string", "description": "Bot token (see [bots](https://core.telegram.org/bots.md))"}}, "additionalProperties": false, "required": ["flags", "api_id", "api_hash", "bot_auth_token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `flags` | `int` | Ja | Für zukünftige Verwendung reserviert |\n| `api_id` | `int` | Ja | Application identifier (see. [App configuration](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | Ja | Application identifier hash (see. [App configuration](https://core.telegram.org/myapp)) |\n| `bot_auth_token` | `string` | Ja | Bot token (see [bots](https://core.telegram.org/bots.md)) |"}, "x-telegram-rpc-errors": ["ACCESS_TOKEN_EXPIRED", "ACCESS_TOKEN_INVALID", "API_ID_INVALID", "API_ID_PUBLISHED_FLOOD"], "x-browser-schema-id": "1738800940"}}, "/catalog/auth.checkPassword": {"post": {"operationId": "auth.checkPassword", "tags": ["Authorization"], "summary": "Try logging to an account protected by a 2FA password.", "description": "Try logging to an account protected by a [2FA password](https://core.telegram.org/api/srp.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "auth.checkPassword", "x-tl-id": "3515567382", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.\n\n[auth.Authorization](https://core.telegram.org/type/auth.Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 500 · `AUTH_KEY_UNSYNCHRONIZED` — Interner Fehler, bitte wiederholen Sie den Methodenaufruf.\n- 400 · `PASSWORD_HASH_INVALID` – Der bereitgestellte Passwort-Hash ist ungültig.\n- 400 · `SRP_ID_INVALID` – Ungültige SRP ID angegeben.\n- 400 · `SRP_PASSWORD_CHANGED` — Passwort wurde geändert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.checkPassword"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "The account's password (see [SRP](https://core.telegram.org/api/srp.md))"}}, "additionalProperties": false, "required": ["password"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Ja | The account's password (see [SRP](https://core.telegram.org/api/srp.md)) |"}, "x-telegram-rpc-errors": ["AUTH_KEY_UNSYNCHRONIZED", "PASSWORD_HASH_INVALID", "SRP_ID_INVALID", "SRP_PASSWORD_CHANGED"], "x-browser-schema-id": "3515567382"}}, "/catalog/auth.requestPasswordRecovery": {"post": {"operationId": "auth.requestPasswordRecovery", "tags": ["Authorization"], "summary": "Request recovery code of a 2FA password, only for accounts with a recovery email configured.", "description": "Request recovery code of a [2FA password](https://core.telegram.org/api/srp.md), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp.md#email-verification).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "auth.requestPasswordRecovery", "x-tl-id": "3633822822", "x-tl-result": "auth.PasswordRecovery", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `auth.PasswordRecovery`.\n\n[auth.PasswordRecovery](https://core.telegram.org/type/auth.PasswordRecovery.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.PasswordRecovery", "oneOf": [{"$ref": "#/components/schemas/auth.passwordRecovery"}], "description": "Type TL: auth.PasswordRecovery."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PASSWORD_EMPTY` – Das angegebene Passwort ist leer.\n- 400 · `PASSWORD_RECOVERY_NA` – Es wurde keine E-Mail-Adresse festgelegt, das Passwort kann nicht per E-Mail wiederhergestellt werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.requestPasswordRecovery"}, "x-telegram-rpc-errors": ["PASSWORD_EMPTY", "PASSWORD_RECOVERY_NA"], "x-browser-schema-id": "3633822822"}}, "/catalog/auth.recoverPassword": {"post": {"operationId": "auth.recoverPassword", "tags": ["Authorization"], "summary": "Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.", "description": "Reset the [2FA password](https://core.telegram.org/api/srp.md) using the recovery code sent using [auth.requestPasswordRecovery](https://core.telegram.org/method/auth.requestPasswordRecovery.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "auth.recoverPassword", "x-tl-id": "923364464", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.\n\n[auth.Authorization](https://core.telegram.org/type/auth.Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CODE_EMPTY` – Der bereitgestellte Code ist leer.\n- 400 · `NEW_SETTINGS_INVALID` – Die neuen Passworteinstellungen sind ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.recoverPassword"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"code": {"type": "string", "x-tl-type": "string", "description": "Code received via email"}, "new_settings": {"type": "object", "x-tl-type": "account.PasswordInputSettings", "oneOf": [{"$ref": "#/components/schemas/account.passwordInputSettings"}], "description": "New password", "x-tl-flag": "flags.0?account.PasswordInputSettings"}}, "additionalProperties": false, "required": ["code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `code` | `string` | Ja | Code received via email |\n| `new_settings` | `account.PasswordInputSettings` | Nein | New password |"}, "x-telegram-rpc-errors": ["CODE_EMPTY", "NEW_SETTINGS_INVALID"], "x-browser-schema-id": "923364464"}}, "/catalog/auth.resendCode": {"post": {"operationId": "auth.resendCode", "tags": ["Authorization"], "summary": "Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see login for more info.", "description": "Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode: see [login](https://core.telegram.org/api/auth.md) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "auth.resendCode", "x-tl-id": "3403969827", "x-tl-result": "auth.SentCode", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `auth.SentCode`.\n\n[auth.SentCode](https://core.telegram.org/type/auth.SentCode.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.SentCode", "oneOf": [{"$ref": "#/components/schemas/auth.sentCode"}, {"$ref": "#/components/schemas/auth.sentCodeSuccess"}, {"$ref": "#/components/schemas/auth.sentCodePaymentRequired"}], "description": "Type TL: auth.SentCode."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMAIL_INSTALL_MISSING` – Es wird versucht, einen Code an die Wiederherstellungs-E-Mail zu senden, aber es ist keine E-Mail konfiguriert.\n- 400 · `PHONE_CODE_EMPTY` — phone_code fehlt.\n- 400 · `PHONE_CODE_EXPIRED` – Der von Ihnen angegebene Telefoncode ist abgelaufen.\n- 400 · `PHONE_CODE_HASH_EMPTY` — phone_code_hash fehlt.\n- 406 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig.\n- 406 · `SEND_CODE_UNAVAILABLE` — Returned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend)."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.resendCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "The phone number"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "The phone code hash obtained from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}, "reason": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Official clients only, used if the device integrity verification failed, and no secret could be obtained to invoke [auth.requestFirebaseSms](https://core.telegram.org/method/auth.requestFirebaseSms.md): in this case, the device integrity verification failure reason must be passed here."}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | The phone number |\n| `phone_code_hash` | `string` | Ja | The phone code hash obtained from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `reason` | `string` | Nein | Official clients only, used if the device integrity verification failed, and no secret could be obtained to invoke [auth.requestFirebaseSms](https://core.telegram.org/method/auth.requestFirebaseSms.md): in this case, the device integrity verification failure reason must be passed here. |"}, "x-telegram-rpc-errors": ["EMAIL_INSTALL_MISSING", "PHONE_CODE_EMPTY", "PHONE_CODE_EXPIRED", "PHONE_CODE_HASH_EMPTY", "PHONE_NUMBER_INVALID", "SEND_CODE_UNAVAILABLE"], "x-browser-schema-id": "3403969827"}}, "/catalog/auth.cancelCode": {"post": {"operationId": "auth.cancelCode", "tags": ["Authorization"], "summary": "Cancel the login verification code", "description": "Cancel the login verification code\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "auth.cancelCode", "x-tl-id": "520357240", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PHONE_CODE_EXPIRED` – Der von Ihnen angegebene Telefoncode ist abgelaufen.\n- 406 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.cancelCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Phone code hash from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | Telefonnummer |\n| `phone_code_hash` | `string` | Ja | Phone code hash from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |"}, "x-telegram-rpc-errors": ["PHONE_CODE_EXPIRED", "PHONE_NUMBER_INVALID"], "x-browser-schema-id": "520357240"}}, "/catalog/auth.dropTempAuthKeys": {"post": {"operationId": "auth.dropTempAuthKeys", "tags": ["Authorization"], "summary": "Delete all temporary authorization keys **except for** the ones specified", "description": "Delete all temporary authorization keys **except for** the ones specified", "x-tl-method": "auth.dropTempAuthKeys", "x-tl-id": "2387124616", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.dropTempAuthKeys"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"except_auth_keys": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "The auth keys that **shouldn't** be dropped."}}, "additionalProperties": false, "required": ["except_auth_keys"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `except_auth_keys` | `Vector<long>` | Ja | The auth keys that **shouldn't** be dropped. |"}, "x-browser-schema-id": "2387124616"}}, "/catalog/auth.exportLoginToken": {"post": {"operationId": "auth.exportLoginToken", "tags": ["Authorization"], "summary": "Generate a login token, for login via QR code.  ", "description": "Generate a login token, for [login via QR code](https://core.telegram.org/api/qr-login.md).  \nThe generated login token should be encoded using base64url, then shown as a `tg://login?token=base64encodedtoken` [deep link »](https://core.telegram.org/api/links.md#qr-code-login-links) in the QR code.\n\nFor more info, see [login via QR code](https://core.telegram.org/api/qr-login.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Login per QR-Code](https://core.telegram.org/api/qr-login.md)\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "auth.exportLoginToken", "x-tl-id": "3084944894", "x-tl-result": "auth.LoginToken", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Login via QR code", "https://core.telegram.org/api/qr-login.md"], ["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `auth.LoginToken`.\n\n[auth.LoginToken](https://core.telegram.org/type/auth.LoginToken.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.LoginToken", "oneOf": [{"$ref": "#/components/schemas/auth.loginToken"}, {"$ref": "#/components/schemas/auth.loginTokenMigrateTo"}, {"$ref": "#/components/schemas/auth.loginTokenSuccess"}], "description": "Type TL: auth.LoginToken."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `API_ID_INVALID` — API ID ungültig.\n- 400 · `API_ID_PUBLISHED_FLOOD` – Diese API-ID wurde irgendwo veröffentlicht, Sie können sie jetzt nicht verwenden.\n- 500 · `AUTH_RESTART` – Starten Sie den Autorisierungsprozess neu."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.exportLoginToken"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Application identifier (see. [App configuration](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Application identifier hash (see. [App configuration](https://core.telegram.org/myapp))"}, "except_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "List of already logged-in user IDs, to prevent logging in twice with the same user"}}, "additionalProperties": false, "required": ["api_id", "api_hash", "except_ids"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `api_id` | `int` | Ja | Application identifier (see. [App configuration](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | Ja | Application identifier hash (see. [App configuration](https://core.telegram.org/myapp)) |\n| `except_ids` | `Vector<long>` | Ja | List of already logged-in user IDs, to prevent logging in twice with the same user |"}, "x-telegram-rpc-errors": ["API_ID_INVALID", "API_ID_PUBLISHED_FLOOD", "AUTH_RESTART"], "x-browser-schema-id": "3084944894"}}, "/catalog/auth.importLoginToken": {"post": {"operationId": "auth.importLoginToken", "tags": ["Authorization"], "summary": "Login using a redirected login token, generated in case of DC mismatch during QR code login.", "description": "Login using a redirected login token, generated in case of DC mismatch during [QR code login](https://core.telegram.org/api/qr-login.md).\n\nFor more info, see [login via QR code](https://core.telegram.org/api/qr-login.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Login per QR-Code](https://core.telegram.org/api/qr-login.md)", "x-tl-method": "auth.importLoginToken", "x-tl-id": "2511101156", "x-tl-result": "auth.LoginToken", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Login via QR code", "https://core.telegram.org/api/qr-login.md"]], "responses": {"200": {"description": "MTProto result · `auth.LoginToken`.\n\n[auth.LoginToken](https://core.telegram.org/type/auth.LoginToken.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.LoginToken", "oneOf": [{"$ref": "#/components/schemas/auth.loginToken"}, {"$ref": "#/components/schemas/auth.loginTokenMigrateTo"}, {"$ref": "#/components/schemas/auth.loginTokenSuccess"}], "description": "Type TL: auth.LoginToken."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AUTH_TOKEN_ALREADY_ACCEPTED` – Das angegebene Authentifizierungstoken wurde bereits akzeptiert.\n- 400 · `AUTH_TOKEN_EXPIRED` – Das Autorisierungstoken ist abgelaufen.\n- 400 · `AUTH_TOKEN_INVALID` – Das angegebene Authentifizierungstoken ist ungültig.\n- 400 · `AUTH_TOKEN_INVALIDX` – Das angegebene Authentifizierungstoken ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.importLoginToken"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Login token"}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `token` | `bytes` | Ja | Login token |"}, "x-telegram-rpc-errors": ["AUTH_TOKEN_ALREADY_ACCEPTED", "AUTH_TOKEN_EXPIRED", "AUTH_TOKEN_INVALID", "AUTH_TOKEN_INVALIDX"], "x-browser-schema-id": "2511101156"}}, "/catalog/auth.acceptLoginToken": {"post": {"operationId": "auth.acceptLoginToken", "tags": ["Authorization"], "summary": "Akzeptieren Sie das QR-Code-Anmeldetoken und melden Sie sich bei der App an, die es generiert hat.", "description": "Akzeptieren Sie das QR-Code-Anmeldetoken und melden Sie sich bei der App an, die es generiert hat.\n\nReturns info about the new session.\n\nFor more info, see [login via QR code](https://core.telegram.org/api/qr-login.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Login per QR-Code](https://core.telegram.org/api/qr-login.md)", "x-tl-method": "auth.acceptLoginToken", "x-tl-id": "3902057805", "x-tl-result": "Authorization", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Login via QR code", "https://core.telegram.org/api/qr-login.md"]], "responses": {"200": {"description": "MTProto result · `Authorization`.\n\n[Authorization](https://core.telegram.org/type/Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Authorization", "oneOf": [{"$ref": "#/components/schemas/authorization"}], "description": "TL Type: Authorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AUTH_TOKEN_ALREADY_ACCEPTED` – Das angegebene Authentifizierungstoken wurde bereits akzeptiert.\n- 400 · `AUTH_TOKEN_EXCEPTION` – Beim Importieren des Authentifizierungstokens ist ein Fehler aufgetreten.\n- 400 · `AUTH_TOKEN_EXPIRED` – Das Autorisierungstoken ist abgelaufen.\n- 400 · `AUTH_TOKEN_INVALIDX` – Das angegebene Authentifizierungstoken ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.acceptLoginToken"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Login token embedded in QR code, for more info, see [login via QR code](https://core.telegram.org/api/qr-login.md)."}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `token` | `bytes` | Ja | Login token embedded in QR code, for more info, see [login via QR code](https://core.telegram.org/api/qr-login.md). |"}, "x-telegram-rpc-errors": ["AUTH_TOKEN_ALREADY_ACCEPTED", "AUTH_TOKEN_EXCEPTION", "AUTH_TOKEN_EXPIRED", "AUTH_TOKEN_INVALIDX"], "x-browser-schema-id": "3902057805"}}, "/catalog/auth.checkRecoveryPassword": {"post": {"operationId": "auth.checkRecoveryPassword", "tags": ["Authorization"], "summary": "Überprüfen Sie, ob der mit auth.requestPasswordRecovery gesendete 2FA-Wiederherstellungscode gültig ist, bevor Sie ihn an auth.recoverPassword übergeben.", "description": "Überprüfen Sie, ob der mit [auth.requestPasswordRecovery](https://core.telegram.org/method/auth.requestPasswordRecovery.md) gesendete [2FA-Wiederherstellungscode](https://core.telegram.org/api/srp.md)] gültig ist, bevor Sie ihn an [auth.recoverPassword](https://core.telegram.org/method/auth.recoverPassword.md) weitergeben.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "auth.checkRecoveryPassword", "x-tl-id": "221691769", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CODE_EMPTY` – Der bereitgestellte Code ist leer.\n- 400 · `PASSWORD_RECOVERY_EXPIRED` – Der Wiederherstellungscode ist abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.checkRecoveryPassword"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"code": {"type": "string", "x-tl-type": "string", "description": "Code received via email"}}, "additionalProperties": false, "required": ["code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `code` | `string` | Ja | Code received via email |"}, "x-telegram-rpc-errors": ["CODE_EMPTY", "PASSWORD_RECOVERY_EXPIRED"], "x-browser-schema-id": "221691769"}}, "/catalog/auth.importWebTokenAuthorization": {"post": {"operationId": "auth.importWebTokenAuthorization", "tags": ["Authorization"], "summary": "Login by importing an authorization token", "description": "Login by importing an authorization token\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Erstellen Sie Ihre Telegram-Anwendung](https://core.telegram.org/api/obtaining_api_id.md)", "x-tl-method": "auth.importWebTokenAuthorization", "x-tl-id": "767062953", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Creating your Telegram Application", "https://core.telegram.org/api/obtaining_api_id.md"]], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.\n\n[auth.Authorization](https://core.telegram.org/type/auth.Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `API_ID_INVALID` — API ID ungültig.\n- 400 · `WEBAUTH_TOKEN_EXPIRED` – Das angegebene Authentifizierungstoken ist abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.importWebTokenAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[API ID](https://core.telegram.org/api/obtaining_api_id.md)"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "[API hash](https://core.telegram.org/api/obtaining_api_id.md)"}, "web_auth_token": {"type": "string", "x-tl-type": "string", "description": "The authorization token"}}, "additionalProperties": false, "required": ["api_id", "api_hash", "web_auth_token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `api_id` | `int` | Ja | [API ID](https://core.telegram.org/api/obtaining_api_id.md) |\n| `api_hash` | `string` | Ja | [API hash](https://core.telegram.org/api/obtaining_api_id.md) |\n| `web_auth_token` | `string` | Ja | The authorization token |"}, "x-telegram-rpc-errors": ["API_ID_INVALID", "WEBAUTH_TOKEN_EXPIRED"], "x-browser-schema-id": "767062953"}}, "/catalog/auth.requestFirebaseSms": {"post": {"operationId": "auth.requestFirebaseSms", "tags": ["Authorization"], "summary": "Request an SMS code via Firebase.", "description": "Request an SMS code via Firebase.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "auth.requestFirebaseSms", "x-tl-id": "2386109982", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PHONE_CODE_EMPTY` — phone_code fehlt.\n- 400 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.requestFirebaseSms"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Phone code hash returned by [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}, "safety_net_token": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "On Android, a JWS object obtained as described in the [auth documentation »](https://core.telegram.org/api/auth.md)"}, "play_integrity_token": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "On Android, an object obtained as described in the [auth documentation »](https://core.telegram.org/api/auth.md)"}, "ios_push_secret": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Secret token received via an apple push notification"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | Telefonnummer |\n| `phone_code_hash` | `string` | Ja | Phone code hash returned by [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `safety_net_token` | `string` | Nein | On Android, a JWS object obtained as described in the [auth documentation »](https://core.telegram.org/api/auth.md) |\n| `play_integrity_token` | `string` | Nein | On Android, an object obtained as described in the [auth documentation »](https://core.telegram.org/api/auth.md) |\n| `ios_push_secret` | `string` | Nein | Secret token received via an apple push notification |"}, "x-telegram-rpc-errors": ["PHONE_CODE_EMPTY", "PHONE_NUMBER_INVALID"], "x-browser-schema-id": "2386109982"}}, "/catalog/auth.resetLoginEmail": {"post": {"operationId": "auth.resetLoginEmail", "tags": ["Authorization"], "summary": "Reset the login email ».", "description": "Reset the [login email »](https://core.telegram.org/api/auth.md#email-verification).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "auth.resetLoginEmail", "x-tl-id": "2123760019", "x-tl-result": "auth.SentCode", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `auth.SentCode`.\n\n[auth.SentCode](https://core.telegram.org/type/auth.SentCode.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.SentCode", "oneOf": [{"$ref": "#/components/schemas/auth.sentCode"}, {"$ref": "#/components/schemas/auth.sentCodeSuccess"}, {"$ref": "#/components/schemas/auth.sentCodePaymentRequired"}], "description": "Type TL: auth.SentCode."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMAIL_INSTALL_MISSING` – Es wird versucht, einen Code an die Wiederherstellungs-E-Mail zu senden, aber es ist keine E-Mail konfiguriert.\n- 400 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig.\n- 400 · `TASK_ALREADY_EXISTS` – Ein E-Mail-Reset wurde bereits angefordert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.resetLoginEmail"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "Phone number of the account"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Phone code hash, obtained as described in the [documentation »](https://core.telegram.org/api/auth.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | Phone number of the account |\n| `phone_code_hash` | `string` | Ja | Phone code hash, obtained as described in the [documentation »](https://core.telegram.org/api/auth.md) |"}, "x-telegram-rpc-errors": ["EMAIL_INSTALL_MISSING", "PHONE_NUMBER_INVALID", "TASK_ALREADY_EXISTS"], "x-browser-schema-id": "2123760019"}}, "/catalog/auth.reportMissingCode": {"post": {"operationId": "auth.reportMissingCode", "tags": ["Authorization"], "summary": "Official apps only, reports that the SMS authentication code wasn't delivered.", "description": "Official apps only, reports that the SMS authentication code wasn't delivered.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "auth.reportMissingCode", "x-tl-id": "3416125430", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.reportMissingCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "Phone number where we were supposed to receive the code"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "The phone code hash obtained from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}, "mnc": {"type": "string", "x-tl-type": "string", "description": "[MNC](https://en.wikipedia.org/wiki/Mobile_country_code) of the current network operator."}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "mnc"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | Phone number where we were supposed to receive the code |\n| `phone_code_hash` | `string` | Ja | The phone code hash obtained from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `mnc` | `string` | Ja | [MNC](https://en.wikipedia.org/wiki/Mobile_country_code) of the current network operator. |"}, "x-telegram-rpc-errors": ["PHONE_NUMBER_INVALID"], "x-browser-schema-id": "3416125430"}}, "/catalog/auth.checkPaidAuth": {"post": {"operationId": "auth.checkPaidAuth", "tags": ["Authorization"], "summary": "Überprüft den Status einer Login-Zahlung.", "description": "Überprüft den Status einer [Login-Zahlung](https://core.telegram.org/api/auth.md#paid-auth).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "auth.checkPaidAuth", "x-tl-id": "1457889180", "x-tl-result": "auth.SentCode", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `auth.SentCode`.\n\n[auth.SentCode](https://core.telegram.org/type/auth.SentCode.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.SentCode", "oneOf": [{"$ref": "#/components/schemas/auth.sentCode"}, {"$ref": "#/components/schemas/auth.sentCodeSuccess"}, {"$ref": "#/components/schemas/auth.sentCodePaymentRequired"}], "description": "Type TL: auth.SentCode."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.checkPaidAuth"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "The phone code hash obtained from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "The payment form ID passed to [payments.sendPaymentForm](https://core.telegram.org/method/payments.sendPaymentForm.md).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "form_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | Telefonnummer |\n| `phone_code_hash` | `string` | Ja | The phone code hash obtained from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `form_id` | `long` | Ja | The payment form ID passed to [payments.sendPaymentForm](https://core.telegram.org/method/payments.sendPaymentForm.md). |"}, "x-telegram-rpc-errors": ["PHONE_NUMBER_INVALID"], "x-browser-schema-id": "1457889180"}}, "/catalog/auth.initPasskeyLogin": {"post": {"operationId": "auth.initPasskeyLogin", "tags": ["Authorization"], "summary": "Initialize login with a passkey over an unauthenticated connection, see here » for more info.", "description": "Initialize login with a passkey over an unauthenticated connection, see [here »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Passkey-Anmeldung](https://core.telegram.org/api/passkeys.md)", "x-tl-method": "auth.initPasskeyLogin", "x-tl-id": "1368051895", "x-tl-result": "auth.PasskeyLoginOptions", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Passkey login", "https://core.telegram.org/api/passkeys.md"]], "responses": {"200": {"description": "MTProto result · `auth.PasskeyLoginOptions`.\n\n[auth.PasskeyLoginOptions](https://core.telegram.org/type/auth.PasskeyLoginOptions.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.PasskeyLoginOptions", "oneOf": [{"$ref": "#/components/schemas/auth.passkeyLoginOptions"}], "description": "Type TL: auth.PasskeyLoginOptions."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `API_ID_INVALID` — API ID ungültig.\n- 500 · `AUTH_RESTART` – Starten Sie den Autorisierungsprozess neu."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.initPasskeyLogin"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Application identifier (see [App configuration](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Application identifier hash (see [App configuration](https://core.telegram.org/myapp))"}}, "additionalProperties": false, "required": ["api_id", "api_hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `api_id` | `int` | Ja | Application identifier (see [App configuration](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | Ja | Application identifier hash (see [App configuration](https://core.telegram.org/myapp)) |"}, "x-telegram-rpc-errors": ["API_ID_INVALID", "AUTH_RESTART"], "x-browser-schema-id": "1368051895"}}, "/catalog/auth.finishPasskeyLogin": {"post": {"operationId": "auth.finishPasskeyLogin", "tags": ["Authorization"], "summary": "Complete login with a passkey over an unauthenticated connection, see here » for more info.", "description": "Complete login with a passkey over an unauthenticated connection, see [here »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) for more info.\n\nMust be sent to the user's native DC, as specified by the `user_handle` (`dcId:userId`) returned in the passkey assertion, see [here »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) for the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Passkey-Anmeldung](https://core.telegram.org/api/passkeys.md)", "x-tl-method": "auth.finishPasskeyLogin", "x-tl-id": "2555882759", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Passkey login", "https://core.telegram.org/api/passkeys.md"]], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.\n\n[auth.Authorization](https://core.telegram.org/type/auth.Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 500 · `AUTH_RESTART` – Starten Sie den Autorisierungsprozess neu.\n- 400 · `CREDENTIAL_INVALID` – Die angegebenen Anmeldeinformationen sind ungültig.\n- 400 · `PASSKEY_ORIGIN_MISMATCH` – Drittanbieter-Clients unterstützen derzeit keine Passkeys, selbst wenn der Ursprung geändert wird."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/auth.finishPasskeyLogin"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"credential": {"type": "object", "x-tl-type": "InputPasskeyCredential", "oneOf": [{"$ref": "#/components/schemas/inputPasskeyCredentialPublicKey"}], "description": "Passkey assertion result."}, "from_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "DC-ID, die für die erste [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md)-Anfrage; Wird nur gesetzt, wenn sich der DC des Benutzers von dem DC unterscheidet, der für die anfängliche [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md).] verwendet wurde."}, "from_auth_key_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Auth key ID for the connection to `from_dc_id` (use the permanent auth key ID if PFS is enabled); set only if the user's DC is different from the DC used for the initial [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md).", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["credential"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `credential` | `InputPasskeyCredential` | Ja | Passkey assertion result. |\n| `from_dc_id` | `int` | Nein | DC-ID, die für die erste [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md)-Anfrage; Wird nur gesetzt, wenn sich der DC des Benutzers von dem DC unterscheidet, der für die anfängliche [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md).] verwendet wurde. |\n| `from_auth_key_id` | `long` | Nein | Auth key ID for the connection to `from_dc_id` (use the permanent auth key ID if PFS is enabled); set only if the user's DC is different from the DC used for the initial [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md). |"}, "x-telegram-rpc-errors": ["AUTH_RESTART", "CREDENTIAL_INVALID", "PASSKEY_ORIGIN_MISMATCH"], "x-browser-schema-id": "2555882759"}}, "/catalog/auth.cancelWebTokenAuthorization": {"post": {"operationId": "auth.cancelWebTokenAuthorization", "tags": ["Authorization"], "summary": "auth.cancelWebTokenAuthorization", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "auth.cancelWebTokenAuthorization", "x-tl-id": "1225633185", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"web_auth_token": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["web_auth_token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `web_auth_token` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1225633185"}}, "/catalog/auth.initFirebasePnvLogin": {"post": {"operationId": "auth.initFirebasePnvLogin", "tags": ["Authorization"], "summary": "auth.initFirebasePnvLogin", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "auth.initFirebasePnvLogin", "x-tl-id": "1682904512", "x-tl-result": "auth.FirebasePnvIntent", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `auth.FirebasePnvIntent`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.FirebasePnvIntent", "oneOf": [{"$ref": "#/components/schemas/auth.firebasePnvIntent"}], "description": "Тип TL: auth.FirebasePnvIntent."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"except_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.0?Vector<long>", "description": "Wert des TL-Typs `Vector<long>`."}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["api_id", "api_hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `except_ids` | `Vector<long>` | Nein | Wert des TL-Typs `Vector<long>`. |\n| `api_id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `api_hash` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1682904512"}}, "/catalog/auth.finishFirebasePnvLogin": {"post": {"operationId": "auth.finishFirebasePnvLogin", "tags": ["Authorization"], "summary": "auth.finishFirebasePnvLogin", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "auth.finishFirebasePnvLogin", "x-tl-id": "746916172", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"google_token": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["google_token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `google_token` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "746916172"}}, "/catalog/auth.firebasePnvSignUp": {"post": {"operationId": "auth.firebasePnvSignUp", "tags": ["Authorization"], "summary": "auth.firebasePnvSignUp", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "auth.firebasePnvSignUp", "x-tl-id": "2017422166", "x-tl-result": "auth.Authorization", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.Authorization`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.Authorization", "oneOf": [{"$ref": "#/components/schemas/auth.authorization"}, {"$ref": "#/components/schemas/auth.authorizationSignUpRequired"}], "description": "Type TL: auth.Authorization."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"no_joined_notifications": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["first_name", "last_name"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `no_joined_notifications` | `true` | Nein | Wert des TL-Typs `true`. |\n| `first_name` | `string` | Ja | Wert des TL-Typs `string`. |\n| `last_name` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2017422166"}}, "/catalog/account.registerDevice": {"post": {"operationId": "account.registerDevice", "tags": ["Konto"], "summary": "Register device to receive PUSH notifications", "description": "Register device to receive [PUSH notifications](https://core.telegram.org/api/push-updates.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Umgang mit PUSH-Benachrichtigungen](https://core.telegram.org/api/push-updates.md)", "x-tl-method": "account.registerDevice", "x-tl-id": "3968205178", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Handling PUSH-notifications", "https://core.telegram.org/api/push-updates.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `TOKEN_EMPTY` – Das angegebene Token ist leer.\n- 400 · `TOKEN_INVALID` – Das bereitgestellte Token ist ungültig.\n- 400 · `TOKEN_TYPE_INVALID` – Der angegebene Tokentyp ist ungültig.\n- 400 · `WEBPUSH_AUTH_INVALID` – Das angegebene Web-Push-Authentifizierungsgeheimnis ist ungültig.\n- 400 · `WEBPUSH_KEY_INVALID` – Der angegebene öffentliche Diffie-Hellman-Schlüssel für die elliptische Web-Push-Kurve ist ungültig.\n- 400 · `WEBPUSH_TOKEN_INVALID` – Das angegebene Web-Push-Token ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.registerDevice"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"no_muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Avoid receiving (silent and invisible background) notifications. Useful to save battery."}, "token_type": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Device token type, see [PUSH updates](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) for the possible values."}, "token": {"type": "string", "x-tl-type": "string", "description": "Device token, see [PUSH updates](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) for the possible values."}, "app_sandbox": {"type": "boolean", "x-tl-type": "Bool", "description": "If [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md) is transmitted, a sandbox-certificate will be used during transmission."}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "For FCM and APNS VoIP, optional encryption key used to encrypt push notifications"}, "other_uids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "List of user identifiers of other users currently using the client"}}, "additionalProperties": false, "required": ["token_type", "token", "app_sandbox", "secret", "other_uids"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `no_muted` | `true` | Nein | Avoid receiving (silent and invisible background) notifications. Useful to save battery. |\n| `token_type` | `int` | Ja | Device token type, see [PUSH updates](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) for the possible values. |\n| `token` | `string` | Ja | Device token, see [PUSH updates](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) for the possible values. |\n| `app_sandbox` | `Bool` | Ja | If [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md) is transmitted, a sandbox-certificate will be used during transmission. |\n| `secret` | `bytes` | Ja | For FCM and APNS VoIP, optional encryption key used to encrypt push notifications |\n| `other_uids` | `Vector<long>` | Ja | List of user identifiers of other users currently using the client |"}, "x-telegram-rpc-errors": ["TOKEN_EMPTY", "TOKEN_INVALID", "TOKEN_TYPE_INVALID", "WEBPUSH_AUTH_INVALID", "WEBPUSH_KEY_INVALID", "WEBPUSH_TOKEN_INVALID"], "x-browser-schema-id": "3968205178"}}, "/catalog/account.unregisterDevice": {"post": {"operationId": "account.unregisterDevice", "tags": ["Konto"], "summary": "Löscht ein Gerät anhand seines Tokens und sendet keine PUSH-Benachrichtigungen mehr an das Gerät.", "description": "Löscht ein Gerät anhand seines Tokens und sendet keine PUSH-Benachrichtigungen mehr an das Gerät.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Umgang mit PUSH-Benachrichtigungen](https://core.telegram.org/api/push-updates.md)", "x-tl-method": "account.unregisterDevice", "x-tl-id": "1779249670", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Handling PUSH-notifications", "https://core.telegram.org/api/push-updates.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `TOKEN_INVALID` – Das bereitgestellte Token ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.unregisterDevice"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"token_type": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Device token type, see [PUSH updates](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) for the possible values."}, "token": {"type": "string", "x-tl-type": "string", "description": "Device token, see [PUSH updates](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) for the possible values."}, "other_uids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "List of user identifiers of other users currently using the client"}}, "additionalProperties": false, "required": ["token_type", "token", "other_uids"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `token_type` | `int` | Ja | Device token type, see [PUSH updates](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) for the possible values. |\n| `token` | `string` | Ja | Device token, see [PUSH updates](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) for the possible values. |\n| `other_uids` | `Vector<long>` | Ja | List of user identifiers of other users currently using the client |"}, "x-telegram-rpc-errors": ["TOKEN_INVALID"], "x-browser-schema-id": "1779249670"}}, "/catalog/account.updateNotifySettings": {"post": {"operationId": "account.updateNotifySettings", "tags": ["Konto"], "summary": "Edits notification settings from a given user/group, from all users/all groups.", "description": "Edits notification settings from a given user/group, from all users/all groups.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.updateNotifySettings", "x-tl-id": "2227067795", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `SETTINGS_INVALID` – Es wurden ungültige Einstellungen bereitgestellt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateNotifySettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputNotifyPeer", "oneOf": [{"$ref": "#/components/schemas/inputNotifyPeer"}, {"$ref": "#/components/schemas/inputNotifyUsers"}, {"$ref": "#/components/schemas/inputNotifyChats"}, {"$ref": "#/components/schemas/inputNotifyBroadcasts"}, {"$ref": "#/components/schemas/inputNotifyForumTopic"}, {"$ref": "#/components/schemas/inputNotifyCommunity"}], "description": "Notification source"}, "settings": {"type": "object", "x-tl-type": "InputPeerNotifySettings", "oneOf": [{"$ref": "#/components/schemas/inputPeerNotifySettings"}], "description": "Notification settings"}}, "additionalProperties": false, "required": ["peer", "settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputNotifyPeer` | Ja | Notification source |\n| `settings` | `InputPeerNotifySettings` | Ja | Notification settings |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "PEER_ID_INVALID", "SETTINGS_INVALID"], "x-browser-schema-id": "2227067795"}}, "/catalog/account.getNotifySettings": {"post": {"operationId": "account.getNotifySettings", "tags": ["Konto"], "summary": "Gets current notification settings for a given user/group, from all users/all groups.", "description": "Gets current notification settings for a given user/group, from all users/all groups.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.getNotifySettings", "x-tl-id": "313765169", "x-tl-result": "PeerNotifySettings", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `PeerNotifySettings`.\n\n[PeerNotifySettings](https://core.telegram.org/type/PeerNotifySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "PeerNotifySettings", "oneOf": [{"$ref": "#/components/schemas/peerNotifySettings"}], "description": "TL Type: PeerNotifySettings."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getNotifySettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputNotifyPeer", "oneOf": [{"$ref": "#/components/schemas/inputNotifyPeer"}, {"$ref": "#/components/schemas/inputNotifyUsers"}, {"$ref": "#/components/schemas/inputNotifyChats"}, {"$ref": "#/components/schemas/inputNotifyBroadcasts"}, {"$ref": "#/components/schemas/inputNotifyForumTopic"}, {"$ref": "#/components/schemas/inputNotifyCommunity"}], "description": "Notification source"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputNotifyPeer` | Ja | Notification source |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "PEER_ID_INVALID"], "x-browser-schema-id": "313765169"}}, "/catalog/account.resetNotifySettings": {"post": {"operationId": "account.resetNotifySettings", "tags": ["Konto"], "summary": "Resets all notification settings from users and groups.", "description": "Resets all notification settings from users and groups.", "x-tl-method": "account.resetNotifySettings", "x-tl-id": "3682473799", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.resetNotifySettings"}, "x-browser-schema-id": "3682473799"}}, "/catalog/account.updateProfile": {"post": {"operationId": "account.updateProfile", "tags": ["Konto"], "summary": "Updates user profile.", "description": "Updates user profile.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.updateProfile", "x-tl-id": "2018596725", "x-tl-result": "User", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `User`.\n\n[User](https://core.telegram.org/type/User.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ABOUT_TOO_LONG` – Die Zeichenfolge ist zu lang.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `FIRSTNAME_INVALID` – Der Vorname ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateProfile"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"first_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "New user first name"}, "last_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "New user last name"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "New bio"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `first_name` | `string` | Nein | New user first name |\n| `last_name` | `string` | Nein | New user last name |\n| `about` | `string` | Nein | New bio |"}, "x-telegram-rpc-errors": ["ABOUT_TOO_LONG", "BUSINESS_CONNECTION_INVALID", "FIRSTNAME_INVALID"], "x-browser-schema-id": "2018596725"}}, "/catalog/account.updateStatus": {"post": {"operationId": "account.updateStatus", "tags": ["Konto"], "summary": "Updates online user status.", "description": "Updates online user status.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.updateStatus", "x-tl-id": "1713919532", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateStatus"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offline": {"type": "boolean", "x-tl-type": "Bool", "description": "If [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md) is transmitted, user status will change to [(userStatusOffline)](https://core.telegram.org/constructor/userStatusOffline.md)."}}, "additionalProperties": false, "required": ["offline"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offline` | `Bool` | Ja | If [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md) is transmitted, user status will change to [(userStatusOffline)](https://core.telegram.org/constructor/userStatusOffline.md). |"}, "x-browser-schema-id": "1713919532"}}, "/catalog/account.getWallPapers": {"post": {"operationId": "account.getWallPapers", "tags": ["Konto"], "summary": "Returns a list of available wallpapers.", "description": "Returns a list of available [wallpapers](https://core.telegram.org/api/wallpapers.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Chat-Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)", "x-tl-method": "account.getWallPapers", "x-tl-id": "127302966", "x-tl-result": "account.WallPapers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Chat wallpapers", "https://core.telegram.org/api/wallpapers.md"]], "responses": {"200": {"description": "MTProto result · `account.WallPapers`.\n\n[account.WallPapers](https://core.telegram.org/type/account.WallPapers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.WallPapers", "oneOf": [{"$ref": "#/components/schemas/account.wallPapersNotModified"}, {"$ref": "#/components/schemas/account.wallPapers"}], "description": "Type TL: account.WallPapers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getWallPapers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "127302966"}}, "/catalog/account.reportPeer": {"post": {"operationId": "account.reportPeer", "tags": ["Konto"], "summary": "Report a peer for violation of telegram's Terms of Service", "description": "Report a peer for violation of telegram's Terms of Service\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.reportPeer", "x-tl-id": "3317316998", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.reportPeer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer to report"}, "reason": {"type": "object", "x-tl-type": "ReportReason", "oneOf": [{"$ref": "#/components/schemas/inputReportReasonSpam"}, {"$ref": "#/components/schemas/inputReportReasonViolence"}, {"$ref": "#/components/schemas/inputReportReasonPornography"}, {"$ref": "#/components/schemas/inputReportReasonChildAbuse"}, {"$ref": "#/components/schemas/inputReportReasonOther"}, {"$ref": "#/components/schemas/inputReportReasonCopyright"}, {"$ref": "#/components/schemas/inputReportReasonGeoIrrelevant"}, {"$ref": "#/components/schemas/inputReportReasonFake"}, {"$ref": "#/components/schemas/inputReportReasonIllegalDrugs"}, {"$ref": "#/components/schemas/inputReportReasonPersonalDetails"}], "description": "The reason why this peer is being reported"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comment for report moderation"}}, "additionalProperties": false, "required": ["peer", "reason", "message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer to report |\n| `reason` | `ReportReason` | Ja | The reason why this peer is being reported |\n| `message` | `string` | Ja | Comment for report moderation |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "PEER_ID_INVALID"], "x-browser-schema-id": "3317316998"}}, "/catalog/account.checkUsername": {"post": {"operationId": "account.checkUsername", "tags": ["Konto"], "summary": "Validates a username and checks availability.", "description": "Validates a username and checks availability.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.checkUsername", "x-tl-id": "655677548", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USERNAME_OCCUPIED` — The provided username is already occupied.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — The specified username can be purchased on https://fragment.com."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.checkUsername"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"username": {"type": "string", "x-tl-type": "string", "description": "username Accepted characters: A-z (case-insensitive), 0-9 and underscores. Length: 5-32 characters."}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `username` | `string` | Ja | username Accepted characters: A-z (case-insensitive), 0-9 and underscores. Length: 5-32 characters. |"}, "x-telegram-rpc-errors": ["USERNAME_INVALID", "USERNAME_OCCUPIED", "USERNAME_PURCHASE_AVAILABLE"], "x-browser-schema-id": "655677548"}}, "/catalog/account.updateUsername": {"post": {"operationId": "account.updateUsername", "tags": ["Konto"], "summary": "Ändert den Benutzernamen für den aktuellen Benutzer.", "description": "Ändert den Benutzernamen für den aktuellen Benutzer.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.updateUsername", "x-tl-id": "1040964988", "x-tl-result": "User", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `User`.\n\n[User](https://core.telegram.org/type/User.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USERNAME_NOT_MODIFIED` — The username was not modified.\n- 400 · `USERNAME_OCCUPIED` — The provided username is already occupied.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — The specified username can be purchased on https://fragment.com."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateUsername"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"username": {"type": "string", "x-tl-type": "string", "description": "username or empty string if username is to be removed Accepted characters: a-z (case-insensitive), 0-9 and underscores. Length: 5-32 characters."}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `username` | `string` | Ja | username or empty string if username is to be removed Accepted characters: a-z (case-insensitive), 0-9 and underscores. Length: 5-32 characters. |"}, "x-telegram-rpc-errors": ["USERNAME_INVALID", "USERNAME_NOT_MODIFIED", "USERNAME_OCCUPIED", "USERNAME_PURCHASE_AVAILABLE"], "x-browser-schema-id": "1040964988"}}, "/catalog/account.getPrivacy": {"post": {"operationId": "account.getPrivacy", "tags": ["Konto"], "summary": "Get privacy settings", "description": "Reads the current account privacy rules for the selected category.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.getPrivacy", "x-tl-id": "3671837008", "x-tl-result": "account.PrivacyRules", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.PrivacyRules`.\n\n[account.PrivacyRules](https://core.telegram.org/type/account.PrivacyRules.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.PrivacyRules", "oneOf": [{"$ref": "#/components/schemas/account.privacyRules"}], "description": "Type TL: account.PrivacyRules."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PRIVACY_KEY_INVALID` – Der Datenschutzschlüssel ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getPrivacy"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"key": {"type": "object", "x-tl-type": "InputPrivacyKey", "oneOf": [{"$ref": "#/components/schemas/inputPrivacyKeyStatusTimestamp"}, {"$ref": "#/components/schemas/inputPrivacyKeyChatInvite"}, {"$ref": "#/components/schemas/inputPrivacyKeyPhoneCall"}, {"$ref": "#/components/schemas/inputPrivacyKeyPhoneP2P"}, {"$ref": "#/components/schemas/inputPrivacyKeyForwards"}, {"$ref": "#/components/schemas/inputPrivacyKeyProfilePhoto"}, {"$ref": "#/components/schemas/inputPrivacyKeyPhoneNumber"}, {"$ref": "#/components/schemas/inputPrivacyKeyAddedByPhone"}, {"$ref": "#/components/schemas/inputPrivacyKeyVoiceMessages"}, {"$ref": "#/components/schemas/inputPrivacyKeyAbout"}, {"$ref": "#/components/schemas/inputPrivacyKeyBirthday"}, {"$ref": "#/components/schemas/inputPrivacyKeyStarGiftsAutoSave"}, {"$ref": "#/components/schemas/inputPrivacyKeyNoPaidMessages"}, {"$ref": "#/components/schemas/inputPrivacyKeySavedMusic"}], "description": "Privacy category, such as phone number visibility."}}, "additionalProperties": false, "required": ["key"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `key` | `InputPrivacyKey` | Ja | Privacy category, such as phone number visibility. |"}, "x-telegram-rpc-errors": ["PRIVACY_KEY_INVALID"], "x-browser-schema-id": "3671837008"}}, "/catalog/account.setPrivacy": {"post": {"operationId": "account.setPrivacy", "tags": ["Konto"], "summary": "Change privacy settings of current account", "description": "Change privacy settings of current account\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.setPrivacy", "x-tl-id": "3388480744", "x-tl-result": "account.PrivacyRules", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.PrivacyRules`.\n\n[account.PrivacyRules](https://core.telegram.org/type/account.PrivacyRules.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.PrivacyRules", "oneOf": [{"$ref": "#/components/schemas/account.privacyRules"}], "description": "Type TL: account.PrivacyRules."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PRIVACY_KEY_INVALID` – Der Datenschutzschlüssel ist ungültig.\n- 400 · `PRIVACY_TOO_LONG` – Es wurden zu viele Datenschutzregeln angegeben, der aktuelle Grenzwert liegt bei 1000.\n- 400 · `PRIVACY_VALUE_INVALID` – Die angegebene Datenschutzregelkombination ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.setPrivacy"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"key": {"type": "object", "x-tl-type": "InputPrivacyKey", "oneOf": [{"$ref": "#/components/schemas/inputPrivacyKeyStatusTimestamp"}, {"$ref": "#/components/schemas/inputPrivacyKeyChatInvite"}, {"$ref": "#/components/schemas/inputPrivacyKeyPhoneCall"}, {"$ref": "#/components/schemas/inputPrivacyKeyPhoneP2P"}, {"$ref": "#/components/schemas/inputPrivacyKeyForwards"}, {"$ref": "#/components/schemas/inputPrivacyKeyProfilePhoto"}, {"$ref": "#/components/schemas/inputPrivacyKeyPhoneNumber"}, {"$ref": "#/components/schemas/inputPrivacyKeyAddedByPhone"}, {"$ref": "#/components/schemas/inputPrivacyKeyVoiceMessages"}, {"$ref": "#/components/schemas/inputPrivacyKeyAbout"}, {"$ref": "#/components/schemas/inputPrivacyKeyBirthday"}, {"$ref": "#/components/schemas/inputPrivacyKeyStarGiftsAutoSave"}, {"$ref": "#/components/schemas/inputPrivacyKeyNoPaidMessages"}, {"$ref": "#/components/schemas/inputPrivacyKeySavedMusic"}], "description": "New privacy rule"}, "rules": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPrivacyRule", "oneOf": [{"$ref": "#/components/schemas/inputPrivacyValueAllowContacts"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowAll"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowUsers"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowContacts"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowAll"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowUsers"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowChatParticipants"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowChatParticipants"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowCloseFriends"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowPremium"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowBots"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowBots"}], "description": "TL Type: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "description": "Peers to which the privacy rule will apply."}}, "additionalProperties": false, "required": ["key", "rules"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `key` | `InputPrivacyKey` | Ja | New privacy rule |\n| `rules` | `Vector<InputPrivacyRule>` | Ja | Peers to which the privacy rule will apply. |"}, "x-telegram-rpc-errors": ["PRIVACY_KEY_INVALID", "PRIVACY_TOO_LONG", "PRIVACY_VALUE_INVALID"], "x-browser-schema-id": "3388480744"}}, "/catalog/account.deleteAccount": {"post": {"operationId": "account.deleteAccount", "tags": ["Konto"], "summary": "Löschen Sie das Konto des Benutzers von den Telegram-Servern.", "description": "Löschen Sie das Konto des Benutzers von den Telegram-Servern.\n\nCan also be used to delete the account of a user that provided the login code, but forgot the 2FA password and no recovery method is configured, see [here »](https://core.telegram.org/api/srp.md#password-recovery) for more info on password recovery, and [here »](https://core.telegram.org/api/account-deletion.md) for more info on account deletion.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)\n- [Kontolöschung](https://core.telegram.org/api/account-deletion.md)", "x-tl-method": "account.deleteAccount", "x-tl-id": "2730545012", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"], ["Account deletion", "https://core.telegram.org/api/account-deletion.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 420 · `2FA_CONFIRM_WAIT_%d` — Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.\n- 400 · `PASSWORD_HASH_INVALID` – Der bereitgestellte Passwort-Hash ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.deleteAccount"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"reason": {"type": "string", "x-tl-type": "string", "description": "Why is the account being deleted, can be empty"}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "[2FA password](https://core.telegram.org/api/srp.md): this field can be omitted even for accounts with 2FA enabled: in this case account account deletion will be delayed by 7 days [as specified in the docs »](https://core.telegram.org/api/account-deletion.md)", "x-tl-flag": "flags.0?InputCheckPasswordSRP"}}, "additionalProperties": false, "required": ["reason"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `reason` | `string` | Ja | Why is the account being deleted, can be empty |\n| `password` | `InputCheckPasswordSRP` | Nein | [2FA password](https://core.telegram.org/api/srp.md): this field can be omitted even for accounts with 2FA enabled: in this case account account deletion will be delayed by 7 days [as specified in the docs »](https://core.telegram.org/api/account-deletion.md) |"}, "x-telegram-rpc-errors": ["2FA_CONFIRM_WAIT_%d", "PASSWORD_HASH_INVALID"], "x-browser-schema-id": "2730545012"}}, "/catalog/account.getAccountTTL": {"post": {"operationId": "account.getAccountTTL", "tags": ["Konto"], "summary": "Get days to live of account", "description": "Get days to live of account", "x-tl-method": "account.getAccountTTL", "x-tl-id": "150761757", "x-tl-result": "AccountDaysTTL", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `AccountDaysTTL`.\n\n[AccountDaysTTL](https://core.telegram.org/type/AccountDaysTTL.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AccountDaysTTL", "oneOf": [{"$ref": "#/components/schemas/accountDaysTTL"}], "description": "TL Type: AccountDaysTTL."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getAccountTTL"}, "x-browser-schema-id": "150761757"}}, "/catalog/account.setAccountTTL": {"post": {"operationId": "account.setAccountTTL", "tags": ["Konto"], "summary": "Set account self-destruction period", "description": "Set account self-destruction period\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.setAccountTTL", "x-tl-id": "608323678", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `TTL_DAYS_INVALID` – Die angegebene TTL ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.setAccountTTL"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"ttl": {"type": "object", "x-tl-type": "AccountDaysTTL", "oneOf": [{"$ref": "#/components/schemas/accountDaysTTL"}], "description": "Time to live in days"}}, "additionalProperties": false, "required": ["ttl"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `ttl` | `AccountDaysTTL` | Ja | Time to live in days |"}, "x-telegram-rpc-errors": ["TTL_DAYS_INVALID"], "x-browser-schema-id": "608323678"}}, "/catalog/account.sendChangePhoneCode": {"post": {"operationId": "account.sendChangePhoneCode", "tags": ["Konto"], "summary": "Verify a new phone number to associate to the current account", "description": "Verify a new phone number to associate to the current account\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.sendChangePhoneCode", "x-tl-id": "2186758885", "x-tl-result": "auth.SentCode", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.SentCode`.\n\n[auth.SentCode](https://core.telegram.org/type/auth.SentCode.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.SentCode", "oneOf": [{"$ref": "#/components/schemas/auth.sentCode"}, {"$ref": "#/components/schemas/auth.sentCodeSuccess"}, {"$ref": "#/components/schemas/auth.sentCodePaymentRequired"}], "description": "Type TL: auth.SentCode."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `FRESH_CHANGE_PHONE_FORBIDDEN` — Sie können die Telefonnummer nicht direkt nach dem Anmelden ändern. Bitte warten Sie mindestens 24 Stunden.\n- 400 · `PHONE_NUMBER_BANNED` — Die angegebene Telefonnummer ist aus dem Telegramm ausgeschlossen.\n- 406 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig.\n- 400 · `PHONE_NUMBER_OCCUPIED` – Die Telefonnummer wird bereits verwendet."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.sendChangePhoneCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "New phone number"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Phone code settings"}}, "additionalProperties": false, "required": ["phone_number", "settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | New phone number |\n| `settings` | `CodeSettings` | Ja | Phone code settings |"}, "x-telegram-rpc-errors": ["FRESH_CHANGE_PHONE_FORBIDDEN", "PHONE_NUMBER_BANNED", "PHONE_NUMBER_INVALID", "PHONE_NUMBER_OCCUPIED"], "x-browser-schema-id": "2186758885"}}, "/catalog/account.changePhone": {"post": {"operationId": "account.changePhone", "tags": ["Konto"], "summary": "Ändern Sie die Telefonnummer des aktuellen Kontos", "description": "Ändern Sie die Telefonnummer des aktuellen Kontos\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.changePhone", "x-tl-id": "1891839707", "x-tl-result": "User", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `User`.\n\n[User](https://core.telegram.org/type/User.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PHONE_CODE_EMPTY` — phone_code fehlt.\n- 400 · `PHONE_CODE_EXPIRED` – Der von Ihnen angegebene Telefoncode ist abgelaufen.\n- 400 · `PHONE_CODE_INVALID` – Der angegebene Telefoncode ist ungültig.\n- 406 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig.\n- 400 · `PHONE_NUMBER_OCCUPIED` – Die Telefonnummer wird bereits verwendet."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.changePhone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "New phone number"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Phone code hash received when calling [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "description": "Phone code received when calling [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "phone_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | New phone number |\n| `phone_code_hash` | `string` | Ja | Phone code hash received when calling [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md) |\n| `phone_code` | `string` | Ja | Phone code received when calling [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md) |"}, "x-telegram-rpc-errors": ["PHONE_CODE_EMPTY", "PHONE_CODE_EXPIRED", "PHONE_CODE_INVALID", "PHONE_NUMBER_INVALID", "PHONE_NUMBER_OCCUPIED"], "x-browser-schema-id": "1891839707"}}, "/catalog/account.updateDeviceLocked": {"post": {"operationId": "account.updateDeviceLocked", "tags": ["Konto"], "summary": "When client-side passcode lock feature is enabled, will not show message texts in incoming PUSH notifications.", "description": "When client-side passcode lock feature is enabled, will not show message texts in incoming [PUSH notifications](https://core.telegram.org/api/push-updates.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Umgang mit PUSH-Benachrichtigungen](https://core.telegram.org/api/push-updates.md)", "x-tl-method": "account.updateDeviceLocked", "x-tl-id": "954152242", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Handling PUSH-notifications", "https://core.telegram.org/api/push-updates.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateDeviceLocked"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Inactivity period after which to start hiding message texts in [PUSH notifications](https://core.telegram.org/api/push-updates.md)."}}, "additionalProperties": false, "required": ["period"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `period` | `int` | Ja | Inactivity period after which to start hiding message texts in [PUSH notifications](https://core.telegram.org/api/push-updates.md). |"}, "x-browser-schema-id": "954152242"}}, "/catalog/account.getAuthorizations": {"post": {"operationId": "account.getAuthorizations", "tags": ["Konto"], "summary": "Get logged-in sessions", "description": "Get logged-in sessions", "x-tl-method": "account.getAuthorizations", "x-tl-id": "3810574680", "x-tl-result": "account.Authorizations", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.Authorizations`.\n\n[account.Authorizations](https://core.telegram.org/type/account.Authorizations.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.Authorizations", "oneOf": [{"$ref": "#/components/schemas/account.authorizations"}], "description": "TL type: account.Authorizations."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getAuthorizations"}, "x-browser-schema-id": "3810574680"}}, "/catalog/account.resetAuthorization": {"post": {"operationId": "account.resetAuthorization", "tags": ["Konto"], "summary": "Log out an active authorized session by its hash", "description": "Log out an active [authorized session](https://core.telegram.org/api/auth.md) by its hash\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "account.resetAuthorization", "x-tl-id": "3749180348", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` – Sie können sich von anderen Sitzungen nicht abmelden, wenn seit der Anmeldung bei der aktuellen Sitzung weniger als 24 Stunden vergangen sind.\n- 400 · `HASH_INVALID` – Der bereitgestellte Hash ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.resetAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Session hash", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | Session hash |"}, "x-telegram-rpc-errors": ["FRESH_RESET_AUTHORISATION_FORBIDDEN", "HASH_INVALID"], "x-browser-schema-id": "3749180348"}}, "/catalog/account.getPassword": {"post": {"operationId": "account.getPassword", "tags": ["Konto"], "summary": "Obtain configuration for two-factor authorization with password", "description": "Obtain configuration for two-factor authorization with password\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.getPassword", "x-tl-id": "1418342645", "x-tl-result": "account.Password", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.Password`.\n\n[account.Password](https://core.telegram.org/type/account.Password.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.Password", "oneOf": [{"$ref": "#/components/schemas/account.password"}], "description": "Type TL: account.Password."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getPassword"}, "x-browser-schema-id": "1418342645"}}, "/catalog/account.getPasswordSettings": {"post": {"operationId": "account.getPasswordSettings", "tags": ["Konto"], "summary": "Get private info associated to the password info (recovery email, telegram passport info &amp; so on)", "description": "Get private info associated to the password info (recovery email, telegram [passport](https://core.telegram.org/passport.md) info &amp; so on)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "account.getPasswordSettings", "x-tl-id": "2631199481", "x-tl-result": "account.PasswordSettings", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `account.PasswordSettings`.\n\n[account.PasswordSettings](https://core.telegram.org/type/account.PasswordSettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.PasswordSettings", "oneOf": [{"$ref": "#/components/schemas/account.passwordSettings"}], "description": "TL type: account.PasswordSettings."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID` – Der bereitgestellte Passwort-Hash ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getPasswordSettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "The password (see [SRP](https://core.telegram.org/api/srp.md))"}}, "additionalProperties": false, "required": ["password"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Ja | The password (see [SRP](https://core.telegram.org/api/srp.md)) |"}, "x-telegram-rpc-errors": ["PASSWORD_HASH_INVALID"], "x-browser-schema-id": "2631199481"}}, "/catalog/account.updatePasswordSettings": {"post": {"operationId": "account.updatePasswordSettings", "tags": ["Konto"], "summary": "Set a new 2FA password", "description": "Set a new 2FA password\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "account.updatePasswordSettings", "x-tl-id": "2778402863", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMAIL_INVALID` – Die angegebene E-Mail ist ungültig.\n- 400 · `EMAIL_UNCONFIRMED` — E-Mail unbestätigt.\n- 400 · `EMAIL_UNCONFIRMED_%d` – Die angegebene E-Mail ist nicht bestätigt, %d ist die Länge des Bestätigungscodes, der gerade an die E-Mail gesendet wurde: Verwenden Sie [account.verifyEmail](https://core.telegram.org/method/account.verifyEmail.md), um den erhaltenen Bestätigungscode einzugeben und die Wiederherstellungs-E-Mail zu aktivieren.\n- 400 · `NEW_SALT_INVALID` – Das neue Salz ist ungültig.\n- 400 · `NEW_SETTINGS_EMPTY` – Für das aktuelle Konto ist kein Passwort festgelegt und in `new_settings` wurde kein neues Passwort angegeben.\n- 400 · `NEW_SETTINGS_INVALID` – Die neuen Passworteinstellungen sind ungültig.\n- 400 · `PASSWORD_HASH_INVALID` – Der bereitgestellte Passwort-Hash ist ungültig.\n- 400 · `SRP_ID_INVALID` – Ungültige SRP ID angegeben.\n- 400 · `SRP_PASSWORD_CHANGED` — Passwort wurde geändert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updatePasswordSettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "The old password (see [SRP](https://core.telegram.org/api/srp.md))"}, "new_settings": {"type": "object", "x-tl-type": "account.PasswordInputSettings", "oneOf": [{"$ref": "#/components/schemas/account.passwordInputSettings"}], "description": "The new password (see [SRP](https://core.telegram.org/api/srp.md))"}}, "additionalProperties": false, "required": ["password", "new_settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Ja | The old password (see [SRP](https://core.telegram.org/api/srp.md)) |\n| `new_settings` | `account.PasswordInputSettings` | Ja | The new password (see [SRP](https://core.telegram.org/api/srp.md)) |"}, "x-telegram-rpc-errors": ["EMAIL_INVALID", "EMAIL_UNCONFIRMED", "EMAIL_UNCONFIRMED_%d", "NEW_SALT_INVALID", "NEW_SETTINGS_EMPTY", "NEW_SETTINGS_INVALID", "PASSWORD_HASH_INVALID", "SRP_ID_INVALID", "SRP_PASSWORD_CHANGED"], "x-browser-schema-id": "2778402863"}}, "/catalog/account.sendConfirmPhoneCode": {"post": {"operationId": "account.sendConfirmPhoneCode", "tags": ["Konto"], "summary": "Send confirmation code to cancel account deletion, for more info click here »", "description": "Send confirmation code to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kontolöschung](https://core.telegram.org/api/account-deletion.md)", "x-tl-method": "account.sendConfirmPhoneCode", "x-tl-id": "457157256", "x-tl-result": "auth.SentCode", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Account deletion", "https://core.telegram.org/api/account-deletion.md"]], "responses": {"200": {"description": "MTProto result · `auth.SentCode`.\n\n[auth.SentCode](https://core.telegram.org/type/auth.SentCode.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.SentCode", "oneOf": [{"$ref": "#/components/schemas/auth.sentCode"}, {"$ref": "#/components/schemas/auth.sentCodeSuccess"}, {"$ref": "#/components/schemas/auth.sentCodePaymentRequired"}], "description": "Type TL: auth.SentCode."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `HASH_INVALID` – Der bereitgestellte Hash ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.sendConfirmPhoneCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "x-tl-type": "string", "description": "The hash from the service notification, for more info [click here »](https://core.telegram.org/api/account-deletion.md)"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Phone code settings"}}, "additionalProperties": false, "required": ["hash", "settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `string` | Ja | The hash from the service notification, for more info [click here »](https://core.telegram.org/api/account-deletion.md) |\n| `settings` | `CodeSettings` | Ja | Phone code settings |"}, "x-telegram-rpc-errors": ["HASH_INVALID"], "x-browser-schema-id": "457157256"}}, "/catalog/account.confirmPhone": {"post": {"operationId": "account.confirmPhone", "tags": ["Konto"], "summary": "Confirm a phone number to cancel account deletion, for more info click here »", "description": "Confirm a phone number to cancel account deletion, for more info [click here »](https://core.telegram.org/api/account-deletion.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kontolöschung](https://core.telegram.org/api/account-deletion.md)", "x-tl-method": "account.confirmPhone", "x-tl-id": "1596029123", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Account deletion", "https://core.telegram.org/api/account-deletion.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CODE_HASH_INVALID` – Code-Hash ungültig.\n- 400 · `PHONE_CODE_EMPTY` — phone_code fehlt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.confirmPhone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Phone code hash, for more info [click here »](https://core.telegram.org/api/account-deletion.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "description": "SMS code, for more info [click here »](https://core.telegram.org/api/account-deletion.md)"}}, "additionalProperties": false, "required": ["phone_code_hash", "phone_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_code_hash` | `string` | Ja | Phone code hash, for more info [click here »](https://core.telegram.org/api/account-deletion.md) |\n| `phone_code` | `string` | Ja | SMS code, for more info [click here »](https://core.telegram.org/api/account-deletion.md) |"}, "x-telegram-rpc-errors": ["CODE_HASH_INVALID", "PHONE_CODE_EMPTY"], "x-browser-schema-id": "1596029123"}}, "/catalog/account.getTmpPassword": {"post": {"operationId": "account.getTmpPassword", "tags": ["Konto"], "summary": "Get temporary payment password", "description": "Get temporary payment password\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.getTmpPassword", "x-tl-id": "1151208273", "x-tl-result": "account.TmpPassword", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.TmpPassword`.\n\n[account.TmpPassword](https://core.telegram.org/type/account.TmpPassword.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.TmpPassword", "oneOf": [{"$ref": "#/components/schemas/account.tmpPassword"}], "description": "TL type: account.TmpPassword."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID` – Der bereitgestellte Passwort-Hash ist ungültig.\n- 400 · `SRP_A_INVALID` – Der angegebene inputCheckPasswordSRP.A-Wert ist ungültig.\n- 400 · `TMP_PASSWORD_DISABLED` – Das temporäre Passwort ist deaktiviert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getTmpPassword"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "SRP password parameters"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Time during which the temporary password will be valid, in seconds; should be between 60 and 86400"}}, "additionalProperties": false, "required": ["password", "period"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Ja | SRP password parameters |\n| `period` | `int` | Ja | Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 |"}, "x-telegram-rpc-errors": ["PASSWORD_HASH_INVALID", "SRP_A_INVALID", "TMP_PASSWORD_DISABLED"], "x-browser-schema-id": "1151208273"}}, "/catalog/account.getWebAuthorizations": {"post": {"operationId": "account.getWebAuthorizations", "tags": ["Konto"], "summary": "Get web login widget authorizations", "description": "Get web [login widget](https://core.telegram.org/widgets/login.md) authorizations\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.getWebAuthorizations", "x-tl-id": "405695855", "x-tl-result": "account.WebAuthorizations", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.WebAuthorizations`.\n\n[account.WebAuthorizations](https://core.telegram.org/type/account.WebAuthorizations.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.WebAuthorizations", "oneOf": [{"$ref": "#/components/schemas/account.webAuthorizations"}], "description": "Type TL: account.WebAuthorizations."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getWebAuthorizations"}, "x-browser-schema-id": "405695855"}}, "/catalog/account.resetWebAuthorization": {"post": {"operationId": "account.resetWebAuthorization", "tags": ["Konto"], "summary": "Log out an active web telegram login session", "description": "Log out an active web [telegram login](https://core.telegram.org/widgets/login.md) session\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.resetWebAuthorization", "x-tl-id": "755087855", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `HASH_INVALID` – Der bereitgestellte Hash ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.resetWebAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Session](https://core.telegram.org/constructor/webAuthorization.md) hash", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Session](https://core.telegram.org/constructor/webAuthorization.md) hash |"}, "x-telegram-rpc-errors": ["HASH_INVALID"], "x-browser-schema-id": "755087855"}}, "/catalog/account.resetWebAuthorizations": {"post": {"operationId": "account.resetWebAuthorizations", "tags": ["Konto"], "summary": "Reset all active web telegram login sessions", "description": "Reset all active web [telegram login](https://core.telegram.org/widgets/login.md) sessions\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.resetWebAuthorizations", "x-tl-id": "1747789204", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.resetWebAuthorizations"}, "x-browser-schema-id": "1747789204"}}, "/catalog/account.getAllSecureValues": {"post": {"operationId": "account.getAllSecureValues", "tags": ["Konto"], "summary": "Get all saved Telegram Passport documents, for more info see the passport docs »", "description": "Get all saved [Telegram Passport](https://core.telegram.org/passport.md) documents, [for more info see the passport docs »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.getAllSecureValues", "x-tl-id": "2995305597", "x-tl-result": "Vector<SecureValue>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<SecureValue>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[SecureValue](https://core.telegram.org/type/SecureValue.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValue", "oneOf": [{"$ref": "#/components/schemas/secureValue"}], "description": "TL Type: SecureValue."}, "x-tl-type": "Vector<SecureValue>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getAllSecureValues"}, "x-browser-schema-id": "2995305597"}}, "/catalog/account.getSecureValue": {"post": {"operationId": "account.getSecureValue", "tags": ["Konto"], "summary": "Get saved Telegram Passport document, for more info see the passport docs »", "description": "Get saved [Telegram Passport](https://core.telegram.org/passport.md) document, [for more info see the passport docs »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.getSecureValue", "x-tl-id": "1936088002", "x-tl-result": "Vector<SecureValue>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<SecureValue>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[SecureValue](https://core.telegram.org/type/SecureValue.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValue", "oneOf": [{"$ref": "#/components/schemas/secureValue"}], "description": "TL Type: SecureValue."}, "x-tl-type": "Vector<SecureValue>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getSecureValue"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"types": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValueType", "oneOf": [{"$ref": "#/components/schemas/secureValueTypePersonalDetails"}, {"$ref": "#/components/schemas/secureValueTypePassport"}, {"$ref": "#/components/schemas/secureValueTypeDriverLicense"}, {"$ref": "#/components/schemas/secureValueTypeIdentityCard"}, {"$ref": "#/components/schemas/secureValueTypeInternalPassport"}, {"$ref": "#/components/schemas/secureValueTypeAddress"}, {"$ref": "#/components/schemas/secureValueTypeUtilityBill"}, {"$ref": "#/components/schemas/secureValueTypeBankStatement"}, {"$ref": "#/components/schemas/secureValueTypeRentalAgreement"}, {"$ref": "#/components/schemas/secureValueTypePassportRegistration"}, {"$ref": "#/components/schemas/secureValueTypeTemporaryRegistration"}, {"$ref": "#/components/schemas/secureValueTypePhone"}, {"$ref": "#/components/schemas/secureValueTypeEmail"}], "description": "TL Type: SecureValueType."}, "x-tl-type": "Vector<SecureValueType>", "description": "Requested value types"}}, "additionalProperties": false, "required": ["types"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `types` | `Vector<SecureValueType>` | Ja | Requested value types |"}, "x-browser-schema-id": "1936088002"}}, "/catalog/account.saveSecureValue": {"post": {"operationId": "account.saveSecureValue", "tags": ["Konto"], "summary": "Securely save Telegram Passport document, for more info see the passport docs »", "description": "Securely save [Telegram Passport](https://core.telegram.org/passport.md) document, [for more info see the passport docs »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "account.saveSecureValue", "x-tl-id": "2308956957", "x-tl-result": "SecureValue", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto Result · `SecureValue`.\n\n[SecureValue](https://core.telegram.org/type/SecureValue.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "SecureValue", "oneOf": [{"$ref": "#/components/schemas/secureValue"}], "description": "TL Type: SecureValue."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PASSWORD_REQUIRED` – Für die Verwendung von Telegram Passport muss ein [2FA-Passwort](https://core.telegram.org/api/srp.md) konfiguriert werden.\n- 400 · `SECURE_SECRET_REQUIRED` – Ein sicheres Geheimnis ist erforderlich."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.saveSecureValue"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"value": {"type": "object", "x-tl-type": "InputSecureValue", "oneOf": [{"$ref": "#/components/schemas/inputSecureValue"}], "description": "Sicherer Wert, [weitere Informationen finden Sie in den Passdokumenten »](https://core.telegram.org/passport/encryption.md#encryption)"}, "secure_secret_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Passport secret hash, [for more info see the passport docs »](https://core.telegram.org/passport/encryption.md#encryption)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["value", "secure_secret_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `value` | `InputSecureValue` | Ja | Sicherer Wert, [weitere Informationen finden Sie in den Passdokumenten »](https://core.telegram.org/passport/encryption.md#encryption) |\n| `secure_secret_id` | `long` | Ja | Passport secret hash, [for more info see the passport docs »](https://core.telegram.org/passport/encryption.md#encryption) |"}, "x-telegram-rpc-errors": ["PASSWORD_REQUIRED", "SECURE_SECRET_REQUIRED"], "x-browser-schema-id": "2308956957"}}, "/catalog/account.deleteSecureValue": {"post": {"operationId": "account.deleteSecureValue", "tags": ["Konto"], "summary": "Löschen Sie gespeicherte Telegram-Passport-Dokumente. Weitere Informationen finden Sie in den Passdokumenten »", "description": "Löschen Sie gespeicherte [Telegram Passport](https://core.telegram.org/passport.md)-Dokumente, [weitere Informationen finden Sie in den Passdokumenten »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.deleteSecureValue", "x-tl-id": "3095444555", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.deleteSecureValue"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"types": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValueType", "oneOf": [{"$ref": "#/components/schemas/secureValueTypePersonalDetails"}, {"$ref": "#/components/schemas/secureValueTypePassport"}, {"$ref": "#/components/schemas/secureValueTypeDriverLicense"}, {"$ref": "#/components/schemas/secureValueTypeIdentityCard"}, {"$ref": "#/components/schemas/secureValueTypeInternalPassport"}, {"$ref": "#/components/schemas/secureValueTypeAddress"}, {"$ref": "#/components/schemas/secureValueTypeUtilityBill"}, {"$ref": "#/components/schemas/secureValueTypeBankStatement"}, {"$ref": "#/components/schemas/secureValueTypeRentalAgreement"}, {"$ref": "#/components/schemas/secureValueTypePassportRegistration"}, {"$ref": "#/components/schemas/secureValueTypeTemporaryRegistration"}, {"$ref": "#/components/schemas/secureValueTypePhone"}, {"$ref": "#/components/schemas/secureValueTypeEmail"}], "description": "TL Type: SecureValueType."}, "x-tl-type": "Vector<SecureValueType>", "description": "Document types to delete"}}, "additionalProperties": false, "required": ["types"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `types` | `Vector<SecureValueType>` | Ja | Document types to delete |"}, "x-browser-schema-id": "3095444555"}}, "/catalog/account.getAuthorizationForm": {"post": {"operationId": "account.getAuthorizationForm", "tags": ["Konto"], "summary": "Returns a Telegram Passport authorization form for sharing data with a service", "description": "Returns a Telegram Passport authorization form for sharing data with a service\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.getAuthorizationForm", "x-tl-id": "2838059386", "x-tl-result": "account.AuthorizationForm", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.AuthorizationForm`.\n\n[account.AuthorizationForm](https://core.telegram.org/type/account.AuthorizationForm.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.AuthorizationForm", "oneOf": [{"$ref": "#/components/schemas/account.authorizationForm"}], "description": "TL type: account.AuthorizationForm."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `PUBLIC_KEY_REQUIRED` – Ein öffentlicher Schlüssel ist erforderlich."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getAuthorizationForm"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "User identifier of the service's bot", "x-tl-type": "long"}, "scope": {"type": "string", "x-tl-type": "string", "description": "Telegram Passport element types requested by the service"}, "public_key": {"type": "string", "x-tl-type": "string", "description": "Service's public key"}}, "additionalProperties": false, "required": ["bot_id", "scope", "public_key"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot_id` | `long` | Ja | User identifier of the service's bot |\n| `scope` | `string` | Ja | Telegram Passport element types requested by the service |\n| `public_key` | `string` | Ja | Service's public key |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "PUBLIC_KEY_REQUIRED"], "x-browser-schema-id": "2838059386"}}, "/catalog/account.acceptAuthorization": {"post": {"operationId": "account.acceptAuthorization", "tags": ["Konto"], "summary": "Sends a Telegram Passport authorization form, effectively sharing data with the service", "description": "Sends a Telegram Passport authorization form, effectively sharing data with the service\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.acceptAuthorization", "x-tl-id": "4092415091", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `PUBLIC_KEY_REQUIRED` – Ein öffentlicher Schlüssel ist erforderlich."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.acceptAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Bot-ID", "x-tl-type": "long"}, "scope": {"type": "string", "x-tl-type": "string", "description": "Telegram Passport element types requested by the service"}, "public_key": {"type": "string", "x-tl-type": "string", "description": "Service's public key"}, "value_hashes": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValueHash", "oneOf": [{"$ref": "#/components/schemas/secureValueHash"}], "description": "TL Type: SecureValueHash."}, "x-tl-type": "Vector<SecureValueHash>", "description": "Types of values sent and their hashes"}, "credentials": {"type": "object", "x-tl-type": "SecureCredentialsEncrypted", "oneOf": [{"$ref": "#/components/schemas/secureCredentialsEncrypted"}], "description": "Encrypted values"}}, "additionalProperties": false, "required": ["bot_id", "scope", "public_key", "value_hashes", "credentials"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot_id` | `long` | Ja | Bot-ID |\n| `scope` | `string` | Ja | Telegram Passport element types requested by the service |\n| `public_key` | `string` | Ja | Service's public key |\n| `value_hashes` | `Vector<SecureValueHash>` | Ja | Types of values sent and their hashes |\n| `credentials` | `SecureCredentialsEncrypted` | Ja | Encrypted values |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "PUBLIC_KEY_REQUIRED"], "x-browser-schema-id": "4092415091"}}, "/catalog/account.sendVerifyPhoneCode": {"post": {"operationId": "account.sendVerifyPhoneCode", "tags": ["Konto"], "summary": "Send the verification phone code for telegram passport.", "description": "Send the verification phone code for telegram [passport](https://core.telegram.org/passport.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.sendVerifyPhoneCode", "x-tl-id": "2778945273", "x-tl-result": "auth.SentCode", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `auth.SentCode`.\n\n[auth.SentCode](https://core.telegram.org/type/auth.SentCode.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "auth.SentCode", "oneOf": [{"$ref": "#/components/schemas/auth.sentCode"}, {"$ref": "#/components/schemas/auth.sentCodeSuccess"}, {"$ref": "#/components/schemas/auth.sentCodePaymentRequired"}], "description": "Type TL: auth.SentCode."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.sendVerifyPhoneCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "The phone number to verify"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Phone code settings"}}, "additionalProperties": false, "required": ["phone_number", "settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | The phone number to verify |\n| `settings` | `CodeSettings` | Ja | Phone code settings |"}, "x-telegram-rpc-errors": ["PHONE_NUMBER_INVALID"], "x-browser-schema-id": "2778945273"}}, "/catalog/account.verifyPhone": {"post": {"operationId": "account.verifyPhone", "tags": ["Konto"], "summary": "Verify a phone number for telegram passport.", "description": "Verify a phone number for telegram [passport](https://core.telegram.org/passport.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.verifyPhone", "x-tl-id": "1305716726", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PHONE_CODE_EMPTY` — phone_code fehlt.\n- 400 · `PHONE_CODE_EXPIRED` – Der von Ihnen angegebene Telefoncode ist abgelaufen.\n- 400 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.verifyPhone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone_number": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Phone code hash received from the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "description": "Code received after the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "phone_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | Ja | Telefonnummer |\n| `phone_code_hash` | `string` | Ja | Phone code hash received from the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |\n| `phone_code` | `string` | Ja | Code received after the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |"}, "x-telegram-rpc-errors": ["PHONE_CODE_EMPTY", "PHONE_CODE_EXPIRED", "PHONE_NUMBER_INVALID"], "x-browser-schema-id": "1305716726"}}, "/catalog/account.sendVerifyEmailCode": {"post": {"operationId": "account.sendVerifyEmailCode", "tags": ["Konto"], "summary": "Send an email verification code.", "description": "Send an email verification code.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.sendVerifyEmailCode", "x-tl-id": "2564831163", "x-tl-result": "account.SentEmailCode", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.SentEmailCode`.\n\n[account.SentEmailCode](https://core.telegram.org/type/account.SentEmailCode.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.SentEmailCode", "oneOf": [{"$ref": "#/components/schemas/account.sentEmailCode"}], "description": "TL type: account.SentEmailCode."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMAIL_INVALID` – Die angegebene E-Mail ist ungültig.\n- 400 · `EMAIL_NOT_ALLOWED` – Die angegebene E-Mail-Adresse kann nicht zum Abschließen des Vorgangs verwendet werden.\n- 400 · `EMAIL_NOT_SETUP` — Um die Login-E-Mail-Adresse mit emailVerifyPurposeLoginChange zu ändern, muss bereits eine bestehende Login-E-Mail-Adresse mit emailVerifyPurposeLoginSetup festgelegt werden.\n- 400 · `PHONE_CODE_EMPTY` — phone_code fehlt.\n- 400 · `PHONE_HASH_EXPIRED` – Es wurde eine ungültige oder abgelaufene `phone_code_hash` bereitgestellt.\n- 400 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.sendVerifyEmailCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"purpose": {"type": "object", "x-tl-type": "EmailVerifyPurpose", "oneOf": [{"$ref": "#/components/schemas/emailVerifyPurposeLoginSetup"}, {"$ref": "#/components/schemas/emailVerifyPurposeLoginChange"}, {"$ref": "#/components/schemas/emailVerifyPurposePassport"}], "description": "Verification purpose."}, "email": {"type": "string", "x-tl-type": "string", "description": "The email where to send the code."}}, "additionalProperties": false, "required": ["purpose", "email"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `purpose` | `EmailVerifyPurpose` | Ja | Verification purpose. |\n| `email` | `string` | Ja | The email where to send the code. |"}, "x-telegram-rpc-errors": ["EMAIL_INVALID", "EMAIL_NOT_ALLOWED", "EMAIL_NOT_SETUP", "PHONE_CODE_EMPTY", "PHONE_HASH_EXPIRED", "PHONE_NUMBER_INVALID"], "x-browser-schema-id": "2564831163"}}, "/catalog/account.verifyEmail": {"post": {"operationId": "account.verifyEmail", "tags": ["Konto"], "summary": "Verify an email address.", "description": "Verify an email address.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.verifyEmail", "x-tl-id": "53322959", "x-tl-result": "account.EmailVerified", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.EmailVerified`.\n\n[account.EmailVerified](https://core.telegram.org/type/account.EmailVerified.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.EmailVerified", "oneOf": [{"$ref": "#/components/schemas/account.emailVerified"}, {"$ref": "#/components/schemas/account.emailVerifiedLogin"}], "description": "TL type: account.EmailVerified."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CODE_INVALID` – Code ungültig.\n- 400 · `EMAIL_INVALID` – Die angegebene E-Mail ist ungültig.\n- 400 · `EMAIL_NOT_ALLOWED` – Die angegebene E-Mail-Adresse kann nicht zum Abschließen des Vorgangs verwendet werden.\n- 400 · `EMAIL_VERIFY_EXPIRED` – Die Bestätigungs-E-Mail ist abgelaufen.\n- 400 · `PHONE_CODE_EXPIRED` – Der von Ihnen angegebene Telefoncode ist abgelaufen.\n- 400 · `PHONE_NUMBER_INVALID` – Die Telefonnummer ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.verifyEmail"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"purpose": {"type": "object", "x-tl-type": "EmailVerifyPurpose", "oneOf": [{"$ref": "#/components/schemas/emailVerifyPurposeLoginSetup"}, {"$ref": "#/components/schemas/emailVerifyPurposeLoginChange"}, {"$ref": "#/components/schemas/emailVerifyPurposePassport"}], "description": "Verification purpose"}, "verification": {"type": "object", "x-tl-type": "EmailVerification", "oneOf": [{"$ref": "#/components/schemas/emailVerificationCode"}, {"$ref": "#/components/schemas/emailVerificationGoogle"}, {"$ref": "#/components/schemas/emailVerificationApple"}], "description": "Email verification code or token"}}, "additionalProperties": false, "required": ["purpose", "verification"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `purpose` | `EmailVerifyPurpose` | Ja | Verification purpose |\n| `verification` | `EmailVerification` | Ja | Email verification code or token |"}, "x-telegram-rpc-errors": ["CODE_INVALID", "EMAIL_INVALID", "EMAIL_NOT_ALLOWED", "EMAIL_VERIFY_EXPIRED", "PHONE_CODE_EXPIRED", "PHONE_NUMBER_INVALID"], "x-browser-schema-id": "53322959"}}, "/catalog/account.initTakeoutSession": {"post": {"operationId": "account.initTakeoutSession", "tags": ["Konto"], "summary": "Initialize a takeout session, see here » for more info.", "description": "Initialize a [takeout session, see here » for more info](https://core.telegram.org/api/takeout.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Zum Mitnehmen API](https://core.telegram.org/api/takeout.md)", "x-tl-method": "account.initTakeoutSession", "x-tl-id": "2398350000", "x-tl-result": "account.Takeout", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Takeout API", "https://core.telegram.org/api/takeout.md"]], "responses": {"200": {"description": "MTProto result · `account.Takeout`.\n\n[account.Takeout](https://core.telegram.org/type/account.Takeout.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.Takeout", "oneOf": [{"$ref": "#/components/schemas/account.takeout"}], "description": "TL type: account.Takeout."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 420 · `TAKEOUT_INIT_DELAY_%d` — Leider können Sie aus Sicherheitsgründen in %d Sekunden mit dem Herunterladen Ihrer Daten beginnen. Wir haben alle Ihre Geräte über die Exportanfrage benachrichtigt, um sicherzustellen, dass sie autorisiert ist, und um Ihnen Zeit zu geben, zu reagieren, falls dies nicht der Fall ist."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.initTakeoutSession"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to export contacts"}, "message_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to export messages in private chats"}, "message_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether to export messages in [basic groups](https://core.telegram.org/api/channel.md#basic-groups)"}, "message_megagroups": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Whether to export messages in [supergroups](https://core.telegram.org/api/channel.md#supergroups)"}, "message_channels": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Whether to export messages in [channels](https://core.telegram.org/api/channel.md#channels)"}, "files": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Whether to export files"}, "file_max_size": {"type": "string", "pattern": "^-?\\d+$", "description": "Maximum size of files to export", "x-tl-type": "long", "x-tl-flag": "flags.5?long"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `contacts` | `true` | Nein | Whether to export contacts |\n| `message_users` | `true` | Nein | Whether to export messages in private chats |\n| `message_chats` | `true` | Nein | Whether to export messages in [basic groups](https://core.telegram.org/api/channel.md#basic-groups) |\n| `message_megagroups` | `true` | Nein | Whether to export messages in [supergroups](https://core.telegram.org/api/channel.md#supergroups) |\n| `message_channels` | `true` | Nein | Whether to export messages in [channels](https://core.telegram.org/api/channel.md#channels) |\n| `files` | `true` | Nein | Whether to export files |\n| `file_max_size` | `long` | Nein | Maximum size of files to export |"}, "x-telegram-rpc-errors": ["TAKEOUT_INIT_DELAY_%d"], "x-browser-schema-id": "2398350000"}}, "/catalog/account.finishTakeoutSession": {"post": {"operationId": "account.finishTakeoutSession", "tags": ["Konto"], "summary": "Terminate a takeout session, see here » for more info.", "description": "Terminate a [takeout session, see here » for more info](https://core.telegram.org/api/takeout.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zum Mitnehmen API](https://core.telegram.org/api/takeout.md)", "x-tl-method": "account.finishTakeoutSession", "x-tl-id": "489050862", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Takeout API", "https://core.telegram.org/api/takeout.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `TAKEOUT_REQUIRED` — A [takeout](https://core.telegram.org/api/takeout.md) session needs to be initialized first, [see here &raquo; for more info](https://core.telegram.org/api/takeout.md)."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.finishTakeoutSession"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"success": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Daten erfolgreich exportiert"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `success` | `true` | Nein | Daten erfolgreich exportiert |"}, "x-telegram-rpc-errors": ["TAKEOUT_REQUIRED"], "x-browser-schema-id": "489050862"}}, "/catalog/account.confirmPasswordEmail": {"post": {"operationId": "account.confirmPasswordEmail", "tags": ["Konto"], "summary": "Verify an email to use as 2FA recovery method.", "description": "Verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "account.confirmPasswordEmail", "x-tl-id": "2413762848", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CODE_INVALID` – Code ungültig.\n- 400 · `EMAIL_HASH_EXPIRED` – E-Mail-Hash abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.confirmPasswordEmail"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"code": {"type": "string", "x-tl-type": "string", "description": "The phone code that was received after [setting a recovery email](https://core.telegram.org/api/srp.md#email-verification)"}}, "additionalProperties": false, "required": ["code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `code` | `string` | Ja | The phone code that was received after [setting a recovery email](https://core.telegram.org/api/srp.md#email-verification) |"}, "x-telegram-rpc-errors": ["CODE_INVALID", "EMAIL_HASH_EXPIRED"], "x-browser-schema-id": "2413762848"}}, "/catalog/account.resendPasswordEmail": {"post": {"operationId": "account.resendPasswordEmail", "tags": ["Konto"], "summary": "Resend the code to verify an email to use as 2FA recovery method.", "description": "Resend the code to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "account.resendPasswordEmail", "x-tl-id": "2055154197", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMAIL_HASH_EXPIRED` – E-Mail-Hash abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.resendPasswordEmail"}, "x-telegram-rpc-errors": ["EMAIL_HASH_EXPIRED"], "x-browser-schema-id": "2055154197"}}, "/catalog/account.cancelPasswordEmail": {"post": {"operationId": "account.cancelPasswordEmail", "tags": ["Konto"], "summary": "Cancel the code that was sent to verify an email to use as 2FA recovery method.", "description": "Cancel the code that was sent to verify an email to use as [2FA recovery method](https://core.telegram.org/api/srp.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "account.cancelPasswordEmail", "x-tl-id": "3251361206", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMAIL_HASH_EXPIRED` – E-Mail-Hash abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.cancelPasswordEmail"}, "x-telegram-rpc-errors": ["EMAIL_HASH_EXPIRED"], "x-browser-schema-id": "3251361206"}}, "/catalog/account.getContactSignUpNotification": {"post": {"operationId": "account.getContactSignUpNotification", "tags": ["Konto"], "summary": "Whether the user will receive notifications when contacts sign up", "description": "Whether the user will receive notifications when contacts sign up", "x-tl-method": "account.getContactSignUpNotification", "x-tl-id": "2668087080", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getContactSignUpNotification"}, "x-browser-schema-id": "2668087080"}}, "/catalog/account.setContactSignUpNotification": {"post": {"operationId": "account.setContactSignUpNotification", "tags": ["Konto"], "summary": "Toggle contact sign up notifications", "description": "Toggle contact sign up notifications", "x-tl-method": "account.setContactSignUpNotification", "x-tl-id": "3488890721", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.setContactSignUpNotification"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"silent": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to disable contact sign up notifications"}}, "additionalProperties": false, "required": ["silent"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `silent` | `Bool` | Ja | Whether to disable contact sign up notifications |"}, "x-browser-schema-id": "3488890721"}}, "/catalog/account.getNotifyExceptions": {"post": {"operationId": "account.getNotifyExceptions", "tags": ["Konto"], "summary": "Returns list of chats with non-default notification settings", "description": "Returns list of chats with non-default notification settings", "x-tl-method": "account.getNotifyExceptions", "x-tl-id": "1398240377", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getNotifyExceptions"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"compare_sound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "If set, chats with non-default sound will be returned"}, "compare_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "If set, chats with non-default notification settings for stories will be returned"}, "peer": {"type": "object", "x-tl-type": "InputNotifyPeer", "oneOf": [{"$ref": "#/components/schemas/inputNotifyPeer"}, {"$ref": "#/components/schemas/inputNotifyUsers"}, {"$ref": "#/components/schemas/inputNotifyChats"}, {"$ref": "#/components/schemas/inputNotifyBroadcasts"}, {"$ref": "#/components/schemas/inputNotifyForumTopic"}, {"$ref": "#/components/schemas/inputNotifyCommunity"}], "description": "If specified, only chats of the specified category will be returned", "x-tl-flag": "flags.0?InputNotifyPeer"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `compare_sound` | `true` | Nein | If set, chats with non-default sound will be returned |\n| `compare_stories` | `true` | Nein | If set, chats with non-default notification settings for stories will be returned |\n| `peer` | `InputNotifyPeer` | Nein | If specified, only chats of the specified category will be returned |"}, "x-browser-schema-id": "1398240377"}}, "/catalog/account.getWallPaper": {"post": {"operationId": "account.getWallPaper", "tags": ["Konto"], "summary": "Get info about a certain wallpaper", "description": "Get info about a certain [wallpaper](https://core.telegram.org/api/wallpapers.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Chat-Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)", "x-tl-method": "account.getWallPaper", "x-tl-id": "4237155306", "x-tl-result": "WallPaper", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Chat wallpapers", "https://core.telegram.org/api/wallpapers.md"]], "responses": {"200": {"description": "MTProto result · `WallPaper`.\n\n[WallPaper](https://core.telegram.org/type/WallPaper.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WallPaper", "oneOf": [{"$ref": "#/components/schemas/wallPaper"}, {"$ref": "#/components/schemas/wallPaperNoFile"}], "description": "TL Type: WallPaper."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `WALLPAPER_INVALID` – Das angegebene Hintergrundbild ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getWallPaper"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"wallpaper": {"type": "object", "x-tl-type": "InputWallPaper", "oneOf": [{"$ref": "#/components/schemas/inputWallPaper"}, {"$ref": "#/components/schemas/inputWallPaperSlug"}, {"$ref": "#/components/schemas/inputWallPaperNoFile"}], "description": "The [wallpaper](https://core.telegram.org/api/wallpapers.md) to get info about"}}, "additionalProperties": false, "required": ["wallpaper"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `wallpaper` | `InputWallPaper` | Ja | The [wallpaper](https://core.telegram.org/api/wallpapers.md) to get info about |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "4237155306"}}, "/catalog/account.uploadWallPaper": {"post": {"operationId": "account.uploadWallPaper", "tags": ["Konto"], "summary": "Erstellen Sie ein neues Hintergrundbild und laden Sie es hoch", "description": "Erstellen Sie ein neues [Hintergrundbild](https://core.telegram.org/api/wallpapers.md)] und laden Sie es hoch.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Chat-Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)", "x-tl-method": "account.uploadWallPaper", "x-tl-id": "3818557187", "x-tl-result": "WallPaper", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Chat wallpapers", "https://core.telegram.org/api/wallpapers.md"]], "responses": {"200": {"description": "MTProto result · `WallPaper`.\n\n[WallPaper](https://core.telegram.org/type/WallPaper.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WallPaper", "oneOf": [{"$ref": "#/components/schemas/wallPaper"}, {"$ref": "#/components/schemas/wallPaperNoFile"}], "description": "TL Type: WallPaper."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `WALLPAPER_FILE_INVALID` – Die angegebene Hintergrunddatei ist ungültig.\n- 400 · `WALLPAPER_MIME_INVALID` – Der angegebene Hintergrundbildtyp MIME ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.uploadWallPaper"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"for_chat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Set this flag when uploading wallpapers to be passed to [messages.setChatWallPaper](https://core.telegram.org/method/messages.setChatWallPaper.md)."}, "file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "The JPG/PNG wallpaper"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME type of uploaded wallpaper"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "Wallpaper settings"}}, "additionalProperties": false, "required": ["file", "mime_type", "settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `for_chat` | `true` | Nein | Set this flag when uploading wallpapers to be passed to [messages.setChatWallPaper](https://core.telegram.org/method/messages.setChatWallPaper.md). |\n| `file` | `InputFile` | Ja | The JPG/PNG wallpaper |\n| `mime_type` | `string` | Ja | MIME type of uploaded wallpaper |\n| `settings` | `WallPaperSettings` | Ja | Wallpaper settings |"}, "x-telegram-rpc-errors": ["WALLPAPER_FILE_INVALID", "WALLPAPER_MIME_INVALID"], "x-browser-schema-id": "3818557187"}}, "/catalog/account.saveWallPaper": {"post": {"operationId": "account.saveWallPaper", "tags": ["Konto"], "summary": "Install/uninstall wallpaper", "description": "Install/uninstall [wallpaper](https://core.telegram.org/api/wallpapers.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Chat-Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)", "x-tl-method": "account.saveWallPaper", "x-tl-id": "1817860919", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Chat wallpapers", "https://core.telegram.org/api/wallpapers.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `WALLPAPER_INVALID` – Das angegebene Hintergrundbild ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.saveWallPaper"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"wallpaper": {"type": "object", "x-tl-type": "InputWallPaper", "oneOf": [{"$ref": "#/components/schemas/inputWallPaper"}, {"$ref": "#/components/schemas/inputWallPaperSlug"}, {"$ref": "#/components/schemas/inputWallPaperNoFile"}], "description": "[Wallpaper](https://core.telegram.org/api/wallpapers.md) to install or uninstall"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Uninstall wallpaper?"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "Wallpaper settings"}}, "additionalProperties": false, "required": ["wallpaper", "unsave", "settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `wallpaper` | `InputWallPaper` | Ja | [Wallpaper](https://core.telegram.org/api/wallpapers.md) to install or uninstall |\n| `unsave` | `Bool` | Ja | Uninstall wallpaper? |\n| `settings` | `WallPaperSettings` | Ja | Wallpaper settings |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "1817860919"}}, "/catalog/account.installWallPaper": {"post": {"operationId": "account.installWallPaper", "tags": ["Konto"], "summary": "Install wallpaper", "description": "Install [wallpaper](https://core.telegram.org/api/wallpapers.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Chat-Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)", "x-tl-method": "account.installWallPaper", "x-tl-id": "4276967273", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Chat wallpapers", "https://core.telegram.org/api/wallpapers.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `WALLPAPER_INVALID` – Das angegebene Hintergrundbild ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.installWallPaper"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"wallpaper": {"type": "object", "x-tl-type": "InputWallPaper", "oneOf": [{"$ref": "#/components/schemas/inputWallPaper"}, {"$ref": "#/components/schemas/inputWallPaperSlug"}, {"$ref": "#/components/schemas/inputWallPaperNoFile"}], "description": "[Wallpaper](https://core.telegram.org/api/wallpapers.md) to install"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "[Wallpaper](https://core.telegram.org/api/wallpapers.md) settings"}}, "additionalProperties": false, "required": ["wallpaper", "settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `wallpaper` | `InputWallPaper` | Ja | [Wallpaper](https://core.telegram.org/api/wallpapers.md) to install |\n| `settings` | `WallPaperSettings` | Ja | [Wallpaper](https://core.telegram.org/api/wallpapers.md) settings |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "4276967273"}}, "/catalog/account.resetWallPapers": {"post": {"operationId": "account.resetWallPapers", "tags": ["Konto"], "summary": "Delete all installed wallpapers, reverting to the default wallpaper set.", "description": "Delete all installed [wallpapers](https://core.telegram.org/api/wallpapers.md), reverting to the default wallpaper set.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Chat-Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)", "x-tl-method": "account.resetWallPapers", "x-tl-id": "3141244932", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Chat wallpapers", "https://core.telegram.org/api/wallpapers.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.resetWallPapers"}, "x-browser-schema-id": "3141244932"}}, "/catalog/account.getAutoDownloadSettings": {"post": {"operationId": "account.getAutoDownloadSettings", "tags": ["Konto"], "summary": "Get media autodownload settings", "description": "Get media autodownload settings", "x-tl-method": "account.getAutoDownloadSettings", "x-tl-id": "1457130303", "x-tl-result": "account.AutoDownloadSettings", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.AutoDownloadSettings`.\n\n[account.AutoDownloadSettings](https://core.telegram.org/type/account.AutoDownloadSettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.AutoDownloadSettings", "oneOf": [{"$ref": "#/components/schemas/account.autoDownloadSettings"}], "description": "TL type: account.AutoDownloadSettings."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getAutoDownloadSettings"}, "x-browser-schema-id": "1457130303"}}, "/catalog/account.saveAutoDownloadSettings": {"post": {"operationId": "account.saveAutoDownloadSettings", "tags": ["Konto"], "summary": "Change media autodownload settings", "description": "Change media autodownload settings", "x-tl-method": "account.saveAutoDownloadSettings", "x-tl-id": "1995661875", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.saveAutoDownloadSettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"low": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to save media in the low data usage preset"}, "high": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to save media in the high data usage preset"}, "settings": {"type": "object", "x-tl-type": "AutoDownloadSettings", "oneOf": [{"$ref": "#/components/schemas/autoDownloadSettings"}], "description": "Einstellungen für den automatischen Medien-Download"}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `low` | `true` | Nein | Whether to save media in the low data usage preset |\n| `high` | `true` | Nein | Whether to save media in the high data usage preset |\n| `settings` | `AutoDownloadSettings` | Ja | Einstellungen für den automatischen Medien-Download |"}, "x-browser-schema-id": "1995661875"}}, "/catalog/account.uploadTheme": {"post": {"operationId": "account.uploadTheme", "tags": ["Konto"], "summary": "Upload theme", "description": "Upload theme\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Themen](https://core.telegram.org/api/themes.md)", "x-tl-method": "account.uploadTheme", "x-tl-id": "473805619", "x-tl-result": "Document", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram themes", "https://core.telegram.org/api/themes.md"]], "responses": {"200": {"description": "MTProto result · `Document`.\n\n[Document](https://core.telegram.org/type/Document.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Document", "oneOf": [{"$ref": "#/components/schemas/documentEmpty"}, {"$ref": "#/components/schemas/document"}], "description": "TL Type: Document."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `THEME_FILE_INVALID` – Ungültige Designdatei bereitgestellt.\n- 400 · `THEME_MIME_INVALID` – Der Typ MIME des Themas ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.uploadTheme"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "[Previously uploaded](https://core.telegram.org/api/themes.md#uploading-theme-files) theme file with platform-specific colors for UI components, can be left unset when creating themes that only modify the wallpaper or accent colors."}, "thumb": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Thumbnail", "x-tl-flag": "flags.0?InputFile"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "File name"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME type, must be `application/x-tgtheme-{format}`, where `format` depends on the client"}}, "additionalProperties": false, "required": ["file", "file_name", "mime_type"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `file` | `InputFile` | Ja | [Previously uploaded](https://core.telegram.org/api/themes.md#uploading-theme-files) theme file with platform-specific colors for UI components, can be left unset when creating themes that only modify the wallpaper or accent colors. |\n| `thumb` | `InputFile` | Nein | Thumbnail |\n| `file_name` | `string` | Ja | File name |\n| `mime_type` | `string` | Ja | MIME type, must be `application/x-tgtheme-{format}`, where `format` depends on the client |"}, "x-telegram-rpc-errors": ["THEME_FILE_INVALID", "THEME_MIME_INVALID"], "x-browser-schema-id": "473805619"}}, "/catalog/account.createTheme": {"post": {"operationId": "account.createTheme", "tags": ["Konto"], "summary": "Erstellen Sie ein Thema", "description": "Erstellen Sie ein Thema\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "account.createTheme", "x-tl-id": "1697530880", "x-tl-result": "Theme", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `Theme`.\n\n[Theme](https://core.telegram.org/type/Theme.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Theme", "oneOf": [{"$ref": "#/components/schemas/theme"}], "description": "TL Type: Theme."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `THEME_MIME_INVALID` – Der Typ MIME des Themas ist ungültig.\n- 400 · `THEME_TITLE_INVALID` – Der angegebene Thementitel ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.createTheme"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "Unique theme ID used to generate [theme deep links](https://core.telegram.org/api/links.md#theme-links), can be empty to autogenerate a random ID."}, "title": {"type": "string", "x-tl-type": "string", "description": "Themenname"}, "document": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Theme file", "x-tl-flag": "flags.2?InputDocument"}, "settings": {"type": "array", "items": {"type": "object", "x-tl-type": "InputThemeSettings", "oneOf": [{"$ref": "#/components/schemas/inputThemeSettings"}], "description": "TL Type: InputThemeSettings."}, "x-tl-type": "Vector<InputThemeSettings>", "x-tl-flag": "flags.3?Vector<InputThemeSettings>", "description": "Theme settings, multiple values can be provided for the different base themes (day/night mode, etc)."}}, "additionalProperties": false, "required": ["slug", "title"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | Unique theme ID used to generate [theme deep links](https://core.telegram.org/api/links.md#theme-links), can be empty to autogenerate a random ID. |\n| `title` | `string` | Ja | Themenname |\n| `document` | `InputDocument` | Nein | Theme file |\n| `settings` | `Vector<InputThemeSettings>` | Nein | Theme settings, multiple values can be provided for the different base themes (day/night mode, etc). |"}, "x-telegram-rpc-errors": ["THEME_MIME_INVALID", "THEME_TITLE_INVALID"], "x-browser-schema-id": "1697530880"}}, "/catalog/account.updateTheme": {"post": {"operationId": "account.updateTheme", "tags": ["Konto"], "summary": "Update theme", "description": "Update theme\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.updateTheme", "x-tl-id": "737414348", "x-tl-result": "Theme", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Theme`.\n\n[Theme](https://core.telegram.org/type/Theme.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Theme", "oneOf": [{"$ref": "#/components/schemas/theme"}], "description": "TL Type: Theme."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `THEME_INVALID` – Ungültiges Design angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateTheme"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"format": {"type": "string", "x-tl-type": "string", "description": "Theme format, a string that identifies the theming engines supported by the client"}, "theme": {"type": "object", "x-tl-type": "InputTheme", "oneOf": [{"$ref": "#/components/schemas/inputTheme"}, {"$ref": "#/components/schemas/inputThemeSlug"}], "description": "Theme to update"}, "slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Eindeutige Theme-ID"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Themenname"}, "document": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Theme file", "x-tl-flag": "flags.2?InputDocument"}, "settings": {"type": "array", "items": {"type": "object", "x-tl-type": "InputThemeSettings", "oneOf": [{"$ref": "#/components/schemas/inputThemeSettings"}], "description": "TL Type: InputThemeSettings."}, "x-tl-type": "Vector<InputThemeSettings>", "x-tl-flag": "flags.3?Vector<InputThemeSettings>", "description": "Theme-Einstellungen"}}, "additionalProperties": false, "required": ["format", "theme"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `format` | `string` | Ja | Theme format, a string that identifies the theming engines supported by the client |\n| `theme` | `InputTheme` | Ja | Theme to update |\n| `slug` | `string` | Nein | Eindeutige Theme-ID |\n| `title` | `string` | Nein | Themenname |\n| `document` | `InputDocument` | Nein | Theme file |\n| `settings` | `Vector<InputThemeSettings>` | Nein | Theme-Einstellungen |"}, "x-telegram-rpc-errors": ["THEME_INVALID"], "x-browser-schema-id": "737414348"}}, "/catalog/account.saveTheme": {"post": {"operationId": "account.saveTheme", "tags": ["Konto"], "summary": "Save a theme", "description": "Save a theme\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.saveTheme", "x-tl-id": "4065792108", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `THEME_INVALID` – Ungültiges Design angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.saveTheme"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"theme": {"type": "object", "x-tl-type": "InputTheme", "oneOf": [{"$ref": "#/components/schemas/inputTheme"}, {"$ref": "#/components/schemas/inputThemeSlug"}], "description": "Theme to save"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Unsave"}}, "additionalProperties": false, "required": ["theme", "unsave"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `theme` | `InputTheme` | Ja | Theme to save |\n| `unsave` | `Bool` | Ja | Unsave |"}, "x-telegram-rpc-errors": ["THEME_INVALID"], "x-browser-schema-id": "4065792108"}}, "/catalog/account.installTheme": {"post": {"operationId": "account.installTheme", "tags": ["Konto"], "summary": "Install a theme", "description": "Install a theme", "x-tl-method": "account.installTheme", "x-tl-id": "3341269819", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.installTheme"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to install the dark version"}, "theme": {"type": "object", "x-tl-type": "InputTheme", "oneOf": [{"$ref": "#/components/schemas/inputTheme"}, {"$ref": "#/components/schemas/inputThemeSlug"}], "description": "Theme to install", "x-tl-flag": "flags.1?InputTheme"}, "format": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Theme format, a string that identifies the theming engines supported by the client"}, "base_theme": {"type": "object", "x-tl-type": "BaseTheme", "oneOf": [{"$ref": "#/components/schemas/baseThemeClassic"}, {"$ref": "#/components/schemas/baseThemeDay"}, {"$ref": "#/components/schemas/baseThemeNight"}, {"$ref": "#/components/schemas/baseThemeTinted"}, {"$ref": "#/components/schemas/baseThemeArctic"}], "description": "Indicates a basic theme provided by all clients", "x-tl-flag": "flags.3?BaseTheme"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dark` | `true` | Nein | Whether to install the dark version |\n| `theme` | `InputTheme` | Nein | Theme to install |\n| `format` | `string` | Nein | Theme format, a string that identifies the theming engines supported by the client |\n| `base_theme` | `BaseTheme` | Nein | Indicates a basic theme provided by all clients |"}, "x-browser-schema-id": "3341269819"}}, "/catalog/account.getTheme": {"post": {"operationId": "account.getTheme", "tags": ["Konto"], "summary": "Get theme information", "description": "Get theme information\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.getTheme", "x-tl-id": "978872812", "x-tl-result": "Theme", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Theme`.\n\n[Theme](https://core.telegram.org/type/Theme.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Theme", "oneOf": [{"$ref": "#/components/schemas/theme"}], "description": "TL Type: Theme."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `THEME_FORMAT_INVALID` – Ungültiges Designformat angegeben.\n- 400 · `THEME_INVALID` – Ungültiges Design angegeben.\n- 400 · `THEME_SLUG_INVALID` – Der angegebene Theme-Slug ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getTheme"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"format": {"type": "string", "x-tl-type": "string", "description": "Theme format, a string that identifies the theming engines supported by the client"}, "theme": {"type": "object", "x-tl-type": "InputTheme", "oneOf": [{"$ref": "#/components/schemas/inputTheme"}, {"$ref": "#/components/schemas/inputThemeSlug"}], "description": "Thema"}}, "additionalProperties": false, "required": ["format", "theme"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `format` | `string` | Ja | Theme format, a string that identifies the theming engines supported by the client |\n| `theme` | `InputTheme` | Ja | Thema |"}, "x-telegram-rpc-errors": ["THEME_FORMAT_INVALID", "THEME_INVALID", "THEME_SLUG_INVALID"], "x-browser-schema-id": "978872812"}}, "/catalog/account.getThemes": {"post": {"operationId": "account.getThemes", "tags": ["Konto"], "summary": "Get installed themes", "description": "Get installed themes\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "account.getThemes", "x-tl-id": "1913054296", "x-tl-result": "account.Themes", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `account.Themes`.\n\n[account.Themes](https://core.telegram.org/type/account.Themes.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.Themes", "oneOf": [{"$ref": "#/components/schemas/account.themesNotModified"}, {"$ref": "#/components/schemas/account.themes"}], "description": "Type TL: account.Themes."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getThemes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"format": {"type": "string", "x-tl-type": "string", "description": "Theme format, a string that identifies the theming engines supported by the client"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["format", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `format` | `string` | Ja | Theme format, a string that identifies the theming engines supported by the client |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1913054296"}}, "/catalog/account.setContentSettings": {"post": {"operationId": "account.setContentSettings", "tags": ["Konto"], "summary": "Set sensitive content settings (for viewing or hiding NSFW content)", "description": "Set sensitive content settings (for viewing or hiding NSFW content)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.setContentSettings", "x-tl-id": "3044323691", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `SENSITIVE_CHANGE_FORBIDDEN` — You can't change your sensitive content settings."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.setContentSettings"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"sensitive_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Enable NSFW content"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `sensitive_enabled` | `true` | Nein | Enable NSFW content |"}, "x-telegram-rpc-errors": ["SENSITIVE_CHANGE_FORBIDDEN"], "x-browser-schema-id": "3044323691"}}, "/catalog/account.getContentSettings": {"post": {"operationId": "account.getContentSettings", "tags": ["Konto"], "summary": "Get sensitive content settings", "description": "Get sensitive content settings", "x-tl-method": "account.getContentSettings", "x-tl-id": "2342210990", "x-tl-result": "account.ContentSettings", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.ContentSettings`.\n\n[account.ContentSettings](https://core.telegram.org/type/account.ContentSettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.ContentSettings", "oneOf": [{"$ref": "#/components/schemas/account.contentSettings"}], "description": "TL type: account.ContentSettings."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getContentSettings"}, "x-browser-schema-id": "2342210990"}}, "/catalog/account.getMultiWallPapers": {"post": {"operationId": "account.getMultiWallPapers", "tags": ["Konto"], "summary": "Get info about multiple wallpapers", "description": "Get info about multiple [wallpapers](https://core.telegram.org/api/wallpapers.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Chat-Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)", "x-tl-method": "account.getMultiWallPapers", "x-tl-id": "1705865692", "x-tl-result": "Vector<WallPaper>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Chat wallpapers", "https://core.telegram.org/api/wallpapers.md"]], "responses": {"200": {"description": "MTProto result · `Vector<WallPaper>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[WallPaper](https://core.telegram.org/type/WallPaper.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "WallPaper", "oneOf": [{"$ref": "#/components/schemas/wallPaper"}, {"$ref": "#/components/schemas/wallPaperNoFile"}], "description": "TL Type: WallPaper."}, "x-tl-type": "Vector<WallPaper>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `WALLPAPER_INVALID` – Das angegebene Hintergrundbild ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getMultiWallPapers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"wallpapers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputWallPaper", "oneOf": [{"$ref": "#/components/schemas/inputWallPaper"}, {"$ref": "#/components/schemas/inputWallPaperSlug"}, {"$ref": "#/components/schemas/inputWallPaperNoFile"}], "description": "TL Type: InputWallPaper."}, "x-tl-type": "Vector<InputWallPaper>", "description": "[Wallpapers](https://core.telegram.org/api/wallpapers.md) to fetch info about"}}, "additionalProperties": false, "required": ["wallpapers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `wallpapers` | `Vector<InputWallPaper>` | Ja | [Wallpapers](https://core.telegram.org/api/wallpapers.md) to fetch info about |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "1705865692"}}, "/catalog/account.getGlobalPrivacySettings": {"post": {"operationId": "account.getGlobalPrivacySettings", "tags": ["Konto"], "summary": "Get global privacy settings", "description": "Get global privacy settings", "x-tl-method": "account.getGlobalPrivacySettings", "x-tl-id": "3945483510", "x-tl-result": "GlobalPrivacySettings", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `GlobalPrivacySettings`.\n\n[GlobalPrivacySettings](https://core.telegram.org/type/GlobalPrivacySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "GlobalPrivacySettings", "oneOf": [{"$ref": "#/components/schemas/globalPrivacySettings"}], "description": "TL Type: GlobalPrivacySettings."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getGlobalPrivacySettings"}, "x-browser-schema-id": "3945483510"}}, "/catalog/account.setGlobalPrivacySettings": {"post": {"operationId": "account.setGlobalPrivacySettings", "tags": ["Konto"], "summary": "Set global privacy settings", "description": "Set global privacy settings\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.setGlobalPrivacySettings", "x-tl-id": "517647042", "x-tl-result": "GlobalPrivacySettings", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `GlobalPrivacySettings`.\n\n[GlobalPrivacySettings](https://core.telegram.org/type/GlobalPrivacySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "GlobalPrivacySettings", "oneOf": [{"$ref": "#/components/schemas/globalPrivacySettings"}], "description": "TL Type: GlobalPrivacySettings."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AUTOARCHIVE_NOT_AVAILABLE` – Die Einstellung für die automatische Archivierung ist derzeit nicht verfügbar: Bitte überprüfen Sie den Wert des Felds [autoarchive_setting_available in der Client-Konfiguration »](https://core.telegram.org/api/config.md#client-configuration), bevor Sie diese Methode aufrufen.\n- 403 · `BOT_ACCESS_FORBIDDEN` – Die angegebene Methode *kann* für einige Vorgänge über eine [Geschäftsverbindung](https://core.telegram.org/api/bots/connected-business-bots.md)] verwendet werden, aber die angegebene Abfrage hat einen Vorgang versucht, der über eine Geschäftsverbindung nicht zulässig ist.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.setGlobalPrivacySettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"settings": {"type": "object", "x-tl-type": "GlobalPrivacySettings", "oneOf": [{"$ref": "#/components/schemas/globalPrivacySettings"}], "description": "Globale Datenschutzeinstellungen"}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `settings` | `GlobalPrivacySettings` | Ja | Globale Datenschutzeinstellungen |"}, "x-telegram-rpc-errors": ["AUTOARCHIVE_NOT_AVAILABLE", "BOT_ACCESS_FORBIDDEN", "BUSINESS_CONNECTION_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "517647042"}}, "/catalog/account.reportProfilePhoto": {"post": {"operationId": "account.reportProfilePhoto", "tags": ["Konto"], "summary": "Report a profile photo of a dialog", "description": "Report a profile photo of a dialog\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.reportProfilePhoto", "x-tl-id": "4203529973", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.reportProfilePhoto"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Der Dialog"}, "photo_id": {"type": "object", "x-tl-type": "InputPhoto", "oneOf": [{"$ref": "#/components/schemas/inputPhotoEmpty"}, {"$ref": "#/components/schemas/inputPhoto"}], "description": "Dialog photo ID"}, "reason": {"type": "object", "x-tl-type": "ReportReason", "oneOf": [{"$ref": "#/components/schemas/inputReportReasonSpam"}, {"$ref": "#/components/schemas/inputReportReasonViolence"}, {"$ref": "#/components/schemas/inputReportReasonPornography"}, {"$ref": "#/components/schemas/inputReportReasonChildAbuse"}, {"$ref": "#/components/schemas/inputReportReasonOther"}, {"$ref": "#/components/schemas/inputReportReasonCopyright"}, {"$ref": "#/components/schemas/inputReportReasonGeoIrrelevant"}, {"$ref": "#/components/schemas/inputReportReasonFake"}, {"$ref": "#/components/schemas/inputReportReasonIllegalDrugs"}, {"$ref": "#/components/schemas/inputReportReasonPersonalDetails"}], "description": "Report reason"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comment for report moderation"}}, "additionalProperties": false, "required": ["peer", "photo_id", "reason", "message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Der Dialog |\n| `photo_id` | `InputPhoto` | Ja | Dialog photo ID |\n| `reason` | `ReportReason` | Ja | Report reason |\n| `message` | `string` | Ja | Comment for report moderation |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "4203529973"}}, "/catalog/account.resetPassword": {"post": {"operationId": "account.resetPassword", "tags": ["Konto"], "summary": "Initiate a 2FA password reset: can only be used if the user is already logged-in, see here for more info »", "description": "Initiate a 2FA password reset: can only be used if the user is already logged-in, [see here for more info »](https://core.telegram.org/api/srp.md#password-reset)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "account.resetPassword", "x-tl-id": "2466827803", "x-tl-result": "account.ResetPasswordResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `account.ResetPasswordResult`.\n\n[account.ResetPasswordResult](https://core.telegram.org/type/account.ResetPasswordResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.ResetPasswordResult", "oneOf": [{"$ref": "#/components/schemas/account.resetPasswordFailedWait"}, {"$ref": "#/components/schemas/account.resetPasswordRequestedWait"}, {"$ref": "#/components/schemas/account.resetPasswordOk"}], "description": "Type TL: account.ResetPasswordResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PASSWORD_EMPTY` – Das angegebene Passwort ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.resetPassword"}, "x-telegram-rpc-errors": ["PASSWORD_EMPTY"], "x-browser-schema-id": "2466827803"}}, "/catalog/account.declinePasswordReset": {"post": {"operationId": "account.declinePasswordReset", "tags": ["Konto"], "summary": "Brechen Sie ein ausstehendes Zurücksetzen des 2FA-Passworts ab. Weitere Informationen finden Sie hier »", "description": "Brechen Sie ein ausstehendes 2FA-Passwort-Reset ab, [weitere Informationen finden Sie hier »](https://core.telegram.org/api/srp.md#password-reset)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "account.declinePasswordReset", "x-tl-id": "1284770294", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `RESET_REQUEST_MISSING` – Es wird kein Passwort-Reset durchgeführt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.declinePasswordReset"}, "x-telegram-rpc-errors": ["RESET_REQUEST_MISSING"], "x-browser-schema-id": "1284770294"}}, "/catalog/account.getChatThemes": {"post": {"operationId": "account.getChatThemes", "tags": ["Konto"], "summary": "Get all available chat themes ».", "description": "Get all available chat [themes »](https://core.telegram.org/api/themes.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Themen](https://core.telegram.org/api/themes.md)", "x-tl-method": "account.getChatThemes", "x-tl-id": "3594051209", "x-tl-result": "account.Themes", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram themes", "https://core.telegram.org/api/themes.md"]], "responses": {"200": {"description": "MTProto result · `account.Themes`.\n\n[account.Themes](https://core.telegram.org/type/account.Themes.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.Themes", "oneOf": [{"$ref": "#/components/schemas/account.themesNotModified"}, {"$ref": "#/components/schemas/account.themes"}], "description": "Type TL: account.Themes."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getChatThemes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3594051209"}}, "/catalog/account.setAuthorizationTTL": {"post": {"operationId": "account.setAuthorizationTTL", "tags": ["Konto"], "summary": "Set time-to-live of current session", "description": "Set time-to-live of current session\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.setAuthorizationTTL", "x-tl-id": "3213466272", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` – Sie können sich von anderen Sitzungen nicht abmelden, wenn seit der Anmeldung bei der aktuellen Sitzung weniger als 24 Stunden vergangen sind.\n- 400 · `TTL_DAYS_INVALID` – Die angegebene TTL ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.setAuthorizationTTL"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"authorization_ttl_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Time-to-live of current session in days"}}, "additionalProperties": false, "required": ["authorization_ttl_days"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `authorization_ttl_days` | `int` | Ja | Time-to-live of current session in days |"}, "x-telegram-rpc-errors": ["FRESH_RESET_AUTHORISATION_FORBIDDEN", "TTL_DAYS_INVALID"], "x-browser-schema-id": "3213466272"}}, "/catalog/account.changeAuthorizationSettings": {"post": {"operationId": "account.changeAuthorizationSettings", "tags": ["Konto"], "summary": "Change settings related to a session.", "description": "Change settings related to a session.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "account.changeAuthorizationSettings", "x-tl-id": "1089766498", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `HASH_INVALID` – Der bereitgestellte Hash ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.changeAuthorizationSettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"confirmed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "If set, [confirms a newly logged in session »](https://core.telegram.org/api/auth.md#confirming-login)."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Session ID from the [authorization](https://core.telegram.org/constructor/authorization.md) constructor, fetchable using [account.getAuthorizations](https://core.telegram.org/method/account.getAuthorizations.md)", "x-tl-type": "long"}, "encrypted_requests_disabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Whether to enable or disable receiving encrypted chats: if the flag is not set, the previous setting is not changed"}, "call_requests_disabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool", "description": "Whether to enable or disable receiving calls: if the flag is not set, the previous setting is not changed"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `confirmed` | `true` | Nein | If set, [confirms a newly logged in session »](https://core.telegram.org/api/auth.md#confirming-login). |\n| `hash` | `long` | Ja | Session ID from the [authorization](https://core.telegram.org/constructor/authorization.md) constructor, fetchable using [account.getAuthorizations](https://core.telegram.org/method/account.getAuthorizations.md) |\n| `encrypted_requests_disabled` | `Bool` | Nein | Whether to enable or disable receiving encrypted chats: if the flag is not set, the previous setting is not changed |\n| `call_requests_disabled` | `Bool` | Nein | Whether to enable or disable receiving calls: if the flag is not set, the previous setting is not changed |"}, "x-telegram-rpc-errors": ["HASH_INVALID"], "x-browser-schema-id": "1089766498"}}, "/catalog/account.getSavedRingtones": {"post": {"operationId": "account.getSavedRingtones", "tags": ["Konto"], "summary": "Fetch saved notification sounds", "description": "Fetch saved notification sounds\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "account.getSavedRingtones", "x-tl-id": "3784319624", "x-tl-result": "account.SavedRingtones", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `account.SavedRingtones`.\n\n[account.SavedRingtones](https://core.telegram.org/type/account.SavedRingtones.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.SavedRingtones", "oneOf": [{"$ref": "#/components/schemas/account.savedRingtonesNotModified"}, {"$ref": "#/components/schemas/account.savedRingtones"}], "description": "TL type: account.SavedRingtones."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getSavedRingtones"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3784319624"}}, "/catalog/account.saveRingtone": {"post": {"operationId": "account.saveRingtone", "tags": ["Konto"], "summary": "Save or remove saved notification sound.", "description": "Save or remove saved notification sound.\n\nIf the notification sound is already in MP3 format, [account.savedRingtone](https://core.telegram.org/constructor/account.savedRingtone.md) will be returned.  \nOtherwise, it will be automatically converted and a [account.savedRingtoneConverted](https://core.telegram.org/constructor/account.savedRingtoneConverted.md) will be returned, containing a new [document](https://core.telegram.org/constructor/document.md) object that should be used to refer to the ringtone from now on (ie when deleting it using the `unsave` parameter, or when downloading it).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.saveRingtone", "x-tl-id": "1038768899", "x-tl-result": "account.SavedRingtone", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `account.SavedRingtone`.\n\n[account.SavedRingtone](https://core.telegram.org/type/account.SavedRingtone.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.SavedRingtone", "oneOf": [{"$ref": "#/components/schemas/account.savedRingtone"}, {"$ref": "#/components/schemas/account.savedRingtoneConverted"}], "description": "Type TL: account.SavedRingtone."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `RINGTONE_INVALID` – Der angegebene Klingelton ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.saveRingtone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Notification sound uploaded using [account.uploadRingtone](https://core.telegram.org/method/account.uploadRingtone.md)"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to add or delete the notification sound"}}, "additionalProperties": false, "required": ["id", "unsave"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | Ja | Notification sound uploaded using [account.uploadRingtone](https://core.telegram.org/method/account.uploadRingtone.md) |\n| `unsave` | `Bool` | Ja | Whether to add or delete the notification sound |"}, "x-telegram-rpc-errors": ["RINGTONE_INVALID"], "x-browser-schema-id": "1038768899"}}, "/catalog/account.uploadRingtone": {"post": {"operationId": "account.uploadRingtone", "tags": ["Konto"], "summary": "Upload notification sound, use account.saveRingtone to convert it and add it to the list of saved notification sounds.", "description": "Upload notification sound, use [account.saveRingtone](https://core.telegram.org/method/account.saveRingtone.md) to convert it and add it to the list of saved notification sounds.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.uploadRingtone", "x-tl-id": "2199552930", "x-tl-result": "Document", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Document`.\n\n[Document](https://core.telegram.org/type/Document.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Document", "oneOf": [{"$ref": "#/components/schemas/documentEmpty"}, {"$ref": "#/components/schemas/document"}], "description": "TL Type: Document."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `RINGTONE_MIME_INVALID` – Der Typ MIME für den Klingelton ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.uploadRingtone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Notification sound"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "File name"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME type of file"}}, "additionalProperties": false, "required": ["file", "file_name", "mime_type"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `file` | `InputFile` | Ja | Notification sound |\n| `file_name` | `string` | Ja | File name |\n| `mime_type` | `string` | Ja | MIME type of file |"}, "x-telegram-rpc-errors": ["RINGTONE_MIME_INVALID"], "x-browser-schema-id": "2199552930"}}, "/catalog/account.updateEmojiStatus": {"post": {"operationId": "account.updateEmojiStatus", "tags": ["Konto"], "summary": "Set an emoji status", "description": "Set an [emoji status](https://core.telegram.org/api/emoji-status.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-tl-method": "account.updateEmojiStatus", "x-tl-id": "4224966251", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Emoji status", "https://core.telegram.org/api/emoji-status.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `COLLECTIBLE_INVALID` – Das angegebene Sammlerstück ist ungültig.\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateEmojiStatus"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"emoji_status": {"type": "object", "x-tl-type": "EmojiStatus", "oneOf": [{"$ref": "#/components/schemas/emojiStatusEmpty"}, {"$ref": "#/components/schemas/emojiStatus"}, {"$ref": "#/components/schemas/emojiStatusCollectible"}, {"$ref": "#/components/schemas/inputEmojiStatusCollectible"}], "description": "[Emoji status](https://core.telegram.org/api/emoji-status.md) to set"}}, "additionalProperties": false, "required": ["emoji_status"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `emoji_status` | `EmojiStatus` | Ja | [Emoji status](https://core.telegram.org/api/emoji-status.md) to set |"}, "x-telegram-rpc-errors": ["COLLECTIBLE_INVALID", "DOCUMENT_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4224966251"}}, "/catalog/account.getDefaultEmojiStatuses": {"post": {"operationId": "account.getDefaultEmojiStatuses", "tags": ["Konto"], "summary": "Get a list of default suggested emoji statuses", "description": "Get a list of default suggested [emoji statuses](https://core.telegram.org/api/emoji-status.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-tl-method": "account.getDefaultEmojiStatuses", "x-tl-id": "3598005126", "x-tl-result": "account.EmojiStatuses", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Emoji status", "https://core.telegram.org/api/emoji-status.md"]], "responses": {"200": {"description": "MTProto result · `account.EmojiStatuses`.\n\n[account.EmojiStatuses](https://core.telegram.org/type/account.EmojiStatuses.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.EmojiStatuses", "oneOf": [{"$ref": "#/components/schemas/account.emojiStatusesNotModified"}, {"$ref": "#/components/schemas/account.emojiStatuses"}], "description": "TL type: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getDefaultEmojiStatuses"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3598005126"}}, "/catalog/account.getRecentEmojiStatuses": {"post": {"operationId": "account.getRecentEmojiStatuses", "tags": ["Konto"], "summary": "Get recently used emoji statuses", "description": "Get recently used [emoji statuses](https://core.telegram.org/api/emoji-status.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-tl-method": "account.getRecentEmojiStatuses", "x-tl-id": "257392901", "x-tl-result": "account.EmojiStatuses", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Emoji status", "https://core.telegram.org/api/emoji-status.md"]], "responses": {"200": {"description": "MTProto result · `account.EmojiStatuses`.\n\n[account.EmojiStatuses](https://core.telegram.org/type/account.EmojiStatuses.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.EmojiStatuses", "oneOf": [{"$ref": "#/components/schemas/account.emojiStatusesNotModified"}, {"$ref": "#/components/schemas/account.emojiStatuses"}], "description": "TL type: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getRecentEmojiStatuses"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "257392901"}}, "/catalog/account.clearRecentEmojiStatuses": {"post": {"operationId": "account.clearRecentEmojiStatuses", "tags": ["Konto"], "summary": "Clears list of recently used emoji statuses", "description": "Clears list of recently used [emoji statuses](https://core.telegram.org/api/emoji-status.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-tl-method": "account.clearRecentEmojiStatuses", "x-tl-id": "404757166", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Emoji status", "https://core.telegram.org/api/emoji-status.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.clearRecentEmojiStatuses"}, "x-browser-schema-id": "404757166"}}, "/catalog/account.reorderUsernames": {"post": {"operationId": "account.reorderUsernames", "tags": ["Konto"], "summary": "Reorder usernames associated with the currently logged-in user.", "description": "Reorder usernames associated with the currently logged-in user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.reorderUsernames", "x-tl-id": "4015001259", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ORDER_INVALID` – Die angegebene Reihenfolge der Benutzernamen ist ungültig.\n- 400 · `USERNAME_NOT_MODIFIED` — The username was not modified."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.reorderUsernames"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"order": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "The new order for active usernames. All active usernames must be specified."}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `order` | `Vector<string>` | Ja | The new order for active usernames. All active usernames must be specified. |"}, "x-telegram-rpc-errors": ["ORDER_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "4015001259"}}, "/catalog/account.toggleUsername": {"post": {"operationId": "account.toggleUsername", "tags": ["Konto"], "summary": "Activate or deactivate a purchased fragment.com username associated to the currently logged-in user.", "description": "Aktivieren oder deaktivieren Sie einen gekauften [fragment.com](https://fragment.com) Benutzernamen, der dem aktuell angemeldeten Benutzer zugeordnet ist.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "account.toggleUsername", "x-tl-id": "1490465654", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USERNAMES_ACTIVE_TOO_MUCH` — The maximum number of active usernames was reached.\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USERNAME_NOT_MODIFIED` — The username was not modified."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.toggleUsername"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"username": {"type": "string", "x-tl-type": "string", "description": "Benutzername"}, "active": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to activate or deactivate it"}}, "additionalProperties": false, "required": ["username", "active"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `username` | `string` | Ja | Benutzername |\n| `active` | `Bool` | Ja | Whether to activate or deactivate it |"}, "x-telegram-rpc-errors": ["USERNAMES_ACTIVE_TOO_MUCH", "USERNAME_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "1490465654"}}, "/catalog/account.getDefaultProfilePhotoEmojis": {"post": {"operationId": "account.getDefaultProfilePhotoEmojis", "tags": ["Konto"], "summary": "Get a set of suggested custom emoji stickers that can be used as profile picture", "description": "Get a set of suggested [custom emoji stickers](https://core.telegram.org/api/custom-emoji.md) that can be [used as profile picture](https://core.telegram.org/api/files.md#sticker-profile-pictures)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Hochladen und Herunterladen von Dateien](https://core.telegram.org/api/files.md)", "x-tl-method": "account.getDefaultProfilePhotoEmojis", "x-tl-id": "3799319336", "x-tl-result": "EmojiList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Uploading and Downloading Files", "https://core.telegram.org/api/files.md"]], "responses": {"200": {"description": "MTProto result · `EmojiList`.\n\n[EmojiList](https://core.telegram.org/type/EmojiList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiList", "oneOf": [{"$ref": "#/components/schemas/emojiListNotModified"}, {"$ref": "#/components/schemas/emojiList"}], "description": "TL Type: EmojiList."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getDefaultProfilePhotoEmojis"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3799319336"}}, "/catalog/account.getDefaultGroupPhotoEmojis": {"post": {"operationId": "account.getDefaultGroupPhotoEmojis", "tags": ["Konto"], "summary": "Get a set of suggested custom emoji stickers that can be used as group picture", "description": "Get a set of suggested [custom emoji stickers](https://core.telegram.org/api/custom-emoji.md) that can be [used as group picture](https://core.telegram.org/api/files.md#sticker-profile-pictures)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Hochladen und Herunterladen von Dateien](https://core.telegram.org/api/files.md)", "x-tl-method": "account.getDefaultGroupPhotoEmojis", "x-tl-id": "2438488238", "x-tl-result": "EmojiList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Uploading and Downloading Files", "https://core.telegram.org/api/files.md"]], "responses": {"200": {"description": "MTProto result · `EmojiList`.\n\n[EmojiList](https://core.telegram.org/type/EmojiList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiList", "oneOf": [{"$ref": "#/components/schemas/emojiListNotModified"}, {"$ref": "#/components/schemas/emojiList"}], "description": "TL Type: EmojiList."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getDefaultGroupPhotoEmojis"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2438488238"}}, "/catalog/account.getAutoSaveSettings": {"post": {"operationId": "account.getAutoSaveSettings", "tags": ["Konto"], "summary": "Get autosave settings", "description": "Get autosave settings", "x-tl-method": "account.getAutoSaveSettings", "x-tl-id": "2915810522", "x-tl-result": "account.AutoSaveSettings", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `account.AutoSaveSettings`.\n\n[account.AutoSaveSettings](https://core.telegram.org/type/account.AutoSaveSettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.AutoSaveSettings", "oneOf": [{"$ref": "#/components/schemas/account.autoSaveSettings"}], "description": "TL type: account.AutoSaveSettings."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getAutoSaveSettings"}, "x-browser-schema-id": "2915810522"}}, "/catalog/account.saveAutoSaveSettings": {"post": {"operationId": "account.saveAutoSaveSettings", "tags": ["Konto"], "summary": "Modify autosave settings", "description": "Modify autosave settings\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "account.saveAutoSaveSettings", "x-tl-id": "3600515937", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.saveAutoSaveSettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether the new settings should affect all private chats"}, "chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether the new settings should affect all groups"}, "broadcasts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether the new settings should affect all [channels](https://core.telegram.org/api/channel.md)"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Whether the new settings should affect a specific peer", "x-tl-flag": "flags.3?InputPeer"}, "settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "oneOf": [{"$ref": "#/components/schemas/autoSaveSettings"}], "description": "The new autosave settings"}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `users` | `true` | Nein | Whether the new settings should affect all private chats |\n| `chats` | `true` | Nein | Whether the new settings should affect all groups |\n| `broadcasts` | `true` | Nein | Whether the new settings should affect all [channels](https://core.telegram.org/api/channel.md) |\n| `peer` | `InputPeer` | Nein | Whether the new settings should affect a specific peer |\n| `settings` | `AutoSaveSettings` | Ja | The new autosave settings |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3600515937"}}, "/catalog/account.deleteAutoSaveExceptions": {"post": {"operationId": "account.deleteAutoSaveExceptions", "tags": ["Konto"], "summary": "Clear all peer-specific autosave settings.", "description": "Clear all peer-specific autosave settings.", "x-tl-method": "account.deleteAutoSaveExceptions", "x-tl-id": "1404829728", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.deleteAutoSaveExceptions"}, "x-browser-schema-id": "1404829728"}}, "/catalog/account.invalidateSignInCodes": {"post": {"operationId": "account.invalidateSignInCodes", "tags": ["Konto"], "summary": "Invalidate the specified login codes, see here » for more info.", "description": "Invalidate the specified login codes, see [here »](https://core.telegram.org/api/auth.md#invalidating-login-codes) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "account.invalidateSignInCodes", "x-tl-id": "3398101178", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.invalidateSignInCodes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"codes": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "The login codes to invalidate."}}, "additionalProperties": false, "required": ["codes"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `codes` | `Vector<string>` | Ja | The login codes to invalidate. |"}, "x-browser-schema-id": "3398101178"}}, "/catalog/account.updateColor": {"post": {"operationId": "account.updateColor", "tags": ["Konto"], "summary": "Update the accent color and background custom emoji » of the current account.", "description": "Update the [accent color and background custom emoji »](https://core.telegram.org/api/colors.md) of the current account.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Akzentfarben](https://core.telegram.org/api/colors.md)", "x-tl-method": "account.updateColor", "x-tl-id": "1749885262", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Accent colors", "https://core.telegram.org/api/colors.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `COLOR_INVALID` – Die angegebene Farbpaletten-ID war ungültig.\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateColor"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"for_profile": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to change the accent color emoji pattern of the profile page; otherwise, the accent color and emoji pattern of messages will be changed."}, "color": {"type": "object", "x-tl-type": "PeerColor", "oneOf": [{"$ref": "#/components/schemas/peerColor"}, {"$ref": "#/components/schemas/peerColorCollectible"}, {"$ref": "#/components/schemas/inputPeerColorCollectible"}], "description": "[ID of the accent color palette »](https://core.telegram.org/api/colors.md) to use (not RGB24, see [here »](https://core.telegram.org/api/colors.md) for more info).", "x-tl-flag": "flags.2?PeerColor"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `for_profile` | `true` | Nein | Whether to change the accent color emoji pattern of the profile page; otherwise, the accent color and emoji pattern of messages will be changed. |\n| `color` | `PeerColor` | Nein | [ID of the accent color palette »](https://core.telegram.org/api/colors.md) to use (not RGB24, see [here »](https://core.telegram.org/api/colors.md) for more info). |"}, "x-telegram-rpc-errors": ["COLOR_INVALID", "DOCUMENT_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1749885262"}}, "/catalog/account.getDefaultBackgroundEmojis": {"post": {"operationId": "account.getDefaultBackgroundEmojis", "tags": ["Konto"], "summary": "Get a set of suggested custom emoji stickers that can be used in an accent color pattern.", "description": "Get a set of suggested [custom emoji stickers](https://core.telegram.org/api/custom-emoji.md) that can be used in an [accent color pattern](https://core.telegram.org/api/colors.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Akzentfarben](https://core.telegram.org/api/colors.md)", "x-tl-method": "account.getDefaultBackgroundEmojis", "x-tl-id": "2785720782", "x-tl-result": "EmojiList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Accent colors", "https://core.telegram.org/api/colors.md"]], "responses": {"200": {"description": "MTProto result · `EmojiList`.\n\n[EmojiList](https://core.telegram.org/type/EmojiList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiList", "oneOf": [{"$ref": "#/components/schemas/emojiListNotModified"}, {"$ref": "#/components/schemas/emojiList"}], "description": "TL Type: EmojiList."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getDefaultBackgroundEmojis"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2785720782"}}, "/catalog/account.getChannelDefaultEmojiStatuses": {"post": {"operationId": "account.getChannelDefaultEmojiStatuses", "tags": ["Konto"], "summary": "Get a list of default suggested channel emoji statuses.", "description": "Get a list of default suggested [channel emoji statuses](https://core.telegram.org/api/emoji-status.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-tl-method": "account.getChannelDefaultEmojiStatuses", "x-tl-id": "1999087573", "x-tl-result": "account.EmojiStatuses", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Emoji status", "https://core.telegram.org/api/emoji-status.md"]], "responses": {"200": {"description": "MTProto result · `account.EmojiStatuses`.\n\n[account.EmojiStatuses](https://core.telegram.org/type/account.EmojiStatuses.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.EmojiStatuses", "oneOf": [{"$ref": "#/components/schemas/account.emojiStatusesNotModified"}, {"$ref": "#/components/schemas/account.emojiStatuses"}], "description": "TL type: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getChannelDefaultEmojiStatuses"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1999087573"}}, "/catalog/account.getChannelRestrictedStatusEmojis": {"post": {"operationId": "account.getChannelRestrictedStatusEmojis", "tags": ["Konto"], "summary": "Returns fetch the full list of custom emoji IDs » that cannot be used in channel emoji statuses ».", "description": "Returns fetch the full list of [custom emoji IDs »](https://core.telegram.org/api/custom-emoji.md) that cannot be used in [channel emoji statuses »](https://core.telegram.org/api/emoji-status.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-tl-method": "account.getChannelRestrictedStatusEmojis", "x-tl-id": "900325589", "x-tl-result": "EmojiList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Emoji status", "https://core.telegram.org/api/emoji-status.md"]], "responses": {"200": {"description": "MTProto result · `EmojiList`.\n\n[EmojiList](https://core.telegram.org/type/EmojiList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiList", "oneOf": [{"$ref": "#/components/schemas/emojiListNotModified"}, {"$ref": "#/components/schemas/emojiList"}], "description": "TL Type: EmojiList."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getChannelRestrictedStatusEmojis"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "900325589"}}, "/catalog/account.updateBusinessWorkHours": {"post": {"operationId": "account.updateBusinessWorkHours", "tags": ["Konto"], "summary": "Specify a set of Telegram Business opening hours.  ", "description": "Specify a set of [Telegram Business opening hours](https://core.telegram.org/api/business.md#opening-hours).  \nThis info will be contained in [userFull](https://core.telegram.org/constructor/userFull.md).`business_work_hours`.\n\nTo remove all opening hours, invoke the method without setting the `business_work_hours` field.\n\nNote that the opening hours specified by the user must be appropriately validated and transformed before invoking the method, as specified [here »](https://core.telegram.org/api/business.md#opening-hours).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.updateBusinessWorkHours", "x-tl-id": "1258348646", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUSINESS_WORK_HOURS_EMPTY` — Es wurden keine Arbeitsstunden angegeben.\n- 400 · `BUSINESS_WORK_HOURS_PERIOD_INVALID` — Die angegebenen Arbeitsstunden sind ungültig, siehe [hier »](https://core.telegram.org/api/business.md#opening-hours) für die genauen Anforderungen.\n- 400 · `TIMEZONE_INVALID` – Die angegebene Zeitzone existiert nicht."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateBusinessWorkHours"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"business_work_hours": {"type": "object", "x-tl-type": "BusinessWorkHours", "oneOf": [{"$ref": "#/components/schemas/businessWorkHours"}], "description": "Opening hours (optional, if not set removes all opening hours).", "x-tl-flag": "flags.0?BusinessWorkHours"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `business_work_hours` | `BusinessWorkHours` | Nein | Opening hours (optional, if not set removes all opening hours). |"}, "x-telegram-rpc-errors": ["BUSINESS_WORK_HOURS_EMPTY", "BUSINESS_WORK_HOURS_PERIOD_INVALID", "TIMEZONE_INVALID"], "x-browser-schema-id": "1258348646"}}, "/catalog/account.updateBusinessLocation": {"post": {"operationId": "account.updateBusinessLocation", "tags": ["Konto"], "summary": "Unternehmen » können ihren Standort mit dieser Methode bewerben, weitere Informationen finden Sie hier ».", "description": "[Businesses »](https://core.telegram.org/api/business.md#location) may advertise their location using this method, see [here »](https://core.telegram.org/api/business.md#location) for more info.\n\nTo remove business location information invoke the method without setting any of the parameters.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.updateBusinessLocation", "x-tl-id": "2657817370", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateBusinessLocation"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "Optional, contains a set of geographical coordinates.", "x-tl-flag": "flags.1?InputGeoPoint"}, "address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Mandatory when setting/updating the location, contains a textual description of the address (max 96 UTF-8 chars)."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `geo_point` | `InputGeoPoint` | Nein | Optional, contains a set of geographical coordinates. |\n| `address` | `string` | Nein | Mandatory when setting/updating the location, contains a textual description of the address (max 96 UTF-8 chars). |"}, "x-browser-schema-id": "2657817370"}}, "/catalog/account.updateBusinessGreetingMessage": {"post": {"operationId": "account.updateBusinessGreetingMessage", "tags": ["Konto"], "summary": "Set a list of Telegram Business greeting messages.", "description": "Set a list of [Telegram Business greeting messages](https://core.telegram.org/api/business.md#greeting-messages).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.updateBusinessGreetingMessage", "x-tl-id": "1724755908", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateBusinessGreetingMessage"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"message": {"type": "object", "x-tl-type": "InputBusinessGreetingMessage", "oneOf": [{"$ref": "#/components/schemas/inputBusinessGreetingMessage"}], "description": "Greeting message configuration and contents.", "x-tl-flag": "flags.0?InputBusinessGreetingMessage"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `message` | `InputBusinessGreetingMessage` | Nein | Greeting message configuration and contents. |"}, "x-browser-schema-id": "1724755908"}}, "/catalog/account.updateBusinessAwayMessage": {"post": {"operationId": "account.updateBusinessAwayMessage", "tags": ["Konto"], "summary": "Set a list of Telegram Business away messages.", "description": "Set a list of [Telegram Business away messages](https://core.telegram.org/api/business.md#away-messages).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.updateBusinessAwayMessage", "x-tl-id": "2724888485", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateBusinessAwayMessage"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"message": {"type": "object", "x-tl-type": "InputBusinessAwayMessage", "oneOf": [{"$ref": "#/components/schemas/inputBusinessAwayMessage"}], "description": "Away message configuration and contents.", "x-tl-flag": "flags.0?InputBusinessAwayMessage"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `message` | `InputBusinessAwayMessage` | Nein | Away message configuration and contents. |"}, "x-browser-schema-id": "2724888485"}}, "/catalog/account.updateConnectedBot": {"post": {"operationId": "account.updateConnectedBot", "tags": ["Konto"], "summary": "Connect a business bot » to the current account, or to change the current connection settings.", "description": "Connect a [business bot »](https://core.telegram.org/api/bots/connected-business-bots.md) to the current account, or to change the current connection settings.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)", "x-tl-method": "account.updateConnectedBot", "x-tl-id": "1721797758", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_BUSINESS_MISSING` – Der angegebene Bot ist kein Business-Bot (das Flag [user](https://core.telegram.org/constructor/user.md).`bot_business` ist nicht gesetzt).\n- 400 · `BUSINESS_RECIPIENTS_EMPTY` – Sie haben in inputBusinessBotRecipients kein Flag gesetzt, daher kann der Bot nicht mit *irgendeinem* Peer arbeiten."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateConnectedBot"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"deleted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to fully disconnect the bot from the current account."}, "rights": {"type": "object", "x-tl-type": "BusinessBotRights", "oneOf": [{"$ref": "#/components/schemas/businessBotRights"}], "description": "Rechte für Business-Bots.", "x-tl-flag": "flags.0?BusinessBotRights"}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot to connect or disconnect"}, "recipients": {"type": "object", "x-tl-type": "InputBusinessBotRecipients", "oneOf": [{"$ref": "#/components/schemas/inputBusinessBotRecipients"}], "description": "Configuration for the business connection"}}, "additionalProperties": false, "required": ["bot", "recipients"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `deleted` | `true` | Nein | Whether to fully disconnect the bot from the current account. |\n| `rights` | `BusinessBotRights` | Nein | Rechte für Business-Bots. |\n| `bot` | `InputUser` | Ja | The bot to connect or disconnect |\n| `recipients` | `InputBusinessBotRecipients` | Ja | Configuration for the business connection |"}, "x-telegram-rpc-errors": ["BOT_BUSINESS_MISSING", "BUSINESS_RECIPIENTS_EMPTY"], "x-browser-schema-id": "1721797758"}}, "/catalog/account.getConnectedBots": {"post": {"operationId": "account.getConnectedBots", "tags": ["Konto"], "summary": "List all currently connected business bots »", "description": "List all currently connected [business bots »](https://core.telegram.org/api/bots/connected-business-bots.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)", "x-tl-method": "account.getConnectedBots", "x-tl-id": "1319421967", "x-tl-result": "account.ConnectedBots", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"]], "responses": {"200": {"description": "MTProto result · `account.ConnectedBots`.\n\n[account.ConnectedBots](https://core.telegram.org/type/account.ConnectedBots.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.ConnectedBots", "oneOf": [{"$ref": "#/components/schemas/account.connectedBots"}], "description": "TL type: account.ConnectedBots."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getConnectedBots"}, "x-browser-schema-id": "1319421967"}}, "/catalog/account.getBotBusinessConnection": {"post": {"operationId": "account.getBotBusinessConnection", "tags": ["Konto"], "summary": "Bots may invoke this method to re-fetch the updateBotBusinessConnect constructor associated with a specific business `connection_id`, see here » for more info on connected business bots.  ", "description": "Bots may invoke this method to re-fetch the [updateBotBusinessConnect](https://core.telegram.org/constructor/updateBotBusinessConnect.md) constructor associated with a specific [business `connection_id`, see here »](https://core.telegram.org/api/bots/connected-business-bots.md) for more info on connected business bots.  \nThis is needed for example for freshly logged in bots that are receiving some [updateBotNewBusinessMessage](https://core.telegram.org/constructor/updateBotNewBusinessMessage.md), etc. updates because some users have already connected to the bot before it could login.  \nIn this case, the bot is receiving messages from the business connection, but it hasn't cached the associated [updateBotBusinessConnect](https://core.telegram.org/constructor/updateBotBusinessConnect.md) with info about the connection (can it reply to messages? etc.) yet, and cannot receive the old ones because they were sent when the bot wasn't logged into the session yet.  \nThis method can be used to fetch info about a not-yet-cached business connection, and should not be invoked if the info is already cached or to fetch changes, as eventual changes will automatically be sent as new [updateBotBusinessConnect](https://core.telegram.org/constructor/updateBotBusinessConnect.md) updates to the bot using the usual [update delivery methods »](https://core.telegram.org/api/updates.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)", "x-tl-method": "account.getBotBusinessConnection", "x-tl-id": "1990746736", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Working with Updates", "https://core.telegram.org/api/updates.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CONNECTION_ID_INVALID` – Die angegebene Verbindungs-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getBotBusinessConnection"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"connection_id": {"type": "string", "x-tl-type": "string", "description": "[Business connection ID »](https://core.telegram.org/api/bots/connected-business-bots.md)."}}, "additionalProperties": false, "required": ["connection_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `connection_id` | `string` | Ja | [Business connection ID »](https://core.telegram.org/api/bots/connected-business-bots.md). |"}, "x-telegram-rpc-errors": ["CONNECTION_ID_INVALID"], "x-browser-schema-id": "1990746736"}}, "/catalog/account.updateBusinessIntro": {"post": {"operationId": "account.updateBusinessIntro", "tags": ["Konto"], "summary": "Set or remove the Telegram Business introduction ».", "description": "Set or remove the [Telegram Business introduction »](https://core.telegram.org/api/business.md#business-introduction).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.updateBusinessIntro", "x-tl-id": "2786381876", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateBusinessIntro"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"intro": {"type": "object", "x-tl-type": "InputBusinessIntro", "oneOf": [{"$ref": "#/components/schemas/inputBusinessIntro"}], "description": "Telegram Business introduction, to remove it call the method without setting this flag.", "x-tl-flag": "flags.0?InputBusinessIntro"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `intro` | `InputBusinessIntro` | Nein | Telegram Business introduction, to remove it call the method without setting this flag. |"}, "x-browser-schema-id": "2786381876"}}, "/catalog/account.toggleConnectedBotPaused": {"post": {"operationId": "account.toggleConnectedBotPaused", "tags": ["Konto"], "summary": "Pause or unpause a specific chat, temporarily disconnecting it from all business bots ».", "description": "Pause or unpause a specific chat, temporarily disconnecting it from all [business bots »](https://core.telegram.org/api/bots/connected-business-bots.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)", "x-tl-method": "account.toggleConnectedBotPaused", "x-tl-id": "1684934807", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.toggleConnectedBotPaused"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat to pause"}, "paused": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to pause or unpause the chat"}}, "additionalProperties": false, "required": ["peer", "paused"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The chat to pause |\n| `paused` | `Bool` | Ja | Whether to pause or unpause the chat |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1684934807"}}, "/catalog/account.disablePeerConnectedBot": {"post": {"operationId": "account.disablePeerConnectedBot", "tags": ["Konto"], "summary": "Permanently disconnect a specific chat from all business bots » (equivalent to specifying it in `recipients.exclude_users` during initial configuration with account.updateConnectedBot »); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking account.updateConnectedBot ».", "description": "Permanently disconnect a specific chat from all [business bots »](https://core.telegram.org/api/bots/connected-business-bots.md) (equivalent to specifying it in `recipients.exclude_users` during initial configuration with [account.updateConnectedBot »](https://core.telegram.org/method/account.updateConnectedBot.md)); to reconnect of a chat disconnected using this method the user must reconnect the entire bot by invoking [account.updateConnectedBot »](https://core.telegram.org/method/account.updateConnectedBot.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.disablePeerConnectedBot", "x-tl-id": "1581481689", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_ALREADY_DISABLED` – Der verbundene Business-Bot wurde für den angegebenen Peer bereits deaktiviert.\n- 400 · `BOT_NOT_CONNECTED_YET` – Kein [Business Bot](https://core.telegram.org/api/business.md#connected-bots) ist mit dem aktuell angemeldeten Benutzer verbunden.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.disablePeerConnectedBot"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat to disconnect"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The chat to disconnect |"}, "x-telegram-rpc-errors": ["BOT_ALREADY_DISABLED", "BOT_NOT_CONNECTED_YET", "PEER_ID_INVALID"], "x-browser-schema-id": "1581481689"}}, "/catalog/account.updateBirthday": {"post": {"operationId": "account.updateBirthday", "tags": ["Konto"], "summary": "Update our birthday, see here » for more info.", "description": "Update our [birthday, see here »](https://core.telegram.org/api/profile.md#birthday) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "account.updateBirthday", "x-tl-id": "3429764113", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BIRTHDAY_INVALID` – Es wurde ein ungültiges Alter angegeben, das zwischen 0 und 150 Jahren liegen muss."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updateBirthday"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"birthday": {"type": "object", "x-tl-type": "Birthday", "oneOf": [{"$ref": "#/components/schemas/birthday"}], "description": "Birthday.", "x-tl-flag": "flags.0?Birthday"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `birthday` | `Birthday` | Nein | Birthday. |"}, "x-telegram-rpc-errors": ["BIRTHDAY_INVALID"], "x-browser-schema-id": "3429764113"}}, "/catalog/account.createBusinessChatLink": {"post": {"operationId": "account.createBusinessChatLink", "tags": ["Konto"], "summary": "Create a business chat deep link ».", "description": "Create a [business chat deep link »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.createBusinessChatLink", "x-tl-id": "2287068814", "x-tl-result": "BusinessChatLink", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `BusinessChatLink`.\n\n[BusinessChatLink](https://core.telegram.org/type/BusinessChatLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/businessChatLink"}], "description": "TL Type: BusinessChatLink."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHATLINKS_TOO_MUCH` – Es wurden zu viele [Business-Chat-Links](https://core.telegram.org/api/business.md#business-chat-links) erstellt, bitte löschen Sie einige ältere Links.\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.createBusinessChatLink"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"link": {"type": "object", "x-tl-type": "InputBusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/inputBusinessChatLink"}], "description": "Info about the link to create."}}, "additionalProperties": false, "required": ["link"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `link` | `InputBusinessChatLink` | Ja | Info about the link to create. |"}, "x-telegram-rpc-errors": ["CHATLINKS_TOO_MUCH", "DOCUMENT_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "2287068814"}}, "/catalog/account.editBusinessChatLink": {"post": {"operationId": "account.editBusinessChatLink", "tags": ["Konto"], "summary": "Edit a created business chat deep link ».", "description": "Edit a created [business chat deep link »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.editBusinessChatLink", "x-tl-id": "2352222383", "x-tl-result": "BusinessChatLink", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `BusinessChatLink`.\n\n[BusinessChatLink](https://core.telegram.org/type/BusinessChatLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/businessChatLink"}], "description": "TL Type: BusinessChatLink."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHATLINK_SLUG_EMPTY` – Der angegebene Slug ist leer.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.editBusinessChatLink"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "Slug of the link, obtained as specified [here »](https://core.telegram.org/api/links.md#business-chat-links)."}, "link": {"type": "object", "x-tl-type": "InputBusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/inputBusinessChatLink"}], "description": "New link information."}}, "additionalProperties": false, "required": ["slug", "link"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | Slug of the link, obtained as specified [here »](https://core.telegram.org/api/links.md#business-chat-links). |\n| `link` | `InputBusinessChatLink` | Ja | New link information. |"}, "x-telegram-rpc-errors": ["CHATLINK_SLUG_EMPTY", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "2352222383"}}, "/catalog/account.deleteBusinessChatLink": {"post": {"operationId": "account.deleteBusinessChatLink", "tags": ["Konto"], "summary": "Delete a business chat deep link ».", "description": "Delete a [business chat deep link »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.deleteBusinessChatLink", "x-tl-id": "1611085428", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHATLINK_SLUG_EMPTY` – Der angegebene Slug ist leer.\n- 400 · `CHATLINK_SLUG_EXPIRED` – Der angegebene [Business-Chat-Link](https://core.telegram.org/api/business.md#business-chat-links) ist abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.deleteBusinessChatLink"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "Slug of the link, obtained as specified [here »](https://core.telegram.org/api/links.md#business-chat-links)."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | Slug of the link, obtained as specified [here »](https://core.telegram.org/api/links.md#business-chat-links). |"}, "x-telegram-rpc-errors": ["CHATLINK_SLUG_EMPTY", "CHATLINK_SLUG_EXPIRED"], "x-browser-schema-id": "1611085428"}}, "/catalog/account.getBusinessChatLinks": {"post": {"operationId": "account.getBusinessChatLinks", "tags": ["Konto"], "summary": "List all created business chat deep links ».", "description": "List all created [business chat deep links »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.getBusinessChatLinks", "x-tl-id": "1869667809", "x-tl-result": "account.BusinessChatLinks", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `account.BusinessChatLinks`.\n\n[account.BusinessChatLinks](https://core.telegram.org/type/account.BusinessChatLinks.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.BusinessChatLinks", "oneOf": [{"$ref": "#/components/schemas/account.businessChatLinks"}], "description": "TL type: account.BusinessChatLinks."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getBusinessChatLinks"}, "x-browser-schema-id": "1869667809"}}, "/catalog/account.resolveBusinessChatLink": {"post": {"operationId": "account.resolveBusinessChatLink", "tags": ["Konto"], "summary": "Resolve a business chat deep link ».", "description": "Resolve a [business chat deep link »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "account.resolveBusinessChatLink", "x-tl-id": "1418913262", "x-tl-result": "account.ResolvedBusinessChatLinks", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto Result · `account.ResolvedBusinessChatLinks`.\n\n[account.ResolvedBusinessChatLinks](https://core.telegram.org/type/account.ResolvedBusinessChatLinks.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.ResolvedBusinessChatLinks", "oneOf": [{"$ref": "#/components/schemas/account.resolvedBusinessChatLinks"}], "description": "Type TL: account.ResolvedBusinessChatLinks."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHATLINK_SLUG_EMPTY` – Der angegebene Slug ist leer.\n- 400 · `CHATLINK_SLUG_EXPIRED` – Der angegebene [Business-Chat-Link](https://core.telegram.org/api/business.md#business-chat-links) ist abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.resolveBusinessChatLink"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "Slug of the link, obtained as specified [here »](https://core.telegram.org/api/links.md#business-chat-links)."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | Slug of the link, obtained as specified [here »](https://core.telegram.org/api/links.md#business-chat-links). |"}, "x-telegram-rpc-errors": ["CHATLINK_SLUG_EMPTY", "CHATLINK_SLUG_EXPIRED"], "x-browser-schema-id": "1418913262"}}, "/catalog/account.updatePersonalChannel": {"post": {"operationId": "account.updatePersonalChannel", "tags": ["Konto"], "summary": "Associate (or remove) a personal channel », that will be listed on our personal profile page ».", "description": "Associate (or remove) a personal [channel »](https://core.telegram.org/api/channel.md), that will be listed on our personal [profile page »](https://core.telegram.org/api/profile.md#personal-channel).\n\nWenn Sie es ändern, wird ein [updateUser](https://core.telegram.org/constructor/updateUser.md)-Update] ausgegeben.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "account.updatePersonalChannel", "x-tl-id": "3645048288", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PUBLIC_BROADCAST_EXPECTED` — `channel` akzeptiert nur einen Kanal, aber eine Supergruppe wurde übergeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.updatePersonalChannel"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The channel, pass [inputChannelEmpty](https://core.telegram.org/constructor/inputChannelEmpty.md) to remove it."}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The channel, pass [inputChannelEmpty](https://core.telegram.org/constructor/inputChannelEmpty.md) to remove it. |"}, "x-telegram-rpc-errors": ["PUBLIC_BROADCAST_EXPECTED"], "x-browser-schema-id": "3645048288"}}, "/catalog/account.toggleSponsoredMessages": {"post": {"operationId": "account.toggleSponsoredMessages", "tags": ["Konto"], "summary": "Disable or re-enable Telegram ads for the current Premium account.", "description": "Disable or re-enable Telegram ads for the current [Premium](https://core.telegram.org/api/premium.md) account.\n\nUseful for business owners that may want to launch and view their own Telegram ads via the [Telegram ad platform »](https://ads.telegram.org).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram Premium](https://core.telegram.org/api/premium.md)", "x-tl-method": "account.toggleSponsoredMessages", "x-tl-id": "3118048141", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Premium", "https://core.telegram.org/api/premium.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.toggleSponsoredMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Enable or disable ads."}}, "additionalProperties": false, "required": ["enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `enabled` | `Bool` | Ja | Enable or disable ads. |"}, "x-browser-schema-id": "3118048141"}}, "/catalog/account.getReactionsNotifySettings": {"post": {"operationId": "account.getReactionsNotifySettings", "tags": ["Konto"], "summary": "Get the current reaction notification settings ».", "description": "Get the current [reaction notification settings »](https://core.telegram.org/api/reactions.md#notifications-about-reactions).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "account.getReactionsNotifySettings", "x-tl-id": "115172684", "x-tl-result": "ReactionsNotifySettings", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `ReactionsNotifySettings`.\n\n[ReactionsNotifySettings](https://core.telegram.org/type/ReactionsNotifySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ReactionsNotifySettings", "oneOf": [{"$ref": "#/components/schemas/reactionsNotifySettings"}], "description": "TL Type: ReactionsNotifySettings."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getReactionsNotifySettings"}, "x-browser-schema-id": "115172684"}}, "/catalog/account.setReactionsNotifySettings": {"post": {"operationId": "account.setReactionsNotifySettings", "tags": ["Konto"], "summary": "Ändern Sie die Einstellungen für die Reaktionsbenachrichtigung ».", "description": "Change the [reaction notification settings »](https://core.telegram.org/api/reactions.md#notifications-about-reactions).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "account.setReactionsNotifySettings", "x-tl-id": "829220168", "x-tl-result": "ReactionsNotifySettings", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `ReactionsNotifySettings`.\n\n[ReactionsNotifySettings](https://core.telegram.org/type/ReactionsNotifySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ReactionsNotifySettings", "oneOf": [{"$ref": "#/components/schemas/reactionsNotifySettings"}], "description": "TL Type: ReactionsNotifySettings."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.setReactionsNotifySettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"settings": {"type": "object", "x-tl-type": "ReactionsNotifySettings", "oneOf": [{"$ref": "#/components/schemas/reactionsNotifySettings"}], "description": "New reaction notification settings."}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `settings` | `ReactionsNotifySettings` | Ja | New reaction notification settings. |"}, "x-browser-schema-id": "829220168"}}, "/catalog/account.getCollectibleEmojiStatuses": {"post": {"operationId": "account.getCollectibleEmojiStatuses", "tags": ["Konto"], "summary": "Obtain a list of emoji statuses » for owned or hosted collectible gifts ».", "description": "Obtain a list of [emoji statuses »](https://core.telegram.org/api/emoji-status.md) for owned or [hosted collectible gifts »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "account.getCollectibleEmojiStatuses", "x-tl-id": "779830595", "x-tl-result": "account.EmojiStatuses", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Emoji status", "https://core.telegram.org/api/emoji-status.md"], ["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `account.EmojiStatuses`.\n\n[account.EmojiStatuses](https://core.telegram.org/type/account.EmojiStatuses.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.EmojiStatuses", "oneOf": [{"$ref": "#/components/schemas/account.emojiStatusesNotModified"}, {"$ref": "#/components/schemas/account.emojiStatuses"}], "description": "TL type: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getCollectibleEmojiStatuses"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash for pagination](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash for pagination](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "779830595"}}, "/catalog/account.getPaidMessagesRevenue": {"post": {"operationId": "account.getPaidMessagesRevenue", "tags": ["Konto"], "summary": "Get the number of stars we have received from the specified user thanks to paid messages »; the received amount will be equal to the sent amount multiplied by stars\\_paid\\_message\\_commission\\_permille divided by 1000.", "description": "Get the number of stars we have received from the specified user thanks to [paid messages »](https://core.telegram.org/api/paid-messages.md); the received amount will be equal to the sent amount multiplied by [stars\\_paid\\_message\\_commission\\_permille](https://core.telegram.org/api/config.md#stars-paid-message-commission-permille) divided by 1000.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "account.getPaidMessagesRevenue", "x-tl-id": "431639143", "x-tl-result": "account.PaidMessagesRevenue", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `account.PaidMessagesRevenue`.\n\n[account.PaidMessagesRevenue](https://core.telegram.org/type/account.PaidMessagesRevenue.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.PaidMessagesRevenue", "oneOf": [{"$ref": "#/components/schemas/account.paidMessagesRevenue"}], "description": "TL type: account.PaidMessagesRevenue."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PARENT_PEER_INVALID` – Die angegebene `parent_peer` ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getPaidMessagesRevenue"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"parent_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, can contain the ID of a [monoforum (channel direct messages)](https://core.telegram.org/api/monoforum.md) to obtain the number of stars the user has spent to send us direct messages via the channel.", "x-tl-flag": "flags.0?InputPeer"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user that paid to send us messages."}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Nein | If set, can contain the ID of a [monoforum (channel direct messages)](https://core.telegram.org/api/monoforum.md) to obtain the number of stars the user has spent to send us direct messages via the channel. |\n| `user_id` | `InputUser` | Ja | The user that paid to send us messages. |"}, "x-telegram-rpc-errors": ["PARENT_PEER_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "431639143"}}, "/catalog/account.toggleNoPaidMessagesException": {"post": {"operationId": "account.toggleNoPaidMessagesException", "tags": ["Konto"], "summary": "Erlauben Sie einem Benutzer, uns Nachrichten ohne Bezahlung zu senden, wenn kostenpflichtige Nachrichten » aktiviert sind.", "description": "Erlauben Sie einem Benutzer, uns Nachrichten ohne Bezahlung zu senden, wenn [kostenpflichtige Nachrichten »](https://core.telegram.org/api/paid-messages.md) aktiviert sind.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)", "x-tl-method": "account.toggleNoPaidMessagesException", "x-tl-id": "4264483446", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PARENT_PEER_INVALID` – Die angegebene `parent_peer` ist ungültig.\n- 400 · `UNSUPPORTED` – `require_payment` kann nicht von Benutzern *festgelegt* werden, sondern nur von Monoforen: Benutzer müssen stattdessen die Datenschutzeinstellung [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages.md)] verwenden, um eine zuvor hinzugefügte Ausnahme zu entfernen.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.toggleNoPaidMessagesException"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"refund_charged": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set and `require_payment` is not set, refunds the amounts the user has already paid us to send us messages (directly or via a monoforum)."}, "require_payment": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "If set, requires the user to pay in order to send us messages.  Can only be **set** by monoforums, not users, i.e. `parent_peer` must be set if this flag is set; users must instead use the [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages.md) privacy setting to remove a previously added exemption.  If not set, allows the user to send us messages without paying (can be **unset** by both monoforums and users)."}, "parent_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, applies the setting within the [monoforum aka direct messages »](https://core.telegram.org/api/monoforum.md) (pass the ID of the monoforum, **not** the ID of the associated channel).", "x-tl-flag": "flags.1?InputPeer"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user to exempt or unexempt."}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `refund_charged` | `true` | Nein | If set and `require_payment` is not set, refunds the amounts the user has already paid us to send us messages (directly or via a monoforum). |\n| `require_payment` | `true` | Nein | If set, requires the user to pay in order to send us messages.  Can only be **set** by monoforums, not users, i.e. `parent_peer` must be set if this flag is set; users must instead use the [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages.md) privacy setting to remove a previously added exemption.  If not set, allows the user to send us messages without paying (can be **unset** by both monoforums and users). |\n| `parent_peer` | `InputPeer` | Nein | If set, applies the setting within the [monoforum aka direct messages »](https://core.telegram.org/api/monoforum.md) (pass the ID of the monoforum, **not** the ID of the associated channel). |\n| `user_id` | `InputUser` | Ja | The user to exempt or unexempt. |"}, "x-telegram-rpc-errors": ["PARENT_PEER_INVALID", "UNSUPPORTED", "USER_ID_INVALID"], "x-browser-schema-id": "4264483446"}}, "/catalog/account.setMainProfileTab": {"post": {"operationId": "account.setMainProfileTab", "tags": ["Konto"], "summary": "Ändert die Hauptprofilregisterkarte des aktuellen Benutzers. Weitere Informationen finden Sie hier ».", "description": "Ändert die Hauptprofilregisterkarte des aktuellen Benutzers. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/profile.md#tabs).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "account.setMainProfileTab", "x-tl-id": "1575909552", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.setMainProfileTab"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"tab": {"type": "object", "x-tl-type": "ProfileTab", "oneOf": [{"$ref": "#/components/schemas/profileTabPosts"}, {"$ref": "#/components/schemas/profileTabGifts"}, {"$ref": "#/components/schemas/profileTabMedia"}, {"$ref": "#/components/schemas/profileTabFiles"}, {"$ref": "#/components/schemas/profileTabMusic"}, {"$ref": "#/components/schemas/profileTabVoice"}, {"$ref": "#/components/schemas/profileTabLinks"}, {"$ref": "#/components/schemas/profileTabGifs"}], "description": "The tab to set as main tab."}}, "additionalProperties": false, "required": ["tab"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `tab` | `ProfileTab` | Ja | The tab to set as main tab. |"}, "x-browser-schema-id": "1575909552"}}, "/catalog/account.saveMusic": {"post": {"operationId": "account.saveMusic", "tags": ["Konto"], "summary": "Fügt einen Song zum Profil des aktuellen Benutzers hinzu oder entfernt ihn. Weitere Informationen zur Registerkarte „Musik“ der Profilseite finden Sie hier ».", "description": "Fügt einen Song zum Profil des aktuellen Benutzers hinzu oder entfernt ihn daraus. Weitere Informationen zur Registerkarte „Musik“ der Profilseite finden Sie hier »](https://core.telegram.org/api/profile.md#music).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "account.saveMusic", "x-tl-id": "2993107625", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.saveMusic"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"unsave": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, removes the song."}, "id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "The song to add or remove; can be an already added song when reordering songs with `after_id`. Adding an already added song will never re-add it, only move it to the top of the song list (or after the song passed in `after_id`)."}, "after_id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "If set, the song will be added after the passed song (must be already pinned on the profile).", "x-tl-flag": "flags.1?InputDocument"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `unsave` | `true` | Nein | If set, removes the song. |\n| `id` | `InputDocument` | Ja | The song to add or remove; can be an already added song when reordering songs with `after_id`. Adding an already added song will never re-add it, only move it to the top of the song list (or after the song passed in `after_id`). |\n| `after_id` | `InputDocument` | Nein | If set, the song will be added after the passed song (must be already pinned on the profile). |"}, "x-telegram-rpc-errors": ["DOCUMENT_INVALID"], "x-browser-schema-id": "2993107625"}}, "/catalog/account.getSavedMusicIds": {"post": {"operationId": "account.getSavedMusicIds", "tags": ["Konto"], "summary": "Fetch the full list of only the IDs of songs currently added to the profile, see here » for more info.", "description": "Fetch the full list of only the IDs of [songs currently added to the profile, see here »](https://core.telegram.org/api/profile.md#music) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "account.getSavedMusicIds", "x-tl-id": "3768410031", "x-tl-result": "account.SavedMusicIds", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `account.SavedMusicIds`.\n\n[account.SavedMusicIds](https://core.telegram.org/type/account.SavedMusicIds.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.SavedMusicIds", "oneOf": [{"$ref": "#/components/schemas/account.savedMusicIdsNotModified"}, {"$ref": "#/components/schemas/account.savedMusicIds"}], "description": "Type TL: account.SavedMusicIds."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getSavedMusicIds"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash [generated »](https://core.telegram.org/api/offsets.md#hash-generation) from the previously returned list of IDs.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | Hash [generated »](https://core.telegram.org/api/offsets.md#hash-generation) from the previously returned list of IDs. |"}, "x-browser-schema-id": "3768410031"}}, "/catalog/account.getUniqueGiftChatThemes": {"post": {"operationId": "account.getUniqueGiftChatThemes", "tags": ["Konto"], "summary": "Obtain all chat themes » associated to owned or hosted collectible gifts ».", "description": "Obtain all [chat themes »](https://core.telegram.org/api/themes.md#chat-themes) associated to owned or [hosted collectible gifts »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Themen](https://core.telegram.org/api/themes.md)\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "account.getUniqueGiftChatThemes", "x-tl-id": "3828148681", "x-tl-result": "account.ChatThemes", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram themes", "https://core.telegram.org/api/themes.md"], ["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `account.ChatThemes`.\n\n[account.ChatThemes](https://core.telegram.org/type/account.ChatThemes.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.ChatThemes", "oneOf": [{"$ref": "#/components/schemas/account.chatThemesNotModified"}, {"$ref": "#/components/schemas/account.chatThemes"}], "description": "TL type: account.ChatThemes."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getUniqueGiftChatThemes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offset": {"type": "string", "x-tl-type": "string", "description": "Offset for [pagination](https://core.telegram.org/api/offsets.md), intially an empty string, then equal the value of the last returned [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md).`next_offset` (if set)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md). Note that the server may return less than `limit` results, even if the actual number of remaining results is `>= limit`, paginate to fetch them all."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash from a previously returned [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md) constructor, to avoid returning any result if the theme list hasn't changed.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offset` | `string` | Ja | Offset for [pagination](https://core.telegram.org/api/offsets.md), intially an empty string, then equal the value of the last returned [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md).`next_offset` (if set). |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md). Note that the server may return less than `limit` results, even if the actual number of remaining results is `>= limit`, paginate to fetch them all. |\n| `hash` | `long` | Ja | Hash from a previously returned [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md) constructor, to avoid returning any result if the theme list hasn't changed. |"}, "x-browser-schema-id": "3828148681"}}, "/catalog/account.initPasskeyRegistration": {"post": {"operationId": "account.initPasskeyRegistration", "tags": ["Konto"], "summary": "Initialize passkey registration for the current account, see here » for more info on the full flow.", "description": "Initialize passkey registration for the current account, see [here »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Passkey-Anmeldung](https://core.telegram.org/api/passkeys.md)", "x-tl-method": "account.initPasskeyRegistration", "x-tl-id": "1117079528", "x-tl-result": "account.PasskeyRegistrationOptions", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Passkey login", "https://core.telegram.org/api/passkeys.md"]], "responses": {"200": {"description": "MTProto result · `account.PasskeyRegistrationOptions`.\n\n[account.PasskeyRegistrationOptions](https://core.telegram.org/type/account.PasskeyRegistrationOptions.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.PasskeyRegistrationOptions", "oneOf": [{"$ref": "#/components/schemas/account.passkeyRegistrationOptions"}], "description": "TL type: account.PasskeyRegistrationOptions."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `ACCESS_DENIED` – Das Konto wurde deaktiviert oder ist ein Bot-/Dienstkonto.\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` – Sie können sich von anderen Sitzungen nicht abmelden, wenn seit der Anmeldung bei der aktuellen Sitzung weniger als 24 Stunden vergangen sind."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.initPasskeyRegistration"}, "x-telegram-rpc-errors": ["ACCESS_DENIED", "FRESH_RESET_AUTHORISATION_FORBIDDEN"], "x-browser-schema-id": "1117079528"}}, "/catalog/account.registerPasskey": {"post": {"operationId": "account.registerPasskey", "tags": ["Konto"], "summary": "Complete passkey registration for the current account, see here » for more info on the full flow.", "description": "Complete passkey registration for the current account, see [here »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Passkey-Anmeldung](https://core.telegram.org/api/passkeys.md)", "x-tl-method": "account.registerPasskey", "x-tl-id": "1437867990", "x-tl-result": "Passkey", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Passkey login", "https://core.telegram.org/api/passkeys.md"]], "responses": {"200": {"description": "MTProto result · `Passkey`.\n\n[Passkey](https://core.telegram.org/type/Passkey.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Passkey", "oneOf": [{"$ref": "#/components/schemas/passkey"}], "description": "TL Type: Passkey."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CREDENTIAL_INVALID` – Die angegebenen Anmeldeinformationen sind ungültig.\n- 400 · `PASSKEY_ORIGIN_MISMATCH` – Drittanbieter-Clients unterstützen derzeit keine Passkeys, selbst wenn der Ursprung geändert wird."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.registerPasskey"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"credential": {"type": "object", "x-tl-type": "InputPasskeyCredential", "oneOf": [{"$ref": "#/components/schemas/inputPasskeyCredentialPublicKey"}], "description": "Registration result."}}, "additionalProperties": false, "required": ["credential"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `credential` | `InputPasskeyCredential` | Ja | Registration result. |"}, "x-telegram-rpc-errors": ["CREDENTIAL_INVALID", "PASSKEY_ORIGIN_MISMATCH"], "x-browser-schema-id": "1437867990"}}, "/catalog/account.getPasskeys": {"post": {"operationId": "account.getPasskeys", "tags": ["Konto"], "summary": "List the passkeys associated to the current account that can be used to log in, see here » for more info on passkeys.", "description": "List the passkeys associated to the current account that can be used to log in, see [here »](https://core.telegram.org/api/passkeys.md#list-passkeys) for more info on passkeys.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Passkey-Anmeldung](https://core.telegram.org/api/passkeys.md)", "x-tl-method": "account.getPasskeys", "x-tl-id": "3927903314", "x-tl-result": "account.Passkeys", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Passkey login", "https://core.telegram.org/api/passkeys.md"]], "responses": {"200": {"description": "MTProto result · `account.Passkeys`.\n\n[account.Passkeys](https://core.telegram.org/type/account.Passkeys.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.Passkeys", "oneOf": [{"$ref": "#/components/schemas/account.passkeys"}], "description": "TL type: account.Passkeys."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.getPasskeys"}, "x-browser-schema-id": "3927903314"}}, "/catalog/account.deletePasskey": {"post": {"operationId": "account.deletePasskey", "tags": ["Konto"], "summary": "Delete a passkey associated to the current account, see here » for more info.", "description": "Delete a passkey associated to the current account, see [here »](https://core.telegram.org/api/passkeys.md#delete-passkeys) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Passkey-Anmeldung](https://core.telegram.org/api/passkeys.md)", "x-tl-method": "account.deletePasskey", "x-tl-id": "4122302015", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Passkey login", "https://core.telegram.org/api/passkeys.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/account.deletePasskey"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "string", "x-tl-type": "string", "description": "Identifier of the passkey to delete, taken from [passkey](https://core.telegram.org/constructor/passkey.md).`id`, usually obtained using [account.getPasskeys](https://core.telegram.org/method/account.getPasskeys.md)."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `string` | Ja | Identifier of the passkey to delete, taken from [passkey](https://core.telegram.org/constructor/passkey.md).`id`, usually obtained using [account.getPasskeys](https://core.telegram.org/method/account.getPasskeys.md). |"}, "x-browser-schema-id": "4122302015"}}, "/catalog/account.confirmBotConnection": {"post": {"operationId": "account.confirmBotConnection", "tags": ["Konto"], "summary": "account.confirmBotConnection", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "account.confirmBotConnection", "x-tl-id": "1743593320", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}}, "additionalProperties": false, "required": ["bot_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot_id` | `InputUser` | Ja | TL Type: InputUser. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1743593320"}}, "/catalog/account.getWebBrowserSettings": {"post": {"operationId": "account.getWebBrowserSettings", "tags": ["Konto"], "summary": "account.getWebBrowserSettings", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "account.getWebBrowserSettings", "x-tl-id": "1449482088", "x-tl-result": "account.WebBrowserSettings", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `account.WebBrowserSettings`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.WebBrowserSettings", "oneOf": [{"$ref": "#/components/schemas/account.webBrowserSettingsNotModified"}, {"$ref": "#/components/schemas/account.webBrowserSettings"}], "description": "Тип TL: account.WebBrowserSettings."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1449482088"}}, "/catalog/account.updateWebBrowserSettings": {"post": {"operationId": "account.updateWebBrowserSettings", "tags": ["Konto"], "summary": "account.updateWebBrowserSettings", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "account.updateWebBrowserSettings", "x-tl-id": "2598339326", "x-tl-result": "account.WebBrowserSettings", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `account.WebBrowserSettings`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.WebBrowserSettings", "oneOf": [{"$ref": "#/components/schemas/account.webBrowserSettingsNotModified"}, {"$ref": "#/components/schemas/account.webBrowserSettings"}], "description": "Тип TL: account.WebBrowserSettings."}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"open_external_browser": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "display_close_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `open_external_browser` | `true` | Nein | Wert des TL-Typs `true`. |\n| `display_close_button` | `true` | Nein | Wert des TL-Typs `true`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2598339326"}}, "/catalog/account.toggleWebBrowserSettingsException": {"post": {"operationId": "account.toggleWebBrowserSettingsException", "tags": ["Konto"], "summary": "account.toggleWebBrowserSettingsException", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "account.toggleWebBrowserSettingsException", "x-tl-id": "1626161705", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"delete": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}, "open_external_browser": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Wert des TL-Typs `Bool`."}, "url": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["url"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `delete` | `true` | Nein | Wert des TL-Typs `true`. |\n| `open_external_browser` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `url` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1626161705"}}, "/catalog/account.deleteWebBrowserSettingsExceptions": {"post": {"operationId": "account.deleteWebBrowserSettingsExceptions", "tags": ["Konto"], "summary": "account.deleteWebBrowserSettingsExceptions", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "account.deleteWebBrowserSettingsExceptions", "x-tl-id": "2258663005", "x-tl-result": "account.WebBrowserSettings", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `account.WebBrowserSettings`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "account.WebBrowserSettings", "oneOf": [{"$ref": "#/components/schemas/account.webBrowserSettingsNotModified"}, {"$ref": "#/components/schemas/account.webBrowserSettings"}], "description": "Тип TL: account.WebBrowserSettings."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2258663005"}}, "/catalog/users.getUsers": {"post": {"operationId": "users.getUsers", "tags": ["Users"], "summary": "Returns basic user info according to their identifiers.", "description": "Returns basic user info according to their identifiers.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "users.getUsers", "x-tl-id": "227648840", "x-tl-result": "Vector<User>", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Vector<User>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[User](https://core.telegram.org/type/User.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}, "x-tl-type": "Vector<User>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `FROM_MESSAGE_BOT_DISABLED` – Bots können keine fromMessage-Min-Konstruktoren verwenden.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/users.getUsers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "List of user identifiers"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputUser>` | Ja | List of user identifiers |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "FROM_MESSAGE_BOT_DISABLED", "MSG_ID_INVALID", "PEER_ID_INVALID", "USER_BANNED_IN_CHANNEL"], "x-browser-schema-id": "227648840"}}, "/catalog/users.getFullUser": {"post": {"operationId": "users.getFullUser", "tags": ["Users"], "summary": "Get detailed user profile", "description": "Возвращает расширенные сведения о пользователе. В ответе могут быть описание профиля и связанные пользователи или чаты.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "users.getFullUser", "x-tl-id": "3054459160", "x-tl-result": "users.UserFull", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `users.UserFull`.\n\n[users.UserFull](https://core.telegram.org/type/users.UserFull.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "users.UserFull", "oneOf": [{"$ref": "#/components/schemas/users.userFull"}], "description": "Тип TL: users.UserFull."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `USERNAME_OCCUPIED` — The provided username is already occupied.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/users.getFullUser"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Пользователь, сведения о котором нужно получить.", "example": {"_": "inputUserSelf"}}}, "additionalProperties": false, "required": ["id"]}, "example": {"id": {"_": "inputUserSelf"}}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Ja | Пользователь, сведения о котором нужно получить. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "USERNAME_OCCUPIED", "USER_ID_INVALID"], "x-browser-schema-id": "3054459160"}}, "/catalog/users.setSecureValueErrors": {"post": {"operationId": "users.setSecureValueErrors", "tags": ["Users"], "summary": "Notify the user that the sent passport data contains some errors The user will not be able to re-submit their Passport data to you until the errors are fixed (the contents of the field for which you returned the error must change).", "description": "Notify the user that the sent [passport](https://core.telegram.org/passport.md) data contains some errors The user will not be able to re-submit their Passport data to you until the errors are fixed (the contents of the field for which you returned the error must change).\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.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "users.setSecureValueErrors", "x-tl-id": "2429064373", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `DATA_HASH_SIZE_INVALID` – Die Größe des angegebenen secureValueErrorData.data_hash ist ungültig.\n- 400 · `HASH_SIZE_INVALID` – Die Größe des angegebenen secureValueError.hash ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/users.setSecureValueErrors"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Der Benutzer"}, "errors": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValueError", "oneOf": [{"$ref": "#/components/schemas/secureValueErrorData"}, {"$ref": "#/components/schemas/secureValueErrorFrontSide"}, {"$ref": "#/components/schemas/secureValueErrorReverseSide"}, {"$ref": "#/components/schemas/secureValueErrorSelfie"}, {"$ref": "#/components/schemas/secureValueErrorFile"}, {"$ref": "#/components/schemas/secureValueErrorFiles"}, {"$ref": "#/components/schemas/secureValueError"}, {"$ref": "#/components/schemas/secureValueErrorTranslationFile"}, {"$ref": "#/components/schemas/secureValueErrorTranslationFiles"}], "description": "TL Type: SecureValueError."}, "x-tl-type": "Vector<SecureValueError>", "description": "Errors"}}, "additionalProperties": false, "required": ["id", "errors"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Ja | Der Benutzer |\n| `errors` | `Vector<SecureValueError>` | Ja | Errors |"}, "x-telegram-rpc-errors": ["DATA_HASH_SIZE_INVALID", "HASH_SIZE_INVALID", "USER_BOT_REQUIRED", "USER_ID_INVALID"], "x-browser-schema-id": "2429064373"}}, "/catalog/users.getRequirementsToContact": {"post": {"operationId": "users.getRequirementsToContact", "tags": ["Users"], "summary": "Überprüfen Sie, ob wir die angegebenen Benutzer anschreiben können. Dies dient zur Durchführung von Massenprüfungen für Nur-Premium-Nachrichten » und kostenpflichtige Nachrichten ».", "description": "Überprüfen Sie, ob wir an die angegebenen Benutzer schreiben können, um Massenprüfungen für [Nur Premium-Nachrichten »](https://core.telegram.org/api/privacy.md#require-premium-for-new-non-contact-users) und [kostenpflichtige Nachrichten »](https://core.telegram.org/api/paid-messages.md)] durchzuführen.\n\nFor each input user, returns a [RequirementToContact](https://core.telegram.org/type/RequirementToContact.md) constructor (at the same offset in the vector) containing requirements to contact them.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Datenschutzeinstellungen](https://core.telegram.org/api/privacy.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)", "x-tl-method": "users.getRequirementsToContact", "x-tl-id": "3634004899", "x-tl-result": "Vector<RequirementToContact>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Privacy settings", "https://core.telegram.org/api/privacy.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"]], "responses": {"200": {"description": "MTProto result · `Vector<RequirementToContact>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[RequirementToContact](https://core.telegram.org/type/RequirementToContact.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "RequirementToContact", "oneOf": [{"$ref": "#/components/schemas/requirementToContactEmpty"}, {"$ref": "#/components/schemas/requirementToContactPremium"}, {"$ref": "#/components/schemas/requirementToContactPaidMessages"}], "description": "TL Type: RequirementToContact."}, "x-tl-type": "Vector<RequirementToContact>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/users.getRequirementsToContact"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Users to check."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputUser>` | Ja | Users to check. |"}, "x-browser-schema-id": "3634004899"}}, "/catalog/users.getSavedMusic": {"post": {"operationId": "users.getSavedMusic", "tags": ["Users"], "summary": "Get songs pinned to the user's profile, see here » for more info.", "description": "Get songs [pinned to the user's profile, see here »](https://core.telegram.org/api/profile.md#music) for more info.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "users.getSavedMusic", "x-tl-id": "2022539235", "x-tl-result": "users.SavedMusic", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `users.SavedMusic`.\n\n[users.SavedMusic](https://core.telegram.org/type/users.SavedMusic.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "users.SavedMusic", "oneOf": [{"$ref": "#/components/schemas/users.savedMusicNotModified"}, {"$ref": "#/components/schemas/users.savedMusic"}], "description": "Type TL: users.SavedMusic."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/users.getSavedMusic"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The ID of the user."}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset for pagination."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash »](https://core.telegram.org/api/offsets.md#hash-generation) of the IDs of previously added songs, to avoid returning any result if there was no change.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["id", "offset", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Ja | The ID of the user. |\n| `offset` | `int` | Ja | Offset for pagination. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Ja | [Hash »](https://core.telegram.org/api/offsets.md#hash-generation) of the IDs of previously added songs, to avoid returning any result if there was no change. |"}, "x-telegram-rpc-errors": ["USER_ID_INVALID"], "x-browser-schema-id": "2022539235"}}, "/catalog/users.getSavedMusicByID": {"post": {"operationId": "users.getSavedMusicByID", "tags": ["Users"], "summary": "Überprüfen Sie, ob die übergebenen Songs immer noch an das Profil des Benutzers angeheftet sind, oder aktualisieren Sie die Dateiverweise der Songs, die an das Profil eines Benutzers angeheftet sind. Weitere Informationen finden Sie hier ».", "description": "Überprüfen Sie, ob die übergebenen Songs noch an das Profil des Benutzers angeheftet sind, oder aktualisieren Sie die Dateiverweise der Songs, die an das Profil eines Benutzers angeheftet sind [weitere Informationen finden Sie hier »](https://core.telegram.org/api/profile.md#music)«.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "users.getSavedMusicByID", "x-tl-id": "1970513129", "x-tl-result": "users.SavedMusic", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `users.SavedMusic`.\n\n[users.SavedMusic](https://core.telegram.org/type/users.SavedMusic.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "users.SavedMusic", "oneOf": [{"$ref": "#/components/schemas/users.savedMusicNotModified"}, {"$ref": "#/components/schemas/users.savedMusic"}], "description": "Type TL: users.SavedMusic."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/users.getSavedMusicByID"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The ID of the user."}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "TL Type: InputDocument."}, "x-tl-type": "Vector<InputDocument>", "description": "The songs (here, `file_reference` can be empty to refresh file references)."}}, "additionalProperties": false, "required": ["id", "documents"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Ja | The ID of the user. |\n| `documents` | `Vector<InputDocument>` | Ja | The songs (here, `file_reference` can be empty to refresh file references). |"}, "x-telegram-rpc-errors": ["USER_ID_INVALID"], "x-browser-schema-id": "1970513129"}}, "/catalog/users.suggestBirthday": {"post": {"operationId": "users.suggestBirthday", "tags": ["Users"], "summary": "Suggest a birthday to another user, see here » for more info on birthdays in the API.", "description": "Suggest a birthday to another user, see [here »](https://core.telegram.org/api/profile.md#birthday) for more info on birthdays in the API.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "users.suggestBirthday", "x-tl-id": "4233311090", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BIRTHDAY_ALREADY` – Der Zielbenutzer hat bereits einen Geburtstag festgelegt.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/users.suggestBirthday"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user that will receive the suggested birthday date."}, "birthday": {"type": "object", "x-tl-type": "Birthday", "oneOf": [{"$ref": "#/components/schemas/birthday"}], "description": "The birthday to suggest."}}, "additionalProperties": false, "required": ["id", "birthday"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Ja | The user that will receive the suggested birthday date. |\n| `birthday` | `Birthday` | Ja | The birthday to suggest. |"}, "x-telegram-rpc-errors": ["BIRTHDAY_ALREADY", "USER_ID_INVALID"], "x-browser-schema-id": "4233311090"}}, "/catalog/contacts.getContactIDs": {"post": {"operationId": "contacts.getContactIDs", "tags": ["Contacts"], "summary": "Get the telegram IDs of all contacts.  ", "description": "Get the telegram IDs of all contacts.  \nReturns an array of Telegram user IDs for all contacts (0 if a contact does not have an associated Telegram account or have hidden their account using privacy settings).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "contacts.getContactIDs", "x-tl-id": "2061264541", "x-tl-result": "Vector<int>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[int](https://core.telegram.org/type/int.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.getContactIDs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-browser-schema-id": "2061264541"}}, "/catalog/contacts.getStatuses": {"post": {"operationId": "contacts.getStatuses", "tags": ["Contacts"], "summary": "Use this method to obtain the online statuses of all contacts with an accessible Telegram account.", "description": "Use this method to obtain the online statuses of all contacts with an accessible Telegram account.", "x-tl-method": "contacts.getStatuses", "x-tl-id": "3299038190", "x-tl-result": "Vector<ContactStatus>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<ContactStatus>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[ContactStatus](https://core.telegram.org/type/ContactStatus.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "ContactStatus", "oneOf": [{"$ref": "#/components/schemas/contactStatus"}], "description": "TL Type: ContactStatus."}, "x-tl-type": "Vector<ContactStatus>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.getStatuses"}, "x-browser-schema-id": "3299038190"}}, "/catalog/contacts.getContacts": {"post": {"operationId": "contacts.getContacts", "tags": ["Contacts"], "summary": "Returns the current user's contact list.", "description": "Returns the current user's contact list.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "contacts.getContacts", "x-tl-id": "1574346258", "x-tl-result": "contacts.Contacts", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `contacts.Contacts`.\n\n[contacts.Contacts](https://core.telegram.org/type/contacts.Contacts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "contacts.Contacts", "oneOf": [{"$ref": "#/components/schemas/contacts.contactsNotModified"}, {"$ref": "#/components/schemas/contacts.contacts"}], "description": "Type TL: contacts.Contacts."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.getContacts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). Note that the hash is computed [using the usual algorithm](https://core.telegram.org/api/offsets.md#hash-generation), passing to the algorithm first the previously returned [contacts.contacts](https://core.telegram.org/constructor/contacts.contacts.md).`saved_count` field, then max `100000` sorted user IDs from the contact list, including the ID of the currently logged in user if it is saved as a contact.  Example: [tdlib implementation](https://github.com/tdlib/td/blob/73035e4a69ed26df563652de14aa9c4c86d23420/td/telegram/UserManager.cpp#L7865).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). Note that the hash is computed [using the usual algorithm](https://core.telegram.org/api/offsets.md#hash-generation), passing to the algorithm first the previously returned [contacts.contacts](https://core.telegram.org/constructor/contacts.contacts.md).`saved_count` field, then max `100000` sorted user IDs from the contact list, including the ID of the currently logged in user if it is saved as a contact.  Example: [tdlib implementation](https://github.com/tdlib/td/blob/73035e4a69ed26df563652de14aa9c4c86d23420/td/telegram/UserManager.cpp#L7865). |"}, "x-browser-schema-id": "1574346258"}}, "/catalog/contacts.importContacts": {"post": {"operationId": "contacts.importContacts", "tags": ["Contacts"], "summary": "Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info.", "description": "Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info.\n\nUse [contacts.addContact](https://core.telegram.org/method/contacts.addContact.md) to add Telegram contacts without actually using their phone number.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "contacts.importContacts", "x-tl-id": "746589157", "x-tl-result": "contacts.ImportedContacts", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `contacts.ImportedContacts`.\n\n[contacts.ImportedContacts](https://core.telegram.org/type/contacts.ImportedContacts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "contacts.ImportedContacts", "oneOf": [{"$ref": "#/components/schemas/contacts.importedContacts"}], "description": "Type TL: contacts.ImportedContacts."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.importContacts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"contacts": {"type": "array", "items": {"type": "object", "x-tl-type": "InputContact", "oneOf": [{"$ref": "#/components/schemas/inputPhoneContact"}], "description": "TL Type: InputContact."}, "x-tl-type": "Vector<InputContact>", "description": "List of contacts to import"}}, "additionalProperties": false, "required": ["contacts"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `contacts` | `Vector<InputContact>` | Ja | List of contacts to import |"}, "x-browser-schema-id": "746589157"}}, "/catalog/contacts.deleteContacts": {"post": {"operationId": "contacts.deleteContacts", "tags": ["Contacts"], "summary": "Deletes several contacts from the list.", "description": "Deletes several contacts from the list.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "contacts.deleteContacts", "x-tl-id": "157945344", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.deleteContacts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "User ID list"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputUser>` | Ja | User ID list |"}, "x-telegram-rpc-errors": ["MSG_ID_INVALID"], "x-browser-schema-id": "157945344"}}, "/catalog/contacts.deleteByPhones": {"post": {"operationId": "contacts.deleteByPhones", "tags": ["Contacts"], "summary": "Delete contacts by phone number", "description": "Delete contacts by phone number", "x-tl-method": "contacts.deleteByPhones", "x-tl-id": "269745566", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.deleteByPhones"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phones": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Phone numbers"}}, "additionalProperties": false, "required": ["phones"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phones` | `Vector<string>` | Ja | Phone numbers |"}, "x-browser-schema-id": "269745566"}}, "/catalog/contacts.block": {"post": {"operationId": "contacts.block", "tags": ["Contacts"], "summary": "Fügt einen Peer zu einer Sperrliste hinzu, siehe hier » für weitere Informationen.", "description": "Fügt einen Peer zu einer Sperrliste hinzu. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/block.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Blockierte Benutzer](https://core.telegram.org/api/block.md)", "x-tl-method": "contacts.block", "x-tl-id": "774801204", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Blocked users", "https://core.telegram.org/api/block.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CONTACT_ID_INVALID` – Die angegebene Kontakt-ID ist ungültig.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.block"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether the peer should be added to the story blocklist; if not set, the peer will be added to the main blocklist, see [here »](https://core.telegram.org/api/block.md) for more info."}, "id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | Nein | Whether the peer should be added to the story blocklist; if not set, the peer will be added to the main blocklist, see [here »](https://core.telegram.org/api/block.md) for more info. |\n| `id` | `InputPeer` | Ja | Peer |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "CONTACT_ID_INVALID", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "774801204"}}, "/catalog/contacts.unblock": {"post": {"operationId": "contacts.unblock", "tags": ["Contacts"], "summary": "Löscht einen Peer aus einer Blockliste. Weitere Informationen finden Sie hier ».", "description": "Löscht einen Peer aus einer Sperrliste. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/block.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Blockierte Benutzer](https://core.telegram.org/api/block.md)", "x-tl-method": "contacts.unblock", "x-tl-id": "3041973032", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Blocked users", "https://core.telegram.org/api/block.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CONTACT_ID_INVALID` – Die angegebene Kontakt-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.unblock"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether the peer should be removed from the story blocklist; if not set, the peer will be removed from the main blocklist, see [here »](https://core.telegram.org/api/block.md) for more info."}, "id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | Nein | Whether the peer should be removed from the story blocklist; if not set, the peer will be removed from the main blocklist, see [here »](https://core.telegram.org/api/block.md) for more info. |\n| `id` | `InputPeer` | Ja | Peer |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "CONTACT_ID_INVALID", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3041973032"}}, "/catalog/contacts.getBlocked": {"post": {"operationId": "contacts.getBlocked", "tags": ["Contacts"], "summary": "Returns the list of blocked users.", "description": "Returns the list of blocked users.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Blockierte Benutzer](https://core.telegram.org/api/block.md)", "x-tl-method": "contacts.getBlocked", "x-tl-id": "2592509824", "x-tl-result": "contacts.Blocked", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Blocked users", "https://core.telegram.org/api/block.md"]], "responses": {"200": {"description": "MTProto result · `contacts.Blocked`.\n\n[contacts.Blocked](https://core.telegram.org/type/contacts.Blocked.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "contacts.Blocked", "oneOf": [{"$ref": "#/components/schemas/contacts.blocked"}, {"$ref": "#/components/schemas/contacts.blockedSlice"}], "description": "Type TL: contacts.Blocked."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.getBlocked"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to fetch the story blocklist; if not set, will fetch the main blocklist. See [here »](https://core.telegram.org/api/block.md) for differences between the two."}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The number of list elements to be skipped"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The number of list elements to be returned"}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | Nein | Whether to fetch the story blocklist; if not set, will fetch the main blocklist. See [here »](https://core.telegram.org/api/block.md) for differences between the two. |\n| `offset` | `int` | Ja | The number of list elements to be skipped |\n| `limit` | `int` | Ja | The number of list elements to be returned |"}, "x-browser-schema-id": "2592509824"}}, "/catalog/contacts.search": {"post": {"operationId": "contacts.search", "tags": ["Contacts"], "summary": "Returns users found by username substring.", "description": "Returns users found by username substring.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "contacts.search", "x-tl-id": "99978511", "x-tl-result": "contacts.Found", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `contacts.Found`.\n\n[contacts.Found](https://core.telegram.org/type/contacts.Found.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "contacts.Found", "oneOf": [{"$ref": "#/components/schemas/contacts.found"}], "description": "Type TL: contacts.Found."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `QUERY_TOO_SHORT` – Die Abfragezeichenfolge ist zu kurz.\n- 400 · `SEARCH_QUERY_EMPTY` – Die Suchanfrage ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.search"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"broadcasts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "bots": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}, "q": {"type": "string", "x-tl-type": "string", "description": "Target substring"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of users to be returned"}}, "additionalProperties": false, "required": ["q", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `broadcasts` | `true` | Nein | Wert des TL-Typs `true`. |\n| `bots` | `true` | Nein | Wert des TL-Typs `true`. |\n| `q` | `string` | Ja | Target substring |\n| `limit` | `int` | Ja | Maximum number of users to be returned |"}, "x-telegram-rpc-errors": ["QUERY_TOO_SHORT", "SEARCH_QUERY_EMPTY"], "x-browser-schema-id": "99978511"}}, "/catalog/contacts.resolveUsername": {"post": {"operationId": "contacts.resolveUsername", "tags": ["Contacts"], "summary": "Find a user, chat or channel by name", "description": "Determines who is using the public name and returns the identifier along with associated data.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "contacts.resolveUsername", "x-tl-id": "1918565308", "x-tl-result": "contacts.ResolvedPeer", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `contacts.ResolvedPeer`.\n\n[contacts.ResolvedPeer](https://core.telegram.org/type/contacts.ResolvedPeer.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "contacts.ResolvedPeer", "oneOf": [{"$ref": "#/components/schemas/contacts.resolvedPeer"}], "description": "TL type: contacts.ResolvedPeer."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CONNECTION_LAYER_INVALID` – Layer ungültig.\n- 400 · `STARREF_EXPIRED` – Der angegebene Empfehlungslink ist ungültig.\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USERNAME_NOT_OCCUPIED` — The provided username is not occupied."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.resolveUsername"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"username": {"type": "string", "x-tl-type": "string", "description": "Public name of the user, chat or channel."}, "referer": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Source ID from the referral link, if available."}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `username` | `string` | Ja | Public name of the user, chat or channel. |\n| `referer` | `string` | Nein | Source ID from the referral link, if available. |"}, "x-telegram-rpc-errors": ["CONNECTION_LAYER_INVALID", "STARREF_EXPIRED", "USERNAME_INVALID", "USERNAME_NOT_OCCUPIED"], "x-browser-schema-id": "1918565308"}}, "/catalog/contacts.getTopPeers": {"post": {"operationId": "contacts.getTopPeers", "tags": ["Contacts"], "summary": "Get most used peers", "description": "Get most used peers\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Gastmodus für Bots](https://core.telegram.org/api/bots/guest-mode.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "contacts.getTopPeers", "x-tl-id": "2536798390", "x-tl-result": "contacts.TopPeers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"], ["Guest mode for bots", "https://core.telegram.org/api/bots/guest-mode.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `contacts.TopPeers`.\n\n[contacts.TopPeers](https://core.telegram.org/type/contacts.TopPeers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "contacts.TopPeers", "oneOf": [{"$ref": "#/components/schemas/contacts.topPeersNotModified"}, {"$ref": "#/components/schemas/contacts.topPeers"}, {"$ref": "#/components/schemas/contacts.topPeersDisabled"}], "description": "TL type: contacts.TopPeers."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `TYPES_EMPTY` – Es wurde kein Top-Peer-Typ angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.getTopPeers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"correspondents": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Benutzer, mit denen wir am häufigsten gechattet haben"}, "bots_pm": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Am häufigsten verwendete Bots"}, "bots_inline": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Am häufigsten verwendete Inline-Bots"}, "phone_calls": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Am häufigsten angerufene Benutzer"}, "forward_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Benutzer, an die Benutzer häufig Nachrichten weiterleiten"}, "forward_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Chats, an die die Benutzer häufig Nachrichten weiterleiten"}, "groups": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true", "description": "Häufig eröffnete Gruppen und Supergruppen"}, "channels": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true", "description": "Am häufigsten besuchte Kanäle"}, "bots_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "Am häufigsten verwendet [Haupt-Mini-Bot-Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps)."}, "bots_guestchat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true", "description": "Most frequently used [guest bots »](https://core.telegram.org/api/bots/guest-mode.md)"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset für [Paginierung](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `correspondents` | `true` | Nein | Benutzer, mit denen wir am häufigsten gechattet haben |\n| `bots_pm` | `true` | Nein | Am häufigsten verwendete Bots |\n| `bots_inline` | `true` | Nein | Am häufigsten verwendete Inline-Bots |\n| `phone_calls` | `true` | Nein | Am häufigsten angerufene Benutzer |\n| `forward_users` | `true` | Nein | Benutzer, an die Benutzer häufig Nachrichten weiterleiten |\n| `forward_chats` | `true` | Nein | Chats, an die die Benutzer häufig Nachrichten weiterleiten |\n| `groups` | `true` | Nein | Häufig eröffnete Gruppen und Supergruppen |\n| `channels` | `true` | Nein | Am häufigsten besuchte Kanäle |\n| `bots_app` | `true` | Nein | Am häufigsten verwendet [Haupt-Mini-Bot-Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps). |\n| `bots_guestchat` | `true` | Nein | Most frequently used [guest bots »](https://core.telegram.org/api/bots/guest-mode.md) |\n| `offset` | `int` | Ja | Offset für [Paginierung](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Ja | [Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-telegram-rpc-errors": ["TYPES_EMPTY"], "x-browser-schema-id": "2536798390"}}, "/catalog/contacts.resetTopPeerRating": {"post": {"operationId": "contacts.resetTopPeerRating", "tags": ["Contacts"], "summary": "Reset rating of top peer", "description": "Reset [rating](https://core.telegram.org/api/top-rating.md) of top peer\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Top-Peer-Bewertung](https://core.telegram.org/api/top-rating.md)", "x-tl-method": "contacts.resetTopPeerRating", "x-tl-id": "451113900", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Top peer rating", "https://core.telegram.org/api/top-rating.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.resetTopPeerRating"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"category": {"type": "object", "x-tl-type": "TopPeerCategory", "oneOf": [{"$ref": "#/components/schemas/topPeerCategoryBotsPM"}, {"$ref": "#/components/schemas/topPeerCategoryBotsInline"}, {"$ref": "#/components/schemas/topPeerCategoryCorrespondents"}, {"$ref": "#/components/schemas/topPeerCategoryGroups"}, {"$ref": "#/components/schemas/topPeerCategoryChannels"}, {"$ref": "#/components/schemas/topPeerCategoryPhoneCalls"}, {"$ref": "#/components/schemas/topPeerCategoryForwardUsers"}, {"$ref": "#/components/schemas/topPeerCategoryForwardChats"}, {"$ref": "#/components/schemas/topPeerCategoryBotsApp"}, {"$ref": "#/components/schemas/topPeerCategoryBotsGuestChat"}], "description": "Top peer category"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer whose rating should be reset"}}, "additionalProperties": false, "required": ["category", "peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `category` | `TopPeerCategory` | Ja | Top peer category |\n| `peer` | `InputPeer` | Ja | Peer whose rating should be reset |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "451113900"}}, "/catalog/contacts.resetSaved": {"post": {"operationId": "contacts.resetSaved", "tags": ["Contacts"], "summary": "Removes all contacts without an associated Telegram account.", "description": "Removes all contacts without an associated Telegram account.", "x-tl-method": "contacts.resetSaved", "x-tl-id": "2274703345", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.resetSaved"}, "x-browser-schema-id": "2274703345"}}, "/catalog/contacts.getSaved": {"post": {"operationId": "contacts.getSaved", "tags": ["Contacts"], "summary": "Get all contacts, requires a takeout session, see here » for more info.", "description": "Get all contacts, requires a [takeout session, see here » for more info](https://core.telegram.org/api/takeout.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zum Mitnehmen API](https://core.telegram.org/api/takeout.md)", "x-tl-method": "contacts.getSaved", "x-tl-id": "2196890527", "x-tl-result": "Vector<SavedContact>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Takeout API", "https://core.telegram.org/api/takeout.md"]], "responses": {"200": {"description": "MTProto result · `Vector<SavedContact>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[SavedContact](https://core.telegram.org/type/SavedContact.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "SavedContact", "oneOf": [{"$ref": "#/components/schemas/savedPhoneContact"}], "description": "TL Type: SavedContact."}, "x-tl-type": "Vector<SavedContact>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `TAKEOUT_INVALID` – Die angegebene Takeout-ID ist ungültig.\n- 403 · `TAKEOUT_REQUIRED` — A [takeout](https://core.telegram.org/api/takeout.md) session needs to be initialized first, [see here &raquo; for more info](https://core.telegram.org/api/takeout.md)."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.getSaved"}, "x-telegram-rpc-errors": ["TAKEOUT_INVALID", "TAKEOUT_REQUIRED"], "x-browser-schema-id": "2196890527"}}, "/catalog/contacts.toggleTopPeers": {"post": {"operationId": "contacts.toggleTopPeers", "tags": ["Contacts"], "summary": "Enable/disable top peers", "description": "Enable/disable [top peers](https://core.telegram.org/api/top-rating.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Top-Peer-Bewertung](https://core.telegram.org/api/top-rating.md)", "x-tl-method": "contacts.toggleTopPeers", "x-tl-id": "2232729050", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Top peer rating", "https://core.telegram.org/api/top-rating.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.toggleTopPeers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Enable/disable"}}, "additionalProperties": false, "required": ["enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `enabled` | `Bool` | Ja | Enable/disable |"}, "x-browser-schema-id": "2232729050"}}, "/catalog/contacts.addContact": {"post": {"operationId": "contacts.addContact", "tags": ["Contacts"], "summary": "Add an existing telegram user as contact.", "description": "Add an existing telegram user as contact.\n\nUse [contacts.importContacts](https://core.telegram.org/method/contacts.importContacts.md) to add contacts by phone number, without knowing their Telegram ID.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kontaktliste](https://core.telegram.org/api/contacts.md)", "x-tl-method": "contacts.addContact", "x-tl-id": "3652857428", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Contact list", "https://core.telegram.org/api/contacts.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CONTACT_ID_INVALID` – Die angegebene Kontakt-ID ist ungültig.\n- 400 · `CONTACT_NAME_EMPTY` – Kontaktname leer.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.addContact"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"add_phone_privacy_exception": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Dem anderen Benutzer erlauben, unsere Telefonnummer zu sehen?"}, "id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Telegram ID of the other user"}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Vorname"}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Nachname"}, "phone": {"type": "string", "x-tl-type": "string", "description": "User's phone number, may be omitted to simply add the user to the contact list, without a phone number."}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Eine private Notiz für diesen Kontakt, nur für uns sichtbar; Weitere Informationen zu Kontaktnotizen finden Sie [hier »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts)].", "x-tl-flag": "flags.1?TextWithEntities"}}, "additionalProperties": false, "required": ["id", "first_name", "last_name", "phone"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `add_phone_privacy_exception` | `true` | Nein | Dem anderen Benutzer erlauben, unsere Telefonnummer zu sehen? |\n| `id` | `InputUser` | Ja | Telegram ID of the other user |\n| `first_name` | `string` | Ja | Vorname |\n| `last_name` | `string` | Ja | Nachname |\n| `phone` | `string` | Ja | User's phone number, may be omitted to simply add the user to the contact list, without a phone number. |\n| `note` | `TextWithEntities` | Nein | Eine private Notiz für diesen Kontakt, nur für uns sichtbar; Weitere Informationen zu Kontaktnotizen finden Sie [hier »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts)]. |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "CONTACT_ID_INVALID", "CONTACT_NAME_EMPTY", "MSG_ID_INVALID"], "x-browser-schema-id": "3652857428"}}, "/catalog/contacts.acceptContact": {"post": {"operationId": "contacts.acceptContact", "tags": ["Contacts"], "summary": "If the add contact action bar is active, add that user as contact", "description": "If the [add contact action bar is active](https://core.telegram.org/api/action-bar.md#add-contact), add that user as contact\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Aktionsleiste](https://core.telegram.org/api/action-bar.md)", "x-tl-method": "contacts.acceptContact", "x-tl-id": "4164002319", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Action bar", "https://core.telegram.org/api/action-bar.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CONTACT_ADD_MISSING` – Der hinzuzufügende Kontakt fehlt.\n- 400 · `CONTACT_ID_INVALID` – Die angegebene Kontakt-ID ist ungültig.\n- 400 · `CONTACT_REQ_MISSING` – Fehlende Kontaktanfrage.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.acceptContact"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user to add as contact"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Ja | The user to add as contact |"}, "x-telegram-rpc-errors": ["CONTACT_ADD_MISSING", "CONTACT_ID_INVALID", "CONTACT_REQ_MISSING", "MSG_ID_INVALID"], "x-browser-schema-id": "4164002319"}}, "/catalog/contacts.getLocated": {"post": {"operationId": "contacts.getLocated", "tags": ["Contacts"], "summary": "Get users and geochats near you, see here » for more info.", "description": "Get users and geochats near you, see [here »](https://core.telegram.org/api/nearby.md) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzer und Chats in der Nähe](https://core.telegram.org/api/nearby.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "contacts.getLocated", "x-tl-id": "3544759364", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Nearby users&chats", "https://core.telegram.org/api/nearby.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `BUSINESS_ADDRESS_ACTIVE` – Der Benutzer bewirbt derzeit einen [Unternehmensstandort](https://core.telegram.org/api/business.md#location), der Standort kann nur mit [account.updateBusinessLocation »](https://core.telegram.org/method/account.updateBusinessLocation.md) geändert (oder entfernt) werden.  .\n- 400 · `GEO_POINT_INVALID` – Ungültige Geoposition angegeben.\n- 406 · `USERPIC_PRIVACY_REQUIRED` — You need to disable privacy settings for your profile picture in order to make your geolocation public.\n- 406 · `USERPIC_UPLOAD_REQUIRED` — You must have a profile picture to publish your geolocation."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.getLocated"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "While the geolocation of the current user is public, clients should update it in the background every half-an-hour or so, while setting this flag.  Do this only if the new location is more than 1 KM away from the previous one, or if the previous location is unknown."}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "Geolokalisierung"}, "self_expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "If set, the geolocation of the current user will be public for the specified number of seconds; pass 0x7fffffff to disable expiry, 0 to make the current geolocation private; if the flag isn't set, no changes will be applied."}}, "additionalProperties": false, "required": ["geo_point"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `background` | `true` | Nein | While the geolocation of the current user is public, clients should update it in the background every half-an-hour or so, while setting this flag.  Do this only if the new location is more than 1 KM away from the previous one, or if the previous location is unknown. |\n| `geo_point` | `InputGeoPoint` | Ja | Geolokalisierung |\n| `self_expires` | `int` | Nein | If set, the geolocation of the current user will be public for the specified number of seconds; pass 0x7fffffff to disable expiry, 0 to make the current geolocation private; if the flag isn't set, no changes will be applied. |"}, "x-telegram-rpc-errors": ["BUSINESS_ADDRESS_ACTIVE", "GEO_POINT_INVALID", "USERPIC_PRIVACY_REQUIRED", "USERPIC_UPLOAD_REQUIRED"], "x-browser-schema-id": "3544759364"}}, "/catalog/contacts.blockFromReplies": {"post": {"operationId": "contacts.blockFromReplies", "tags": ["Contacts"], "summary": "Stop getting notifications about discussion replies of a certain user in `@replies`", "description": "Stop getting notifications about [discussion replies](https://core.telegram.org/api/discussion.md) of a certain user in `@replies`\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Diskussionsgruppen](https://core.telegram.org/api/discussion.md)", "x-tl-method": "contacts.blockFromReplies", "x-tl-id": "698914348", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Discussion groups", "https://core.telegram.org/api/discussion.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.blockFromReplies"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"delete_message": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to delete the specified message as well"}, "delete_history": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to delete all `@replies` messages from this user as well"}, "report_spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether to also report this user for spam"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the message in the [@replies](https://core.telegram.org/api/discussion.md#replies) chat"}}, "additionalProperties": false, "required": ["msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `delete_message` | `true` | Nein | Whether to delete the specified message as well |\n| `delete_history` | `true` | Nein | Whether to delete all `@replies` messages from this user as well |\n| `report_spam` | `true` | Nein | Whether to also report this user for spam |\n| `msg_id` | `int` | Ja | ID of the message in the [@replies](https://core.telegram.org/api/discussion.md#replies) chat |"}, "x-telegram-rpc-errors": ["MSG_ID_INVALID"], "x-browser-schema-id": "698914348"}}, "/catalog/contacts.resolvePhone": {"post": {"operationId": "contacts.resolvePhone", "tags": ["Contacts"], "summary": "Resolve a phone number to get user info, if their privacy settings allow it.", "description": "Resolve a phone number to get user info, if their privacy settings allow it.\n\nMake sure to implement client-side ratelimiting/debounce for this method, allowing at most 1 call every 3 seconds.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "contacts.resolvePhone", "x-tl-id": "2331591492", "x-tl-result": "contacts.ResolvedPeer", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `contacts.ResolvedPeer`.\n\n[contacts.ResolvedPeer](https://core.telegram.org/type/contacts.ResolvedPeer.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "contacts.ResolvedPeer", "oneOf": [{"$ref": "#/components/schemas/contacts.resolvedPeer"}], "description": "TL type: contacts.ResolvedPeer."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PHONE_NOT_OCCUPIED` – Der angegebenen Telefonnummer ist kein Benutzer zugeordnet."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.resolvePhone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"phone": {"type": "string", "x-tl-type": "string", "description": "Phone number in international format, possibly obtained from a [phone number deep link](https://core.telegram.org/api/links.md#phone-number-links)."}}, "additionalProperties": false, "required": ["phone"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `phone` | `string` | Ja | Phone number in international format, possibly obtained from a [phone number deep link](https://core.telegram.org/api/links.md#phone-number-links). |"}, "x-telegram-rpc-errors": ["PHONE_NOT_OCCUPIED"], "x-browser-schema-id": "2331591492"}}, "/catalog/contacts.exportContactToken": {"post": {"operationId": "contacts.exportContactToken", "tags": ["Contacts"], "summary": "Generates a temporary profile link for the currently logged-in user.", "description": "Generates a [temporary profile link](https://core.telegram.org/api/links.md#temporary-profile-links) for the currently logged-in user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "contacts.exportContactToken", "x-tl-id": "4167385127", "x-tl-result": "ExportedContactToken", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `ExportedContactToken`.\n\n[ExportedContactToken](https://core.telegram.org/type/ExportedContactToken.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedContactToken", "oneOf": [{"$ref": "#/components/schemas/exportedContactToken"}], "description": "TL Type: ExportedContactToken."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.exportContactToken"}, "x-browser-schema-id": "4167385127"}}, "/catalog/contacts.importContactToken": {"post": {"operationId": "contacts.importContactToken", "tags": ["Contacts"], "summary": "Obtain user info from a temporary profile link.", "description": "Obtain user info from a [temporary profile link](https://core.telegram.org/api/links.md#temporary-profile-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "contacts.importContactToken", "x-tl-id": "318789512", "x-tl-result": "User", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `User`.\n\n[User](https://core.telegram.org/type/User.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `IMPORT_TOKEN_INVALID` – Das angegebene Token ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.importContactToken"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"token": {"type": "string", "x-tl-type": "string", "description": "The token extracted from the [temporary profile link](https://core.telegram.org/api/links.md#temporary-profile-links)."}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `token` | `string` | Ja | The token extracted from the [temporary profile link](https://core.telegram.org/api/links.md#temporary-profile-links). |"}, "x-telegram-rpc-errors": ["IMPORT_TOKEN_INVALID"], "x-browser-schema-id": "318789512"}}, "/catalog/contacts.editCloseFriends": {"post": {"operationId": "contacts.editCloseFriends", "tags": ["Contacts"], "summary": "Edit the close friends list, see here » for more info.", "description": "Edit the [close friends list, see here »](https://core.telegram.org/api/privacy.md) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Datenschutzeinstellungen](https://core.telegram.org/api/privacy.md)", "x-tl-method": "contacts.editCloseFriends", "x-tl-id": "3127313904", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Privacy settings", "https://core.telegram.org/api/privacy.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.editCloseFriends"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Full list of user IDs of close friends, see [here](https://core.telegram.org/api/privacy.md) for more info."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<long>` | Ja | Full list of user IDs of close friends, see [here](https://core.telegram.org/api/privacy.md) for more info. |"}, "x-browser-schema-id": "3127313904"}}, "/catalog/contacts.setBlocked": {"post": {"operationId": "contacts.setBlocked", "tags": ["Contacts"], "summary": "Replace the contents of an entire blocklist, see here for more info ».", "description": "Replace the contents of an entire [blocklist, see here for more info »](https://core.telegram.org/api/block.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Blockierte Benutzer](https://core.telegram.org/api/block.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "contacts.setBlocked", "x-tl-id": "2496027766", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Blocked users", "https://core.telegram.org/api/block.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.setBlocked"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to edit the story blocklist; if not set, will edit the main blocklist. See [here »](https://core.telegram.org/api/block.md) for differences between the two."}, "id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Full content of the blocklist."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | Nein | Whether to edit the story blocklist; if not set, will edit the main blocklist. See [here »](https://core.telegram.org/api/block.md) for differences between the two. |\n| `id` | `Vector<InputPeer>` | Ja | Full content of the blocklist. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "2496027766"}}, "/catalog/contacts.getBirthdays": {"post": {"operationId": "contacts.getBirthdays", "tags": ["Contacts"], "summary": "Fetch all users with birthdays that fall within +1/-1 days, relative to the current day: this method should be invoked by clients every 6-8 hours, and if the result is non-empty, it should be used to appropriately update locally cached birthday information in user.`birthday`.", "description": "Fetch all users with birthdays that fall within +1/-1 days, relative to the current day: this method should be invoked by clients every 6-8 hours, and if the result is non-empty, it should be used to appropriately update locally cached birthday information in [user](https://core.telegram.org/constructor/user.md).`birthday`.\n\n[See here »](https://core.telegram.org/api/profile.md#birthday) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "contacts.getBirthdays", "x-tl-id": "3673008228", "x-tl-result": "contacts.ContactBirthdays", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `contacts.ContactBirthdays`.\n\n[contacts.ContactBirthdays](https://core.telegram.org/type/contacts.ContactBirthdays.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "contacts.ContactBirthdays", "oneOf": [{"$ref": "#/components/schemas/contacts.contactBirthdays"}], "description": "Type TL: contacts.ContactBirthdays."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.getBirthdays"}, "x-browser-schema-id": "3673008228"}}, "/catalog/contacts.getSponsoredPeers": {"post": {"operationId": "contacts.getSponsoredPeers", "tags": ["Contacts"], "summary": "Obtain a list of sponsored peer search results for a given query", "description": "Obtain a list of sponsored peer search results for a given query\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "contacts.getSponsoredPeers", "x-tl-id": "3066610579", "x-tl-result": "contacts.SponsoredPeers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `contacts.SponsoredPeers`.\n\n[contacts.SponsoredPeers](https://core.telegram.org/type/contacts.SponsoredPeers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "contacts.SponsoredPeers", "oneOf": [{"$ref": "#/components/schemas/contacts.sponsoredPeersEmpty"}, {"$ref": "#/components/schemas/contacts.sponsoredPeers"}], "description": "TL type: contacts.SponsoredPeers."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SEARCH_QUERY_EMPTY` – Die Suchanfrage ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.getSponsoredPeers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"q": {"type": "string", "x-tl-type": "string", "description": "The query"}}, "additionalProperties": false, "required": ["q"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `q` | `string` | Ja | The query |"}, "x-telegram-rpc-errors": ["SEARCH_QUERY_EMPTY"], "x-browser-schema-id": "3066610579"}}, "/catalog/contacts.updateContactNote": {"post": {"operationId": "contacts.updateContactNote", "tags": ["Contacts"], "summary": "Update the private note associated to a contact; see here » for more info.", "description": "Update the private note associated to a contact; see [here »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kontaktliste](https://core.telegram.org/api/contacts.md)", "x-tl-method": "contacts.updateContactNote", "x-tl-id": "329212923", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Contact list", "https://core.telegram.org/api/contacts.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CONTACT_ID_INVALID` – Die angegebene Kontakt-ID ist ungültig.\n- 400 · `CONTACT_MISSING` – Der angegebene Benutzer ist kein Kontakt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/contacts.updateContactNote"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The contact."}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "The note."}}, "additionalProperties": false, "required": ["id", "note"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | Ja | The contact. |\n| `note` | `TextWithEntities` | Ja | The note. |"}, "x-telegram-rpc-errors": ["CONTACT_ID_INVALID", "CONTACT_MISSING"], "x-browser-schema-id": "329212923"}}, "/catalog/contacts.exportNoPaidMessagesToken": {"post": {"operationId": "contacts.exportNoPaidMessagesToken", "tags": ["Contacts"], "summary": "contacts.exportNoPaidMessagesToken", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "contacts.exportNoPaidMessagesToken", "x-tl-id": "2210760366", "x-tl-result": "ExportedNoPaidMessagesToken", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `ExportedNoPaidMessagesToken`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedNoPaidMessagesToken", "oneOf": [{"$ref": "#/components/schemas/exportedNoPaidMessagesToken"}], "description": "Тип TL: ExportedNoPaidMessagesToken."}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"revoke": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "temporary": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `revoke` | `true` | Nein | Wert des TL-Typs `true`. |\n| `temporary` | `true` | Nein | Wert des TL-Typs `true`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2210760366"}}, "/catalog/contacts.importNoPaidMessagesToken": {"post": {"operationId": "contacts.importNoPaidMessagesToken", "tags": ["Contacts"], "summary": "contacts.importNoPaidMessagesToken", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "contacts.importNoPaidMessagesToken", "x-tl-id": "900187850", "x-tl-result": "User", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `User`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "token": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["user_id", "token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | TL Type: InputUser. |\n| `token` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "900187850"}}, "/catalog/messages.getMessages": {"post": {"operationId": "messages.getMessages", "tags": ["Nachrichten"], "summary": "Returns the list of messages by their IDs.", "description": "Returns the list of messages by their IDs.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "messages.getMessages", "x-tl-id": "1673946374", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputMessage", "oneOf": [{"$ref": "#/components/schemas/inputMessageID"}, {"$ref": "#/components/schemas/inputMessageReplyTo"}, {"$ref": "#/components/schemas/inputMessagePinned"}, {"$ref": "#/components/schemas/inputMessageCallbackQuery"}], "description": "TL Type: InputMessage."}, "x-tl-type": "Vector<InputMessage>", "description": "Message ID list"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputMessage>` | Ja | Message ID list |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "MSG_ID_INVALID"], "x-browser-schema-id": "1673946374"}}, "/catalog/messages.getDialogs": {"post": {"operationId": "messages.getDialogs", "tags": ["Nachrichten"], "summary": "Get list of dialogs", "description": "Returns the current account's dialog page. The selection can be limited to a folder.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getDialogs", "x-tl-id": "2700397391", "x-tl-result": "messages.Dialogs", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.Dialogs`.\n\n[messages.Dialogs](https://core.telegram.org/type/messages.Dialogs.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Dialogs", "oneOf": [{"$ref": "#/components/schemas/messages.dialogs"}, {"$ref": "#/components/schemas/messages.dialogsSlice"}, {"$ref": "#/components/schemas/messages.dialogsNotModified"}], "description": "Type TL: messages.Dialogs."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `FOLDER_ID_INVALID` – Ungültige Ordner-ID.\n- 400 · `OFFSET_PEER_ID_INVALID` – Der angegebene Offset-Peer ist ungültig.\n- 400 · `PINNED_DIALOGS_TOO_MUCH` – Zu viele angeheftete Dialoge.\n- 400 · `TAKEOUT_INVALID` – Die angegebene Takeout-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getDialogs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"exclude_pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Skip pinned conversations."}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Dialogue folder identifier."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum der Nachricht, um zur nächsten Seite zu wechseln, in Unix-Sekunden."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Message ID for list offset."}, "offset_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat regarding which the issuance continues."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The maximum number of dialogs returned."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Ein Hash zuvor empfangener Ergebnisse zur Überprüfung auf Änderungen.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset_date", "offset_id", "offset_peer", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `exclude_pinned` | `true` | Nein | Skip pinned conversations. |\n| `folder_id` | `int` | Nein | Dialogue folder identifier. |\n| `offset_date` | `int` | Ja | Datum der Nachricht, um zur nächsten Seite zu wechseln, in Unix-Sekunden. |\n| `offset_id` | `int` | Ja | Message ID for list offset. |\n| `offset_peer` | `InputPeer` | Ja | The chat regarding which the issuance continues. |\n| `limit` | `int` | Ja | The maximum number of dialogs returned. |\n| `hash` | `long` | Ja | Ein Hash zuvor empfangener Ergebnisse zur Überprüfung auf Änderungen. |"}, "x-telegram-rpc-errors": ["CHAT_NOT_MODIFIED", "CHAT_WRITE_FORBIDDEN", "FOLDER_ID_INVALID", "OFFSET_PEER_ID_INVALID", "PINNED_DIALOGS_TOO_MUCH", "TAKEOUT_INVALID"], "x-browser-schema-id": "2700397391"}}, "/catalog/messages.getHistory": {"post": {"operationId": "messages.getHistory", "tags": ["Nachrichten"], "summary": "Read chat history", "description": "Returns the message page of the selected chat in order from newest to oldest.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "messages.getHistory", "x-tl-id": "1143203525", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `FROZEN_PARTICIPANT_MISSING` – Das aktuelle Konto ist [eingefroren](https://core.telegram.org/api/auth.md#frozen-accounts) und kann nicht auf den angegebenen Peer zugreifen.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `TAKEOUT_INVALID` – Die angegebene Takeout-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Ein Chat, dessen Verlauf Sie lesen müssen."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the message from which the selection begins."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum für den Verlaufsoffset in Unix-Sekunden."}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Zusätzlicher Offset in Nachrichten."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of messages returned."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Return messages with an ID less than the specified one."}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Return messages with an ID greater than the specified one."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Ein Hash zuvor empfangener Ergebnisse zur Überprüfung auf Änderungen.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "offset_id", "offset_date", "add_offset", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Ein Chat, dessen Verlauf Sie lesen müssen. |\n| `offset_id` | `int` | Ja | ID of the message from which the selection begins. |\n| `offset_date` | `int` | Ja | Datum für den Verlaufsoffset in Unix-Sekunden. |\n| `add_offset` | `int` | Ja | Zusätzlicher Offset in Nachrichten. |\n| `limit` | `int` | Ja | Maximum number of messages returned. |\n| `max_id` | `int` | Ja | Return messages with an ID less than the specified one. |\n| `min_id` | `int` | Ja | Return messages with an ID greater than the specified one. |\n| `hash` | `long` | Ja | Ein Hash zuvor empfangener Ergebnisse zur Überprüfung auf Änderungen. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "FROZEN_PARTICIPANT_MISSING", "MSG_ID_INVALID", "PEER_ID_INVALID", "TAKEOUT_INVALID"], "x-browser-schema-id": "1143203525"}}, "/catalog/messages.search": {"post": {"operationId": "messages.search", "tags": ["Nachrichten"], "summary": "Find chat messages", "description": "Searches for messages based on your query and additional conditions, such as author, date, or attachment type.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)\n- [Nachrichtenthreads](https://core.telegram.org/api/threads.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.search", "x-tl-id": "703497338", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Saved messages", "https://core.telegram.org/api/saved-messages.md"], ["Message threads", "https://core.telegram.org/api/threads.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `FROM_PEER_INVALID` – Die angegebene from_id ist ungültig.\n- 400 · `INPUT_FILTER_INVALID` – Der angegebene Filter ist ungültig.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PEER_ID_NOT_SUPPORTED` – Die angegebene Peer-ID wird nicht unterstützt.\n- 400 · `SEARCH_QUERY_EMPTY` – Die Suchanfrage ist leer.\n- 400 · `TAKEOUT_INVALID` – Die angegebene Takeout-ID ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.search"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chatten Sie, um zu suchen."}, "q": {"type": "string", "x-tl-type": "string", "description": "Search query text."}, "from_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The author by whom the sample is limited.", "x-tl-flag": "flags.0?InputPeer"}, "saved_peer_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Search within the [saved message dialog »](https://core.telegram.org/api/saved-messages.md) with this ID.", "x-tl-flag": "flags.2?InputPeer"}, "saved_reaction": {"type": "array", "items": {"type": "object", "x-tl-type": "Reaction", "oneOf": [{"$ref": "#/components/schemas/reactionEmpty"}, {"$ref": "#/components/schemas/reactionEmoji"}, {"$ref": "#/components/schemas/reactionCustomEmoji"}, {"$ref": "#/components/schemas/reactionPaid"}], "description": "TL Type: Reaction."}, "x-tl-type": "Vector<Reaction>", "x-tl-flag": "flags.3?Vector<Reaction>", "description": "You may search for [saved messages tagged »](https://core.telegram.org/api/saved-messages.md#tags) with one or more reactions using this flag."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "ID of the thread's topic or top message."}, "filter": {"type": "object", "x-tl-type": "MessagesFilter", "oneOf": [{"$ref": "#/components/schemas/inputMessagesFilterEmpty"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotoVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterDocument"}, {"$ref": "#/components/schemas/inputMessagesFilterUrl"}, {"$ref": "#/components/schemas/inputMessagesFilterGif"}, {"$ref": "#/components/schemas/inputMessagesFilterVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterMusic"}, {"$ref": "#/components/schemas/inputMessagesFilterChatPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterPhoneCalls"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterMyMentions"}, {"$ref": "#/components/schemas/inputMessagesFilterGeo"}, {"$ref": "#/components/schemas/inputMessagesFilterContacts"}, {"$ref": "#/components/schemas/inputMessagesFilterPinned"}, {"$ref": "#/components/schemas/inputMessagesFilterPoll"}], "description": "Filter by type of message or attachment."}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Lower bound for message date in Unix seconds."}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Upper limit of the message date in Unix seconds."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Only return messages starting from the specified message ID"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Additional offset](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results per issue."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Maximum message ID to return](https://core.telegram.org/api/offsets.md)"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Minimum message ID to return](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "q", "filter", "min_date", "max_date", "offset_id", "add_offset", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Chatten Sie, um zu suchen. |\n| `q` | `string` | Ja | Search query text. |\n| `from_id` | `InputPeer` | Nein | The author by whom the sample is limited. |\n| `saved_peer_id` | `InputPeer` | Nein | Search within the [saved message dialog »](https://core.telegram.org/api/saved-messages.md) with this ID. |\n| `saved_reaction` | `Vector<Reaction>` | Nein | You may search for [saved messages tagged »](https://core.telegram.org/api/saved-messages.md#tags) with one or more reactions using this flag. |\n| `top_msg_id` | `int` | Nein | ID of the thread's topic or top message. |\n| `filter` | `MessagesFilter` | Ja | Filter by type of message or attachment. |\n| `min_date` | `int` | Ja | Lower bound for message date in Unix seconds. |\n| `max_date` | `int` | Ja | Upper limit of the message date in Unix seconds. |\n| `offset_id` | `int` | Ja | Only return messages starting from the specified message ID |\n| `add_offset` | `int` | Ja | [Additional offset](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results per issue. |\n| `max_id` | `int` | Ja | [Maximum message ID to return](https://core.telegram.org/api/offsets.md) |\n| `min_id` | `int` | Ja | [Minimum message ID to return](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Ja | [Hash](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "FROM_PEER_INVALID", "INPUT_FILTER_INVALID", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID", "PEER_ID_NOT_SUPPORTED", "SEARCH_QUERY_EMPTY", "TAKEOUT_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "703497338"}}, "/catalog/messages.readHistory": {"post": {"operationId": "messages.readHistory", "tags": ["Nachrichten"], "summary": "Marks message history as read.", "description": "Marks message history as read.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.readHistory", "x-tl-id": "238054714", "x-tl-result": "messages.AffectedMessages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `messages.AffectedMessages`.\n\n[messages.AffectedMessages](https://core.telegram.org/type/messages.AffectedMessages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedMessages", "oneOf": [{"$ref": "#/components/schemas/messages.affectedMessages"}], "description": "TL type: messages.AffectedMessages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.readHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Target user or group"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value is passed, only messages with identifiers less than or equal to the given one will be read"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Target user or group |\n| `max_id` | `int` | Ja | If a positive value is passed, only messages with identifiers less than or equal to the given one will be read |"}, "x-telegram-rpc-errors": ["BUSINESS_CONNECTION_INVALID", "CHANNEL_PRIVATE", "CHAT_ID_INVALID", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "238054714"}}, "/catalog/messages.deleteHistory": {"post": {"operationId": "messages.deleteHistory", "tags": ["Nachrichten"], "summary": "Löscht den Kommunikationsverlauf.", "description": "Löscht den Kommunikationsverlauf.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.deleteHistory", "x-tl-id": "2962199082", "x-tl-result": "messages.AffectedHistory", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `messages.AffectedHistory`.\n\n[messages.AffectedHistory](https://core.telegram.org/type/messages.AffectedHistory.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedHistory", "oneOf": [{"$ref": "#/components/schemas/messages.affectedHistory"}], "description": "Type TL: messages.AffectedHistory."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_REVOKE_DATE_UNSUPPORTED` – `min_date` und `max_date` sind nicht für die Verwendung mit Nicht-Benutzer-Peers verfügbar.\n- 400 · `MAX_DATE_INVALID` – Das angegebene maximale Datum ist ungültig.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MIN_DATE_INVALID` – Das angegebene Mindestdatum ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"just_clear": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Just clear history for the current user, without actually removing messages for every chat user"}, "revoke": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to delete the message history for all chat participants"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "User or chat, communication history of which will be deleted"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum ID of message to delete"}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "Delete all messages newer than this UNIX timestamp"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int", "description": "Delete all messages older than this UNIX timestamp"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `just_clear` | `true` | Nein | Just clear history for the current user, without actually removing messages for every chat user |\n| `revoke` | `true` | Nein | Whether to delete the message history for all chat participants |\n| `peer` | `InputPeer` | Ja | User or chat, communication history of which will be deleted |\n| `max_id` | `int` | Ja | Maximum ID of message to delete |\n| `min_date` | `int` | Nein | Delete all messages newer than this UNIX timestamp |\n| `max_date` | `int` | Nein | Delete all messages older than this UNIX timestamp |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_REVOKE_DATE_UNSUPPORTED", "MAX_DATE_INVALID", "MESSAGE_ID_INVALID", "MIN_DATE_INVALID", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "2962199082"}}, "/catalog/messages.deleteMessages": {"post": {"operationId": "messages.deleteMessages", "tags": ["Nachrichten"], "summary": "Löscht Nachrichten anhand ihrer Bezeichner.", "description": "Löscht Nachrichten anhand ihrer Bezeichner.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.deleteMessages", "x-tl-id": "3851326930", "x-tl-result": "messages.AffectedMessages", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `messages.AffectedMessages`.\n\n[messages.AffectedMessages](https://core.telegram.org/type/messages.AffectedMessages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedMessages", "oneOf": [{"$ref": "#/components/schemas/messages.affectedMessages"}], "description": "TL type: messages.AffectedMessages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `BOT_ACCESS_FORBIDDEN` – Die angegebene Methode *kann* für einige Vorgänge über eine [Geschäftsverbindung](https://core.telegram.org/api/bots/connected-business-bots.md)] verwendet werden, aber die angegebene Abfrage hat einen Vorgang versucht, der über eine Geschäftsverbindung nicht zulässig ist.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 403 · `MESSAGE_DELETE_FORBIDDEN` – Sie können eine der Nachrichten, die Sie löschen wollten, nicht löschen, wahrscheinlich weil es sich um eine Dienstnachricht handelt.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `SELF_DELETE_RESTRICTED` – Business-Bots können keine Nachrichten nur für den Benutzer löschen, `revoke` **muss** festgelegt werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"revoke": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to delete messages for all participants of the chat"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Message ID list"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `revoke` | `true` | Nein | Whether to delete messages for all participants of the chat |\n| `id` | `Vector<int>` | Ja | Message ID list |"}, "x-telegram-rpc-errors": ["BOT_ACCESS_FORBIDDEN", "BUSINESS_CONNECTION_INVALID", "MESSAGE_DELETE_FORBIDDEN", "MESSAGE_ID_INVALID", "SELF_DELETE_RESTRICTED"], "x-browser-schema-id": "3851326930"}}, "/catalog/messages.receivedMessages": {"post": {"operationId": "messages.receivedMessages", "tags": ["Nachrichten"], "summary": "Confirms receipt of messages by a client, cancels PUSH-notification sending.", "description": "Confirms receipt of messages by a client, cancels PUSH-notification sending.", "x-tl-method": "messages.receivedMessages", "x-tl-id": "94983360", "x-tl-result": "Vector<ReceivedNotifyMessage>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<ReceivedNotifyMessage>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[ReceivedNotifyMessage](https://core.telegram.org/type/ReceivedNotifyMessage.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "ReceivedNotifyMessage", "oneOf": [{"$ref": "#/components/schemas/receivedNotifyMessage"}], "description": "TL Type: ReceivedNotifyMessage."}, "x-tl-type": "Vector<ReceivedNotifyMessage>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.receivedMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum message ID available in a client."}}, "additionalProperties": false, "required": ["max_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `max_id` | `int` | Ja | Maximum message ID available in a client. |"}, "x-browser-schema-id": "94983360"}}, "/catalog/messages.setTyping": {"post": {"operationId": "messages.setTyping", "tags": ["Nachrichten"], "summary": "Sends a current user typing event (see SendMessageAction for all event types) to a conversation partner or group.", "description": "Sends a current user typing event (see [SendMessageAction](https://core.telegram.org/type/SendMessageAction.md) for all event types) to a conversation partner or group.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenthreads](https://core.telegram.org/api/threads.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.setTyping", "x-tl-id": "1486110434", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Message threads", "https://core.telegram.org/api/threads.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `BUSINESS_PEER_INVALID` – Nachrichten können über die aktuelle [Geschäftsverbindung](https://core.telegram.org/api/business.md#connected-bots)] nicht an den angegebenen Peer gesendet werden.\n- 400 · `BUSINESS_PEER_USAGE_MISSING` – Sie können einem Benutzer keine Nachricht über eine [Geschäftsverbindung](https://core.telegram.org/api/business.md#connected-bots)] senden, wenn der Benutzer uns nicht kürzlich kontaktiert hat.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MESSAGE_TOO_LONG` – Die bereitgestellte Nachricht ist zu lang.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 406 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `TEXTDRAFT_PEER_INVALID` – sendMessageTextDraftAction kann nur in privaten 1-zu-1-Chats verwendet werden.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 403 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert.\n- 400 · `USER_IS_BOT` – Bots können keine Nachrichten an andere Bots senden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setTyping"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Target user or group"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "[Topic ID](https://core.telegram.org/api/threads.md)"}, "action": {"type": "object", "x-tl-type": "SendMessageAction", "oneOf": [{"$ref": "#/components/schemas/sendMessageTypingAction"}, {"$ref": "#/components/schemas/sendMessageCancelAction"}, {"$ref": "#/components/schemas/sendMessageRecordVideoAction"}, {"$ref": "#/components/schemas/sendMessageUploadVideoAction"}, {"$ref": "#/components/schemas/sendMessageRecordAudioAction"}, {"$ref": "#/components/schemas/sendMessageUploadAudioAction"}, {"$ref": "#/components/schemas/sendMessageUploadPhotoAction"}, {"$ref": "#/components/schemas/sendMessageUploadDocumentAction"}, {"$ref": "#/components/schemas/sendMessageGeoLocationAction"}, {"$ref": "#/components/schemas/sendMessageChooseContactAction"}, {"$ref": "#/components/schemas/sendMessageGamePlayAction"}, {"$ref": "#/components/schemas/sendMessageRecordRoundAction"}, {"$ref": "#/components/schemas/sendMessageUploadRoundAction"}, {"$ref": "#/components/schemas/speakingInGroupCallAction"}, {"$ref": "#/components/schemas/sendMessageHistoryImportAction"}, {"$ref": "#/components/schemas/sendMessageChooseStickerAction"}, {"$ref": "#/components/schemas/sendMessageEmojiInteraction"}, {"$ref": "#/components/schemas/sendMessageEmojiInteractionSeen"}, {"$ref": "#/components/schemas/sendMessageTextDraftAction"}, {"$ref": "#/components/schemas/inputSendMessageRichMessageDraftAction"}, {"$ref": "#/components/schemas/sendMessageRichMessageDraftAction"}, {"$ref": "#/components/schemas/sendMessageStopDraftAction"}], "description": "Type of action"}}, "additionalProperties": false, "required": ["peer", "action"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Target user or group |\n| `top_msg_id` | `int` | Nein | [Topic ID](https://core.telegram.org/api/threads.md) |\n| `action` | `SendMessageAction` | Ja | Type of action |"}, "x-telegram-rpc-errors": ["BUSINESS_CONNECTION_INVALID", "BUSINESS_PEER_INVALID", "BUSINESS_PEER_USAGE_MISSING", "CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_WRITE_FORBIDDEN", "GROUPCALL_FORBIDDEN", "INPUT_USER_DEACTIVATED", "MESSAGE_TOO_LONG", "MSG_ID_INVALID", "PEER_ID_INVALID", "TEXTDRAFT_PEER_INVALID", "USER_BANNED_IN_CHANNEL", "USER_IS_BLOCKED", "USER_IS_BOT"], "x-browser-schema-id": "1486110434"}}, "/catalog/messages.sendMessage": {"post": {"operationId": "messages.sendMessage", "tags": ["Nachrichten"], "summary": "Send a text message", "description": "Sends a text to the selected chat. If successful, Telegram returns the updates.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Aufkleber und Masken](https://core.telegram.org/api/stickers.md)\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Geplante Nachrichten](https://core.telegram.org/api/scheduled-messages.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)\n- [Animierte Nachrichteneffekte](https://core.telegram.org/api/effects.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Vorgeschlagene Beiträge](https://core.telegram.org/api/suggested-posts.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Diskussionsgruppen](https://core.telegram.org/api/discussion.md)\n- [Fehlerbehandlung](https://core.telegram.org/api/errors.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)", "x-tl-method": "messages.sendMessage", "x-tl-id": "4277440354", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Stickers and masks", "https://core.telegram.org/api/stickers.md"], ["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["Scheduled messages", "https://core.telegram.org/api/scheduled-messages.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"], ["Animated message effects", "https://core.telegram.org/api/effects.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Suggested posts", "https://core.telegram.org/api/suggested-posts.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Discussion groups", "https://core.telegram.org/api/discussion.md"], ["Error handling ", "https://core.telegram.org/api/errors.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Client configuration", "https://core.telegram.org/api/config.md"], ["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ADMIN_RIGHTS_EMPTY` – Für den in keyboardButtonRequestPeer.peer_type.user_admin_rights übergebenen chatAdminRights-Konstruktor sind keine Rechte festgelegt (i.e. Flags ist 0).\n- 406 · `ALLOW_PAYMENT_REQUIRED` – Dieser Peer akzeptiert nur [kostenpflichtige Nachrichten »](https://core.telegram.org/api/paid-messages.md): Dieser Fehler wird nur für ältere Ebenen ohne Unterstützung für kostenpflichtige Nachrichten ausgegeben, daher muss der Client aktualisiert werden, um kostenpflichtige Nachrichten verwenden zu können.  .\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` – Dieser Peer berechnet %d [Telegram Stars](https://core.telegram.org/api/stars.md) pro Nachricht, aber `allow_paid_stars` wurde nicht festgelegt oder sein Wert ist kleiner als %d.\n- 400 · `BALANCE_TOO_LOW` – Die Transaktion kann nicht abgeschlossen werden, da das aktuelle [Telegram Stars-Guthaben](https://core.telegram.org/api/stars.md) zu niedrig ist.\n- 400 · `BOT_DOMAIN_INVALID` – Bot-Domäne ungültig.\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `BUSINESS_PEER_INVALID` – Nachrichten können über die aktuelle [Geschäftsverbindung](https://core.telegram.org/api/business.md#connected-bots)] nicht an den angegebenen Peer gesendet werden.\n- 400 · `BUSINESS_PEER_USAGE_MISSING` – Sie können einem Benutzer keine Nachricht über eine [Geschäftsverbindung](https://core.telegram.org/api/business.md#connected-bots)] senden, wenn der Benutzer uns nicht kürzlich kontaktiert hat.\n- 400 · `BUTTON_COPY_TEXT_INVALID` – Die angegebene [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy.md).`copy_text` ist ungültig.\n- 400 · `BUTTON_DATA_INVALID` – Die Daten einer oder mehrerer der von Ihnen angegebenen Schaltflächen sind ungültig.\n- 400 · `BUTTON_ID_INVALID` – Die angegebene Schaltflächen-ID ist ungültig.\n- 400 · `BUTTON_TYPE_INVALID` – Der Typ einer oder mehrerer der von Ihnen angegebenen Schaltflächen ist ungültig.\n- 400 · `BUTTON_URL_INVALID` – Schaltfläche URL ungültig.\n- 400 · `BUTTON_USER_INVALID` – Die an inputKeyboardButtonUserProfile übergebene `user_id` ist ungültig!\n- 400 · `BUTTON_USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellung des Benutzers, der in einer Schaltfläche [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile.md)] angegeben ist, lässt das Erstellen einer solchen Schaltfläche nicht zu.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_FORWARDS_RESTRICTED` – Sie können keine Nachrichten aus einem geschützten Chat weiterleiten.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` – Sie treten der Diskussionsgruppe bei, bevor Sie einen Kommentar abgeben. Weitere Informationen finden Sie [hier »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group).\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_RESTRICTED` — Sie können in diesem Chat keine Nachrichten senden, da Sie eingeschränkt waren.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — Sie können in diesem Chat keine nicht-medialen (Text-)Nachrichten senden.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 400 · `EFFECT_CHAT_INVALID` – Nachricht [Effekte](https://core.telegram.org/api/effects.md) kann nur in privaten 1-zu-1-Chats verwendet werden, aber der Anrufer hat versucht, eine Nachricht mit einem Effekt an eine Gruppe oder einen Kanal zu senden.\n- 400 · `ENCRYPTION_DECLINED` — Der geheime Chat wurde abgelehnt.\n- 400 · `ENTITIES_TOO_LONG` – Sie haben zu viele gestaltete Nachrichtenentitäten bereitgestellt.\n- 400 · `ENTITY_BOUNDS_INVALID` – Ein angegebener [Entitätsversatz oder eine angegebene Entitätslänge](https://core.telegram.org/api/entities.md#entity-length) ist ungültig, siehe [hier »](https://core.telegram.org/api/entities.md#entity-length) für Informationen zur richtigen Berechnung des Entitätsversatzes/der Entitätslänge.\n- 400 · `ENTITY_DATE_FORMAT_INVALID` – Eines der übergebenen messageEntityFormattedDate-Objekte hat ein ungültiges Format (i.e. eine ungültige Kombination der Format-Flags).\n- 400 · `ENTITY_DATE_INVALID` – Eines der übergebenen messageEntityFormattedDate-Objekte hat ein ungültiges Datum: Der zulässige Wert reicht von `0` bis zum aktuellen Datum plus 1098 Tage (`time()+1098*86400`).\n- 400 · `ENTITY_DATE_TOO_LONG` – Die maximale Textspanne, die von einer Datumsentität abgedeckt werden kann, beträgt 31 UTF-16 Codeeinheiten, wenn eines der Datumsformatierungsflags gesetzt ist, oder 127 UTF-16 Codeeinheiten ohne.  .\n- 400 · `ENTITY_MENTION_USER_INVALID` – Sie haben einen ungültigen Benutzer erwähnt.\n- 400 · `FROM_MESSAGE_BOT_DISABLED` – Bots können keine fromMessage-Min-Konstruktoren verwenden.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MESSAGE_EMPTY` – Die bereitgestellte Nachricht ist leer.\n- 400 · `MESSAGE_TOO_LONG` – Die bereitgestellte Nachricht ist zu lang.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 500 · `MSG_WAIT_FAILED` – Ein wartender Anruf hat einen Fehler zurückgegeben.\n- 406 · `PAYMENT_UNSUPPORTED` – Eine detaillierte Beschreibung des Fehlers erhalten Sie separat wie beschrieben [hier »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 404 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PEER_TYPES_INVALID` – Das übergebene Feld [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline.md).`peer_types` ist ungültig.\n- 400 · `PINNED_DIALOGS_TOO_MUCH` – Zu viele angeheftete Dialoge.\n- 400 · `POLL_OPTION_INVALID` – Ungültige Umfrageoption bereitgestellt.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action.\n- 406 · `PRIVACY_PREMIUM_REQUIRED` — You need a [Telegram Premium subscription](https://core.telegram.org/api/premium.md) to send a message to this user.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` – [Schnellantworten](https://core.telegram.org/api/business.md#quick-reply-shortcuts) können nicht von Bots verwendet werden.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Es können maximal [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) Verknüpfungen erstellt werden, das Limit wurde erreicht.\n- 400 · `QUOTE_TEXT_INVALID` – Das angegebene Feld `reply_to`.`quote_text` ist ungültig.\n- 500 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde.\n- 400 · `RANDOM_ID_EMPTY` – Zufällige ID leer.\n- 400 · `REPLY_MARKUP_INVALID` – Das bereitgestellte Antwort-Markup ist ungültig.\n- 400 · `REPLY_MARKUP_TOO_LONG` – Die angegebene reply_markup ist zu lang.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` – Jede Verknüpfung kann maximal [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) Nachrichten enthalten, das Limit wurde erreicht.\n- 400 · `REPLY_MESSAGE_ID_INVALID` – Die angegebene ID der Antwortnachricht ist ungültig.\n- 400 · `REPLY_TO_INVALID` – Das angegebene `reply_to`-Feld ist ungültig.\n- 400 · `REPLY_TO_MONOFORUM_PEER_INVALID` – Die angegebene inputReplyToMonoForum.monoforum_peer_id ist ungültig.\n- 400 · `REPLY_TO_USER_INVALID` – Der Benutzer, dem geantwortet wurde, ist ungültig.\n- 400 · `SCHEDULE_BOT_NOT_ALLOWED` – Bots können keine Nachrichten planen.\n- 400 · `SCHEDULE_DATE_TOO_LATE` – Sie können keine Nachricht so weit in der Zukunft planen.\n- 400 · `SCHEDULE_STATUS_PRIVATE` – Die Planung kann erst erfolgen, wenn der Benutzer online ist, wenn der Zeitstempel des zuletzt gesehenen Benutzers durch seine Datenschutzeinstellungen ausgeblendet ist.\n- 400 · `SCHEDULE_TOO_MUCH` – Es sind zu viele geplante Nachrichten vorhanden.\n- 400 · `SEND_AS_PEER_INVALID` – Sie können als angegebener Peer keine Nachrichten senden.\n- 420 · `SLOWMODE_WAIT_%d` — Slowmode ist in diesem Chat aktiviert: Warten Sie %d Sekunden, bevor Sie eine weitere Nachricht an diesen Chat senden.\n- 400 · `STORIES_NEVER_CREATED` — Dieser Peer hat noch nie Geschichten gepostet.\n- 400 · `STORY_ID_INVALID` – Die angegebene Story-ID ist ungültig.\n- 400 · `SUGGESTED_POST_AMOUNT_INVALID` — Der angegebene Preis für den vorgeschlagenen Beitrag ist ungültig.\n- 400 · `SUGGESTED_POST_PEER_INVALID` – Sie können keine vorgeschlagenen Beiträge an Nicht-[monoforum](https://core.telegram.org/api/monoforum.md)-Kollegen] senden.\n- 406 · `TOPIC_CLOSED` — This topic was closed, you can't send messages to it anymore.\n- 406 · `TOPIC_DELETED` — The specified topic was deleted.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `USER_BOT_TO_BOT_DISABLED` – Bot-zu-Bot-Nachrichten sind deaktiviert, weil einer der beiden Bots die Bot-zu-Bot-Einstellung in @BotFather nicht aktiviert hat.\n- 403 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert.\n- 400 · `USER_IS_BOT` – Bots können keine Nachrichten an andere Bots senden.\n- 400 · `WC_CONVERT_URL_INVALID` – WC-Konvertierung URL ungültig.\n- 400 · `YOU_BLOCKED_USER` — Sie haben diesen Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"no_webpage": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Disable link previews."}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Send without sound notification."}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Send this message as background message"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Clear the draft field"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn't have [content protection](https://telegram.org/blog/content-protection-delete-by-date-and-more) enabled"}, "update_stickersets_order": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true", "description": "Whether to move used stickersets to top, [see here for more info on this flag »](https://core.telegram.org/api/stickers.md#recent-stickersets)"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "If set, any eventual webpage preview will be shown on top of the message instead of at the bottom."}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Nur Bots: Wenn festgelegt, ist das Senden von bis zu 1000 Nachrichten pro Sekunde möglich, wobei [Sendebeschränkungen](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once)] gegen eine Gebühr von 0,1 Telegram Stars pro Nachricht ignoriert werden. Die entsprechenden Sterne werden vom Guthaben des Bots abgezogen."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Destination chat."}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "The message or topic to which a reply is sent.", "x-tl-flag": "flags.0?InputReplyTo"}, "message": {"type": "string", "x-tl-type": "string", "description": "Message text."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique submission identifier to protect against replays.", "x-tl-type": "long"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "oneOf": [{"$ref": "#/components/schemas/replyKeyboardHide"}, {"$ref": "#/components/schemas/replyKeyboardForceReply"}, {"$ref": "#/components/schemas/replyKeyboardMarkup"}, {"$ref": "#/components/schemas/replyInlineMarkup"}], "description": "Reply markup for sending bot buttons", "x-tl-flag": "flags.2?ReplyMarkup"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Message [entities](https://core.telegram.org/api/entities.md) for sending styled text"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Scheduled message date for [scheduled messages](https://core.telegram.org/api/scheduled-messages.md)"}, "schedule_repeat_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.24?int", "description": "Once sent, this message will be automatically re-scheduled to be re-sent again this many seconds in the future, see [here »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) for more info on repeating scheduled messages."}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Send this message as the specified peer", "x-tl-flag": "flags.13?InputPeer"}, "quick_reply_shortcut": {"type": "object", "x-tl-type": "InputQuickReplyShortcut", "oneOf": [{"$ref": "#/components/schemas/inputQuickReplyShortcut"}, {"$ref": "#/components/schemas/inputQuickReplyShortcutId"}], "description": "Add the message to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Used to [suggest a post to a channel, see here »](https://core.telegram.org/api/suggested-posts.md) for more info on the full flow.", "x-tl-flag": "flags.22?SuggestedPost"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage.", "x-tl-flag": "flags.23?InputRichMessage"}}, "additionalProperties": false, "required": ["peer", "message", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | Nein | Disable link previews. |\n| `silent` | `true` | Nein | Send without sound notification. |\n| `background` | `true` | Nein | Send this message as background message |\n| `clear_draft` | `true` | Nein | Clear the draft field |\n| `noforwards` | `true` | Nein | Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn't have [content protection](https://telegram.org/blog/content-protection-delete-by-date-and-more) enabled |\n| `update_stickersets_order` | `true` | Nein | Whether to move used stickersets to top, [see here for more info on this flag »](https://core.telegram.org/api/stickers.md#recent-stickersets) |\n| `invert_media` | `true` | Nein | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |\n| `allow_paid_floodskip` | `true` | Nein | Nur Bots: Wenn festgelegt, ist das Senden von bis zu 1000 Nachrichten pro Sekunde möglich, wobei [Sendebeschränkungen](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once)] gegen eine Gebühr von 0,1 Telegram Stars pro Nachricht ignoriert werden. Die entsprechenden Sterne werden vom Guthaben des Bots abgezogen. |\n| `peer` | `InputPeer` | Ja | Destination chat. |\n| `reply_to` | `InputReplyTo` | Nein | The message or topic to which a reply is sent. |\n| `message` | `string` | Ja | Message text. |\n| `random_id` | `long` | Ja | Unique submission identifier to protect against replays. |\n| `reply_markup` | `ReplyMarkup` | Nein | Reply markup for sending bot buttons |\n| `entities` | `Vector<MessageEntity>` | Nein | Message [entities](https://core.telegram.org/api/entities.md) for sending styled text |\n| `schedule_date` | `int` | Nein | Scheduled message date for [scheduled messages](https://core.telegram.org/api/scheduled-messages.md) |\n| `schedule_repeat_period` | `int` | Nein | Once sent, this message will be automatically re-scheduled to be re-sent again this many seconds in the future, see [here »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) for more info on repeating scheduled messages. |\n| `send_as` | `InputPeer` | Nein | Send this message as the specified peer |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Nein | Add the message to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead. |\n| `effect` | `long` | Nein | Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message. |\n| `allow_paid_stars` | `long` | Nein | For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message. |\n| `suggested_post` | `SuggestedPost` | Nein | Used to [suggest a post to a channel, see here »](https://core.telegram.org/api/suggested-posts.md) for more info on the full flow. |\n| `rich_message` | `InputRichMessage` | Nein | Тип TL: InputRichMessage. |"}, "x-telegram-rpc-errors": ["ADMIN_RIGHTS_EMPTY", "ALLOW_PAYMENT_REQUIRED", "ALLOW_PAYMENT_REQUIRED_%d", "BALANCE_TOO_LOW", "BOT_DOMAIN_INVALID", "BOT_INVALID", "BUSINESS_CONNECTION_INVALID", "BUSINESS_PEER_INVALID", "BUSINESS_PEER_USAGE_MISSING", "BUTTON_COPY_TEXT_INVALID", "BUTTON_DATA_INVALID", "BUTTON_ID_INVALID", "BUTTON_TYPE_INVALID", "BUTTON_URL_INVALID", "BUTTON_USER_INVALID", "BUTTON_USER_PRIVACY_RESTRICTED", "CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_FORWARDS_RESTRICTED", "CHAT_GUEST_SEND_FORBIDDEN", "CHAT_ID_INVALID", "CHAT_RESTRICTED", "CHAT_SEND_PLAIN_FORBIDDEN", "CHAT_WRITE_FORBIDDEN", "DOCUMENT_INVALID", "EFFECT_CHAT_INVALID", "ENCRYPTION_DECLINED", "ENTITIES_TOO_LONG", "ENTITY_BOUNDS_INVALID", "ENTITY_DATE_FORMAT_INVALID", "ENTITY_DATE_INVALID", "ENTITY_DATE_TOO_LONG", "ENTITY_MENTION_USER_INVALID", "FROM_MESSAGE_BOT_DISABLED", "INPUT_USER_DEACTIVATED", "MESSAGE_EMPTY", "MESSAGE_TOO_LONG", "MSG_ID_INVALID", "MSG_WAIT_FAILED", "PAYMENT_UNSUPPORTED", "PEER_ID_INVALID", "PEER_TYPES_INVALID", "PINNED_DIALOGS_TOO_MUCH", "POLL_OPTION_INVALID", "PREMIUM_ACCOUNT_REQUIRED", "PRIVACY_PREMIUM_REQUIRED", "QUICK_REPLIES_BOT_NOT_ALLOWED", "QUICK_REPLIES_TOO_MUCH", "QUOTE_TEXT_INVALID", "RANDOM_ID_DUPLICATE", "RANDOM_ID_EMPTY", "REPLY_MARKUP_INVALID", "REPLY_MARKUP_TOO_LONG", "REPLY_MESSAGES_TOO_MUCH", "REPLY_MESSAGE_ID_INVALID", "REPLY_TO_INVALID", "REPLY_TO_MONOFORUM_PEER_INVALID", "REPLY_TO_USER_INVALID", "SCHEDULE_BOT_NOT_ALLOWED", "SCHEDULE_DATE_TOO_LATE", "SCHEDULE_STATUS_PRIVATE", "SCHEDULE_TOO_MUCH", "SEND_AS_PEER_INVALID", "SLOWMODE_WAIT_%d", "STORIES_NEVER_CREATED", "STORY_ID_INVALID", "SUGGESTED_POST_AMOUNT_INVALID", "SUGGESTED_POST_PEER_INVALID", "TOPIC_CLOSED", "TOPIC_DELETED", "USER_BANNED_IN_CHANNEL", "USER_BOT_TO_BOT_DISABLED", "USER_IS_BLOCKED", "USER_IS_BOT", "WC_CONVERT_URL_INVALID", "YOU_BLOCKED_USER"], "x-browser-schema-id": "4277440354"}}, "/catalog/messages.sendMedia": {"post": {"operationId": "messages.sendMedia", "tags": ["Nachrichten"], "summary": "Send a media", "description": "Send a media\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Aufkleber und Masken](https://core.telegram.org/api/stickers.md)\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Geplante Nachrichten](https://core.telegram.org/api/scheduled-messages.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)\n- [Animierte Nachrichteneffekte](https://core.telegram.org/api/effects.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Vorgeschlagene Beiträge](https://core.telegram.org/api/suggested-posts.md)\n- [Diskussionsgruppen](https://core.telegram.org/api/discussion.md)\n- [Dateiverweise](https://core.telegram.org/api/file-references.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Star-Abonnements](https://core.telegram.org/api/subscriptions.md)\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Checklisten und To-Do-Listen](https://core.telegram.org/api/todo.md)", "x-tl-method": "messages.sendMedia", "x-tl-id": "53536639", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Stickers and masks", "https://core.telegram.org/api/stickers.md"], ["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["Scheduled messages", "https://core.telegram.org/api/scheduled-messages.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"], ["Animated message effects", "https://core.telegram.org/api/effects.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Suggested posts", "https://core.telegram.org/api/suggested-posts.md"], ["Discussion groups", "https://core.telegram.org/api/discussion.md"], ["File references", "https://core.telegram.org/api/file-references.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Client configuration", "https://core.telegram.org/api/config.md"], ["Star subscriptions", "https://core.telegram.org/api/subscriptions.md"], ["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Checklists and to-do lists", "https://core.telegram.org/api/todo.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `ALLOW_PAYMENT_REQUIRED` – Dieser Peer akzeptiert nur [kostenpflichtige Nachrichten »](https://core.telegram.org/api/paid-messages.md): Dieser Fehler wird nur für ältere Ebenen ohne Unterstützung für kostenpflichtige Nachrichten ausgegeben, daher muss der Client aktualisiert werden, um kostenpflichtige Nachrichten verwenden zu können.  .\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` – Dieser Peer berechnet %d [Telegram Stars](https://core.telegram.org/api/stars.md) pro Nachricht, aber `allow_paid_stars` wurde nicht festgelegt oder sein Wert ist kleiner als %d.\n- 400 · `BOT_GAMES_DISABLED` – Spiele können nicht an Kanäle gesendet werden.\n- 400 · `BOT_PAYMENTS_DISABLED` – Bitte aktivieren Sie Bot-Zahlungen in Botfather, bevor Sie diese Methode aufrufen.\n- 400 · `BROADCAST_PUBLIC_VOTERS_FORBIDDEN` — Sie können keine Umfragen mit öffentlichen Wählern weiterleiten.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `BUSINESS_PEER_INVALID` – Nachrichten können über die aktuelle [Geschäftsverbindung](https://core.telegram.org/api/business.md#connected-bots)] nicht an den angegebenen Peer gesendet werden.\n- 400 · `BUSINESS_PEER_USAGE_MISSING` – Sie können einem Benutzer keine Nachricht über eine [Geschäftsverbindung](https://core.telegram.org/api/business.md#connected-bots)] senden, wenn der Benutzer uns nicht kürzlich kontaktiert hat.\n- 400 · `BUTTON_COPY_TEXT_INVALID` – Die angegebene [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy.md).`copy_text` ist ungültig.\n- 400 · `BUTTON_DATA_INVALID` – Die Daten einer oder mehrerer der von Ihnen angegebenen Schaltflächen sind ungültig.\n- 400 · `BUTTON_POS_INVALID` – Die Position einer der Tastaturtasten ist ungültig (i.e. Eine Spiel- oder Pay-Taste befindet sich nicht an der ersten Position usw.).\n- 400 · `BUTTON_TYPE_INVALID` – Der Typ einer oder mehrerer der von Ihnen angegebenen Schaltflächen ist ungültig.\n- 400 · `BUTTON_URL_INVALID` – Schaltfläche URL ungültig.\n- 400 · `BUTTON_USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellung des Benutzers, der in einer Schaltfläche [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile.md)] angegeben ist, lässt das Erstellen einer solchen Schaltfläche nicht zu.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_FORWARDS_RESTRICTED` – Sie können keine Nachrichten aus einem geschützten Chat weiterleiten.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` – Sie treten der Diskussionsgruppe bei, bevor Sie einen Kommentar abgeben. Weitere Informationen finden Sie [hier »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group).\n- 400 · `CHAT_RESTRICTED` — Sie können in diesem Chat keine Nachrichten senden, da Sie eingeschränkt waren.\n- 403 · `CHAT_SEND_AUDIOS_FORBIDDEN` — Sie können in diesem Chat keine Audionachrichten senden.\n- 403 · `CHAT_SEND_DOCS_FORBIDDEN` — Sie können in diesem Chat keine Dokumente senden.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — Sie können in diesem Chat keine GIFs senden.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — Sie können in diesem Chat keine Medien senden.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — Sie können in diesem Chat keine Fotos senden.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — Sie können in diesem Chat keine nicht-medialen (Text-)Nachrichten senden.\n- 403 · `CHAT_SEND_POLL_FORBIDDEN` — Sie können in diesem Chat keine Umfragen senden.\n- 403 · `CHAT_SEND_ROUNDVIDEOS_FORBIDDEN` — Sie können keine Rundvideos an diesen Chat senden.\n- 403 · `CHAT_SEND_STICKERS_FORBIDDEN` — Sie können in diesem Chat keine Aufkleber senden.\n- 403 · `CHAT_SEND_VIDEOS_FORBIDDEN` — Sie können in diesem Chat keine Videos senden.\n- 403 · `CHAT_SEND_VOICES_FORBIDDEN` — Sie können in diesem Chat keine Sprachaufzeichnungen senden.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `CURRENCY_TOTAL_AMOUNT_INVALID` — Der Gesamtbetrag aller Preise ist ungültig.\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 400 · `EFFECT_CHAT_INVALID` – Nachricht [Effekte](https://core.telegram.org/api/effects.md) kann nur in privaten 1-zu-1-Chats verwendet werden, aber der Anrufer hat versucht, eine Nachricht mit einem Effekt an eine Gruppe oder einen Kanal zu senden.\n- 400 · `EFFECT_ID_INVALID` – Die angegebene Effekt-ID ist ungültig.\n- 400 · `EMOTICON_INVALID` – Das angegebene Emoji ist ungültig.\n- 400 · `ENTITY_BOUNDS_INVALID` – Ein angegebener [Entitätsversatz oder eine angegebene Entitätslänge](https://core.telegram.org/api/entities.md#entity-length) ist ungültig, siehe [hier »](https://core.telegram.org/api/entities.md#entity-length) für Informationen zur richtigen Berechnung des Entitätsversatzes/der Entitätslänge.\n- 400 · `EXTENDED_MEDIA_AMOUNT_INVALID` – Die angegebene `stars_amount` der übergebenen [inputMediaPaidMedia](https://core.telegram.org/constructor/inputMediaPaidMedia.md) ist ungültig.\n- 400 · `EXTENDED_MEDIA_EMPTY` – Das angegebene erweiterte Medium ist leer.\n- 400 · `EXTENDED_MEDIA_INVALID` – Das angegebene kostenpflichtige Medium ist ungültig.\n- 400 · `EXTENDED_MEDIA_PEER_INVALID` – Bezahlte Medien sind für den Ziel-Peer nicht zulässig.\n- 400 · `EXTERNAL_URL_INVALID` – Extern URL ungültig.\n- 400 · `FILE_PARTS_INVALID` – Die Anzahl der Dateiteile ist ungültig.\n- 400 · `FILE_PART_LENGTH_INVALID` – Die Länge eines Dateiteils ist ungültig.\n- 400 · `FILE_REFERENCE_EMPTY` – Es wurde eine leere [Dateireferenz](https://core.telegram.org/api/file-references.md)] angegeben.\n- 400 · `FILE_REFERENCE_EXPIRED` – Dateireferenz abgelaufen, sie muss wie in [der Dokumentation](https://core.telegram.org/api/file-references.md) beschrieben] erneut abgerufen werden.\n- 400 · `GAME_BOT_INVALID` – Bots können das Spiel eines anderen Bots nicht senden.\n- 400 · `IMAGE_PROCESS_FAILED` – Fehler bei der Bildverarbeitung.\n- 400 · `INPUT_FILE_INVALID` – Die angegebene [InputFile](https://core.telegram.org/type/InputFile.md) ist ungültig.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `INVOICE_PAYLOAD_INVALID` – Die angegebene Rechnungsnutzlast ist ungültig.\n- 400 · `MD5_CHECKSUM_INVALID` – Die MD5 Prüfsummen stimmen nicht überein.\n- 400 · `MEDIA_CAPTION_TOO_LONG` – Die Beschriftung ist zu lang.\n- 400 · `MEDIA_EMPTY` – Das bereitgestellte Medienobjekt ist ungültig.\n- 400 · `MEDIA_FILE_INVALID` – Die angegebene Mediendatei ist ungültig.\n- 400 · `MEDIA_INVALID` – Medien ungültig.\n- 400 · `MESSAGE_EMPTY` – Die bereitgestellte Nachricht ist leer.\n- 400 · `MESSAGE_TOO_LONG` – Die bereitgestellte Nachricht ist zu lang.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PAYMENT_PROVIDER_INVALID` – Der angegebene Zahlungsanbieter ist ungültig.\n- 406 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PHOTO_EXT_INVALID` — Die Erweiterung des Fotos ist ungültig.\n- 400 · `PHOTO_INVALID_DIMENSIONS` – Die Fotoabmessungen sind ungültig.\n- 400 · `PHOTO_SAVE_FILE_INVALID` – Interne Probleme, versuchen Sie es später noch einmal.\n- 400 · `POLL_ANSWERS_INVALID` — Es wurden ungültige Umfrageantworten bereitgestellt.\n- 400 · `POLL_ANSWER_INVALID` – Eine der Umfrageantworten ist nicht akzeptabel.\n- 400 · `POLL_OPTION_DUPLICATE` – Doppelte Umfrageoptionen bereitgestellt.\n- 400 · `POLL_OPTION_INVALID` – Ungültige Umfrageoption bereitgestellt.\n- 400 · `POLL_QUESTION_INVALID` – Eine der Umfragefragen ist nicht akzeptabel.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — You need a [Telegram Premium subscription](https://core.telegram.org/api/premium.md) to send a message to this user.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` – [Schnellantworten](https://core.telegram.org/api/business.md#quick-reply-shortcuts) können nicht von Bots verwendet werden.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Es können maximal [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) Verknüpfungen erstellt werden, das Limit wurde erreicht.\n- 400 · `QUIZ_CORRECT_ANSWERS_EMPTY` — Es wurde keine richtige Quizantwort angegeben.\n- 400 · `QUIZ_CORRECT_ANSWERS_TOO_MUCH` — Sie haben in einem Quiz zu viele richtige Antworten angegeben. Bei Quizfragen kann es nur eine richtige Antwort geben!\n- 400 · `QUIZ_CORRECT_ANSWER_INVALID` – Für das Feld correct_answers wurde ein ungültiger Wert angegeben.\n- 400 · `QUIZ_MULTIPLE_INVALID` – Bei Quizzen darf die Flagge multiple_choice nicht gesetzt sein!\n- 500 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde.\n- 400 · `REPLY_MARKUP_BUY_EMPTY` — Antwortaufschlag für die Schaltfläche „Kaufen“ leer.\n- 400 · `REPLY_MARKUP_GAME_EMPTY` – Eine Spielnachricht wird bearbeitet, aber die neu bereitgestellte Tastatur verfügt nicht über eine „keyboardButtonGame“-Taste.\n- 400 · `REPLY_MARKUP_INVALID` – Das bereitgestellte Antwort-Markup ist ungültig.\n- 400 · `REPLY_MARKUP_TOO_LONG` – Die angegebene reply_markup ist zu lang.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` – Jede Verknüpfung kann maximal [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) Nachrichten enthalten, das Limit wurde erreicht.\n- 400 · `REPLY_MESSAGE_ID_INVALID` – Die angegebene ID der Antwortnachricht ist ungültig.\n- 400 · `REPLY_TO_MONOFORUM_PEER_INVALID` – Die angegebene inputReplyToMonoForum.monoforum_peer_id ist ungültig.\n- 400 · `SCHEDULE_BOT_NOT_ALLOWED` – Bots können keine Nachrichten planen.\n- 400 · `SCHEDULE_DATE_TOO_LATE` – Sie können keine Nachricht so weit in der Zukunft planen.\n- 400 · `SCHEDULE_TOO_MUCH` – Es sind zu viele geplante Nachrichten vorhanden.\n- 400 · `SEND_AS_PEER_INVALID` – Sie können als angegebener Peer keine Nachrichten senden.\n- 420 · `SLOWMODE_WAIT_%d` — Slowmode ist in diesem Chat aktiviert: Warten Sie %d Sekunden, bevor Sie eine weitere Nachricht an diesen Chat senden.\n- 400 · `STARS_INVOICE_INVALID` – Die angegebene Telegram Star-Rechnung ist ungültig.\n- 400 · `STORY_ID_INVALID` – Die angegebene Story-ID ist ungültig.\n- 400 · `SUBSCRIPTION_EXPORT_MISSING` – Sie können eine [Bot-Abonnementrechnung](https://core.telegram.org/api/subscriptions.md#bot-subscriptions) nicht direkt senden, Sie können Rechnungsverknüpfungen nur mit [payments.exportInvoice](https://core.telegram.org/method/payments.exportInvoice.md)] erstellen.\n- 400 · `SUGGESTED_POST_PEER_INVALID` – Sie können keine vorgeschlagenen Beiträge an Nicht-[monoforum](https://core.telegram.org/api/monoforum.md)-Kollegen] senden.\n- 400 · `TERMS_URL_INVALID` – Die angegebene [Rechnung](https://core.telegram.org/constructor/invoice.md).`terms_url` ist ungültig.\n- 400 · `TODO_ITEMS_EMPTY` – Eine Checkliste wurde angegeben, aber keine [Checklistenpunkte](https://core.telegram.org/api/todo.md) wurden bestanden.\n- 400 · `TODO_ITEMS_TOO_MUCH` – Sie haben zu viele Aufgabenlistenelemente angegeben.\n- 400 · `TODO_ITEM_DUPLICATE` – Duplikat [Checklistenelemente](https://core.telegram.org/api/todo.md) erkannt.\n- 406 · `TOPIC_CLOSED` — This topic was closed, you can't send messages to it anymore.\n- 406 · `TOPIC_DELETED` — The specified topic was deleted.\n- 400 · `TTL_MEDIA_INVALID` — Ungültiges Medium „Time To Live“ wurde bereitgestellt.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `USER_BOT_TO_BOT_DISABLED` – Bot-zu-Bot-Nachrichten sind deaktiviert, weil einer der beiden Bots die Bot-zu-Bot-Einstellung in @BotFather nicht aktiviert hat.\n- 403 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert.\n- 400 · `USER_IS_BOT` – Bots können keine Nachrichten an andere Bots senden.\n- 400 · `VIDEO_CONTENT_TYPE_INVALID` – Der Inhaltstyp des Videos ist ungültig.\n- 400 · `VOICE_MESSAGES_FORBIDDEN` — Die Datenschutzeinstellungen dieses Benutzers verbieten Ihnen das Senden von Sprachnachrichten.\n- 400 · `WEBDOCUMENT_MIME_INVALID` – Ungültiger Webdokument-MIME-Typ angegeben.\n- 400 · `WEBPAGE_CURL_FAILED` – Fehler beim Abrufen der Webseite mit cURL.\n- 400 · `WEBPAGE_MEDIA_EMPTY` – Webseitenmedien leer.\n- 400 · `WEBPAGE_NOT_FOUND` – Eine Vorschau für die angegebene Webseite `url` konnte nicht generiert werden.\n- 400 · `WEBPAGE_URL_INVALID` – Die angegebene Webseite `url` ist ungültig.\n- 400 · `YOU_BLOCKED_USER` — Sie haben diesen Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendMedia"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Send message silently (no notification should be triggered)"}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Send message in background"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Clear the draft"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn't have [content protection](https://telegram.org/blog/content-protection-delete-by-date-and-more) enabled"}, "update_stickersets_order": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true", "description": "Whether to move used stickersets to top, [see here for more info on this flag »](https://core.telegram.org/api/stickers.md#recent-stickersets)"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "If set, any eventual webpage preview will be shown on top of the message instead of at the bottom."}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Nur Bots: Wenn festgelegt, ist das Senden von bis zu 1000 Nachrichten pro Sekunde möglich, wobei [Sendebeschränkungen](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once)] gegen eine Gebühr von 0,1 Telegram Stars pro Nachricht ignoriert werden. Die entsprechenden Sterne werden vom Guthaben des Bots abgezogen."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Destination"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "If set, indicates that the message should be sent in reply to the specified message or story.", "x-tl-flag": "flags.0?InputReplyTo"}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "Angehängte Medien"}, "message": {"type": "string", "x-tl-type": "string", "description": "Caption"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Random ID to avoid resending the same message. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "oneOf": [{"$ref": "#/components/schemas/replyKeyboardHide"}, {"$ref": "#/components/schemas/replyKeyboardForceReply"}, {"$ref": "#/components/schemas/replyKeyboardMarkup"}, {"$ref": "#/components/schemas/replyInlineMarkup"}], "description": "Reply markup for bot keyboards", "x-tl-flag": "flags.2?ReplyMarkup"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Nachricht [entities](https://core.telegram.org/api/entities.md) für formatierten Text"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Scheduled message date for [scheduled messages](https://core.telegram.org/api/scheduled-messages.md)"}, "schedule_repeat_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.24?int", "description": "Once sent, this message will be automatically re-scheduled to be re-sent again this many seconds in the future, see [here »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) for more info on repeating scheduled messages."}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Send this message as the specified peer", "x-tl-flag": "flags.13?InputPeer"}, "quick_reply_shortcut": {"type": "object", "x-tl-type": "InputQuickReplyShortcut", "oneOf": [{"$ref": "#/components/schemas/inputQuickReplyShortcut"}, {"$ref": "#/components/schemas/inputQuickReplyShortcutId"}], "description": "Add the message to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Used to [suggest a post to a channel, see here »](https://core.telegram.org/api/suggested-posts.md) for more info on the full flow.", "x-tl-flag": "flags.22?SuggestedPost"}}, "additionalProperties": false, "required": ["peer", "media", "message", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `silent` | `true` | Nein | Send message silently (no notification should be triggered) |\n| `background` | `true` | Nein | Send message in background |\n| `clear_draft` | `true` | Nein | Clear the draft |\n| `noforwards` | `true` | Nein | Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn't have [content protection](https://telegram.org/blog/content-protection-delete-by-date-and-more) enabled |\n| `update_stickersets_order` | `true` | Nein | Whether to move used stickersets to top, [see here for more info on this flag »](https://core.telegram.org/api/stickers.md#recent-stickersets) |\n| `invert_media` | `true` | Nein | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |\n| `allow_paid_floodskip` | `true` | Nein | Nur Bots: Wenn festgelegt, ist das Senden von bis zu 1000 Nachrichten pro Sekunde möglich, wobei [Sendebeschränkungen](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once)] gegen eine Gebühr von 0,1 Telegram Stars pro Nachricht ignoriert werden. Die entsprechenden Sterne werden vom Guthaben des Bots abgezogen. |\n| `peer` | `InputPeer` | Ja | Destination |\n| `reply_to` | `InputReplyTo` | Nein | If set, indicates that the message should be sent in reply to the specified message or story. |\n| `media` | `InputMedia` | Ja | Angehängte Medien |\n| `message` | `string` | Ja | Caption |\n| `random_id` | `long` | Ja | Random ID to avoid resending the same message. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `reply_markup` | `ReplyMarkup` | Nein | Reply markup for bot keyboards |\n| `entities` | `Vector<MessageEntity>` | Nein | Nachricht [entities](https://core.telegram.org/api/entities.md) für formatierten Text |\n| `schedule_date` | `int` | Nein | Scheduled message date for [scheduled messages](https://core.telegram.org/api/scheduled-messages.md) |\n| `schedule_repeat_period` | `int` | Nein | Once sent, this message will be automatically re-scheduled to be re-sent again this many seconds in the future, see [here »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) for more info on repeating scheduled messages. |\n| `send_as` | `InputPeer` | Nein | Send this message as the specified peer |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Nein | Add the message to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead. |\n| `effect` | `long` | Nein | Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message. |\n| `allow_paid_stars` | `long` | Nein | For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message. |\n| `suggested_post` | `SuggestedPost` | Nein | Used to [suggest a post to a channel, see here »](https://core.telegram.org/api/suggested-posts.md) for more info on the full flow. |"}, "x-telegram-rpc-errors": ["ALLOW_PAYMENT_REQUIRED", "ALLOW_PAYMENT_REQUIRED_%d", "BOT_GAMES_DISABLED", "BOT_PAYMENTS_DISABLED", "BROADCAST_PUBLIC_VOTERS_FORBIDDEN", "BUSINESS_CONNECTION_INVALID", "BUSINESS_PEER_INVALID", "BUSINESS_PEER_USAGE_MISSING", "BUTTON_COPY_TEXT_INVALID", "BUTTON_DATA_INVALID", "BUTTON_POS_INVALID", "BUTTON_TYPE_INVALID", "BUTTON_URL_INVALID", "BUTTON_USER_PRIVACY_RESTRICTED", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_FORWARDS_RESTRICTED", "CHAT_GUEST_SEND_FORBIDDEN", "CHAT_RESTRICTED", "CHAT_SEND_AUDIOS_FORBIDDEN", "CHAT_SEND_DOCS_FORBIDDEN", "CHAT_SEND_GIFS_FORBIDDEN", "CHAT_SEND_MEDIA_FORBIDDEN", "CHAT_SEND_PHOTOS_FORBIDDEN", "CHAT_SEND_PLAIN_FORBIDDEN", "CHAT_SEND_POLL_FORBIDDEN", "CHAT_SEND_ROUNDVIDEOS_FORBIDDEN", "CHAT_SEND_STICKERS_FORBIDDEN", "CHAT_SEND_VIDEOS_FORBIDDEN", "CHAT_SEND_VOICES_FORBIDDEN", "CHAT_WRITE_FORBIDDEN", "CURRENCY_TOTAL_AMOUNT_INVALID", "DOCUMENT_INVALID", "EFFECT_CHAT_INVALID", "EFFECT_ID_INVALID", "EMOTICON_INVALID", "ENTITY_BOUNDS_INVALID", "EXTENDED_MEDIA_AMOUNT_INVALID", "EXTENDED_MEDIA_EMPTY", "EXTENDED_MEDIA_INVALID", "EXTENDED_MEDIA_PEER_INVALID", "EXTERNAL_URL_INVALID", "FILE_PARTS_INVALID", "FILE_PART_LENGTH_INVALID", "FILE_REFERENCE_EMPTY", "FILE_REFERENCE_EXPIRED", "GAME_BOT_INVALID", "IMAGE_PROCESS_FAILED", "INPUT_FILE_INVALID", "INPUT_USER_DEACTIVATED", "INVOICE_PAYLOAD_INVALID", "MD5_CHECKSUM_INVALID", "MEDIA_CAPTION_TOO_LONG", "MEDIA_EMPTY", "MEDIA_FILE_INVALID", "MEDIA_INVALID", "MESSAGE_EMPTY", "MESSAGE_TOO_LONG", "MSG_ID_INVALID", "PAYMENT_PROVIDER_INVALID", "PEER_ID_INVALID", "PHOTO_EXT_INVALID", "PHOTO_INVALID_DIMENSIONS", "PHOTO_SAVE_FILE_INVALID", "POLL_ANSWERS_INVALID", "POLL_ANSWER_INVALID", "POLL_OPTION_DUPLICATE", "POLL_OPTION_INVALID", "POLL_QUESTION_INVALID", "PREMIUM_ACCOUNT_REQUIRED", "PRIVACY_PREMIUM_REQUIRED", "QUICK_REPLIES_BOT_NOT_ALLOWED", "QUICK_REPLIES_TOO_MUCH", "QUIZ_CORRECT_ANSWERS_EMPTY", "QUIZ_CORRECT_ANSWERS_TOO_MUCH", "QUIZ_CORRECT_ANSWER_INVALID", "QUIZ_MULTIPLE_INVALID", "RANDOM_ID_DUPLICATE", "REPLY_MARKUP_BUY_EMPTY", "REPLY_MARKUP_GAME_EMPTY", "REPLY_MARKUP_INVALID", "REPLY_MARKUP_TOO_LONG", "REPLY_MESSAGES_TOO_MUCH", "REPLY_MESSAGE_ID_INVALID", "REPLY_TO_MONOFORUM_PEER_INVALID", "SCHEDULE_BOT_NOT_ALLOWED", "SCHEDULE_DATE_TOO_LATE", "SCHEDULE_TOO_MUCH", "SEND_AS_PEER_INVALID", "SLOWMODE_WAIT_%d", "STARS_INVOICE_INVALID", "STORY_ID_INVALID", "SUBSCRIPTION_EXPORT_MISSING", "SUGGESTED_POST_PEER_INVALID", "TERMS_URL_INVALID", "TODO_ITEMS_EMPTY", "TODO_ITEMS_TOO_MUCH", "TODO_ITEM_DUPLICATE", "TOPIC_CLOSED", "TOPIC_DELETED", "TTL_MEDIA_INVALID", "USER_BANNED_IN_CHANNEL", "USER_BOT_TO_BOT_DISABLED", "USER_IS_BLOCKED", "USER_IS_BOT", "VIDEO_CONTENT_TYPE_INVALID", "VOICE_MESSAGES_FORBIDDEN", "WEBDOCUMENT_MIME_INVALID", "WEBPAGE_CURL_FAILED", "WEBPAGE_MEDIA_EMPTY", "WEBPAGE_NOT_FOUND", "WEBPAGE_URL_INVALID", "YOU_BLOCKED_USER"], "x-browser-schema-id": "53536639"}}, "/catalog/messages.forwardMessages": {"post": {"operationId": "messages.forwardMessages", "tags": ["Nachrichten"], "summary": "Forward messages", "description": "Forwards one or more messages from the source chat to the destination chat.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Forumsthemen](https://core.telegram.org/api/forum.md)\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Geplante Nachrichten](https://core.telegram.org/api/scheduled-messages.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)\n- [Animierte Nachrichteneffekte](https://core.telegram.org/api/effects.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Vorgeschlagene Beiträge](https://core.telegram.org/api/suggested-posts.md)\n- [Diskussionsgruppen](https://core.telegram.org/api/discussion.md)\n- [Fehlerbehandlung](https://core.telegram.org/api/errors.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "messages.forwardMessages", "x-tl-id": "326126204", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Forum topics", "https://core.telegram.org/api/forum.md"], ["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Scheduled messages", "https://core.telegram.org/api/scheduled-messages.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"], ["Animated message effects", "https://core.telegram.org/api/effects.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Suggested posts", "https://core.telegram.org/api/suggested-posts.md"], ["Discussion groups", "https://core.telegram.org/api/discussion.md"], ["Error handling ", "https://core.telegram.org/api/errors.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `ALLOW_PAYMENT_REQUIRED` – Dieser Peer akzeptiert nur [kostenpflichtige Nachrichten »](https://core.telegram.org/api/paid-messages.md): Dieser Fehler wird nur für ältere Ebenen ohne Unterstützung für kostenpflichtige Nachrichten ausgegeben, daher muss der Client aktualisiert werden, um kostenpflichtige Nachrichten verwenden zu können.  .\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` – Dieser Peer berechnet %d [Telegram Stars](https://core.telegram.org/api/stars.md) pro Nachricht, aber `allow_paid_stars` wurde nicht festgelegt oder sein Wert ist kleiner als %d.\n- 400 · `BROADCAST_PUBLIC_VOTERS_FORBIDDEN` — Sie können keine Umfragen mit öffentlichen Wählern weiterleiten.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 406 · `CHAT_FORWARDS_RESTRICTED` – Sie können keine Nachrichten aus einem geschützten Chat weiterleiten.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` – Sie treten der Diskussionsgruppe bei, bevor Sie einen Kommentar abgeben. Weitere Informationen finden Sie [hier »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group).\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_RESTRICTED` — Sie können in diesem Chat keine Nachrichten senden, da Sie eingeschränkt waren.\n- 403 · `CHAT_SEND_AUDIOS_FORBIDDEN` — Sie können in diesem Chat keine Audionachrichten senden.\n- 403 · `CHAT_SEND_DOCS_FORBIDDEN` — Sie können in diesem Chat keine Dokumente senden.\n- 403 · `CHAT_SEND_GAME_FORBIDDEN` — Sie können kein Spiel an diesen Chat senden.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — Sie können in diesem Chat keine GIFs senden.\n- 403 · `CHAT_SEND_INLINE_FORBIDDEN` – Sie können in dieser Gruppe keine Inline-Nachrichten senden.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — Sie können in diesem Chat keine Medien senden.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — Sie können in diesem Chat keine Fotos senden.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — Sie können in diesem Chat keine nicht-medialen (Text-)Nachrichten senden.\n- 403 · `CHAT_SEND_POLL_FORBIDDEN` — Sie können in diesem Chat keine Umfragen senden.\n- 403 · `CHAT_SEND_STICKERS_FORBIDDEN` — Sie können in diesem Chat keine Aufkleber senden.\n- 403 · `CHAT_SEND_VIDEOS_FORBIDDEN` — Sie können in diesem Chat keine Videos senden.\n- 403 · `CHAT_SEND_VOICES_FORBIDDEN` — Sie können in diesem Chat keine Sprachaufzeichnungen senden.\n- 403 · `CHAT_SEND_WEBPAGE_FORBIDDEN` — Sie können keine Webseitenvorschauen an diesen Chat senden.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `GROUPED_MEDIA_INVALID` – Ungültige gruppierte Medien.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MEDIA_EMPTY` – Das bereitgestellte Medienobjekt ist ungültig.\n- 400 · `MEDIA_FILE_INVALID` – Die angegebene Mediendatei ist ungültig.\n- 400 · `MESSAGE_IDS_EMPTY` – Es wurden keine Nachrichten-IDs angegeben.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 406 · `PAYMENT_UNSUPPORTED` – Eine detaillierte Beschreibung des Fehlers erhalten Sie separat wie beschrieben [hier »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 406 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action.\n- 406 · `PRIVACY_PREMIUM_REQUIRED` — You need a [Telegram Premium subscription](https://core.telegram.org/api/premium.md) to send a message to this user.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` – [Schnellantworten](https://core.telegram.org/api/business.md#quick-reply-shortcuts) können nicht von Bots verwendet werden.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Es können maximal [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) Verknüpfungen erstellt werden, das Limit wurde erreicht.\n- 400 · `QUIZ_ANSWER_MISSING` – Sie können ein Quiz nur dann weiterleiten, wenn der ursprüngliche Autor ausgeblendet ist, nachdem Sie im Quiz eine Option ausgewählt haben.\n- 500 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde.\n- 400 · `RANDOM_ID_INVALID` – Eine bereitgestellte Zufalls-ID ist ungültig.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` – Jede Verknüpfung kann maximal [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) Nachrichten enthalten, das Limit wurde erreicht.\n- 400 · `REPLY_TO_MONOFORUM_PEER_INVALID` – Die angegebene inputReplyToMonoForum.monoforum_peer_id ist ungültig.\n- 400 · `SCHEDULE_BOT_NOT_ALLOWED` – Bots können keine Nachrichten planen.\n- 400 · `SCHEDULE_DATE_TOO_LATE` – Sie können keine Nachricht so weit in der Zukunft planen.\n- 400 · `SCHEDULE_TOO_MUCH` – Es sind zu viele geplante Nachrichten vorhanden.\n- 400 · `SEND_AS_PEER_INVALID` – Sie können als angegebener Peer keine Nachrichten senden.\n- 400 · `SLOWMODE_MULTI_MSGS_DISABLED` – Slowmode ist aktiviert, Sie können nicht mehrere Nachrichten an diese Gruppe weiterleiten.\n- 420 · `SLOWMODE_WAIT_%d` — Slowmode ist in diesem Chat aktiviert: Warten Sie %d Sekunden, bevor Sie eine weitere Nachricht an diesen Chat senden.\n- 400 · `SUGGESTED_POST_PEER_INVALID` – Sie können keine vorgeschlagenen Beiträge an Nicht-[monoforum](https://core.telegram.org/api/monoforum.md)-Kollegen] senden.\n- 406 · `TOPIC_CLOSED` — This topic was closed, you can't send messages to it anymore.\n- 406 · `TOPIC_DELETED` — The specified topic was deleted.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `USER_BOT_TO_BOT_DISABLED` – Bot-zu-Bot-Nachrichten sind deaktiviert, weil einer der beiden Bots die Bot-zu-Bot-Einstellung in @BotFather nicht aktiviert hat.\n- 403 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert.\n- 400 · `USER_IS_BOT` – Bots können keine Nachrichten an andere Bots senden.\n- 403 · `VOICE_MESSAGES_FORBIDDEN` – Die Datenschutzeinstellungen dieses Benutzers verbieten Ihnen das Senden von Sprachnachrichten.\n- 400 · `YOU_BLOCKED_USER` — Sie haben diesen Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.forwardMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Forward without sound notification."}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Whether to send the message in background"}, "with_my_score": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "When forwarding games, whether to include your score in the game"}, "drop_author": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true", "description": "Whether to forward messages without quoting the original author"}, "drop_media_captions": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true", "description": "Whether to strip captions from media"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Only for bots, disallows further re-forwarding and saving of the messages, even if the destination chat doesn't have [content protection](https://telegram.org/blog/content-protection-delete-by-date-and-more) enabled"}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Nur Bots: Wenn festgelegt, ist das Senden von bis zu 1000 Nachrichten pro Sekunde möglich, wobei [Sendebeschränkungen](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once)] gegen eine Gebühr von 0,1 Telegram Stars pro Nachricht ignoriert werden. Die entsprechenden Sterne werden vom Guthaben des Bots abgezogen."}, "from_ephemeral": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.25?true", "description": "Wert des TL-Typs `true`."}, "from_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat from which you want to forward messages."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Source message IDs."}, "random_id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Eine eindeutige Weiterleitungs-ID für jede Nachricht."}, "to_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Destination chat."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.9?int", "description": "Destination [forum topic](https://core.telegram.org/api/forum.md#forum-topics)"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "Can only contain an [inputReplyToMonoForum](https://core.telegram.org/constructor/inputReplyToMonoForum.md), to forward messages to a [monoforum topic](https://core.telegram.org/api/monoforum.md) (mutually exclusive with `top_msg_id`).", "x-tl-flag": "flags.22?InputReplyTo"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Scheduled message date for scheduled messages"}, "schedule_repeat_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.24?int", "description": "Once sent, this message will be automatically re-scheduled to be re-sent again this many seconds in the future, see [here »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) for more info on repeating scheduled messages."}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Forward the messages as the specified peer", "x-tl-flag": "flags.13?InputPeer"}, "quick_reply_shortcut": {"type": "object", "x-tl-type": "InputQuickReplyShortcut", "oneOf": [{"$ref": "#/components/schemas/inputQuickReplyShortcut"}, {"$ref": "#/components/schemas/inputQuickReplyShortcutId"}], "description": "Add the messages to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.20?int", "description": "Starten Sie die Wiedergabe des Videos zum angegebenen Zeitstempel (Sekunden)."}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Used to [suggest a post to a channel, see here »](https://core.telegram.org/api/suggested-posts.md) for more info on the full flow.", "x-tl-flag": "flags.23?SuggestedPost"}}, "additionalProperties": false, "required": ["from_peer", "id", "random_id", "to_peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `silent` | `true` | Nein | Forward without sound notification. |\n| `background` | `true` | Nein | Whether to send the message in background |\n| `with_my_score` | `true` | Nein | When forwarding games, whether to include your score in the game |\n| `drop_author` | `true` | Nein | Whether to forward messages without quoting the original author |\n| `drop_media_captions` | `true` | Nein | Whether to strip captions from media |\n| `noforwards` | `true` | Nein | Only for bots, disallows further re-forwarding and saving of the messages, even if the destination chat doesn't have [content protection](https://telegram.org/blog/content-protection-delete-by-date-and-more) enabled |\n| `allow_paid_floodskip` | `true` | Nein | Nur Bots: Wenn festgelegt, ist das Senden von bis zu 1000 Nachrichten pro Sekunde möglich, wobei [Sendebeschränkungen](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once)] gegen eine Gebühr von 0,1 Telegram Stars pro Nachricht ignoriert werden. Die entsprechenden Sterne werden vom Guthaben des Bots abgezogen. |\n| `from_ephemeral` | `true` | Nein | Wert des TL-Typs `true`. |\n| `from_peer` | `InputPeer` | Ja | The chat from which you want to forward messages. |\n| `id` | `Vector<int>` | Ja | Source message IDs. |\n| `random_id` | `Vector<long>` | Ja | Eine eindeutige Weiterleitungs-ID für jede Nachricht. |\n| `to_peer` | `InputPeer` | Ja | Destination chat. |\n| `top_msg_id` | `int` | Nein | Destination [forum topic](https://core.telegram.org/api/forum.md#forum-topics) |\n| `reply_to` | `InputReplyTo` | Nein | Can only contain an [inputReplyToMonoForum](https://core.telegram.org/constructor/inputReplyToMonoForum.md), to forward messages to a [monoforum topic](https://core.telegram.org/api/monoforum.md) (mutually exclusive with `top_msg_id`). |\n| `schedule_date` | `int` | Nein | Scheduled message date for scheduled messages |\n| `schedule_repeat_period` | `int` | Nein | Once sent, this message will be automatically re-scheduled to be re-sent again this many seconds in the future, see [here »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) for more info on repeating scheduled messages. |\n| `send_as` | `InputPeer` | Nein | Forward the messages as the specified peer |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Nein | Add the messages to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead. |\n| `effect` | `long` | Nein | Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message. |\n| `video_timestamp` | `int` | Nein | Starten Sie die Wiedergabe des Videos zum angegebenen Zeitstempel (Sekunden). |\n| `allow_paid_stars` | `long` | Nein | For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message. |\n| `suggested_post` | `SuggestedPost` | Nein | Used to [suggest a post to a channel, see here »](https://core.telegram.org/api/suggested-posts.md) for more info on the full flow. |"}, "x-telegram-rpc-errors": ["ALLOW_PAYMENT_REQUIRED", "ALLOW_PAYMENT_REQUIRED_%d", "BROADCAST_PUBLIC_VOTERS_FORBIDDEN", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_FORWARDS_RESTRICTED", "CHAT_GUEST_SEND_FORBIDDEN", "CHAT_ID_INVALID", "CHAT_RESTRICTED", "CHAT_SEND_AUDIOS_FORBIDDEN", "CHAT_SEND_DOCS_FORBIDDEN", "CHAT_SEND_GAME_FORBIDDEN", "CHAT_SEND_GIFS_FORBIDDEN", "CHAT_SEND_INLINE_FORBIDDEN", "CHAT_SEND_MEDIA_FORBIDDEN", "CHAT_SEND_PHOTOS_FORBIDDEN", "CHAT_SEND_PLAIN_FORBIDDEN", "CHAT_SEND_POLL_FORBIDDEN", "CHAT_SEND_STICKERS_FORBIDDEN", "CHAT_SEND_VIDEOS_FORBIDDEN", "CHAT_SEND_VOICES_FORBIDDEN", "CHAT_SEND_WEBPAGE_FORBIDDEN", "CHAT_WRITE_FORBIDDEN", "GROUPED_MEDIA_INVALID", "INPUT_USER_DEACTIVATED", "MEDIA_EMPTY", "MEDIA_FILE_INVALID", "MESSAGE_IDS_EMPTY", "MESSAGE_ID_INVALID", "MSG_ID_INVALID", "PAYMENT_UNSUPPORTED", "PEER_ID_INVALID", "PREMIUM_ACCOUNT_REQUIRED", "PRIVACY_PREMIUM_REQUIRED", "QUICK_REPLIES_BOT_NOT_ALLOWED", "QUICK_REPLIES_TOO_MUCH", "QUIZ_ANSWER_MISSING", "RANDOM_ID_DUPLICATE", "RANDOM_ID_INVALID", "REPLY_MESSAGES_TOO_MUCH", "REPLY_TO_MONOFORUM_PEER_INVALID", "SCHEDULE_BOT_NOT_ALLOWED", "SCHEDULE_DATE_TOO_LATE", "SCHEDULE_TOO_MUCH", "SEND_AS_PEER_INVALID", "SLOWMODE_MULTI_MSGS_DISABLED", "SLOWMODE_WAIT_%d", "SUGGESTED_POST_PEER_INVALID", "TOPIC_CLOSED", "TOPIC_DELETED", "USER_BANNED_IN_CHANNEL", "USER_BOT_TO_BOT_DISABLED", "USER_IS_BLOCKED", "USER_IS_BOT", "VOICE_MESSAGES_FORBIDDEN", "YOU_BLOCKED_USER"], "x-browser-schema-id": "326126204"}}, "/catalog/messages.reportSpam": {"post": {"operationId": "messages.reportSpam", "tags": ["Nachrichten"], "summary": "Report a new incoming chat for spam, if the peer settings of the chat allow us to do that", "description": "Report a new incoming chat for spam, if the [peer settings](https://core.telegram.org/constructor/peerSettings.md) of the chat allow us to do that\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.reportSpam", "x-tl-id": "3474297563", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reportSpam"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer to report"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer to report |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3474297563"}}, "/catalog/messages.getPeerSettings": {"post": {"operationId": "messages.getPeerSettings", "tags": ["Nachrichten"], "summary": "Get peer settings", "description": "Get peer settings\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.getPeerSettings", "x-tl-id": "4024018594", "x-tl-result": "messages.PeerSettings", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `messages.PeerSettings`.\n\n[messages.PeerSettings](https://core.telegram.org/type/messages.PeerSettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.PeerSettings", "oneOf": [{"$ref": "#/components/schemas/messages.peerSettings"}], "description": "TL type: messages.PeerSettings."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getPeerSettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Der Kollege"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Der Kollege |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4024018594"}}, "/catalog/messages.report": {"post": {"operationId": "messages.report", "tags": ["Nachrichten"], "summary": "Report a message in a chat for violation of telegram's Terms of Service", "description": "Report a message in a chat for violation of telegram's Terms of Service\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.report", "x-tl-id": "4235767707", "x-tl-result": "ReportResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `ReportResult`.\n\n[ReportResult](https://core.telegram.org/type/ReportResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ReportResult", "oneOf": [{"$ref": "#/components/schemas/reportResultChooseOption"}, {"$ref": "#/components/schemas/reportResultAddComment"}, {"$ref": "#/components/schemas/reportResultReported"}], "description": "TL Type: ReportResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MESSAGE_REQUIRED` – Eine nicht leere Liste von IDs muss an `id` übergeben werden.\n- 400 · `OPTION_INVALID` – Ungültige Option ausgewählt.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.report"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of messages to report"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Menu option, intially empty"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comment for report moderation"}}, "additionalProperties": false, "required": ["peer", "id", "option", "message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `id` | `Vector<int>` | Ja | IDs of messages to report |\n| `option` | `bytes` | Ja | Menu option, intially empty |\n| `message` | `string` | Ja | Comment for report moderation |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MESSAGE_REQUIRED", "OPTION_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4235767707"}}, "/catalog/messages.getChats": {"post": {"operationId": "messages.getChats", "tags": ["Nachrichten"], "summary": "Returns chat basic info on their IDs.", "description": "Returns chat basic info on their IDs.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "messages.getChats", "x-tl-id": "1240027791", "x-tl-result": "messages.Chats", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.Chats`.\n\n[messages.Chats](https://core.telegram.org/type/messages.Chats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Chats", "oneOf": [{"$ref": "#/components/schemas/messages.chats"}, {"$ref": "#/components/schemas/messages.chatsSlice"}], "description": "TL type: messages.Chats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getChats"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "List of chat IDs"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<long>` | Ja | List of chat IDs |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1240027791"}}, "/catalog/messages.getFullChat": {"post": {"operationId": "messages.getFullChat", "tags": ["Nachrichten"], "summary": "Get full info about a basic group.", "description": "Get full info about a [basic group](https://core.telegram.org/api/channel.md#basic-groups).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.getFullChat", "x-tl-id": "2930772788", "x-tl-result": "messages.ChatFull", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `messages.ChatFull`.\n\n[messages.ChatFull](https://core.telegram.org/type/messages.ChatFull.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ChatFull", "oneOf": [{"$ref": "#/components/schemas/messages.chatFull"}], "description": "TL type: messages.ChatFull."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getFullChat"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Basic group](https://core.telegram.org/api/channel.md#basic-groups) ID.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Ja | [Basic group](https://core.telegram.org/api/channel.md#basic-groups) ID. |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "2930772788"}}, "/catalog/messages.editChatTitle": {"post": {"operationId": "messages.editChatTitle", "tags": ["Nachrichten"], "summary": "Ändert den Chatnamen und sendet eine Servicenachricht darüber.", "description": "Ändert den Chatnamen und sendet eine Servicenachricht darüber.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "messages.editChatTitle", "x-tl-id": "1937260541", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `CHAT_TITLE_EMPTY` – Kein Chattitel angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editChatTitle"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Chat-ID", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "description": "New chat name, different from the old one"}}, "additionalProperties": false, "required": ["chat_id", "title"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Ja | Chat-ID |\n| `title` | `string` | Ja | New chat name, different from the old one |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "CHAT_TITLE_EMPTY", "PEER_ID_INVALID"], "x-browser-schema-id": "1937260541"}}, "/catalog/messages.editChatPhoto": {"post": {"operationId": "messages.editChatPhoto", "tags": ["Nachrichten"], "summary": "Ändert das Chat-Foto und sendet eine Service-Nachricht darauf", "description": "Ändert das Chat-Foto und sendet eine Service-Nachricht darauf\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "messages.editChatPhoto", "x-tl-id": "903730804", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `IMAGE_PROCESS_FAILED` – Fehler bei der Bildverarbeitung.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PHOTO_CROP_SIZE_SMALL` – Foto ist zu klein.\n- 400 · `PHOTO_EXT_INVALID` — Die Erweiterung des Fotos ist ungültig.\n- 400 · `PHOTO_INVALID` – Foto ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editChatPhoto"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Chat-ID", "x-tl-type": "long"}, "photo": {"type": "object", "x-tl-type": "InputChatPhoto", "oneOf": [{"$ref": "#/components/schemas/inputChatPhotoEmpty"}, {"$ref": "#/components/schemas/inputChatUploadedPhoto"}, {"$ref": "#/components/schemas/inputChatPhoto"}], "description": "Photo to be set"}}, "additionalProperties": false, "required": ["chat_id", "photo"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Ja | Chat-ID |\n| `photo` | `InputChatPhoto` | Ja | Photo to be set |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "IMAGE_PROCESS_FAILED", "PEER_ID_INVALID", "PHOTO_CROP_SIZE_SMALL", "PHOTO_EXT_INVALID", "PHOTO_INVALID"], "x-browser-schema-id": "903730804"}}, "/catalog/messages.addChatUser": {"post": {"operationId": "messages.addChatUser", "tags": ["Nachrichten"], "summary": "Fügt einen Benutzer zu einem Chat hinzu und sendet eine Servicenachricht darüber.", "description": "Fügt einen Benutzer zu einem Chat hinzu und sendet eine Servicenachricht darüber.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.addChatUser", "x-tl-id": "3418804487", "x-tl-result": "messages.InvitedUsers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.InvitedUsers`.\n\n[messages.InvitedUsers](https://core.telegram.org/type/messages.InvitedUsers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.InvitedUsers", "oneOf": [{"$ref": "#/components/schemas/messages.invitedUsers"}], "description": "Type TL: messages.InvitedUsers."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_GROUPS_BLOCKED` — Dieser Bot kann nicht zu Gruppen hinzugefügt werden.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `CHAT_MEMBER_ADD_FAILED` – Teilnehmer konnten nicht hinzugefügt werden.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USERS_TOO_MUCH` — The maximum number of users has been exceeded (to create a chat, for example).\n- 400 · `USER_ALREADY_PARTICIPANT` — The user is already in the group.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 400 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert.\n- 403 · `USER_NOT_MUTUAL_CONTACT` — Der angegebene Benutzer ist kein gemeinsamer Kontakt.\n- 403 · `USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellungen des Benutzers erlauben dies nicht.\n- 400 · `YOU_BLOCKED_USER` — Sie haben diesen Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.addChatUser"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Chat-ID", "x-tl-type": "long"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "User ID to be added"}, "fwd_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of last messages to be forwarded"}}, "additionalProperties": false, "required": ["chat_id", "user_id", "fwd_limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Ja | Chat-ID |\n| `user_id` | `InputUser` | Ja | User ID to be added |\n| `fwd_limit` | `int` | Ja | Number of last messages to be forwarded |"}, "x-telegram-rpc-errors": ["BOT_GROUPS_BLOCKED", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_INVALID", "CHAT_MEMBER_ADD_FAILED", "CHAT_WRITE_FORBIDDEN", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID", "USERS_TOO_MUCH", "USER_ALREADY_PARTICIPANT", "USER_ID_INVALID", "USER_IS_BLOCKED", "USER_NOT_MUTUAL_CONTACT", "USER_PRIVACY_RESTRICTED", "YOU_BLOCKED_USER"], "x-browser-schema-id": "3418804487"}}, "/catalog/messages.deleteChatUser": {"post": {"operationId": "messages.deleteChatUser", "tags": ["Nachrichten"], "summary": "Löscht einen Benutzer aus einem Chat und sendet ihm eine Servicenachricht.", "description": "Löscht einen Benutzer aus einem Chat und sendet ihm eine Servicenachricht.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "messages.deleteChatUser", "x-tl-id": "2719505579", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 400 · `USER_NOT_PARTICIPANT` — Du bist kein Mitglied dieser Supergruppe/dieses Kanals."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteChatUser"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"revoke_history": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Remove the entire chat history of the specified user in this chat."}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Chat-ID", "x-tl-type": "long"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "User ID to be deleted"}}, "additionalProperties": false, "required": ["chat_id", "user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `revoke_history` | `true` | Nein | Remove the entire chat history of the specified user in this chat. |\n| `chat_id` | `long` | Ja | Chat-ID |\n| `user_id` | `InputUser` | Ja | User ID to be deleted |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "INPUT_USER_DEACTIVATED", "PEER_ID_INVALID", "USER_ID_INVALID", "USER_NOT_PARTICIPANT"], "x-browser-schema-id": "2719505579"}}, "/catalog/messages.createChat": {"post": {"operationId": "messages.createChat", "tags": ["Nachrichten"], "summary": "Erstellt einen neuen Chat.", "description": "Erstellt einen neuen Chat.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.createChat", "x-tl-id": "2463030740", "x-tl-result": "messages.InvitedUsers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.InvitedUsers`.\n\n[messages.InvitedUsers](https://core.telegram.org/type/messages.InvitedUsers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.InvitedUsers", "oneOf": [{"$ref": "#/components/schemas/messages.invitedUsers"}], "description": "Type TL: messages.InvitedUsers."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 500 · `CHAT_ID_GENERATE_FAILED` – Fehler beim Generieren der Chat-ID.\n- 400 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `CHAT_MEMBER_ADD_FAILED` – Teilnehmer konnten nicht hinzugefügt werden.\n- 400 · `CHAT_TITLE_EMPTY` – Kein Chattitel angegeben.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `TTL_PERIOD_INVALID` – Der angegebene TTL-Zeitraum ist ungültig.\n- 400 · `USERS_TOO_FEW` — Not enough users (to create a chat, for example).\n- 406 · `USER_RESTRICTED` — You're spamreported, you can't create channels or chats."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.createChat"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "List of user IDs to be invited"}, "title": {"type": "string", "x-tl-type": "string", "description": "Chatname"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Time-to-live of all messages that will be sent in the chat: once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. You can use [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) to edit this value later."}}, "additionalProperties": false, "required": ["users", "title"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `users` | `Vector<InputUser>` | Ja | List of user IDs to be invited |\n| `title` | `string` | Ja | Chatname |\n| `ttl_period` | `int` | Nein | Time-to-live of all messages that will be sent in the chat: once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. You can use [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) to edit this value later. |"}, "x-telegram-rpc-errors": ["CHAT_ID_GENERATE_FAILED", "CHAT_INVALID", "CHAT_MEMBER_ADD_FAILED", "CHAT_TITLE_EMPTY", "INPUT_USER_DEACTIVATED", "TTL_PERIOD_INVALID", "USERS_TOO_FEW", "USER_RESTRICTED"], "x-browser-schema-id": "2463030740"}}, "/catalog/messages.getDhConfig": {"post": {"operationId": "messages.getDhConfig", "tags": ["Nachrichten"], "summary": "Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.", "description": "Returns configuration parameters for Diffie-Hellman key generation. Can also return a random sequence of bytes of required length.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getDhConfig", "x-tl-id": "651135312", "x-tl-result": "messages.DhConfig", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.DhConfig`.\n\n[messages.DhConfig](https://core.telegram.org/type/messages.DhConfig.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.DhConfig", "oneOf": [{"$ref": "#/components/schemas/messages.dhConfigNotModified"}, {"$ref": "#/components/schemas/messages.dhConfig"}], "description": "Type TL: messages.DhConfig."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `RANDOM_LENGTH_INVALID` – Zufällige Länge ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getDhConfig"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Value of the **version** parameter from [messages.dhConfig](https://core.telegram.org/constructor/messages.dhConfig.md), available at the client"}, "random_length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Length of the required random sequence"}}, "additionalProperties": false, "required": ["version", "random_length"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `version` | `int` | Ja | Value of the **version** parameter from [messages.dhConfig](https://core.telegram.org/constructor/messages.dhConfig.md), available at the client |\n| `random_length` | `int` | Ja | Length of the required random sequence |"}, "x-telegram-rpc-errors": ["RANDOM_LENGTH_INVALID"], "x-browser-schema-id": "651135312"}}, "/catalog/messages.requestEncryption": {"post": {"operationId": "messages.requestEncryption", "tags": ["Nachrichten"], "summary": "Sends a request to start a secret chat to the user.", "description": "Sends a request to start a secret chat to the user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)", "x-tl-method": "messages.requestEncryption", "x-tl-id": "4132286275", "x-tl-result": "EncryptedChat", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"]], "responses": {"200": {"description": "MTProto result · `EncryptedChat`.\n\n[EncryptedChat](https://core.telegram.org/type/EncryptedChat.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EncryptedChat", "oneOf": [{"$ref": "#/components/schemas/encryptedChatEmpty"}, {"$ref": "#/components/schemas/encryptedChatWaiting"}, {"$ref": "#/components/schemas/encryptedChatRequested"}, {"$ref": "#/components/schemas/encryptedChat"}, {"$ref": "#/components/schemas/encryptedChatDiscarded"}], "description": "TL Type: EncryptedChat."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `DH_G_A_INVALID` — g_a ungültig.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 403 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.requestEncryption"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Benutzer-ID"}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Unique client request ID required to prevent resending. This also doubles as the chat ID. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping."}, "g_a": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`A = g ^ a mod p`, siehe [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)"}}, "additionalProperties": false, "required": ["user_id", "random_id", "g_a"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | Benutzer-ID |\n| `random_id` | `int` | Ja | Unique client request ID required to prevent resending. This also doubles as the chat ID. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `g_a` | `bytes` | Ja | `A = g ^ a mod p`, siehe [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) |"}, "x-telegram-rpc-errors": ["DH_G_A_INVALID", "INPUT_USER_DEACTIVATED", "RANDOM_ID_DUPLICATE", "USER_ID_INVALID", "USER_IS_BLOCKED"], "x-browser-schema-id": "4132286275"}}, "/catalog/messages.acceptEncryption": {"post": {"operationId": "messages.acceptEncryption", "tags": ["Nachrichten"], "summary": "Confirms creation of a secret chat", "description": "Confirms creation of a secret chat\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.acceptEncryption", "x-tl-id": "1035731989", "x-tl-result": "EncryptedChat", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `EncryptedChat`.\n\n[EncryptedChat](https://core.telegram.org/type/EncryptedChat.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EncryptedChat", "oneOf": [{"$ref": "#/components/schemas/encryptedChatEmpty"}, {"$ref": "#/components/schemas/encryptedChatWaiting"}, {"$ref": "#/components/schemas/encryptedChatRequested"}, {"$ref": "#/components/schemas/encryptedChat"}, {"$ref": "#/components/schemas/encryptedChatDiscarded"}], "description": "TL Type: EncryptedChat."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `ENCRYPTION_ALREADY_ACCEPTED` — Geheimer Chat bereits akzeptiert.\n- 400 · `ENCRYPTION_ALREADY_DECLINED` — Der geheime Chat wurde bereits abgelehnt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.acceptEncryption"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "Secret chat ID"}, "g_b": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`B = g ^ b mod p`, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)"}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "64-bit fingerprint of the received key", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "g_b", "key_fingerprint"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Ja | Secret chat ID |\n| `g_b` | `bytes` | Ja | `B = g ^ b mod p`, see [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) |\n| `key_fingerprint` | `long` | Ja | 64-bit fingerprint of the received key |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "ENCRYPTION_ALREADY_ACCEPTED", "ENCRYPTION_ALREADY_DECLINED"], "x-browser-schema-id": "1035731989"}}, "/catalog/messages.discardEncryption": {"post": {"operationId": "messages.discardEncryption", "tags": ["Nachrichten"], "summary": "Cancels a request for creation and/or delete info on secret chat.", "description": "Cancels a request for creation and/or delete info on secret chat.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.discardEncryption", "x-tl-id": "4086541984", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_EMPTY` – Die angegebene Chat-ID ist leer.\n- 400 · `ENCRYPTION_ALREADY_ACCEPTED` — Geheimer Chat bereits akzeptiert.\n- 400 · `ENCRYPTION_ALREADY_DECLINED` — Der geheime Chat wurde bereits abgelehnt.\n- 400 · `ENCRYPTION_ID_INVALID` – Die angegebene geheime Chat-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.discardEncryption"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"delete_history": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to delete the entire chat history for the other user as well"}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Secret chat ID"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `delete_history` | `true` | Nein | Whether to delete the entire chat history for the other user as well |\n| `chat_id` | `int` | Ja | Secret chat ID |"}, "x-telegram-rpc-errors": ["CHAT_ID_EMPTY", "ENCRYPTION_ALREADY_ACCEPTED", "ENCRYPTION_ALREADY_DECLINED", "ENCRYPTION_ID_INVALID"], "x-browser-schema-id": "4086541984"}}, "/catalog/messages.setEncryptedTyping": {"post": {"operationId": "messages.setEncryptedTyping", "tags": ["Nachrichten"], "summary": "Send typing event by the current user to a secret chat.", "description": "Send typing event by the current user to a secret chat.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.setEncryptedTyping", "x-tl-id": "2031374829", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setEncryptedTyping"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "Secret chat ID"}, "typing": {"type": "boolean", "x-tl-type": "Bool", "description": "Typing. **Possible values**: [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), if the user started typing and more than **5 seconds** have passed since the last request [(boolFalse)](https://core.telegram.org/constructor/boolFalse.md), if the user stopped typing"}}, "additionalProperties": false, "required": ["peer", "typing"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Ja | Secret chat ID |\n| `typing` | `Bool` | Ja | Typing. **Possible values**: [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), if the user started typing and more than **5 seconds** have passed since the last request [(boolFalse)](https://core.telegram.org/constructor/boolFalse.md), if the user stopped typing |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID"], "x-browser-schema-id": "2031374829"}}, "/catalog/messages.readEncryptedHistory": {"post": {"operationId": "messages.readEncryptedHistory", "tags": ["Nachrichten"], "summary": "Marks message history within a secret chat as read.", "description": "Marks message history within a secret chat as read.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.readEncryptedHistory", "x-tl-id": "2135648522", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `MAX_DATE_INVALID` – Das angegebene maximale Datum ist ungültig.\n- 400 · `MSG_WAIT_FAILED` – Ein wartender Anruf hat einen Fehler zurückgegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.readEncryptedHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "Secret chat ID"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum date value for received messages in history"}}, "additionalProperties": false, "required": ["peer", "max_date"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Ja | Secret chat ID |\n| `max_date` | `int` | Ja | Maximum date value for received messages in history |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "MAX_DATE_INVALID", "MSG_WAIT_FAILED"], "x-browser-schema-id": "2135648522"}}, "/catalog/messages.sendEncrypted": {"post": {"operationId": "messages.sendEncrypted", "tags": ["Nachrichten"], "summary": "Sends a text message to a secret chat.", "description": "Sends a text message to a secret chat.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)", "x-tl-method": "messages.sendEncrypted", "x-tl-id": "1157265941", "x-tl-result": "messages.SentEncryptedMessage", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"]], "responses": {"200": {"description": "MTProto result · `messages.SentEncryptedMessage`.\n\n[messages.SentEncryptedMessage](https://core.telegram.org/type/messages.SentEncryptedMessage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SentEncryptedMessage", "oneOf": [{"$ref": "#/components/schemas/messages.sentEncryptedMessage"}, {"$ref": "#/components/schemas/messages.sentEncryptedFile"}], "description": "TL type: messages.SentEncryptedMessage."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `DATA_INVALID` – Verschlüsselte Daten ungültig.\n- 400 · `DATA_TOO_LONG` – Daten zu lang.\n- 400 · `ENCRYPTION_DECLINED` — Der geheime Chat wurde abgelehnt.\n- 500 · `MSG_WAIT_FAILED` – Ein wartender Anruf hat einen Fehler zurückgegeben.\n- 403 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendEncrypted"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Send encrypted message without a notification"}, "peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "Secret chat ID"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique client message ID, necessary to avoid message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "TL-serialization of [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization"}}, "additionalProperties": false, "required": ["peer", "random_id", "data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `silent` | `true` | Nein | Send encrypted message without a notification |\n| `peer` | `InputEncryptedChat` | Ja | Secret chat ID |\n| `random_id` | `long` | Ja | Unique client message ID, necessary to avoid message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `data` | `bytes` | Ja | TL-serialization of [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md) type, encrypted with a key that was created during chat initialization |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "DATA_INVALID", "DATA_TOO_LONG", "ENCRYPTION_DECLINED", "MSG_WAIT_FAILED", "USER_IS_BLOCKED"], "x-browser-schema-id": "1157265941"}}, "/catalog/messages.sendEncryptedFile": {"post": {"operationId": "messages.sendEncryptedFile", "tags": ["Nachrichten"], "summary": "Sends a message with a file attachment to a secret chat", "description": "Sends a message with a file attachment to a secret chat\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)", "x-tl-method": "messages.sendEncryptedFile", "x-tl-id": "1431914525", "x-tl-result": "messages.SentEncryptedMessage", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"]], "responses": {"200": {"description": "MTProto result · `messages.SentEncryptedMessage`.\n\n[messages.SentEncryptedMessage](https://core.telegram.org/type/messages.SentEncryptedMessage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SentEncryptedMessage", "oneOf": [{"$ref": "#/components/schemas/messages.sentEncryptedMessage"}, {"$ref": "#/components/schemas/messages.sentEncryptedFile"}], "description": "TL type: messages.SentEncryptedMessage."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `DATA_TOO_LONG` – Daten zu lang.\n- 400 · `ENCRYPTION_DECLINED` — Der geheime Chat wurde abgelehnt.\n- 400 · `FILE_EMTPY` – Es wurde eine leere Datei bereitgestellt.\n- 400 · `MD5_CHECKSUM_INVALID` – Die MD5 Prüfsummen stimmen nicht überein.\n- 400 · `MSG_WAIT_FAILED` – Ein wartender Anruf hat einen Fehler zurückgegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendEncryptedFile"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to send the file without triggering a notification"}, "peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "Secret chat ID"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique client message ID necessary to prevent message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "TL-serialization of [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md) type, encrypted with a key generated during chat initialization"}, "file": {"type": "object", "x-tl-type": "InputEncryptedFile", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedFileEmpty"}, {"$ref": "#/components/schemas/inputEncryptedFileUploaded"}, {"$ref": "#/components/schemas/inputEncryptedFile"}, {"$ref": "#/components/schemas/inputEncryptedFileBigUploaded"}], "description": "File attachment for the secret chat"}}, "additionalProperties": false, "required": ["peer", "random_id", "data", "file"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `silent` | `true` | Nein | Whether to send the file without triggering a notification |\n| `peer` | `InputEncryptedChat` | Ja | Secret chat ID |\n| `random_id` | `long` | Ja | Unique client message ID necessary to prevent message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `data` | `bytes` | Ja | TL-serialization of [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md) type, encrypted with a key generated during chat initialization |\n| `file` | `InputEncryptedFile` | Ja | File attachment for the secret chat |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "DATA_TOO_LONG", "ENCRYPTION_DECLINED", "FILE_EMTPY", "MD5_CHECKSUM_INVALID", "MSG_WAIT_FAILED"], "x-browser-schema-id": "1431914525"}}, "/catalog/messages.sendEncryptedService": {"post": {"operationId": "messages.sendEncryptedService", "tags": ["Nachrichten"], "summary": "Sends a service message to a secret chat.", "description": "Sends a service message to a secret chat.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)", "x-tl-method": "messages.sendEncryptedService", "x-tl-id": "852769188", "x-tl-result": "messages.SentEncryptedMessage", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"]], "responses": {"200": {"description": "MTProto result · `messages.SentEncryptedMessage`.\n\n[messages.SentEncryptedMessage](https://core.telegram.org/type/messages.SentEncryptedMessage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SentEncryptedMessage", "oneOf": [{"$ref": "#/components/schemas/messages.sentEncryptedMessage"}, {"$ref": "#/components/schemas/messages.sentEncryptedFile"}], "description": "TL type: messages.SentEncryptedMessage."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `DATA_INVALID` – Verschlüsselte Daten ungültig.\n- 400 · `DATA_TOO_LONG` – Daten zu lang.\n- 400 · `ENCRYPTION_DECLINED` — Der geheime Chat wurde abgelehnt.\n- 400 · `ENCRYPTION_ID_INVALID` – Die angegebene geheime Chat-ID ist ungültig.\n- 500 · `MSG_WAIT_FAILED` – Ein wartender Anruf hat einen Fehler zurückgegeben.\n- 403 · `USER_DELETED` — Sie können diese geheime Nachricht nicht senden, da der andere Teilnehmer sein Konto gelöscht hat.\n- 403 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendEncryptedService"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "Secret chat ID"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique client message ID required to prevent message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "TL-serialization of  [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md) type, encrypted with a key generated during chat initialization"}}, "additionalProperties": false, "required": ["peer", "random_id", "data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Ja | Secret chat ID |\n| `random_id` | `long` | Ja | Unique client message ID required to prevent message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `data` | `bytes` | Ja | TL-serialization of  [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md) type, encrypted with a key generated during chat initialization |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "DATA_INVALID", "DATA_TOO_LONG", "ENCRYPTION_DECLINED", "ENCRYPTION_ID_INVALID", "MSG_WAIT_FAILED", "USER_DELETED", "USER_IS_BLOCKED"], "x-browser-schema-id": "852769188"}}, "/catalog/messages.receivedQueue": {"post": {"operationId": "messages.receivedQueue", "tags": ["Nachrichten"], "summary": "Confirms receipt of messages in a secret chat by client, cancels push notifications.  ", "description": "Confirms receipt of messages in a secret chat by client, cancels push notifications.  \nThe method returns a list of **random\\_id**s of messages for which push notifications were cancelled.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.receivedQueue", "x-tl-id": "1436924774", "x-tl-result": "Vector<long>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<long>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[long](https://core.telegram.org/type/long.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MAX_QTS_INVALID` – Die angegebene max_qts ist ungültig.\n- 500 · `MSG_WAIT_FAILED` – Ein wartender Anruf hat einen Fehler zurückgegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.receivedQueue"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"max_qts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum qts value available at the client"}}, "additionalProperties": false, "required": ["max_qts"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `max_qts` | `int` | Ja | Maximum qts value available at the client |"}, "x-telegram-rpc-errors": ["MAX_QTS_INVALID", "MSG_WAIT_FAILED"], "x-browser-schema-id": "1436924774"}}, "/catalog/messages.reportEncryptedSpam": {"post": {"operationId": "messages.reportEncryptedSpam", "tags": ["Nachrichten"], "summary": "Report a secret chat for spam", "description": "Report a secret chat for spam\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.reportEncryptedSpam", "x-tl-id": "1259113487", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reportEncryptedSpam"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "The secret chat to report"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Ja | The secret chat to report |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID"], "x-browser-schema-id": "1259113487"}}, "/catalog/messages.readMessageContents": {"post": {"operationId": "messages.readMessageContents", "tags": ["Nachrichten"], "summary": "Notifies the sender about the recipient having listened a voice message or watched a video, emitting an updateReadMessagesContents.", "description": "Notifies the sender about the recipient having listened a voice message or watched a video, emitting an [updateReadMessagesContents](https://core.telegram.org/constructor/updateReadMessagesContents.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.readMessageContents", "x-tl-id": "916930423", "x-tl-result": "messages.AffectedMessages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.AffectedMessages`.\n\n[messages.AffectedMessages](https://core.telegram.org/type/messages.AffectedMessages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedMessages", "oneOf": [{"$ref": "#/components/schemas/messages.affectedMessages"}], "description": "TL type: messages.AffectedMessages."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.readMessageContents"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Message ID list"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<int>` | Ja | Message ID list |"}, "x-browser-schema-id": "916930423"}}, "/catalog/messages.getStickers": {"post": {"operationId": "messages.getStickers", "tags": ["Nachrichten"], "summary": "Get stickers by emoji", "description": "Get stickers by emoji\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getStickers", "x-tl-id": "3584414625", "x-tl-result": "messages.Stickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.Stickers`.\n\n[messages.Stickers](https://core.telegram.org/type/messages.Stickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Stickers", "oneOf": [{"$ref": "#/components/schemas/messages.stickersNotModified"}, {"$ref": "#/components/schemas/messages.stickers"}], "description": "Type TL: messages.Stickers."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMOTICON_EMPTY` – Das Emoji ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"emoticon": {"type": "string", "x-tl-type": "string", "description": "The emoji"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["emoticon", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `emoticon` | `string` | Ja | The emoji |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-telegram-rpc-errors": ["EMOTICON_EMPTY"], "x-browser-schema-id": "3584414625"}}, "/catalog/messages.getAllStickers": {"post": {"operationId": "messages.getAllStickers", "tags": ["Nachrichten"], "summary": "Get all installed stickers", "description": "Get all installed stickers\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getAllStickers", "x-tl-id": "3097534888", "x-tl-result": "messages.AllStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto Result · `messages.AllStickers`.\n\n[messages.AllStickers](https://core.telegram.org/type/messages.AllStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AllStickers", "oneOf": [{"$ref": "#/components/schemas/messages.allStickersNotModified"}, {"$ref": "#/components/schemas/messages.allStickers"}], "description": "TL type: messages.AllStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getAllStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3097534888"}}, "/catalog/messages.getWebPagePreview": {"post": {"operationId": "messages.getWebPagePreview", "tags": ["Nachrichten"], "summary": "Get preview of webpage", "description": "Get preview of webpage\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)", "x-tl-method": "messages.getWebPagePreview", "x-tl-id": "1460498287", "x-tl-result": "messages.WebPagePreview", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Styled text with message entities", "https://core.telegram.org/api/entities.md"]], "responses": {"200": {"description": "MTProto Result · `messages.WebPagePreview`.\n\n[messages.WebPagePreview](https://core.telegram.org/type/messages.WebPagePreview.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.WebPagePreview", "oneOf": [{"$ref": "#/components/schemas/messages.webPagePreview"}], "description": "TL type: messages.WebPagePreview."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ENTITY_BOUNDS_INVALID` – Ein angegebener [Entitätsversatz oder eine angegebene Entitätslänge](https://core.telegram.org/api/entities.md#entity-length) ist ungültig, siehe [hier »](https://core.telegram.org/api/entities.md#entity-length) für Informationen zur richtigen Berechnung des Entitätsversatzes/der Entitätslänge.\n- 400 · `MESSAGE_EMPTY` – Die bereitgestellte Nachricht ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getWebPagePreview"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"message": {"type": "string", "x-tl-type": "string", "description": "Message from which to extract the preview"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)"}}, "additionalProperties": false, "required": ["message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `message` | `string` | Ja | Message from which to extract the preview |\n| `entities` | `Vector<MessageEntity>` | Nein | [Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md) |"}, "x-telegram-rpc-errors": ["ENTITY_BOUNDS_INVALID", "MESSAGE_EMPTY"], "x-browser-schema-id": "1460498287"}}, "/catalog/messages.exportChatInvite": {"post": {"operationId": "messages.exportChatInvite", "tags": ["Nachrichten"], "summary": "Export an invite link for a chat", "description": "Export an invite link for a chat\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Star-Abonnements](https://core.telegram.org/api/subscriptions.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "messages.exportChatInvite", "x-tl-id": "2757090960", "x-tl-result": "ExportedChatInvite", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Star subscriptions", "https://core.telegram.org/api/subscriptions.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `ExportedChatInvite`.\n\n[ExportedChatInvite](https://core.telegram.org/type/ExportedChatInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedChatInvite", "oneOf": [{"$ref": "#/components/schemas/chatInviteExported"}, {"$ref": "#/components/schemas/chatInvitePublicJoinRequests"}], "description": "TL Type: ExportedChatInvite."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `EXPIRE_DATE_INVALID` – Das angegebene Ablaufdatum ist ungültig.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PRICING_CHAT_INVALID` – Der Preis für das [Abonnement](https://core.telegram.org/api/subscriptions.md) ist ungültig, der Höchstpreis ist im [`stars_subscription_amount_max` Konfigurationsschlüssel »](https://core.telegram.org/api/config.md#stars-subscription-amount-max) angegeben.\n- 400 · `SUBSCRIPTION_PERIOD_INVALID` – Der angegebene subscription_pricing.Zeitraum ist ungültig.\n- 400 · `USAGE_LIMIT_INVALID` — The specified usage limit is invalid."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.exportChatInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"legacy_revoke_permanent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Legacy flag, reproducing legacy behavior of this method: if set, revokes all previous links before creating a new one. Kept for bot API BC, should not be used by modern clients."}, "request_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Whether admin confirmation is required before admitting each separate user into the chat"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chatten"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Expiration date"}, "usage_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Maximale Anzahl von Benutzern, die über diesen Link beitreten können"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Description of the invite link, visible only to administrators"}, "subscription_pricing": {"type": "object", "x-tl-type": "StarsSubscriptionPricing", "oneOf": [{"$ref": "#/components/schemas/starsSubscriptionPricing"}], "description": "Enthält für [Telegram Star-Abonnements »](https://core.telegram.org/api/stars.md#star-subscriptions) den Preis des Abonnements, das der Benutzer aktivieren muss, um dem privaten Kanal beizutreten.", "x-tl-flag": "flags.5?StarsSubscriptionPricing"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `legacy_revoke_permanent` | `true` | Nein | Legacy flag, reproducing legacy behavior of this method: if set, revokes all previous links before creating a new one. Kept for bot API BC, should not be used by modern clients. |\n| `request_needed` | `true` | Nein | Whether admin confirmation is required before admitting each separate user into the chat |\n| `peer` | `InputPeer` | Ja | Chatten |\n| `expire_date` | `int` | Nein | Expiration date |\n| `usage_limit` | `int` | Nein | Maximale Anzahl von Benutzern, die über diesen Link beitreten können |\n| `title` | `string` | Nein | Description of the invite link, visible only to administrators |\n| `subscription_pricing` | `StarsSubscriptionPricing` | Nein | Enthält für [Telegram Star-Abonnements »](https://core.telegram.org/api/stars.md#star-subscriptions) den Preis des Abonnements, das der Benutzer aktivieren muss, um dem privaten Kanal beizutreten. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_WRITE_FORBIDDEN", "EXPIRE_DATE_INVALID", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID", "PRICING_CHAT_INVALID", "SUBSCRIPTION_PERIOD_INVALID", "USAGE_LIMIT_INVALID"], "x-browser-schema-id": "2757090960"}}, "/catalog/messages.checkChatInvite": {"post": {"operationId": "messages.checkChatInvite", "tags": ["Nachrichten"], "summary": "Überprüfen Sie die Gültigkeit eines Chat-Einladungslinks und erhalten Sie grundlegende Informationen dazu", "description": "Überprüfen Sie die Gültigkeit eines Chat-Einladungslinks und erhalten Sie grundlegende Informationen dazu\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "messages.checkChatInvite", "x-tl-id": "1051570619", "x-tl-result": "ChatInvite", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto Result · `ChatInvite`.\n\n[ChatInvite](https://core.telegram.org/type/ChatInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ChatInvite", "oneOf": [{"$ref": "#/components/schemas/chatInviteAlready"}, {"$ref": "#/components/schemas/chatInvite"}, {"$ref": "#/components/schemas/chatInvitePeek"}], "description": "TL Type: ChatInvite."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `INVITE_HASH_EMPTY` – Der Einladungs-Hash ist leer.\n- 406 · `INVITE_HASH_EXPIRED` — Der Einladungslink ist abgelaufen.\n- 400 · `INVITE_HASH_INVALID` – Der Einladungs-Hash ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.checkChatInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "x-tl-type": "string", "description": "Invite hash from [chat invite deep link »](https://core.telegram.org/api/links.md#chat-invite-links)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `string` | Ja | Invite hash from [chat invite deep link »](https://core.telegram.org/api/links.md#chat-invite-links). |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "INVITE_HASH_EMPTY", "INVITE_HASH_EXPIRED", "INVITE_HASH_INVALID"], "x-browser-schema-id": "1051570619"}}, "/catalog/messages.importChatInvite": {"post": {"operationId": "messages.importChatInvite", "tags": ["Nachrichten"], "summary": "Import a chat invite and join a private chat/supergroup/channel", "description": "Import a chat invite and join a private chat/supergroup/channel\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Star-Abonnements](https://core.telegram.org/api/subscriptions.md)", "x-tl-method": "messages.importChatInvite", "x-tl-id": "3734061934", "x-tl-result": "messages.ChatInviteJoinResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Star subscriptions", "https://core.telegram.org/api/subscriptions.md"]], "responses": {"200": {"description": "Результат MTProto · `messages.ChatInviteJoinResult`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ChatInviteJoinResult", "oneOf": [{"$ref": "#/components/schemas/messages.chatInviteJoinResultOk"}, {"$ref": "#/components/schemas/messages.chatInviteJoinResultWebView"}], "description": "Тип TL: messages.ChatInviteJoinResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` – Du bist zu vielen Kanälen/Supergruppen beigetreten.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `INVITE_HASH_EMPTY` – Der Einladungs-Hash ist leer.\n- 406 · `INVITE_HASH_EXPIRED` — Der Einladungslink ist abgelaufen.\n- 400 · `INVITE_HASH_INVALID` – Der Einladungs-Hash ist ungültig.\n- 400 · `INVITE_REQUEST_SENT` — Sie haben erfolgreich die Teilnahme an diesem Chat oder Kanal beantragt.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STARS_PAYMENT_REQUIRED` – Um diesen Chat-Einladungslink zu importieren, müssen Sie zunächst [das zugehörige Telegram Star-Abonnement bezahlen »](https://core.telegram.org/api/subscriptions.md#channel-subscriptions).\n- 400 · `USERS_TOO_MUCH` — The maximum number of users has been exceeded (to create a chat, for example).\n- 400 · `USER_ALREADY_PARTICIPANT` — The user is already in the group.\n- 400 · `USER_CHANNELS_TOO_MUCH` – Einer der Benutzer, die Sie hinzufügen wollten, ist bereits in zu vielen Kanälen/Supergruppen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.importChatInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "x-tl-type": "string", "description": "`hash` from a [chat invite deep link](https://core.telegram.org/api/links.md#chat-invite-links)"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `string` | Ja | `hash` from a [chat invite deep link](https://core.telegram.org/api/links.md#chat-invite-links) |"}, "x-telegram-rpc-errors": ["CHANNELS_TOO_MUCH", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_INVALID", "INVITE_HASH_EMPTY", "INVITE_HASH_EXPIRED", "INVITE_HASH_INVALID", "INVITE_REQUEST_SENT", "MSG_ID_INVALID", "PEER_ID_INVALID", "STARS_PAYMENT_REQUIRED", "USERS_TOO_MUCH", "USER_ALREADY_PARTICIPANT", "USER_CHANNELS_TOO_MUCH"], "x-browser-schema-id": "3734061934"}}, "/catalog/messages.getStickerSet": {"post": {"operationId": "messages.getStickerSet", "tags": ["Nachrichten"], "summary": "Get info about a stickerset", "description": "Get info about a stickerset\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getStickerSet", "x-tl-id": "3365989492", "x-tl-result": "messages.StickerSet", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.StickerSet`.\n\n[messages.StickerSet](https://core.telegram.org/type/messages.StickerSet.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSet", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSet"}, {"$ref": "#/components/schemas/messages.stickerSetNotModified"}], "description": "TL type: messages.StickerSet."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMOTICON_STICKERPACK_MISSING` — inputStickerSetDice.emoji darf nicht leer sein.\n- 406 · `STICKERSET_INVALID` — The provided sticker set is invalid."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getStickerSet"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "Aufkleberset"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)"}}, "additionalProperties": false, "required": ["stickerset", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Ja | Aufkleberset |\n| `hash` | `int` | Ja | [Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-telegram-rpc-errors": ["EMOTICON_STICKERPACK_MISSING", "STICKERSET_INVALID"], "x-browser-schema-id": "3365989492"}}, "/catalog/messages.installStickerSet": {"post": {"operationId": "messages.installStickerSet", "tags": ["Nachrichten"], "summary": "Install a stickerset", "description": "Install a stickerset\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.installStickerSet", "x-tl-id": "3348096096", "x-tl-result": "messages.StickerSetInstallResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.StickerSetInstallResult`.\n\n[messages.StickerSetInstallResult](https://core.telegram.org/type/messages.StickerSetInstallResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSetInstallResult", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSetInstallResultSuccess"}, {"$ref": "#/components/schemas/messages.stickerSetInstallResultArchive"}], "description": "Type TL: messages.StickerSetInstallResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `STICKERSET_INVALID` — The provided sticker set is invalid."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.installStickerSet"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "Stickerset to install"}, "archived": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to archive stickerset"}}, "additionalProperties": false, "required": ["stickerset", "archived"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Ja | Stickerset to install |\n| `archived` | `Bool` | Ja | Whether to archive stickerset |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "3348096096"}}, "/catalog/messages.uninstallStickerSet": {"post": {"operationId": "messages.uninstallStickerSet", "tags": ["Nachrichten"], "summary": "Uninstall a stickerset", "description": "Uninstall a stickerset\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.uninstallStickerSet", "x-tl-id": "4184757726", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `STICKERSET_INVALID` — The provided sticker set is invalid."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.uninstallStickerSet"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "The stickerset to uninstall"}}, "additionalProperties": false, "required": ["stickerset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Ja | The stickerset to uninstall |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "4184757726"}}, "/catalog/messages.startBot": {"post": {"operationId": "messages.startBot", "tags": ["Nachrichten"], "summary": "Start a conversation with a bot using a deep linking parameter", "description": "Start a conversation with a bot using a [deep linking parameter](https://core.telegram.org/api/links.md#bot-links)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "messages.startBot", "x-tl-id": "3873403768", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 500 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde.\n- 400 · `START_PARAM_EMPTY` – Der Startparameter ist leer.\n- 400 · `START_PARAM_INVALID` – Startparameter ungültig.\n- 400 · `START_PARAM_TOO_LONG` – Startparameter ist zu lang."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.startBot"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat where to start the bot, can be the bot's private chat or a group"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Random ID to avoid resending the same message. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "start_param": {"type": "string", "x-tl-type": "string", "description": "[Deep linking parameter](https://core.telegram.org/api/links.md#bot-links)"}}, "additionalProperties": false, "required": ["bot", "peer", "random_id", "start_param"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot |\n| `peer` | `InputPeer` | Ja | The chat where to start the bot, can be the bot's private chat or a group |\n| `random_id` | `long` | Ja | Random ID to avoid resending the same message. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `start_param` | `string` | Ja | [Deep linking parameter](https://core.telegram.org/api/links.md#bot-links) |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID", "RANDOM_ID_DUPLICATE", "START_PARAM_EMPTY", "START_PARAM_INVALID", "START_PARAM_TOO_LONG"], "x-browser-schema-id": "3873403768"}}, "/catalog/messages.getMessagesViews": {"post": {"operationId": "messages.getMessagesViews", "tags": ["Nachrichten"], "summary": "Get and increase the view counter of a message sent or forwarded from a channel", "description": "Get and increase the view counter of a message sent or forwarded from a [channel](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.getMessagesViews", "x-tl-id": "1468322785", "x-tl-result": "messages.MessageViews", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `messages.MessageViews`.\n\n[messages.MessageViews](https://core.telegram.org/type/messages.MessageViews.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.MessageViews", "oneOf": [{"$ref": "#/components/schemas/messages.messageViews"}], "description": "Type TL: messages.MessageViews."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getMessagesViews"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the message was found"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID der Nachricht"}, "increment": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to mark the message as viewed and increment the view counter"}}, "additionalProperties": false, "required": ["peer", "id", "increment"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the message was found |\n| `id` | `Vector<int>` | Ja | ID der Nachricht |\n| `increment` | `Bool` | Ja | Whether to mark the message as viewed and increment the view counter |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1468322785"}}, "/catalog/messages.editChatAdmin": {"post": {"operationId": "messages.editChatAdmin", "tags": ["Nachrichten"], "summary": "Make a user admin in a basic group.", "description": "Make a user admin in a [basic group](https://core.telegram.org/api/channel.md#basic-groups).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.editChatAdmin", "x-tl-id": "2824589762", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 400 · `USER_NOT_PARTICIPANT` — Du bist kein Mitglied dieser Supergruppe/dieses Kanals."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editChatAdmin"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "The ID of the group", "x-tl-type": "long"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user to make admin"}, "is_admin": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to make them admin"}}, "additionalProperties": false, "required": ["chat_id", "user_id", "is_admin"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Ja | The ID of the group |\n| `user_id` | `InputUser` | Ja | The user to make admin |\n| `is_admin` | `Bool` | Ja | Whether to make them admin |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "PEER_ID_INVALID", "USER_ID_INVALID", "USER_NOT_PARTICIPANT"], "x-browser-schema-id": "2824589762"}}, "/catalog/messages.migrateChat": {"post": {"operationId": "messages.migrateChat", "tags": ["Nachrichten"], "summary": "Turn a basic group into a supergroup", "description": "Turn a [basic group into a supergroup](https://core.telegram.org/api/channel.md#migration)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.migrateChat", "x-tl-id": "2726777625", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` – Du bist zu vielen Kanälen/Supergruppen beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 500 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.migrateChat"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Basic group](https://core.telegram.org/api/channel.md#basic-groups) to migrate", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Ja | [Basic group](https://core.telegram.org/api/channel.md#basic-groups) to migrate |"}, "x-telegram-rpc-errors": ["CHANNELS_TOO_MUCH", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "2726777625"}}, "/catalog/messages.searchGlobal": {"post": {"operationId": "messages.searchGlobal", "tags": ["Nachrichten"], "summary": "Search for messages and peers globally", "description": "Search for messages and peers globally\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Suche und Filter](https://core.telegram.org/api/search.md)\n- [Dialogordner](https://core.telegram.org/api/folders.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.searchGlobal", "x-tl-id": "1629922364", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Search and filters", "https://core.telegram.org/api/search.md"], ["Dialog folders", "https://core.telegram.org/api/folders.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FOLDER_ID_INVALID` – Ungültige Ordner-ID.\n- 400 · `INPUT_FILTER_INVALID` – Der angegebene Filter ist ungültig.\n- 400 · `SEARCH_QUERY_EMPTY` – Die Suchanfrage ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.searchGlobal"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"broadcasts_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "If set, only returns results from channels (used in the [global channel search tab »](https://core.telegram.org/api/search.md#global-search))."}, "groups_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether to search only in groups"}, "users_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Whether to search only in private chats"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "[Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders)"}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel.", "x-tl-flag": "flags.4?InputChannel"}, "q": {"type": "string", "x-tl-type": "string", "description": "Query"}, "filter": {"type": "object", "x-tl-type": "MessagesFilter", "oneOf": [{"$ref": "#/components/schemas/inputMessagesFilterEmpty"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotoVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterDocument"}, {"$ref": "#/components/schemas/inputMessagesFilterUrl"}, {"$ref": "#/components/schemas/inputMessagesFilterGif"}, {"$ref": "#/components/schemas/inputMessagesFilterVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterMusic"}, {"$ref": "#/components/schemas/inputMessagesFilterChatPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterPhoneCalls"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterMyMentions"}, {"$ref": "#/components/schemas/inputMessagesFilterGeo"}, {"$ref": "#/components/schemas/inputMessagesFilterContacts"}, {"$ref": "#/components/schemas/inputMessagesFilterPinned"}, {"$ref": "#/components/schemas/inputMessagesFilterPoll"}], "description": "Global search filter"}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value was specified, the method will return only messages with date bigger than min_date"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value was transferred, the method will return only messages with date smaller than max_date"}, "offset_rate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Initially 0, then set to the [`next_rate` parameter of messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), or if that is absent, the `date` of the last returned message."}, "offset_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["q", "filter", "min_date", "max_date", "offset_rate", "offset_peer", "offset_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `broadcasts_only` | `true` | Nein | If set, only returns results from channels (used in the [global channel search tab »](https://core.telegram.org/api/search.md#global-search)). |\n| `groups_only` | `true` | Nein | Whether to search only in groups |\n| `users_only` | `true` | Nein | Whether to search only in private chats |\n| `folder_id` | `int` | Nein | [Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders) |\n| `community` | `InputChannel` | Nein | TL Type: InputChannel. |\n| `q` | `string` | Ja | Query |\n| `filter` | `MessagesFilter` | Ja | Global search filter |\n| `min_date` | `int` | Ja | If a positive value was specified, the method will return only messages with date bigger than min_date |\n| `max_date` | `int` | Ja | If a positive value was transferred, the method will return only messages with date smaller than max_date |\n| `offset_rate` | `int` | Ja | Initially 0, then set to the [`next_rate` parameter of messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), or if that is absent, the `date` of the last returned message. |\n| `offset_peer` | `InputPeer` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["FOLDER_ID_INVALID", "INPUT_FILTER_INVALID", "SEARCH_QUERY_EMPTY"], "x-browser-schema-id": "1629922364"}}, "/catalog/messages.reorderStickerSets": {"post": {"operationId": "messages.reorderStickerSets", "tags": ["Nachrichten"], "summary": "Reorder installed stickersets", "description": "Reorder installed stickersets\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "messages.reorderStickerSets", "x-tl-id": "2016638777", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reorderStickerSets"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Reorder mask stickersets"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Reorder [custom emoji stickersets](https://core.telegram.org/api/custom-emoji.md)"}, "order": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "New stickerset order by stickerset IDs"}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `masks` | `true` | Nein | Reorder mask stickersets |\n| `emojis` | `true` | Nein | Reorder [custom emoji stickersets](https://core.telegram.org/api/custom-emoji.md) |\n| `order` | `Vector<long>` | Ja | New stickerset order by stickerset IDs |"}, "x-browser-schema-id": "2016638777"}}, "/catalog/messages.getDocumentByHash": {"post": {"operationId": "messages.getDocumentByHash", "tags": ["Nachrichten"], "summary": "Get a document by its SHA256 hash, mainly used for gifs", "description": "Get a document by its SHA256 hash, mainly used for gifs\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "messages.getDocumentByHash", "x-tl-id": "2985428511", "x-tl-result": "Document", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Document`.\n\n[Document](https://core.telegram.org/type/Document.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Document", "oneOf": [{"$ref": "#/components/schemas/documentEmpty"}, {"$ref": "#/components/schemas/document"}], "description": "TL Type: Document."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SHA256_HASH_INVALID` – Der bereitgestellte SHA256-Hash ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getDocumentByHash"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"sha256": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "SHA256 of file"}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "Size of the file in bytes", "x-tl-type": "long"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "Mime-Typ"}}, "additionalProperties": false, "required": ["sha256", "size", "mime_type"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `sha256` | `bytes` | Ja | SHA256 of file |\n| `size` | `long` | Ja | Size of the file in bytes |\n| `mime_type` | `string` | Ja | Mime-Typ |"}, "x-telegram-rpc-errors": ["SHA256_HASH_INVALID"], "x-browser-schema-id": "2985428511"}}, "/catalog/messages.getSavedGifs": {"post": {"operationId": "messages.getSavedGifs", "tags": ["Nachrichten"], "summary": "Get saved GIFs.", "description": "Get saved GIFs.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getSavedGifs", "x-tl-id": "1559270965", "x-tl-result": "messages.SavedGifs", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.SavedGifs`.\n\n[messages.SavedGifs](https://core.telegram.org/type/messages.SavedGifs.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SavedGifs", "oneOf": [{"$ref": "#/components/schemas/messages.savedGifsNotModified"}, {"$ref": "#/components/schemas/messages.savedGifs"}], "description": "TL type: messages.SavedGifs."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSavedGifs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1559270965"}}, "/catalog/messages.saveGif": {"post": {"operationId": "messages.saveGif", "tags": ["Nachrichten"], "summary": "Add GIF to saved gifs list", "description": "Add GIF to saved gifs list\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.saveGif", "x-tl-id": "846868683", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GIF_ID_INVALID` – Die angegebene GIF ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.saveGif"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "GIF to save"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to remove GIF from saved gifs list"}}, "additionalProperties": false, "required": ["id", "unsave"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | Ja | GIF to save |\n| `unsave` | `Bool` | Ja | Whether to remove GIF from saved gifs list |"}, "x-telegram-rpc-errors": ["GIF_ID_INVALID"], "x-browser-schema-id": "846868683"}}, "/catalog/messages.getInlineBotResults": {"post": {"operationId": "messages.getInlineBotResults", "tags": ["Nachrichten"], "summary": "Query an inline bot", "description": "Query an inline bot\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getInlineBotResults", "x-tl-id": "1364105629", "x-tl-result": "messages.BotResults", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.BotResults`.\n\n[messages.BotResults](https://core.telegram.org/type/messages.BotResults.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.BotResults", "oneOf": [{"$ref": "#/components/schemas/messages.botResults"}], "description": "TL type: messages.BotResults."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INLINE_DISABLED` – Dieser Bot kann nicht im Inline-Modus verwendet werden.\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `BOT_RESPONSE_TIMEOUT` – Beim Abrufen von Daten vom Bot ist eine Zeitüberschreitung aufgetreten.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getInlineBotResults"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot to query"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The currently opened chat"}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "The geolocation, if requested", "x-tl-flag": "flags.0?InputGeoPoint"}, "query": {"type": "string", "x-tl-type": "string", "description": "The query"}, "offset": {"type": "string", "x-tl-type": "string", "description": "The offset within the results, will be passed directly as-is to the bot."}}, "additionalProperties": false, "required": ["bot", "peer", "query", "offset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot to query |\n| `peer` | `InputPeer` | Ja | The currently opened chat |\n| `geo_point` | `InputGeoPoint` | Nein | The geolocation, if requested |\n| `query` | `string` | Ja | The query |\n| `offset` | `string` | Ja | The offset within the results, will be passed directly as-is to the bot. |"}, "x-telegram-rpc-errors": ["BOT_INLINE_DISABLED", "BOT_INVALID", "BOT_RESPONSE_TIMEOUT", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID"], "x-browser-schema-id": "1364105629"}}, "/catalog/messages.setInlineBotResults": {"post": {"operationId": "messages.setInlineBotResults", "tags": ["Nachrichten"], "summary": "Answer an inline query, for bots only", "description": "Answer an inline query, for bots only\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "messages.setInlineBotResults", "x-tl-id": "3138561049", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ARTICLE_TITLE_EMPTY` — Der Titel des Artikels ist leer.\n- 400 · `AUDIO_CONTENT_URL_EMPTY` – Die im Inhaltsfeld angegebene Fernbedienung URL ist leer.\n- 400 · `AUDIO_TITLE_EMPTY` — Es wurde ein leerer Audiotitel bereitgestellt.\n- 400 · `BUTTON_DATA_INVALID` – Die Daten einer oder mehrerer der von Ihnen angegebenen Schaltflächen sind ungültig.\n- 400 · `BUTTON_TYPE_INVALID` – Der Typ einer oder mehrerer der von Ihnen angegebenen Schaltflächen ist ungültig.\n- 400 · `BUTTON_URL_INVALID` – Schaltfläche URL ungültig.\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 400 · `FILE_CONTENT_TYPE_INVALID` – Der Dateiinhaltstyp ist ungültig.\n- 400 · `FILE_TITLE_EMPTY` – Es wurde ein leerer Dateititel angegeben.\n- 400 · `GIF_CONTENT_TYPE_INVALID` — GIF Inhaltstyp ungültig.\n- 400 · `MEDIA_CAPTION_TOO_LONG` – Die Beschriftung ist zu lang.\n- 400 · `MESSAGE_EMPTY` – Die bereitgestellte Nachricht ist leer.\n- 400 · `MESSAGE_TOO_LONG` – Die bereitgestellte Nachricht ist zu lang.\n- 400 · `NEXT_OFFSET_INVALID` – Der angegebene Offset ist länger als 64 Bytes.\n- 400 · `PEER_TYPES_INVALID` – Das übergebene Feld [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline.md).`peer_types` ist ungültig.\n- 400 · `PHOTO_CONTENT_TYPE_INVALID` – Foto-MIME-Typ ungültig.\n- 400 · `PHOTO_CONTENT_URL_EMPTY` — Foto URL ungültig.\n- 400 · `PHOTO_INVALID` – Foto ungültig.\n- 400 · `PHOTO_THUMB_URL_EMPTY` – Foto-Miniaturansicht URL ist leer.\n- 400 · `QUERY_ID_INVALID` – Die Abfrage-ID ist ungültig.\n- 400 · `REPLY_MARKUP_INVALID` – Das bereitgestellte Antwort-Markup ist ungültig.\n- 400 · `RESULTS_TOO_MUCH` – Es wurden zu viele Ergebnisse bereitgestellt.\n- 400 · `RESULT_ID_DUPLICATE` – Sie haben eine doppelte Ergebnis-ID angegeben.\n- 400 · `RESULT_ID_INVALID` – Eine der angegebenen Ergebnis-IDs ist ungültig.\n- 400 · `RESULT_TYPE_INVALID` – Ergebnistyp ungültig.\n- 400 · `SEND_MESSAGE_MEDIA_INVALID` – Ungültige Medien bereitgestellt.\n- 400 · `SEND_MESSAGE_TYPE_INVALID` – Der Nachrichtentyp ist ungültig.\n- 400 · `START_PARAM_EMPTY` – Der Startparameter ist leer.\n- 400 · `START_PARAM_INVALID` – Startparameter ungültig.\n- 400 · `STICKER_DOCUMENT_INVALID` – Das angegebene Aufkleberdokument ist ungültig.\n- 400 · `SWITCH_PM_TEXT_EMPTY` – Das Feld switch_pm.text war leer.\n- 400 · `SWITCH_WEBVIEW_URL_INVALID` – Die in switch_webview.url angegebene URL ist ungültig!\n- 400 · `URL_INVALID` — Invalid URL provided.\n- 403 · `USER_BOT_INVALID` — User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden.\n- 400 · `VIDEO_CONTENT_TYPE_INVALID` – Der Inhaltstyp des Videos ist ungültig.\n- 400 · `VIDEO_TITLE_EMPTY` – Der angegebene Videotitel ist leer.\n- 400 · `WEBDOCUMENT_INVALID` – Ungültiges Webdokument URL bereitgestellt.\n- 400 · `WEBDOCUMENT_MIME_INVALID` – Ungültiger Webdokument-MIME-Typ angegeben.\n- 400 · `WEBDOCUMENT_SIZE_TOO_BIG` — Webdokument ist zu groß!\n- 400 · `WEBDOCUMENT_URL_EMPTY` – Das übergebene Webdokument URL ist leer.\n- 400 · `WEBDOCUMENT_URL_INVALID` – Das angegebene Webdokument URL ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setInlineBotResults"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"gallery": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Set this flag if the results are composed of media files"}, "private": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Set this flag 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"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique identifier for the answered query", "x-tl-type": "long"}, "results": {"type": "array", "items": {"type": "object", "x-tl-type": "InputBotInlineResult", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineResult"}, {"$ref": "#/components/schemas/inputBotInlineResultPhoto"}, {"$ref": "#/components/schemas/inputBotInlineResultDocument"}, {"$ref": "#/components/schemas/inputBotInlineResultGame"}], "description": "TL Type: InputBotInlineResult."}, "x-tl-type": "Vector<InputBotInlineResult>", "description": "Vector of results for the inline query"}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300."}, "next_offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "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."}, "switch_pm": {"type": "object", "x-tl-type": "InlineBotSwitchPM", "oneOf": [{"$ref": "#/components/schemas/inlineBotSwitchPM"}], "description": "If passed, clients will display a button on top of the remaining inline result list with the specified text, that switches the user to a private chat with the bot and sends the bot a start message with a certain parameter.", "x-tl-flag": "flags.3?InlineBotSwitchPM"}, "switch_webview": {"type": "object", "x-tl-type": "InlineBotWebView", "oneOf": [{"$ref": "#/components/schemas/inlineBotWebView"}], "description": "If passed, clients will display a button on top of the remaining inline result list with the specified text, that switches the user to the specified [inline mode mini app](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps).", "x-tl-flag": "flags.4?InlineBotWebView"}}, "additionalProperties": false, "required": ["query_id", "results", "cache_time"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `gallery` | `true` | Nein | Set this flag if the results are composed of media files |\n| `private` | `true` | Nein | Set this flag 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 |\n| `query_id` | `long` | Ja | Unique identifier for the answered query |\n| `results` | `Vector<InputBotInlineResult>` | Ja | Vector of results for the inline query |\n| `cache_time` | `int` | Ja | The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300. |\n| `next_offset` | `string` | Nein | 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. |\n| `switch_pm` | `InlineBotSwitchPM` | Nein | If passed, clients will display a button on top of the remaining inline result list with the specified text, that switches the user to a private chat with the bot and sends the bot a start message with a certain parameter. |\n| `switch_webview` | `InlineBotWebView` | Nein | If passed, clients will display a button on top of the remaining inline result list with the specified text, that switches the user to the specified [inline mode mini app](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps). |"}, "x-telegram-rpc-errors": ["ARTICLE_TITLE_EMPTY", "AUDIO_CONTENT_URL_EMPTY", "AUDIO_TITLE_EMPTY", "BUTTON_DATA_INVALID", "BUTTON_TYPE_INVALID", "BUTTON_URL_INVALID", "DOCUMENT_INVALID", "FILE_CONTENT_TYPE_INVALID", "FILE_TITLE_EMPTY", "GIF_CONTENT_TYPE_INVALID", "MEDIA_CAPTION_TOO_LONG", "MESSAGE_EMPTY", "MESSAGE_TOO_LONG", "NEXT_OFFSET_INVALID", "PEER_TYPES_INVALID", "PHOTO_CONTENT_TYPE_INVALID", "PHOTO_CONTENT_URL_EMPTY", "PHOTO_INVALID", "PHOTO_THUMB_URL_EMPTY", "QUERY_ID_INVALID", "REPLY_MARKUP_INVALID", "RESULTS_TOO_MUCH", "RESULT_ID_DUPLICATE", "RESULT_ID_INVALID", "RESULT_TYPE_INVALID", "SEND_MESSAGE_MEDIA_INVALID", "SEND_MESSAGE_TYPE_INVALID", "START_PARAM_EMPTY", "START_PARAM_INVALID", "STICKER_DOCUMENT_INVALID", "SWITCH_PM_TEXT_EMPTY", "SWITCH_WEBVIEW_URL_INVALID", "URL_INVALID", "USER_BOT_INVALID", "USER_BOT_REQUIRED", "VIDEO_CONTENT_TYPE_INVALID", "VIDEO_TITLE_EMPTY", "WEBDOCUMENT_INVALID", "WEBDOCUMENT_MIME_INVALID", "WEBDOCUMENT_SIZE_TOO_BIG", "WEBDOCUMENT_URL_EMPTY", "WEBDOCUMENT_URL_INVALID"], "x-browser-schema-id": "3138561049"}}, "/catalog/messages.sendInlineBotResult": {"post": {"operationId": "messages.sendInlineBotResult", "tags": ["Nachrichten"], "summary": "Send a result obtained using messages.getInlineBotResults.", "description": "Send a result obtained using [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenentwürfe](https://core.telegram.org/api/drafts.md)\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Diskussionsgruppen](https://core.telegram.org/api/discussion.md)\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "messages.sendInlineBotResult", "x-tl-id": "3234821702", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message drafts", "https://core.telegram.org/api/drafts.md"], ["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Discussion groups", "https://core.telegram.org/api/discussion.md"], ["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` – Dieser Peer berechnet %d [Telegram Stars](https://core.telegram.org/api/stars.md) pro Nachricht, aber `allow_paid_stars` wurde nicht festgelegt oder sein Wert ist kleiner als %d.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` – Sie treten der Diskussionsgruppe bei, bevor Sie einen Kommentar abgeben. Weitere Informationen finden Sie [hier »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group).\n- 400 · `CHAT_RESTRICTED` — Sie können in diesem Chat keine Nachrichten senden, da Sie eingeschränkt waren.\n- 403 · `CHAT_SEND_AUDIOS_FORBIDDEN` — Sie können in diesem Chat keine Audionachrichten senden.\n- 403 · `CHAT_SEND_GAME_FORBIDDEN` — Sie können kein Spiel an diesen Chat senden.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — Sie können in diesem Chat keine GIFs senden.\n- 403 · `CHAT_SEND_INLINE_FORBIDDEN` – Sie können in dieser Gruppe keine Inline-Nachrichten senden.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — Sie können in diesem Chat keine Medien senden.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — Sie können in diesem Chat keine Fotos senden.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — Sie können in diesem Chat keine nicht-medialen (Text-)Nachrichten senden.\n- 403 · `CHAT_SEND_STICKERS_FORBIDDEN` — Sie können in diesem Chat keine Aufkleber senden.\n- 403 · `CHAT_SEND_VOICES_FORBIDDEN` — Sie können in diesem Chat keine Sprachaufzeichnungen senden.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `ENTITY_BOUNDS_INVALID` – Ein angegebener [Entitätsversatz oder eine angegebene Entitätslänge](https://core.telegram.org/api/entities.md#entity-length) ist ungültig, siehe [hier »](https://core.telegram.org/api/entities.md#entity-length) für Informationen zur richtigen Berechnung des Entitätsversatzes/der Entitätslänge.\n- 400 · `INLINE_RESULT_EXPIRED` – Die Inline-Abfrage ist abgelaufen.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MEDIA_EMPTY` – Das bereitgestellte Medienobjekt ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — You need a [Telegram Premium subscription](https://core.telegram.org/api/premium.md) to send a message to this user.\n- 400 · `QUERY_ID_EMPTY` – Die Abfrage-ID ist leer.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Es können maximal [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) Verknüpfungen erstellt werden, das Limit wurde erreicht.\n- 500 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` – Jede Verknüpfung kann maximal [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) Nachrichten enthalten, das Limit wurde erreicht.\n- 400 · `RESULT_ID_EMPTY` – Ergebnis-ID leer.\n- 400 · `RESULT_ID_INVALID` – Eine der angegebenen Ergebnis-IDs ist ungültig.\n- 400 · `SCHEDULE_DATE_TOO_LATE` – Sie können keine Nachricht so weit in der Zukunft planen.\n- 400 · `SCHEDULE_TOO_MUCH` – Es sind zu viele geplante Nachrichten vorhanden.\n- 400 · `SEND_AS_PEER_INVALID` – Sie können als angegebener Peer keine Nachrichten senden.\n- 500 · `SEND_MEDIA_INVALID` – Das angegebene Medium ist ungültig.\n- 420 · `SLOWMODE_WAIT_%d` — Slowmode ist in diesem Chat aktiviert: Warten Sie %d Sekunden, bevor Sie eine weitere Nachricht an diesen Chat senden.\n- 400 · `TOPIC_DELETED` – Das angegebene Thema wurde gelöscht.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `VOICE_MESSAGES_FORBIDDEN` — Die Datenschutzeinstellungen dieses Benutzers verbieten Ihnen das Senden von Sprachnachrichten.\n- 400 · `WEBPAGE_CURL_FAILED` – Fehler beim Abrufen der Webseite mit cURL.\n- 400 · `WEBPAGE_MEDIA_EMPTY` – Webseitenmedien leer.\n- 400 · `YOU_BLOCKED_USER` — Sie haben diesen Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendInlineBotResult"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Whether to send the message silently (no notification will be triggered on the other client)"}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Whether to send the message in background"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Whether to clear the [draft](https://core.telegram.org/api/drafts.md)"}, "hide_via": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true", "description": "Whether to hide the `via @botname` in the resulting message (only for bot usernames encountered in the [config](https://core.telegram.org/constructor/config.md))"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Destination"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "If set, indicates that the message should be sent in reply to the specified message or story.", "x-tl-flag": "flags.0?InputReplyTo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Random ID to avoid resending the same query. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Query ID from [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md)", "x-tl-type": "long"}, "id": {"type": "string", "x-tl-type": "string", "description": "Result ID from [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md)"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Scheduled message date for scheduled messages"}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Send this message as the specified peer", "x-tl-flag": "flags.13?InputPeer"}, "quick_reply_shortcut": {"type": "object", "x-tl-type": "InputQuickReplyShortcut", "oneOf": [{"$ref": "#/components/schemas/inputQuickReplyShortcut"}, {"$ref": "#/components/schemas/inputQuickReplyShortcutId"}], "description": "Add the message to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}}, "additionalProperties": false, "required": ["peer", "random_id", "query_id", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `silent` | `true` | Nein | Whether to send the message silently (no notification will be triggered on the other client) |\n| `background` | `true` | Nein | Whether to send the message in background |\n| `clear_draft` | `true` | Nein | Whether to clear the [draft](https://core.telegram.org/api/drafts.md) |\n| `hide_via` | `true` | Nein | Whether to hide the `via @botname` in the resulting message (only for bot usernames encountered in the [config](https://core.telegram.org/constructor/config.md)) |\n| `peer` | `InputPeer` | Ja | Destination |\n| `reply_to` | `InputReplyTo` | Nein | If set, indicates that the message should be sent in reply to the specified message or story. |\n| `random_id` | `long` | Ja | Random ID to avoid resending the same query. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `query_id` | `long` | Ja | Query ID from [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md) |\n| `id` | `string` | Ja | Result ID from [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md) |\n| `schedule_date` | `int` | Nein | Scheduled message date for scheduled messages |\n| `send_as` | `InputPeer` | Nein | Send this message as the specified peer |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Nein | Add the message to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead. |\n| `allow_paid_stars` | `long` | Nein | For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message. |"}, "x-telegram-rpc-errors": ["ALLOW_PAYMENT_REQUIRED_%d", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_GUEST_SEND_FORBIDDEN", "CHAT_RESTRICTED", "CHAT_SEND_AUDIOS_FORBIDDEN", "CHAT_SEND_GAME_FORBIDDEN", "CHAT_SEND_GIFS_FORBIDDEN", "CHAT_SEND_INLINE_FORBIDDEN", "CHAT_SEND_MEDIA_FORBIDDEN", "CHAT_SEND_PHOTOS_FORBIDDEN", "CHAT_SEND_PLAIN_FORBIDDEN", "CHAT_SEND_STICKERS_FORBIDDEN", "CHAT_SEND_VOICES_FORBIDDEN", "CHAT_WRITE_FORBIDDEN", "ENTITY_BOUNDS_INVALID", "INLINE_RESULT_EXPIRED", "INPUT_USER_DEACTIVATED", "MEDIA_EMPTY", "MSG_ID_INVALID", "PEER_ID_INVALID", "PRIVACY_PREMIUM_REQUIRED", "QUERY_ID_EMPTY", "QUICK_REPLIES_TOO_MUCH", "RANDOM_ID_DUPLICATE", "REPLY_MESSAGES_TOO_MUCH", "RESULT_ID_EMPTY", "RESULT_ID_INVALID", "SCHEDULE_DATE_TOO_LATE", "SCHEDULE_TOO_MUCH", "SEND_AS_PEER_INVALID", "SEND_MEDIA_INVALID", "SLOWMODE_WAIT_%d", "TOPIC_DELETED", "USER_BANNED_IN_CHANNEL", "VOICE_MESSAGES_FORBIDDEN", "WEBPAGE_CURL_FAILED", "WEBPAGE_MEDIA_EMPTY", "YOU_BLOCKED_USER"], "x-browser-schema-id": "3234821702"}}, "/catalog/messages.getMessageEditData": {"post": {"operationId": "messages.getMessageEditData", "tags": ["Nachrichten"], "summary": "Find out if a media message's caption can be edited", "description": "Find out if a media message's caption can be edited\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getMessageEditData", "x-tl-id": "4255550774", "x-tl-result": "messages.MessageEditData", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.MessageEditData`.\n\n[messages.MessageEditData](https://core.telegram.org/type/messages.MessageEditData.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.MessageEditData", "oneOf": [{"$ref": "#/components/schemas/messages.messageEditData"}], "description": "Type TL: messages.MessageEditData."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 403 · `MESSAGE_AUTHOR_REQUIRED` – Nachrichtenautor erforderlich.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getMessageEditData"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the media was sent"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID der Nachricht"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the media was sent |\n| `id` | `int` | Ja | ID der Nachricht |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "MESSAGE_AUTHOR_REQUIRED", "MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4255550774"}}, "/catalog/messages.editMessage": {"post": {"operationId": "messages.editMessage", "tags": ["Nachrichten"], "summary": "Edit message", "description": "Edits a message by ID in the selected chat.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Geplante Nachrichten](https://core.telegram.org/api/scheduled-messages.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)\n- [Checklisten und To-Do-Listen](https://core.telegram.org/api/todo.md)", "x-tl-method": "messages.editMessage", "x-tl-id": "2970019436", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["Scheduled messages", "https://core.telegram.org/api/scheduled-messages.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"], ["Checklists and to-do lists", "https://core.telegram.org/api/todo.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_DOMAIN_INVALID` – Bot-Domäne ungültig.\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `BUSINESS_PEER_INVALID` – Nachrichten können über die aktuelle [Geschäftsverbindung](https://core.telegram.org/api/business.md#connected-bots)] nicht an den angegebenen Peer gesendet werden.\n- 400 · `BUTTON_COPY_TEXT_INVALID` – Die angegebene [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy.md).`copy_text` ist ungültig.\n- 400 · `BUTTON_DATA_INVALID` – Die Daten einer oder mehrerer der von Ihnen angegebenen Schaltflächen sind ungültig.\n- 400 · `BUTTON_TYPE_INVALID` – Der Typ einer oder mehrerer der von Ihnen angegebenen Schaltflächen ist ungültig.\n- 400 · `BUTTON_URL_INVALID` – Schaltfläche URL ungültig.\n- 400 · `BUTTON_USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellung des Benutzers, der in einer Schaltfläche [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile.md)] angegeben ist, lässt das Erstellen einer solchen Schaltfläche nicht zu.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_FORWARDS_RESTRICTED` – Sie können keine Nachrichten aus einem geschützten Chat weiterleiten.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — Sie können in diesem Chat keine GIFs senden.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 406 · `EDIT_MESSAGE_TEMP_RESTRICTED` – Das Bearbeiten von Nachrichten ist diesem Benutzer aufgrund behördlicher Beschränkungen vorübergehend untersagt.\n- 400 · `ENTITIES_TOO_LONG` – Sie haben zu viele gestaltete Nachrichtenentitäten bereitgestellt.\n- 400 · `ENTITY_BOUNDS_INVALID` – Ein angegebener [Entitätsversatz oder eine angegebene Entitätslänge](https://core.telegram.org/api/entities.md#entity-length) ist ungültig, siehe [hier »](https://core.telegram.org/api/entities.md#entity-length) für Informationen zur richtigen Berechnung des Entitätsversatzes/der Entitätslänge.\n- 400 · `FILE_PARTS_INVALID` – Die Anzahl der Dateiteile ist ungültig.\n- 400 · `IMAGE_PROCESS_FAILED` – Fehler bei der Bildverarbeitung.\n- 403 · `INLINE_BOT_REQUIRED` – Nur der Inline-Bot kann Nachrichten bearbeiten.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MEDIA_CAPTION_TOO_LONG` – Die Beschriftung ist zu lang.\n- 400 · `MEDIA_EMPTY` – Das bereitgestellte Medienobjekt ist ungültig.\n- 400 · `MEDIA_GROUPED_INVALID` — Sie haben versucht, Medien unterschiedlichen Typs in einem Album zu senden.\n- 400 · `MEDIA_INVALID` – Medien ungültig.\n- 400 · `MEDIA_NEW_INVALID` – Das neue Medium ist ungültig.\n- 400 · `MEDIA_PREV_INVALID` – Vorheriges Medium ungültig.\n- 400 · `MEDIA_TTL_INVALID` – Das angegebene Medium TTL ist ungültig.\n- 403 · `MESSAGE_AUTHOR_REQUIRED` – Nachrichtenautor erforderlich.\n- 400 · `MESSAGE_EDIT_TIME_EXPIRED` — Sie können diese Nachricht nicht mehr bearbeiten, da seit ihrer Erstellung zu viel Zeit vergangen ist.\n- 400 · `MESSAGE_EMPTY` – Die bereitgestellte Nachricht ist leer.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MESSAGE_NOT_MODIFIED` – Die bereitgestellten Nachrichtendaten sind identisch mit den vorherigen Nachrichtendaten, die Nachricht wurde nicht geändert.\n- 400 · `MESSAGE_TOO_LONG` – Die bereitgestellte Nachricht ist zu lang.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 500 · `MSG_WAIT_FAILED` – Ein wartender Anruf hat einen Fehler zurückgegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PEER_TYPES_INVALID` – Das übergebene Feld [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline.md).`peer_types` ist ungültig.\n- 400 · `PHOTO_EXT_INVALID` — Die Erweiterung des Fotos ist ungültig.\n- 400 · `PHOTO_INVALID_DIMENSIONS` – Die Fotoabmessungen sind ungültig.\n- 400 · `PHOTO_SAVE_FILE_INVALID` – Interne Probleme, versuchen Sie es später noch einmal.\n- 400 · `REPLY_MARKUP_INVALID` – Das bereitgestellte Antwort-Markup ist ungültig.\n- 400 · `REPLY_MARKUP_TOO_LONG` – Die angegebene reply_markup ist zu lang.\n- 400 · `SCHEDULE_DATE_INVALID` – Ungültiges Zeitplandatum angegeben.\n- 400 · `TODO_ITEMS_EMPTY` – Eine Checkliste wurde angegeben, aber keine [Checklistenpunkte](https://core.telegram.org/api/todo.md) wurden bestanden.\n- 400 · `TODO_ITEM_DUPLICATE` – Duplikat [Checklistenelemente](https://core.telegram.org/api/todo.md) erkannt.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `WEBPAGE_NOT_FOUND` – Eine Vorschau für die angegebene Webseite `url` konnte nicht generiert werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"no_webpage": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Disable link previews."}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "If set, any eventual webpage preview will be shown on top of the message instead of at the bottom."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chatten Sie dort, wo sich die Nachricht befindet."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the message being edited."}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.11?string", "description": "New message text."}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "New attached media", "x-tl-flag": "flags.14?InputMedia"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "oneOf": [{"$ref": "#/components/schemas/replyKeyboardHide"}, {"$ref": "#/components/schemas/replyKeyboardForceReply"}, {"$ref": "#/components/schemas/replyKeyboardMarkup"}, {"$ref": "#/components/schemas/replyInlineMarkup"}], "description": "Reply markup for inline keyboards", "x-tl-flag": "flags.2?ReplyMarkup"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Formatting elements for new text."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int", "description": "Scheduled message date for [scheduled messages](https://core.telegram.org/api/scheduled-messages.md)"}, "schedule_repeat_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.18?int", "description": "Once sent, this message will be automatically re-scheduled to be re-sent again this many seconds in the future, see [here »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) for more info on repeating scheduled messages."}, "quick_reply_shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.17?int", "description": "If specified, edits a [quick reply shortcut message, instead »](https://core.telegram.org/api/business.md#quick-reply-shortcuts)."}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage.", "x-tl-flag": "flags.23?InputRichMessage"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | Nein | Disable link previews. |\n| `invert_media` | `true` | Nein | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |\n| `peer` | `InputPeer` | Ja | Chatten Sie dort, wo sich die Nachricht befindet. |\n| `id` | `int` | Ja | ID of the message being edited. |\n| `message` | `string` | Nein | New message text. |\n| `media` | `InputMedia` | Nein | New attached media |\n| `reply_markup` | `ReplyMarkup` | Nein | Reply markup for inline keyboards |\n| `entities` | `Vector<MessageEntity>` | Nein | Formatting elements for new text. |\n| `schedule_date` | `int` | Nein | Scheduled message date for [scheduled messages](https://core.telegram.org/api/scheduled-messages.md) |\n| `schedule_repeat_period` | `int` | Nein | Once sent, this message will be automatically re-scheduled to be re-sent again this many seconds in the future, see [here »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) for more info on repeating scheduled messages. |\n| `quick_reply_shortcut_id` | `int` | Nein | If specified, edits a [quick reply shortcut message, instead »](https://core.telegram.org/api/business.md#quick-reply-shortcuts). |\n| `rich_message` | `InputRichMessage` | Nein | Тип TL: InputRichMessage. |"}, "x-telegram-rpc-errors": ["BOT_DOMAIN_INVALID", "BOT_INVALID", "BUSINESS_CONNECTION_INVALID", "BUSINESS_PEER_INVALID", "BUTTON_COPY_TEXT_INVALID", "BUTTON_DATA_INVALID", "BUTTON_TYPE_INVALID", "BUTTON_URL_INVALID", "BUTTON_USER_PRIVACY_RESTRICTED", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_FORWARDS_RESTRICTED", "CHAT_SEND_GIFS_FORBIDDEN", "CHAT_WRITE_FORBIDDEN", "DOCUMENT_INVALID", "EDIT_MESSAGE_TEMP_RESTRICTED", "ENTITIES_TOO_LONG", "ENTITY_BOUNDS_INVALID", "FILE_PARTS_INVALID", "IMAGE_PROCESS_FAILED", "INLINE_BOT_REQUIRED", "INPUT_USER_DEACTIVATED", "MEDIA_CAPTION_TOO_LONG", "MEDIA_EMPTY", "MEDIA_GROUPED_INVALID", "MEDIA_INVALID", "MEDIA_NEW_INVALID", "MEDIA_PREV_INVALID", "MEDIA_TTL_INVALID", "MESSAGE_AUTHOR_REQUIRED", "MESSAGE_EDIT_TIME_EXPIRED", "MESSAGE_EMPTY", "MESSAGE_ID_INVALID", "MESSAGE_NOT_MODIFIED", "MESSAGE_TOO_LONG", "MSG_ID_INVALID", "MSG_WAIT_FAILED", "PEER_ID_INVALID", "PEER_TYPES_INVALID", "PHOTO_EXT_INVALID", "PHOTO_INVALID_DIMENSIONS", "PHOTO_SAVE_FILE_INVALID", "REPLY_MARKUP_INVALID", "REPLY_MARKUP_TOO_LONG", "SCHEDULE_DATE_INVALID", "TODO_ITEMS_EMPTY", "TODO_ITEM_DUPLICATE", "USER_BANNED_IN_CHANNEL", "WEBPAGE_NOT_FOUND"], "x-browser-schema-id": "2970019436"}}, "/catalog/messages.editInlineBotMessage": {"post": {"operationId": "messages.editInlineBotMessage", "tags": ["Nachrichten"], "summary": "Edit an inline bot message", "description": "Edit an inline bot message\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)", "x-tl-method": "messages.editInlineBotMessage", "x-tl-id": "2753805137", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Styled text with message entities", "https://core.telegram.org/api/entities.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUTTON_DATA_INVALID` – Die Daten einer oder mehrerer der von Ihnen angegebenen Schaltflächen sind ungültig.\n- 400 · `ENTITY_BOUNDS_INVALID` – Ein angegebener [Entitätsversatz oder eine angegebene Entitätslänge](https://core.telegram.org/api/entities.md#entity-length) ist ungültig, siehe [hier »](https://core.telegram.org/api/entities.md#entity-length) für Informationen zur richtigen Berechnung des Entitätsversatzes/der Entitätslänge.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MESSAGE_NOT_MODIFIED` – Die bereitgestellten Nachrichtendaten sind identisch mit den vorherigen Nachrichtendaten, die Nachricht wurde nicht geändert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editInlineBotMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"no_webpage": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Disable webpage preview"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "If set, any eventual webpage preview will be shown on top of the message instead of at the bottom."}, "id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineMessageID"}, {"$ref": "#/components/schemas/inputBotInlineMessageID64"}], "description": "Sent inline message ID"}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.11?string", "description": "Nachricht"}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "Media", "x-tl-flag": "flags.14?InputMedia"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "oneOf": [{"$ref": "#/components/schemas/replyKeyboardHide"}, {"$ref": "#/components/schemas/replyKeyboardForceReply"}, {"$ref": "#/components/schemas/replyKeyboardMarkup"}, {"$ref": "#/components/schemas/replyInlineMarkup"}], "description": "Reply markup for inline keyboards", "x-tl-flag": "flags.2?ReplyMarkup"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage.", "x-tl-flag": "flags.23?InputRichMessage"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | Nein | Disable webpage preview |\n| `invert_media` | `true` | Nein | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |\n| `id` | `InputBotInlineMessageID` | Ja | Sent inline message ID |\n| `message` | `string` | Nein | Nachricht |\n| `media` | `InputMedia` | Nein | Media |\n| `reply_markup` | `ReplyMarkup` | Nein | Reply markup for inline keyboards |\n| `entities` | `Vector<MessageEntity>` | Nein | [Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md) |\n| `rich_message` | `InputRichMessage` | Nein | Тип TL: InputRichMessage. |"}, "x-telegram-rpc-errors": ["BUTTON_DATA_INVALID", "ENTITY_BOUNDS_INVALID", "MESSAGE_ID_INVALID", "MESSAGE_NOT_MODIFIED"], "x-browser-schema-id": "2753805137"}}, "/catalog/messages.getBotCallbackAnswer": {"post": {"operationId": "messages.getBotCallbackAnswer", "tags": ["Nachrichten"], "summary": "Press an inline callback button and get a callback answer from the bot", "description": "Press an inline callback button and get a callback answer from the bot\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)", "x-tl-method": "messages.getBotCallbackAnswer", "x-tl-id": "2470627847", "x-tl-result": "messages.BotCallbackAnswer", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"]], "responses": {"200": {"description": "MTProto result · `messages.BotCallbackAnswer`.\n\n[messages.BotCallbackAnswer](https://core.telegram.org/type/messages.BotCallbackAnswer.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.BotCallbackAnswer", "oneOf": [{"$ref": "#/components/schemas/messages.botCallbackAnswer"}], "description": "TL type: messages.BotCallbackAnswer."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_RESPONSE_TIMEOUT` – Beim Abrufen von Daten vom Bot ist eine Zeitüberschreitung aufgetreten.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `DATA_INVALID` – Verschlüsselte Daten ungültig.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PASSWORD_MISSING` – Sie müssen [2FA](https://core.telegram.org/api/srp.md) aktivieren, bevor Sie diesen Vorgang ausführen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getBotCallbackAnswer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"game": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether this is a \"play game\" button"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Where was the inline keyboard sent"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the Message with the inline keyboard"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Callback data"}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "For buttons [requiring you to verify your identity with your 2FA password](https://core.telegram.org/constructor/keyboardButtonCallback.md), the SRP payload generated using [SRP](https://core.telegram.org/api/srp.md).", "x-tl-flag": "flags.2?InputCheckPasswordSRP"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `game` | `true` | Nein | Whether this is a \"play game\" button |\n| `peer` | `InputPeer` | Ja | Where was the inline keyboard sent |\n| `msg_id` | `int` | Ja | ID of the Message with the inline keyboard |\n| `data` | `bytes` | Nein | Callback data |\n| `password` | `InputCheckPasswordSRP` | Nein | For buttons [requiring you to verify your identity with your 2FA password](https://core.telegram.org/constructor/keyboardButtonCallback.md), the SRP payload generated using [SRP](https://core.telegram.org/api/srp.md). |"}, "x-telegram-rpc-errors": ["BOT_RESPONSE_TIMEOUT", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "DATA_INVALID", "MESSAGE_ID_INVALID", "MSG_ID_INVALID", "PASSWORD_MISSING", "PEER_ID_INVALID"], "x-browser-schema-id": "2470627847"}}, "/catalog/messages.setBotCallbackAnswer": {"post": {"operationId": "messages.setBotCallbackAnswer", "tags": ["Nachrichten"], "summary": "Set the callback answer to a user button press (bots only)", "description": "Set the callback answer to a user button press (bots only)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "messages.setBotCallbackAnswer", "x-tl-id": "3582923530", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_TOO_LONG` – Die bereitgestellte Nachricht ist zu lang.\n- 400 · `QUERY_ID_INVALID` – Die Abfrage-ID ist ungültig.\n- 400 · `URL_INVALID` — Invalid URL provided.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setBotCallbackAnswer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"alert": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to show the message as a popup instead of a toast notification"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Abfrage-ID", "x-tl-type": "long"}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Popup to show"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "URL zum Öffnen"}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cache validity"}}, "additionalProperties": false, "required": ["query_id", "cache_time"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `alert` | `true` | Nein | Whether to show the message as a popup instead of a toast notification |\n| `query_id` | `long` | Ja | Abfrage-ID |\n| `message` | `string` | Nein | Popup to show |\n| `url` | `string` | Nein | URL zum Öffnen |\n| `cache_time` | `int` | Ja | Cache validity |"}, "x-telegram-rpc-errors": ["MESSAGE_TOO_LONG", "QUERY_ID_INVALID", "URL_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3582923530"}}, "/catalog/messages.getPeerDialogs": {"post": {"operationId": "messages.getPeerDialogs", "tags": ["Nachrichten"], "summary": "Get dialog info of specified peers", "description": "Get dialog info of specified peers\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "messages.getPeerDialogs", "x-tl-id": "3832593661", "x-tl-result": "messages.PeerDialogs", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `messages.PeerDialogs`.\n\n[messages.PeerDialogs](https://core.telegram.org/type/messages.PeerDialogs.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.PeerDialogs", "oneOf": [{"$ref": "#/components/schemas/messages.peerDialogs"}], "description": "TL type: messages.PeerDialogs."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `FROZEN_PARTICIPANT_MISSING` – Das aktuelle Konto ist [eingefroren](https://core.telegram.org/api/auth.md#frozen-accounts) und kann nicht auf den angegebenen Peer zugreifen.\n- 400 · `INPUT_PEERS_EMPTY` – Das angegebene Peer-Array ist leer.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getPeerDialogs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "TL Type: InputDialogPeer."}, "x-tl-type": "Vector<InputDialogPeer>", "description": "Kollegen"}}, "additionalProperties": false, "required": ["peers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peers` | `Vector<InputDialogPeer>` | Ja | Kollegen |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "FROZEN_PARTICIPANT_MISSING", "INPUT_PEERS_EMPTY", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3832593661"}}, "/catalog/messages.saveDraft": {"post": {"operationId": "messages.saveDraft", "tags": ["Nachrichten"], "summary": "Save a message draft associated to a chat.", "description": "Save a message [draft](https://core.telegram.org/api/drafts.md) associated to a chat.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Animierte Nachrichteneffekte](https://core.telegram.org/api/effects.md)\n- [Vorgeschlagene Beiträge](https://core.telegram.org/api/suggested-posts.md)\n- [Nachrichtenentwürfe](https://core.telegram.org/api/drafts.md)", "x-tl-method": "messages.saveDraft", "x-tl-id": "2903482716", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["Animated message effects", "https://core.telegram.org/api/effects.md"], ["Suggested posts", "https://core.telegram.org/api/suggested-posts.md"], ["Message drafts", "https://core.telegram.org/api/drafts.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `ENTITY_BOUNDS_INVALID` – Ein angegebener [Entitätsversatz oder eine angegebene Entitätslänge](https://core.telegram.org/api/entities.md#entity-length) ist ungültig, siehe [hier »](https://core.telegram.org/api/entities.md#entity-length) für Informationen zur richtigen Berechnung des Entitätsversatzes/der Entitätslänge.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.saveDraft"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"no_webpage": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Disable generation of the webpage preview"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "If set, any eventual webpage preview will be shown on top of the message instead of at the bottom."}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "If set, indicates that the message should be sent in reply to the specified message or story.", "x-tl-flag": "flags.4?InputReplyTo"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Destination of the message that should be sent"}, "message": {"type": "string", "x-tl-type": "string", "description": "The draft"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Nachricht [entities](https://core.telegram.org/api/entities.md) für formatierten Text"}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "Angehängte Medien", "x-tl-flag": "flags.5?InputMedia"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message.", "x-tl-type": "long", "x-tl-flag": "flags.7?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Used to [suggest a post to a channel, see here »](https://core.telegram.org/api/suggested-posts.md) for more info on the full flow.", "x-tl-flag": "flags.8?SuggestedPost"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage.", "x-tl-flag": "flags.9?InputRichMessage"}}, "additionalProperties": false, "required": ["peer", "message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | Nein | Disable generation of the webpage preview |\n| `invert_media` | `true` | Nein | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |\n| `reply_to` | `InputReplyTo` | Nein | If set, indicates that the message should be sent in reply to the specified message or story. |\n| `peer` | `InputPeer` | Ja | Destination of the message that should be sent |\n| `message` | `string` | Ja | The draft |\n| `entities` | `Vector<MessageEntity>` | Nein | Nachricht [entities](https://core.telegram.org/api/entities.md) für formatierten Text |\n| `media` | `InputMedia` | Nein | Angehängte Medien |\n| `effect` | `long` | Nein | Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message. |\n| `suggested_post` | `SuggestedPost` | Nein | Used to [suggest a post to a channel, see here »](https://core.telegram.org/api/suggested-posts.md) for more info on the full flow. |\n| `rich_message` | `InputRichMessage` | Nein | Тип TL: InputRichMessage. |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "ENTITY_BOUNDS_INVALID", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "2903482716"}}, "/catalog/messages.getAllDrafts": {"post": {"operationId": "messages.getAllDrafts", "tags": ["Nachrichten"], "summary": "Return all message drafts.  ", "description": "Return all message [drafts](https://core.telegram.org/api/drafts.md).  \nReturns all the latest [updateDraftMessage](https://core.telegram.org/constructor/updateDraftMessage.md) updates related to all chats with drafts.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenentwürfe](https://core.telegram.org/api/drafts.md)", "x-tl-method": "messages.getAllDrafts", "x-tl-id": "1782549861", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message drafts", "https://core.telegram.org/api/drafts.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getAllDrafts"}, "x-browser-schema-id": "1782549861"}}, "/catalog/messages.getFeaturedStickers": {"post": {"operationId": "messages.getFeaturedStickers", "tags": ["Nachrichten"], "summary": "Get featured stickers", "description": "Get featured stickers\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getFeaturedStickers", "x-tl-id": "1685588756", "x-tl-result": "messages.FeaturedStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.FeaturedStickers`.\n\n[messages.FeaturedStickers](https://core.telegram.org/type/messages.FeaturedStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.FeaturedStickers", "oneOf": [{"$ref": "#/components/schemas/messages.featuredStickersNotModified"}, {"$ref": "#/components/schemas/messages.featuredStickers"}], "description": "TL type: messages.FeaturedStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getFeaturedStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1685588756"}}, "/catalog/messages.readFeaturedStickers": {"post": {"operationId": "messages.readFeaturedStickers", "tags": ["Nachrichten"], "summary": "Mark new featured stickers as read", "description": "Mark new featured stickers as read", "x-tl-method": "messages.readFeaturedStickers", "x-tl-id": "1527873830", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.readFeaturedStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "IDs of stickersets to mark as read"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<long>` | Ja | IDs of stickersets to mark as read |"}, "x-browser-schema-id": "1527873830"}}, "/catalog/messages.getRecentStickers": {"post": {"operationId": "messages.getRecentStickers", "tags": ["Nachrichten"], "summary": "Get recent stickers", "description": "Get recent stickers\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getRecentStickers", "x-tl-id": "2645114939", "x-tl-result": "messages.RecentStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.RecentStickers`.\n\n[messages.RecentStickers](https://core.telegram.org/type/messages.RecentStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.RecentStickers", "oneOf": [{"$ref": "#/components/schemas/messages.recentStickersNotModified"}, {"$ref": "#/components/schemas/messages.recentStickers"}], "description": "TL type: messages.RecentStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getRecentStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"attached": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Get stickers recently attached to photo or video files"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `attached` | `true` | Nein | Get stickers recently attached to photo or video files |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2645114939"}}, "/catalog/messages.saveRecentSticker": {"post": {"operationId": "messages.saveRecentSticker", "tags": ["Nachrichten"], "summary": "Add/remove sticker from recent stickers list", "description": "Add/remove sticker from recent stickers list\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.saveRecentSticker", "x-tl-id": "958863608", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKER_ID_INVALID` – Die angegebene Aufkleber-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.saveRecentSticker"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"attached": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to add/remove stickers recently attached to photo or video files"}, "id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Sticker"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to save or unsave the sticker"}}, "additionalProperties": false, "required": ["id", "unsave"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `attached` | `true` | Nein | Whether to add/remove stickers recently attached to photo or video files |\n| `id` | `InputDocument` | Ja | Sticker |\n| `unsave` | `Bool` | Ja | Whether to save or unsave the sticker |"}, "x-telegram-rpc-errors": ["STICKER_ID_INVALID"], "x-browser-schema-id": "958863608"}}, "/catalog/messages.clearRecentStickers": {"post": {"operationId": "messages.clearRecentStickers", "tags": ["Nachrichten"], "summary": "Clear recent stickers", "description": "Clear recent stickers", "x-tl-method": "messages.clearRecentStickers", "x-tl-id": "2308530221", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.clearRecentStickers"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"attached": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Set this flag to clear the list of stickers recently attached to photo or video files"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `attached` | `true` | Nein | Set this flag to clear the list of stickers recently attached to photo or video files |"}, "x-browser-schema-id": "2308530221"}}, "/catalog/messages.getArchivedStickers": {"post": {"operationId": "messages.getArchivedStickers", "tags": ["Nachrichten"], "summary": "Get all archived stickers", "description": "Get all archived stickers\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Aufkleber und Masken](https://core.telegram.org/api/stickers.md)\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getArchivedStickers", "x-tl-id": "1475442322", "x-tl-result": "messages.ArchivedStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Stickers and masks", "https://core.telegram.org/api/stickers.md"], ["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.ArchivedStickers`.\n\n[messages.ArchivedStickers](https://core.telegram.org/type/messages.ArchivedStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ArchivedStickers", "oneOf": [{"$ref": "#/components/schemas/messages.archivedStickers"}], "description": "TL type: messages.ArchivedStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getArchivedStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Get [mask stickers](https://core.telegram.org/api/stickers.md#mask-stickers)"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Get [custom emoji stickers](https://core.telegram.org/api/custom-emoji.md)"}, "offset_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `masks` | `true` | Nein | Get [mask stickers](https://core.telegram.org/api/stickers.md#mask-stickers) |\n| `emojis` | `true` | Nein | Get [custom emoji stickers](https://core.telegram.org/api/custom-emoji.md) |\n| `offset_id` | `long` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "1475442322"}}, "/catalog/messages.getMaskStickers": {"post": {"operationId": "messages.getMaskStickers", "tags": ["Nachrichten"], "summary": "Get installed mask stickers", "description": "Get installed mask stickers\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getMaskStickers", "x-tl-id": "1678738104", "x-tl-result": "messages.AllStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto Result · `messages.AllStickers`.\n\n[messages.AllStickers](https://core.telegram.org/type/messages.AllStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AllStickers", "oneOf": [{"$ref": "#/components/schemas/messages.allStickersNotModified"}, {"$ref": "#/components/schemas/messages.allStickers"}], "description": "TL type: messages.AllStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getMaskStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1678738104"}}, "/catalog/messages.getAttachedStickers": {"post": {"operationId": "messages.getAttachedStickers", "tags": ["Nachrichten"], "summary": "Get stickers attached to a photo or video", "description": "Get stickers attached to a photo or video\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getAttachedStickers", "x-tl-id": "3428542412", "x-tl-result": "Vector<StickerSetCovered>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<StickerSetCovered>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[StickerSetCovered](https://core.telegram.org/type/StickerSetCovered.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerSetCovered", "oneOf": [{"$ref": "#/components/schemas/stickerSetCovered"}, {"$ref": "#/components/schemas/stickerSetMultiCovered"}, {"$ref": "#/components/schemas/stickerSetFullCovered"}, {"$ref": "#/components/schemas/stickerSetNoCovered"}], "description": "TL Type: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MEDIA_EMPTY` – Das bereitgestellte Medienobjekt ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getAttachedStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"media": {"type": "object", "x-tl-type": "InputStickeredMedia", "oneOf": [{"$ref": "#/components/schemas/inputStickeredMediaPhoto"}, {"$ref": "#/components/schemas/inputStickeredMediaDocument"}], "description": "Stickered media"}}, "additionalProperties": false, "required": ["media"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `media` | `InputStickeredMedia` | Ja | Stickered media |"}, "x-telegram-rpc-errors": ["MEDIA_EMPTY"], "x-browser-schema-id": "3428542412"}}, "/catalog/messages.setGameScore": {"post": {"operationId": "messages.setGameScore", "tags": ["Nachrichten"], "summary": "Use this method to set the score of the specified user in a game sent as a normal message (bots only).", "description": "Use this method to set the score of the specified user in a game sent as a normal message (bots only).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "messages.setGameScore", "x-tl-id": "2398678208", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_SCORE_NOT_MODIFIED` — Die Punktzahl wurde nicht geändert.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `SCORE_INVALID` – Der angegebene Spielstand ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setGameScore"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"edit_message": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Set this flag if the game message should be automatically edited to include the current scoreboard"}, "force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Set this flag if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Unique identifier of target chat"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identifier of the sent message"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Benutzerkennung"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "New score"}}, "additionalProperties": false, "required": ["peer", "id", "user_id", "score"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `edit_message` | `true` | Nein | Set this flag if the game message should be automatically edited to include the current scoreboard |\n| `force` | `true` | Nein | Set this flag if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters |\n| `peer` | `InputPeer` | Ja | Unique identifier of target chat |\n| `id` | `int` | Ja | Identifier of the sent message |\n| `user_id` | `InputUser` | Ja | Benutzerkennung |\n| `score` | `int` | Ja | New score |"}, "x-telegram-rpc-errors": ["BOT_SCORE_NOT_MODIFIED", "MESSAGE_ID_INVALID", "PEER_ID_INVALID", "SCORE_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "2398678208"}}, "/catalog/messages.setInlineGameScore": {"post": {"operationId": "messages.setInlineGameScore", "tags": ["Nachrichten"], "summary": "Use this method to set the score of the specified user in a game sent as an inline message (bots only).", "description": "Use this method to set the score of the specified user in a game sent as an inline message (bots only).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "messages.setInlineGameScore", "x-tl-id": "363700068", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setInlineGameScore"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"edit_message": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Set this flag if the game message should be automatically edited to include the current scoreboard"}, "force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Set this flag if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters"}, "id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineMessageID"}, {"$ref": "#/components/schemas/inputBotInlineMessageID64"}], "description": "ID of the inline message"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Benutzerkennung"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "New score"}}, "additionalProperties": false, "required": ["id", "user_id", "score"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `edit_message` | `true` | Nein | Set this flag if the game message should be automatically edited to include the current scoreboard |\n| `force` | `true` | Nein | Set this flag if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters |\n| `id` | `InputBotInlineMessageID` | Ja | ID of the inline message |\n| `user_id` | `InputUser` | Ja | Benutzerkennung |\n| `score` | `int` | Ja | New score |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "363700068"}}, "/catalog/messages.getGameHighScores": {"post": {"operationId": "messages.getGameHighScores", "tags": ["Nachrichten"], "summary": "Get highscores of a game", "description": "Get highscores of a game\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "messages.getGameHighScores", "x-tl-id": "3894568093", "x-tl-result": "messages.HighScores", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `messages.HighScores`.\n\n[messages.HighScores](https://core.telegram.org/type/messages.HighScores.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.HighScores", "oneOf": [{"$ref": "#/components/schemas/messages.highScores"}], "description": "Type TL: messages.HighScores."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getGameHighScores"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Where was the game sent"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of message with game media attachment"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Get high scores made by a certain user"}}, "additionalProperties": false, "required": ["peer", "id", "user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Where was the game sent |\n| `id` | `int` | Ja | ID of message with game media attachment |\n| `user_id` | `InputUser` | Ja | Get high scores made by a certain user |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3894568093"}}, "/catalog/messages.getInlineGameHighScores": {"post": {"operationId": "messages.getInlineGameHighScores", "tags": ["Nachrichten"], "summary": "Get highscores of a game sent using an inline bot", "description": "Get highscores of a game sent using an inline bot\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "messages.getInlineGameHighScores", "x-tl-id": "258170395", "x-tl-result": "messages.HighScores", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `messages.HighScores`.\n\n[messages.HighScores](https://core.telegram.org/type/messages.HighScores.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.HighScores", "oneOf": [{"$ref": "#/components/schemas/messages.highScores"}], "description": "Type TL: messages.HighScores."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getInlineGameHighScores"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineMessageID"}, {"$ref": "#/components/schemas/inputBotInlineMessageID64"}], "description": "ID of inline message"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Get high scores of a certain user"}}, "additionalProperties": false, "required": ["id", "user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputBotInlineMessageID` | Ja | ID of inline message |\n| `user_id` | `InputUser` | Ja | Get high scores of a certain user |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "258170395"}}, "/catalog/messages.getCommonChats": {"post": {"operationId": "messages.getCommonChats", "tags": ["Nachrichten"], "summary": "Get chats in common with a user", "description": "Get chats in common with a user\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getCommonChats", "x-tl-id": "3826032900", "x-tl-result": "messages.Chats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.Chats`.\n\n[messages.Chats](https://core.telegram.org/type/messages.Chats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Chats", "oneOf": [{"$ref": "#/components/schemas/messages.chats"}, {"$ref": "#/components/schemas/messages.chatsSlice"}], "description": "TL type: messages.Chats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getCommonChats"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Benutzer-ID"}, "max_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Maximum ID of chat to return (see [pagination](https://core.telegram.org/api/offsets.md))", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["user_id", "max_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | Benutzer-ID |\n| `max_id` | `long` | Ja | Maximum ID of chat to return (see [pagination](https://core.telegram.org/api/offsets.md)) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "MSG_ID_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "3826032900"}}, "/catalog/messages.getWebPage": {"post": {"operationId": "messages.getWebPage", "tags": ["Nachrichten"], "summary": "Get instant view page", "description": "Get [instant view](https://instantview.telegram.org) page\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getWebPage", "x-tl-id": "2375455395", "x-tl-result": "messages.WebPage", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.WebPage`.\n\n[messages.WebPage](https://core.telegram.org/type/messages.WebPage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.WebPage", "oneOf": [{"$ref": "#/components/schemas/messages.webPage"}], "description": "TL type: messages.WebPage."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `WC_CONVERT_URL_INVALID` – WC-Konvertierung URL ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getWebPage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"url": {"type": "string", "x-tl-type": "string", "description": "URL of IV page to fetch"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).  **Note**: the usual hash generation algorithm cannot be used in this case, please re-use the [webPage](https://core.telegram.org/constructor/webPage.md).`hash` field returned by a previous call to the method, or pass 0 if this is the first call or if the previous call did not return a [webPage](https://core.telegram.org/constructor/webPage.md)."}}, "additionalProperties": false, "required": ["url", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `url` | `string` | Ja | URL of IV page to fetch |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).  **Note**: the usual hash generation algorithm cannot be used in this case, please re-use the [webPage](https://core.telegram.org/constructor/webPage.md).`hash` field returned by a previous call to the method, or pass 0 if this is the first call or if the previous call did not return a [webPage](https://core.telegram.org/constructor/webPage.md). |"}, "x-telegram-rpc-errors": ["WC_CONVERT_URL_INVALID"], "x-browser-schema-id": "2375455395"}}, "/catalog/messages.toggleDialogPin": {"post": {"operationId": "messages.toggleDialogPin", "tags": ["Nachrichten"], "summary": "Pin/unpin a dialog", "description": "Pin/unpin a dialog\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.toggleDialogPin", "x-tl-id": "2805064279", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `PEER_HISTORY_EMPTY` – Sie können einen leeren Chat mit einem Benutzer nicht anpinnen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PINNED_DIALOGS_TOO_MUCH` – Zu viele angeheftete Dialoge."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.toggleDialogPin"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to pin or unpin the dialog"}, "peer": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "The dialog to pin"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `pinned` | `true` | Nein | Whether to pin or unpin the dialog |\n| `peer` | `InputDialogPeer` | Ja | The dialog to pin |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "PEER_HISTORY_EMPTY", "PEER_ID_INVALID", "PINNED_DIALOGS_TOO_MUCH"], "x-browser-schema-id": "2805064279"}}, "/catalog/messages.reorderPinnedDialogs": {"post": {"operationId": "messages.reorderPinnedDialogs", "tags": ["Nachrichten"], "summary": "Reorder pinned dialogs", "description": "Reorder pinned dialogs\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)", "x-tl-method": "messages.reorderPinnedDialogs", "x-tl-id": "991616823", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reorderPinnedDialogs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, dialogs pinned server-side but not present in the `order` field will be unpinned."}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders)"}, "order": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "TL Type: InputDialogPeer."}, "x-tl-type": "Vector<InputDialogPeer>", "description": "New dialog order"}}, "additionalProperties": false, "required": ["folder_id", "order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `force` | `true` | Nein | If set, dialogs pinned server-side but not present in the `order` field will be unpinned. |\n| `folder_id` | `int` | Ja | [Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders) |\n| `order` | `Vector<InputDialogPeer>` | Ja | New dialog order |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "991616823"}}, "/catalog/messages.getPinnedDialogs": {"post": {"operationId": "messages.getPinnedDialogs", "tags": ["Nachrichten"], "summary": "Get pinned dialogs", "description": "Get pinned dialogs\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)", "x-tl-method": "messages.getPinnedDialogs", "x-tl-id": "3602468338", "x-tl-result": "messages.PeerDialogs", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"]], "responses": {"200": {"description": "MTProto result · `messages.PeerDialogs`.\n\n[messages.PeerDialogs](https://core.telegram.org/type/messages.PeerDialogs.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.PeerDialogs", "oneOf": [{"$ref": "#/components/schemas/messages.peerDialogs"}], "description": "TL type: messages.PeerDialogs."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FOLDER_ID_INVALID` – Ungültige Ordner-ID."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getPinnedDialogs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders)"}}, "additionalProperties": false, "required": ["folder_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `folder_id` | `int` | Ja | [Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders) |"}, "x-telegram-rpc-errors": ["FOLDER_ID_INVALID"], "x-browser-schema-id": "3602468338"}}, "/catalog/messages.setBotShippingResults": {"post": {"operationId": "messages.setBotShippingResults", "tags": ["Nachrichten"], "summary": "If you sent an invoice requesting a shipping address and the parameter is\\_flexible was specified, the bot will receive an updateBotShippingQuery update. Use this method to reply to shipping queries.", "description": "If you sent an invoice requesting a shipping address and the parameter is\\_flexible was specified, the bot will receive an [updateBotShippingQuery](https://core.telegram.org/constructor/updateBotShippingQuery.md) update. Use this method to reply to shipping queries.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "messages.setBotShippingResults", "x-tl-id": "3858133754", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `QUERY_ID_INVALID` – Die Abfrage-ID ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setBotShippingResults"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique identifier for the query to be answered", "x-tl-type": "long"}, "error": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "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."}, "shipping_options": {"type": "array", "items": {"type": "object", "x-tl-type": "ShippingOption", "oneOf": [{"$ref": "#/components/schemas/shippingOption"}], "description": "TL Type: ShippingOption."}, "x-tl-type": "Vector<ShippingOption>", "x-tl-flag": "flags.1?Vector<ShippingOption>", "description": "Ein Vektor der verfügbaren Versandoptionen."}}, "additionalProperties": false, "required": ["query_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Ja | Unique identifier for the query to be answered |\n| `error` | `string` | Nein | 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. |\n| `shipping_options` | `Vector<ShippingOption>` | Nein | Ein Vektor der verfügbaren Versandoptionen. |"}, "x-telegram-rpc-errors": ["QUERY_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3858133754"}}, "/catalog/messages.setBotPrecheckoutResults": {"post": {"operationId": "messages.setBotPrecheckoutResults", "tags": ["Nachrichten"], "summary": "Once the user has confirmed their payment and shipping details, the bot receives an updateBotPrecheckoutQuery update.  ", "description": "Once the user has confirmed their payment and shipping details, the bot receives an [updateBotPrecheckoutQuery](https://core.telegram.org/constructor/updateBotPrecheckoutQuery.md) update.  \nUse this method to respond to such pre-checkout queries.  \n**Hinweis**: Telegram muss innerhalb von 10 Sekunden nach dem Senden der Pre-Checkout-Anfrage eine Antwort erhalten.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "messages.setBotPrecheckoutResults", "x-tl-id": "163765653", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ERROR_TEXT_EMPTY` – Die bereitgestellte Fehlermeldung ist leer.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setBotPrecheckoutResults"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"success": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Set this flag if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order, otherwise do not set it, and set the `error` field, instead"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique identifier for the query to be answered", "x-tl-type": "long"}, "error": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Required if the `success` isn't set. 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."}}, "additionalProperties": false, "required": ["query_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `success` | `true` | Nein | Set this flag if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order, otherwise do not set it, and set the `error` field, instead |\n| `query_id` | `long` | Ja | Unique identifier for the query to be answered |\n| `error` | `string` | Nein | Required if the `success` isn't set. 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. |"}, "x-telegram-rpc-errors": ["ERROR_TEXT_EMPTY", "USER_BOT_REQUIRED"], "x-browser-schema-id": "163765653"}}, "/catalog/messages.uploadMedia": {"post": {"operationId": "messages.uploadMedia", "tags": ["Nachrichten"], "summary": "Upload a file and associate it to a chat (without actually sending it to the chat)", "description": "Upload a file and associate it to a chat (without actually sending it to the chat)\n\nMay also be used in a [business connection](https://core.telegram.org/api/bots/connected-business-bots.md), *not* by wrapping the query in [invokeWithBusinessConnection »](https://core.telegram.org/method/invokeWithBusinessConnection.md), but rather by specifying the business connection ID in the `business_connection_id` parameter.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Hochladen und Herunterladen von Dateien](https://core.telegram.org/api/files.md)", "x-tl-method": "messages.uploadMedia", "x-tl-id": "345405816", "x-tl-result": "MessageMedia", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Uploading and Downloading Files", "https://core.telegram.org/api/files.md"]], "responses": {"200": {"description": "MTProto result · `MessageMedia`.\n\n[MessageMedia](https://core.telegram.org/type/MessageMedia.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "MessageMedia", "oneOf": [{"$ref": "#/components/schemas/messageMediaEmpty"}, {"$ref": "#/components/schemas/messageMediaPhoto"}, {"$ref": "#/components/schemas/messageMediaGeo"}, {"$ref": "#/components/schemas/messageMediaContact"}, {"$ref": "#/components/schemas/messageMediaUnsupported"}, {"$ref": "#/components/schemas/messageMediaDocument"}, {"$ref": "#/components/schemas/messageMediaWebPage"}, {"$ref": "#/components/schemas/messageMediaVenue"}, {"$ref": "#/components/schemas/messageMediaGame"}, {"$ref": "#/components/schemas/messageMediaInvoice"}, {"$ref": "#/components/schemas/messageMediaGeoLive"}, {"$ref": "#/components/schemas/messageMediaPoll"}, {"$ref": "#/components/schemas/messageMediaDice"}, {"$ref": "#/components/schemas/messageMediaStory"}, {"$ref": "#/components/schemas/messageMediaGiveaway"}, {"$ref": "#/components/schemas/messageMediaGiveawayResults"}, {"$ref": "#/components/schemas/messageMediaPaidMedia"}, {"$ref": "#/components/schemas/messageMediaToDo"}, {"$ref": "#/components/schemas/messageMediaVideoStream"}, {"$ref": "#/components/schemas/messageMediaWidget"}], "description": "TL Type: MessageMedia."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_RESTRICTED` — Sie können in diesem Chat keine Nachrichten senden, da Sie eingeschränkt waren.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `FILE_PARTS_INVALID` – Die Anzahl der Dateiteile ist ungültig.\n- 400 · `FILE_PART_LENGTH_INVALID` – Die Länge eines Dateiteils ist ungültig.\n- 400 · `IMAGE_PROCESS_FAILED` – Fehler bei der Bildverarbeitung.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MEDIA_INVALID` – Medien ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PHOTO_EXT_INVALID` — Die Erweiterung des Fotos ist ungültig.\n- 400 · `PHOTO_INVALID_DIMENSIONS` – Die Fotoabmessungen sind ungültig.\n- 400 · `PHOTO_SAVE_FILE_INVALID` – Interne Probleme, versuchen Sie es später noch einmal.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `VOICE_MESSAGES_FORBIDDEN` — Die Datenschutzeinstellungen dieses Benutzers verbieten Ihnen das Senden von Sprachnachrichten.\n- 400 · `WEBPAGE_CURL_FAILED` – Fehler beim Abrufen der Webseite mit cURL."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.uploadMedia"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"business_connection_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Whether the media will be used only in the specified [business connection »](https://core.telegram.org/api/bots/connected-business-bots.md), and not directly by the bot."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat, can be [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) for bots and [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) for users."}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "File uploaded in chunks as described in [files »](https://core.telegram.org/api/files.md)"}}, "additionalProperties": false, "required": ["peer", "media"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `business_connection_id` | `string` | Nein | Whether the media will be used only in the specified [business connection »](https://core.telegram.org/api/bots/connected-business-bots.md), and not directly by the bot. |\n| `peer` | `InputPeer` | Ja | The chat, can be [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) for bots and [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) for users. |\n| `media` | `InputMedia` | Ja | File uploaded in chunks as described in [files »](https://core.telegram.org/api/files.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_RESTRICTED", "CHAT_WRITE_FORBIDDEN", "FILE_PARTS_INVALID", "FILE_PART_LENGTH_INVALID", "IMAGE_PROCESS_FAILED", "INPUT_USER_DEACTIVATED", "MEDIA_INVALID", "MSG_ID_INVALID", "PEER_ID_INVALID", "PHOTO_EXT_INVALID", "PHOTO_INVALID_DIMENSIONS", "PHOTO_SAVE_FILE_INVALID", "USER_BANNED_IN_CHANNEL", "VOICE_MESSAGES_FORBIDDEN", "WEBPAGE_CURL_FAILED"], "x-browser-schema-id": "345405816"}}, "/catalog/messages.sendScreenshotNotification": {"post": {"operationId": "messages.sendScreenshotNotification", "tags": ["Nachrichten"], "summary": "Notify the other user in a private chat that a screenshot of the chat was taken", "description": "Notify the other user in a private chat that a screenshot of the chat was taken\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)", "x-tl-method": "messages.sendScreenshotNotification", "x-tl-id": "2705348631", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `REPLY_MESSAGE_ID_INVALID` – Die angegebene ID der Antwortnachricht ist ungültig.\n- 400 · `STORY_ID_INVALID` – Die angegebene Story-ID ist ungültig.\n- 400 · `YOU_BLOCKED_USER` — Sie haben diesen Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendScreenshotNotification"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Other user"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "Indicates the message that was screenshotted (the specified message ID can also be `0` to avoid indicating any specific message)."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Random ID to avoid message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "reply_to", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Other user |\n| `reply_to` | `InputReplyTo` | Ja | Indicates the message that was screenshotted (the specified message ID can also be `0` to avoid indicating any specific message). |\n| `random_id` | `long` | Ja | Random ID to avoid message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |"}, "x-telegram-rpc-errors": ["INPUT_USER_DEACTIVATED", "PEER_ID_INVALID", "REPLY_MESSAGE_ID_INVALID", "STORY_ID_INVALID", "YOU_BLOCKED_USER"], "x-browser-schema-id": "2705348631"}}, "/catalog/messages.getFavedStickers": {"post": {"operationId": "messages.getFavedStickers", "tags": ["Nachrichten"], "summary": "Get faved stickers", "description": "Get faved stickers\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getFavedStickers", "x-tl-id": "82946729", "x-tl-result": "messages.FavedStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.FavedStickers`.\n\n[messages.FavedStickers](https://core.telegram.org/type/messages.FavedStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.FavedStickers", "oneOf": [{"$ref": "#/components/schemas/messages.favedStickersNotModified"}, {"$ref": "#/components/schemas/messages.favedStickers"}], "description": "Type TL: messages.FavedStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getFavedStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "82946729"}}, "/catalog/messages.faveSticker": {"post": {"operationId": "messages.faveSticker", "tags": ["Nachrichten"], "summary": "Mark or unmark a sticker as favorite", "description": "Mark or unmark a sticker as favorite\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.faveSticker", "x-tl-id": "3120547163", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKER_ID_INVALID` – Die angegebene Aufkleber-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.faveSticker"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Sticker in question"}, "unfave": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to add or remove a sticker from favorites"}}, "additionalProperties": false, "required": ["id", "unfave"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | Ja | Sticker in question |\n| `unfave` | `Bool` | Ja | Whether to add or remove a sticker from favorites |"}, "x-telegram-rpc-errors": ["STICKER_ID_INVALID"], "x-browser-schema-id": "3120547163"}}, "/catalog/messages.getUnreadMentions": {"post": {"operationId": "messages.getUnreadMentions", "tags": ["Nachrichten"], "summary": "Get unread messages where we were mentioned", "description": "Get unread messages where we were mentioned\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getUnreadMentions", "x-tl-id": "4043827088", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getUnreadMentions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where to look for mentions"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "If set, considers only messages within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum message ID to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_id", "add_offset", "limit", "max_id", "min_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where to look for mentions |\n| `top_msg_id` | `int` | Nein | If set, considers only messages within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics) |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Ja | Maximum message ID to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `min_id` | `int` | Ja | Minimum message ID to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4043827088"}}, "/catalog/messages.readMentions": {"post": {"operationId": "messages.readMentions", "tags": ["Nachrichten"], "summary": "Mark mentions as read; can be used in forums but **cannot** be used in monoforums.", "description": "Mark mentions as read; can be used in [forums](https://core.telegram.org/api/forum.md) but **cannot** be used in [monoforums](https://core.telegram.org/api/monoforum.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)", "x-tl-method": "messages.readMentions", "x-tl-id": "921026381", "x-tl-result": "messages.AffectedHistory", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"], ["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"]], "responses": {"200": {"description": "MTProto Result · `messages.AffectedHistory`.\n\n[messages.AffectedHistory](https://core.telegram.org/type/messages.AffectedHistory.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedHistory", "oneOf": [{"$ref": "#/components/schemas/messages.affectedHistory"}], "description": "Type TL: messages.AffectedHistory."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.readMentions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Dialog"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Mark as read only mentions within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics) (except for monoforums)."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Dialog |\n| `top_msg_id` | `int` | Nein | Mark as read only mentions within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics) (except for monoforums). |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "921026381"}}, "/catalog/messages.getRecentLocations": {"post": {"operationId": "messages.getRecentLocations", "tags": ["Nachrichten"], "summary": "Get all recent live locations sent to a specific chat: returns up to 1 location message (messageMediaGeoLive) per chat participant.", "description": "Get all recent [live locations](https://core.telegram.org/api/live-location.md) sent to a specific chat: returns up to 1 location message ([messageMediaGeoLive](https://core.telegram.org/constructor/messageMediaGeoLive.md)) per chat participant.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Live-Geolokalisierung](https://core.telegram.org/api/live-location.md)", "x-tl-method": "messages.getRecentLocations", "x-tl-id": "1881817312", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Live geolocation", "https://core.telegram.org/api/live-location.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getRecentLocations"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Target group or private chat."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Target group or private chat. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Ja | [Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-browser-schema-id": "1881817312"}}, "/catalog/messages.sendMultiMedia": {"post": {"operationId": "messages.sendMultiMedia", "tags": ["Nachrichten"], "summary": "Send an album or grouped media", "description": "Send an [album or grouped media](https://core.telegram.org/api/files.md#albums-grouped-media)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenentwürfe](https://core.telegram.org/api/drafts.md)\n- [Aufkleber und Masken](https://core.telegram.org/api/stickers.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)\n- [Animierte Nachrichteneffekte](https://core.telegram.org/api/effects.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Hochladen und Herunterladen von Dateien](https://core.telegram.org/api/files.md)\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Dateiverweise](https://core.telegram.org/api/file-references.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "messages.sendMultiMedia", "x-tl-id": "469278068", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Message drafts", "https://core.telegram.org/api/drafts.md"], ["Stickers and masks", "https://core.telegram.org/api/stickers.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"], ["Animated message effects", "https://core.telegram.org/api/effects.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Uploading and Downloading Files", "https://core.telegram.org/api/files.md"], ["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["File references", "https://core.telegram.org/api/file-references.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d` – Dieser Peer berechnet %d [Telegram Stars](https://core.telegram.org/api/stars.md) pro Nachricht, aber `allow_paid_stars` wurde nicht festgelegt oder sein Wert ist kleiner als %d.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `BUSINESS_PEER_INVALID` – Nachrichten können über die aktuelle [Geschäftsverbindung](https://core.telegram.org/api/business.md#connected-bots)] nicht an den angegebenen Peer gesendet werden.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_FORWARDS_RESTRICTED` – Sie können keine Nachrichten aus einem geschützten Chat weiterleiten.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — Sie können in diesem Chat keine Medien senden.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — Sie können in diesem Chat keine Fotos senden.\n- 403 · `CHAT_SEND_VIDEOS_FORBIDDEN` — Sie können in diesem Chat keine Videos senden.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `EFFECT_ID_INVALID` – Die angegebene Effekt-ID ist ungültig.\n- 400 · `ENTITY_BOUNDS_INVALID` – Ein angegebener [Entitätsversatz oder eine angegebene Entitätslänge](https://core.telegram.org/api/entities.md#entity-length) ist ungültig, siehe [hier »](https://core.telegram.org/api/entities.md#entity-length) für Informationen zur richtigen Berechnung des Entitätsversatzes/der Entitätslänge.\n- 400 · `FILE_REFERENCE_%d_EMPTY` – Die Dateireferenz der Mediendatei am Offset %d im multi_media-Array ist ungültig.\n- 400 · `FILE_REFERENCE_%d_EXPIRED` – Die Dateireferenz der Mediendatei am Index %d im übergebenen Medienarray ist abgelaufen, sie [muss wie in der Dokumentation angegeben aktualisiert werden](https://core.telegram.org/api/file-references.md). .\n- 400 · `FILE_REFERENCE_%d_INVALID` – Die [Dateireferenz](https://core.telegram.org/api/file-references.md) der Mediendatei am Index %d im übergebenen Medienarray ist ungültig.\n- 400 · `MEDIA_CAPTION_TOO_LONG` – Die Beschriftung ist zu lang.\n- 400 · `MEDIA_EMPTY` – Das bereitgestellte Medienobjekt ist ungültig.\n- 400 · `MEDIA_INVALID` – Medien ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `MULTI_MEDIA_TOO_LONG` – Zu viele Mediendateien für das Album.\n- 406 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — You need a [Telegram Premium subscription](https://core.telegram.org/api/premium.md) to send a message to this user.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` – [Schnellantworten](https://core.telegram.org/api/business.md#quick-reply-shortcuts) können nicht von Bots verwendet werden.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Es können maximal [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) Verknüpfungen erstellt werden, das Limit wurde erreicht.\n- 500 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde.\n- 400 · `RANDOM_ID_EMPTY` – Zufällige ID leer.\n- 400 · `REPLY_MESSAGES_TOO_MUCH` – Jede Verknüpfung kann maximal [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) Nachrichten enthalten, das Limit wurde erreicht.\n- 400 · `REPLY_TO_INVALID` – Das angegebene `reply_to`-Feld ist ungültig.\n- 400 · `SCHEDULE_DATE_TOO_LATE` – Sie können keine Nachricht so weit in der Zukunft planen.\n- 400 · `SCHEDULE_TOO_MUCH` – Es sind zu viele geplante Nachrichten vorhanden.\n- 400 · `SEND_AS_PEER_INVALID` – Sie können als angegebener Peer keine Nachrichten senden.\n- 420 · `SLOWMODE_WAIT_%d` — Slowmode ist in diesem Chat aktiviert: Warten Sie %d Sekunden, bevor Sie eine weitere Nachricht an diesen Chat senden.\n- 400 · `TOPIC_CLOSED` — Dieses Thema wurde geschlossen, Sie können keine Nachrichten mehr daran senden.\n- 400 · `TOPIC_DELETED` – Das angegebene Thema wurde gelöscht.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendMultiMedia"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Whether to send the album silently (no notification triggered)"}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Send in background?"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Whether to clear [drafts](https://core.telegram.org/api/drafts.md)"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn't have [content protection](https://telegram.org/blog/content-protection-delete-by-date-and-more) enabled"}, "update_stickersets_order": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true", "description": "Whether to move used stickersets to top, [see here for more info on this flag »](https://core.telegram.org/api/stickers.md#recent-stickersets)"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "If set, any eventual webpage preview will be shown on top of the message instead of at the bottom."}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Nur Bots: Wenn festgelegt, ist das Senden von bis zu 1000 Nachrichten pro Sekunde möglich, wobei [Sendebeschränkungen](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once)] gegen eine Gebühr von 0,1 Telegram Stars pro Nachricht ignoriert werden. Die entsprechenden Sterne werden vom Guthaben des Bots abgezogen."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The destination chat"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "If set, indicates that the message should be sent in reply to the specified message or story.", "x-tl-flag": "flags.0?InputReplyTo"}, "multi_media": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSingleMedia", "oneOf": [{"$ref": "#/components/schemas/inputSingleMedia"}], "description": "TL Type: InputSingleMedia."}, "x-tl-type": "Vector<InputSingleMedia>", "description": "The medias to send: note that they must be separately uploaded using [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md) first, using raw `inputMediaUploaded*` constructors is not supported."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Scheduled message date for scheduled messages"}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Send this message as the specified peer", "x-tl-flag": "flags.13?InputPeer"}, "quick_reply_shortcut": {"type": "object", "x-tl-type": "InputQuickReplyShortcut", "oneOf": [{"$ref": "#/components/schemas/inputQuickReplyShortcut"}, {"$ref": "#/components/schemas/inputQuickReplyShortcutId"}], "description": "Add the message to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}}, "additionalProperties": false, "required": ["peer", "multi_media"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `silent` | `true` | Nein | Whether to send the album silently (no notification triggered) |\n| `background` | `true` | Nein | Send in background? |\n| `clear_draft` | `true` | Nein | Whether to clear [drafts](https://core.telegram.org/api/drafts.md) |\n| `noforwards` | `true` | Nein | Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn't have [content protection](https://telegram.org/blog/content-protection-delete-by-date-and-more) enabled |\n| `update_stickersets_order` | `true` | Nein | Whether to move used stickersets to top, [see here for more info on this flag »](https://core.telegram.org/api/stickers.md#recent-stickersets) |\n| `invert_media` | `true` | Nein | If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. |\n| `allow_paid_floodskip` | `true` | Nein | Nur Bots: Wenn festgelegt, ist das Senden von bis zu 1000 Nachrichten pro Sekunde möglich, wobei [Sendebeschränkungen](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once)] gegen eine Gebühr von 0,1 Telegram Stars pro Nachricht ignoriert werden. Die entsprechenden Sterne werden vom Guthaben des Bots abgezogen. |\n| `peer` | `InputPeer` | Ja | The destination chat |\n| `reply_to` | `InputReplyTo` | Nein | If set, indicates that the message should be sent in reply to the specified message or story. |\n| `multi_media` | `Vector<InputSingleMedia>` | Ja | The medias to send: note that they must be separately uploaded using [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md) first, using raw `inputMediaUploaded*` constructors is not supported. |\n| `schedule_date` | `int` | Nein | Scheduled message date for scheduled messages |\n| `send_as` | `InputPeer` | Nein | Send this message as the specified peer |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | Nein | Add the message to the specified [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts), instead. |\n| `effect` | `long` | Nein | Specifies a [message effect »](https://core.telegram.org/api/effects.md) to use for the message. |\n| `allow_paid_stars` | `long` | Nein | For [paid messages »](https://core.telegram.org/api/paid-messages.md), specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the user has agreed to pay in order to send the message. |"}, "x-telegram-rpc-errors": ["ALLOW_PAYMENT_REQUIRED_%d", "BUSINESS_CONNECTION_INVALID", "BUSINESS_PEER_INVALID", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_FORWARDS_RESTRICTED", "CHAT_SEND_MEDIA_FORBIDDEN", "CHAT_SEND_PHOTOS_FORBIDDEN", "CHAT_SEND_VIDEOS_FORBIDDEN", "CHAT_WRITE_FORBIDDEN", "EFFECT_ID_INVALID", "ENTITY_BOUNDS_INVALID", "FILE_REFERENCE_%d_EMPTY", "FILE_REFERENCE_%d_EXPIRED", "FILE_REFERENCE_%d_INVALID", "MEDIA_CAPTION_TOO_LONG", "MEDIA_EMPTY", "MEDIA_INVALID", "MSG_ID_INVALID", "MULTI_MEDIA_TOO_LONG", "PEER_ID_INVALID", "PRIVACY_PREMIUM_REQUIRED", "QUICK_REPLIES_BOT_NOT_ALLOWED", "QUICK_REPLIES_TOO_MUCH", "RANDOM_ID_DUPLICATE", "RANDOM_ID_EMPTY", "REPLY_MESSAGES_TOO_MUCH", "REPLY_TO_INVALID", "SCHEDULE_DATE_TOO_LATE", "SCHEDULE_TOO_MUCH", "SEND_AS_PEER_INVALID", "SLOWMODE_WAIT_%d", "TOPIC_CLOSED", "TOPIC_DELETED", "USER_BANNED_IN_CHANNEL", "USER_IS_BLOCKED"], "x-browser-schema-id": "469278068"}}, "/catalog/messages.uploadEncryptedFile": {"post": {"operationId": "messages.uploadEncryptedFile", "tags": ["Nachrichten"], "summary": "Upload encrypted file and associate it to a secret chat (without actually sending it to the chat).", "description": "Upload encrypted file and associate it to a secret chat (without actually sending it to the chat).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.uploadEncryptedFile", "x-tl-id": "1347929239", "x-tl-result": "EncryptedFile", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `EncryptedFile`.\n\n[EncryptedFile](https://core.telegram.org/type/EncryptedFile.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EncryptedFile", "oneOf": [{"$ref": "#/components/schemas/encryptedFileEmpty"}, {"$ref": "#/components/schemas/encryptedFile"}], "description": "TL Type: EncryptedFile."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.uploadEncryptedFile"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "The secret chat to associate the file to"}, "file": {"type": "object", "x-tl-type": "InputEncryptedFile", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedFileEmpty"}, {"$ref": "#/components/schemas/inputEncryptedFileUploaded"}, {"$ref": "#/components/schemas/inputEncryptedFile"}, {"$ref": "#/components/schemas/inputEncryptedFileBigUploaded"}], "description": "The file"}}, "additionalProperties": false, "required": ["peer", "file"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | Ja | The secret chat to associate the file to |\n| `file` | `InputEncryptedFile` | Ja | The file |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID"], "x-browser-schema-id": "1347929239"}}, "/catalog/messages.searchStickerSets": {"post": {"operationId": "messages.searchStickerSets", "tags": ["Nachrichten"], "summary": "Search for stickersets", "description": "Search for stickersets\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.searchStickerSets", "x-tl-id": "896555914", "x-tl-result": "messages.FoundStickerSets", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.FoundStickerSets`.\n\n[messages.FoundStickerSets](https://core.telegram.org/type/messages.FoundStickerSets.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.FoundStickerSets", "oneOf": [{"$ref": "#/components/schemas/messages.foundStickerSetsNotModified"}, {"$ref": "#/components/schemas/messages.foundStickerSets"}], "description": "Type TL: messages.FoundStickerSets."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.searchStickerSets"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"exclude_featured": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Exclude featured stickersets from results"}, "q": {"type": "string", "x-tl-type": "string", "description": "Query string"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["q", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `exclude_featured` | `true` | Nein | Exclude featured stickersets from results |\n| `q` | `string` | Ja | Query string |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "896555914"}}, "/catalog/messages.getSplitRanges": {"post": {"operationId": "messages.getSplitRanges", "tags": ["Nachrichten"], "summary": "Get message ranges for saving the user's chat history", "description": "Get message ranges for saving the user's chat history", "x-tl-method": "messages.getSplitRanges", "x-tl-id": "486505992", "x-tl-result": "Vector<MessageRange>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<MessageRange>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[MessageRange](https://core.telegram.org/type/MessageRange.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageRange", "oneOf": [{"$ref": "#/components/schemas/messageRange"}], "description": "TL Type: MessageRange."}, "x-tl-type": "Vector<MessageRange>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSplitRanges"}, "x-browser-schema-id": "486505992"}}, "/catalog/messages.markDialogUnread": {"post": {"operationId": "messages.markDialogUnread", "tags": ["Nachrichten"], "summary": "Manually mark dialog as unread", "description": "Manually mark dialog as unread\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)", "x-tl-method": "messages.markDialogUnread", "x-tl-id": "2354054904", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.markDialogUnread"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Mark as unread/read"}, "parent_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, must be equal to the ID of a [monoforum](https://core.telegram.org/api/monoforum.md), and will affect the monoforum topic passed in `peer`.", "x-tl-flag": "flags.1?InputPeer"}, "peer": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "Dialog"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `unread` | `true` | Nein | Mark as unread/read |\n| `parent_peer` | `InputPeer` | Nein | If set, must be equal to the ID of a [monoforum](https://core.telegram.org/api/monoforum.md), and will affect the monoforum topic passed in `peer`. |\n| `peer` | `InputDialogPeer` | Ja | Dialog |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2354054904"}}, "/catalog/messages.getDialogUnreadMarks": {"post": {"operationId": "messages.getDialogUnreadMarks", "tags": ["Nachrichten"], "summary": "Get dialogs manually marked as unread", "description": "Get dialogs manually marked as unread", "x-tl-method": "messages.getDialogUnreadMarks", "x-tl-id": "555754018", "x-tl-result": "Vector<DialogPeer>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<DialogPeer>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[DialogPeer](https://core.telegram.org/type/DialogPeer.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "DialogPeer", "oneOf": [{"$ref": "#/components/schemas/dialogPeer"}, {"$ref": "#/components/schemas/dialogPeerFolder"}, {"$ref": "#/components/schemas/dialogPeerCommunity"}], "description": "TL Type: DialogPeer."}, "x-tl-type": "Vector<DialogPeer>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getDialogUnreadMarks"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"parent_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Can be equal to the ID of a monoforum, to fetch monoforum topics manually marked as unread.", "x-tl-flag": "flags.0?InputPeer"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Nein | Can be equal to the ID of a monoforum, to fetch monoforum topics manually marked as unread. |"}, "x-browser-schema-id": "555754018"}}, "/catalog/messages.clearAllDrafts": {"post": {"operationId": "messages.clearAllDrafts", "tags": ["Nachrichten"], "summary": "Clear all drafts.", "description": "Clear all [drafts](https://core.telegram.org/api/drafts.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenentwürfe](https://core.telegram.org/api/drafts.md)", "x-tl-method": "messages.clearAllDrafts", "x-tl-id": "2119757468", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message drafts", "https://core.telegram.org/api/drafts.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.clearAllDrafts"}, "x-browser-schema-id": "2119757468"}}, "/catalog/messages.updatePinnedMessage": {"post": {"operationId": "messages.updatePinnedMessage", "tags": ["Nachrichten"], "summary": "Pin a message", "description": "Pin a message\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.updatePinnedMessage", "x-tl-id": "3534419948", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_ONESIDE_NOT_AVAIL` – Bots können keine Nachrichten in PN nur für sich selbst anheften.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `BUSINESS_PEER_INVALID` – Nachrichten können über die aktuelle [Geschäftsverbindung](https://core.telegram.org/api/business.md#connected-bots)] nicht an den angegebenen Peer gesendet werden.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PIN_RESTRICTED` – Sie können keine Nachrichten anheften.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.updatePinnedMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Pin the message silently, without triggering a notification"}, "unpin": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether the message should unpinned or pinned"}, "pm_oneside": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether the message should only be pinned on the local side of a one-to-one chat"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer where to pin the message"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The message to pin or unpin"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `silent` | `true` | Nein | Pin the message silently, without triggering a notification |\n| `unpin` | `true` | Nein | Whether the message should unpinned or pinned |\n| `pm_oneside` | `true` | Nein | Whether the message should only be pinned on the local side of a one-to-one chat |\n| `peer` | `InputPeer` | Ja | The peer where to pin the message |\n| `id` | `int` | Ja | The message to pin or unpin |"}, "x-telegram-rpc-errors": ["BOT_ONESIDE_NOT_AVAIL", "BUSINESS_CONNECTION_INVALID", "BUSINESS_PEER_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_INVALID", "CHAT_NOT_MODIFIED", "CHAT_WRITE_FORBIDDEN", "INPUT_USER_DEACTIVATED", "MESSAGE_ID_INVALID", "PEER_ID_INVALID", "PIN_RESTRICTED", "USER_BANNED_IN_CHANNEL"], "x-browser-schema-id": "3534419948"}}, "/catalog/messages.sendVote": {"post": {"operationId": "messages.sendVote", "tags": ["Nachrichten"], "summary": "Vote in a poll", "description": "Vote in a [poll](https://core.telegram.org/constructor/poll.md)\n\nStarting from layer 159, the vote will be sent from the peer specified using [messages.saveDefaultSendAs](https://core.telegram.org/method/messages.saveDefaultSendAs.md).\n\nBefore voting, clients should check that the user is actually allowed to vote: voting is not possible if the poll is closed, if it is [subscriber-only »](https://core.telegram.org/api/poll.md#subscriber-only-polls) and the user is not an eligible subscriber, or if it is [country-restricted »](https://core.telegram.org/api/poll.md#country-restricted-polls) and the user's [`phone_country_iso2` »](https://core.telegram.org/api/config.md#phone-country-iso2) is not in the poll's allowed country list. See [vote restrictions »](https://core.telegram.org/api/poll.md#vote-restrictions) for the full list of conditions.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Umfragen und Quiz](https://core.telegram.org/api/poll.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "messages.sendVote", "x-tl-id": "283795844", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Polls and quizzes", "https://core.telegram.org/api/poll.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MESSAGE_POLL_CLOSED` — Umfrage geschlossen.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `OPTIONS_TOO_MUCH` – Zu viele Optionen bereitgestellt.\n- 400 · `OPTION_INVALID` – Ungültige Option ausgewählt.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 406 · `POLL_COUNTRY_RESTRICTED` — Users from the current user's country cannot vote in this [country-restricted poll&nbsp;&raquo;](https://core.telegram.org/api/poll.md#country-restricted-polls).\n- 406 · `POLL_MEMBER_RESTRICTED` — Only channel subscribers can vote in this poll.\n- 400 · `REVOTE_NOT_ALLOWED` — Sie können Ihre Stimme nicht ändern."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendVote"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat where the poll was sent"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The message ID of the poll"}, "options": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>", "description": "The options that were chosen"}}, "additionalProperties": false, "required": ["peer", "msg_id", "options"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The chat where the poll was sent |\n| `msg_id` | `int` | Ja | The message ID of the poll |\n| `options` | `Vector<bytes>` | Ja | The options that were chosen |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MESSAGE_ID_INVALID", "MESSAGE_POLL_CLOSED", "MSG_ID_INVALID", "OPTIONS_TOO_MUCH", "OPTION_INVALID", "PEER_ID_INVALID", "POLL_COUNTRY_RESTRICTED", "POLL_MEMBER_RESTRICTED", "REVOTE_NOT_ALLOWED"], "x-browser-schema-id": "283795844"}}, "/catalog/messages.getPollResults": {"post": {"operationId": "messages.getPollResults", "tags": ["Nachrichten"], "summary": "Get poll results", "description": "Get poll results\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getPollResults", "x-tl-id": "3986940731", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getPollResults"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the poll was found"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Message ID of poll message"}, "poll_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Pass the `poll.hash` from the last received poll state; the server skips returning unchanged data", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "msg_id", "poll_hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the poll was found |\n| `msg_id` | `int` | Ja | Message ID of poll message |\n| `poll_hash` | `long` | Ja | Pass the `poll.hash` from the last received poll state; the server skips returning unchanged data |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3986940731"}}, "/catalog/messages.getOnlines": {"post": {"operationId": "messages.getOnlines", "tags": ["Nachrichten"], "summary": "Get count of online users in a chat", "description": "Get count of online users in a chat\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getOnlines", "x-tl-id": "1848369232", "x-tl-result": "ChatOnlines", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `ChatOnlines`.\n\n[ChatOnlines](https://core.telegram.org/type/ChatOnlines.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ChatOnlines", "oneOf": [{"$ref": "#/components/schemas/chatOnlines"}], "description": "TL Type: ChatOnlines."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getOnlines"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Der Chat"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Der Chat |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "CHAT_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1848369232"}}, "/catalog/messages.editChatAbout": {"post": {"operationId": "messages.editChatAbout", "tags": ["Nachrichten"], "summary": "Edit the description of a group/supergroup/channel.", "description": "Edit the description of a [group/supergroup/channel](https://core.telegram.org/api/channel.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.editChatAbout", "x-tl-id": "3740665751", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ABOUT_NOT_MODIFIED` — Über den Text hat sich nichts geändert.\n- 400 · `CHAT_ABOUT_TOO_LONG` – Chatten Sie zu lange darüber.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editChatAbout"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The [group/supergroup/channel](https://core.telegram.org/api/channel.md)."}, "about": {"type": "string", "x-tl-type": "string", "description": "The new description"}}, "additionalProperties": false, "required": ["peer", "about"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The [group/supergroup/channel](https://core.telegram.org/api/channel.md). |\n| `about` | `string` | Ja | The new description |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ABOUT_NOT_MODIFIED", "CHAT_ABOUT_TOO_LONG", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "CHAT_WRITE_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "3740665751"}}, "/catalog/messages.editChatDefaultBannedRights": {"post": {"operationId": "messages.editChatDefaultBannedRights", "tags": ["Nachrichten"], "summary": "Edit the default banned rights of a channel/supergroup/group.", "description": "Edit the default banned rights of a [channel/supergroup/group](https://core.telegram.org/api/channel.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.editChatDefaultBannedRights", "x-tl-id": "2777049921", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BANNED_RIGHTS_INVALID` — Sie haben in den verbotenen Rechten einige ungültige Markierungen angegeben.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `UNTIL_DATE_INVALID` – Ungültig bis zum angegebenen Datum."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editChatDefaultBannedRights"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Der Kollege"}, "banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "oneOf": [{"$ref": "#/components/schemas/chatBannedRights"}], "description": "The new global rights"}}, "additionalProperties": false, "required": ["peer", "banned_rights"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Der Kollege |\n| `banned_rights` | `ChatBannedRights` | Ja | The new global rights |"}, "x-telegram-rpc-errors": ["BANNED_RIGHTS_INVALID", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "CHAT_WRITE_FORBIDDEN", "PEER_ID_INVALID", "UNTIL_DATE_INVALID"], "x-browser-schema-id": "2777049921"}}, "/catalog/messages.getEmojiKeywords": {"post": {"operationId": "messages.getEmojiKeywords", "tags": ["Nachrichten"], "summary": "Get localized emoji keywords ».", "description": "Get localized [emoji keywords »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "messages.getEmojiKeywords", "x-tl-id": "899735650", "x-tl-result": "EmojiKeywordsDifference", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto result · `EmojiKeywordsDifference`.\n\n[EmojiKeywordsDifference](https://core.telegram.org/type/EmojiKeywordsDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiKeywordsDifference", "oneOf": [{"$ref": "#/components/schemas/emojiKeywordsDifference"}], "description": "TL Type: EmojiKeywordsDifference."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiKeywords"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode"}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | Ja | Sprachcode |"}, "x-browser-schema-id": "899735650"}}, "/catalog/messages.getEmojiKeywordsDifference": {"post": {"operationId": "messages.getEmojiKeywordsDifference", "tags": ["Nachrichten"], "summary": "Get changed emoji keywords ».", "description": "Get changed [emoji keywords »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "messages.getEmojiKeywordsDifference", "x-tl-id": "352892591", "x-tl-result": "EmojiKeywordsDifference", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto result · `EmojiKeywordsDifference`.\n\n[EmojiKeywordsDifference](https://core.telegram.org/type/EmojiKeywordsDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiKeywordsDifference", "oneOf": [{"$ref": "#/components/schemas/emojiKeywordsDifference"}], "description": "TL Type: EmojiKeywordsDifference."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiKeywordsDifference"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode"}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Previous stored emoji keyword list `version`"}}, "additionalProperties": false, "required": ["lang_code", "from_version"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | Ja | Sprachcode |\n| `from_version` | `int` | Ja | Previous stored emoji keyword list `version` |"}, "x-browser-schema-id": "352892591"}}, "/catalog/messages.getEmojiKeywordsLanguages": {"post": {"operationId": "messages.getEmojiKeywordsLanguages", "tags": ["Nachrichten"], "summary": "Obtain a list of related languages that must be used when fetching emoji keyword lists ».", "description": "Obtain a list of related languages that must be used when fetching [emoji keyword lists »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords).\n\nUsually the method will return the passed language codes (if localized) + `en` + some language codes for similar languages (if applicable).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "messages.getEmojiKeywordsLanguages", "x-tl-id": "1318675378", "x-tl-result": "Vector<EmojiLanguage>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto result · `Vector<EmojiLanguage>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[EmojiLanguage](https://core.telegram.org/type/EmojiLanguage.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "EmojiLanguage", "oneOf": [{"$ref": "#/components/schemas/emojiLanguage"}], "description": "TL Type: EmojiLanguage."}, "x-tl-type": "Vector<EmojiLanguage>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiKeywordsLanguages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_codes": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "The user's language codes"}}, "additionalProperties": false, "required": ["lang_codes"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_codes` | `Vector<string>` | Ja | The user's language codes |"}, "x-browser-schema-id": "1318675378"}}, "/catalog/messages.getEmojiURL": {"post": {"operationId": "messages.getEmojiURL", "tags": ["Nachrichten"], "summary": "Returns an HTTP URL which can be used to automatically log in into translation platform and suggest new emoji keywords ». The URL will be valid for 30 seconds after generation.", "description": "Returns an HTTP URL which can be used to automatically log in into translation platform and suggest new [emoji keywords »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords). The URL will be valid for 30 seconds after generation.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "messages.getEmojiURL", "x-tl-id": "3585149990", "x-tl-result": "EmojiURL", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto result · `EmojiURL`.\n\n[EmojiURL](https://core.telegram.org/type/EmojiURL.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiURL", "oneOf": [{"$ref": "#/components/schemas/emojiURL"}], "description": "TL Type: EmojiURL."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiURL"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_code": {"type": "string", "x-tl-type": "string", "description": "Language code for which the emoji keywords will be suggested"}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | Ja | Language code for which the emoji keywords will be suggested |"}, "x-browser-schema-id": "3585149990"}}, "/catalog/messages.getSearchCounters": {"post": {"operationId": "messages.getSearchCounters", "tags": ["Nachrichten"], "summary": "Get the number of results that would be found by a messages.search call with the same parameters", "description": "Get the number of results that would be found by a [messages.search](https://core.telegram.org/method/messages.search.md) call with the same parameters\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "messages.getSearchCounters", "x-tl-id": "465367808", "x-tl-result": "Vector<messages.SearchCounter>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Saved messages", "https://core.telegram.org/api/saved-messages.md"], ["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto result · `Vector<messages.SearchCounter>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[messages.SearchCounter](https://core.telegram.org/type/messages.SearchCounter.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "messages.SearchCounter", "oneOf": [{"$ref": "#/components/schemas/messages.searchCounter"}], "description": "TL type: messages.SearchCounter."}, "x-tl-type": "Vector<messages.SearchCounter>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSearchCounters"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where to search"}, "saved_peer_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Search within the [saved message dialog »](https://core.telegram.org/api/saved-messages.md) with this ID.", "x-tl-flag": "flags.2?InputPeer"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "If set, consider only messages within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics)"}, "filters": {"type": "array", "items": {"type": "object", "x-tl-type": "MessagesFilter", "oneOf": [{"$ref": "#/components/schemas/inputMessagesFilterEmpty"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotoVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterDocument"}, {"$ref": "#/components/schemas/inputMessagesFilterUrl"}, {"$ref": "#/components/schemas/inputMessagesFilterGif"}, {"$ref": "#/components/schemas/inputMessagesFilterVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterMusic"}, {"$ref": "#/components/schemas/inputMessagesFilterChatPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterPhoneCalls"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterMyMentions"}, {"$ref": "#/components/schemas/inputMessagesFilterGeo"}, {"$ref": "#/components/schemas/inputMessagesFilterContacts"}, {"$ref": "#/components/schemas/inputMessagesFilterPinned"}, {"$ref": "#/components/schemas/inputMessagesFilterPoll"}], "description": "TL Type: MessagesFilter."}, "x-tl-type": "Vector<MessagesFilter>", "description": "Search filters"}}, "additionalProperties": false, "required": ["peer", "filters"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where to search |\n| `saved_peer_id` | `InputPeer` | Nein | Search within the [saved message dialog »](https://core.telegram.org/api/saved-messages.md) with this ID. |\n| `top_msg_id` | `int` | Nein | If set, consider only messages within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics) |\n| `filters` | `Vector<MessagesFilter>` | Ja | Search filters |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "465367808"}}, "/catalog/messages.requestUrlAuth": {"post": {"operationId": "messages.requestUrlAuth", "tags": ["Nachrichten"], "summary": "Get more info about a Seamless Telegram Login authorization request, for more info click here »", "description": "Get more info about a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nahtlose Telegram-Anmeldung](https://core.telegram.org/api/url-authorization.md)", "x-tl-method": "messages.requestUrlAuth", "x-tl-id": "2303510940", "x-tl-result": "UrlAuthResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Seamless Telegram Login", "https://core.telegram.org/api/url-authorization.md"]], "responses": {"200": {"description": "MTProto result · `UrlAuthResult`.\n\n[UrlAuthResult](https://core.telegram.org/type/UrlAuthResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "UrlAuthResult", "oneOf": [{"$ref": "#/components/schemas/urlAuthResultRequest"}, {"$ref": "#/components/schemas/urlAuthResultAccepted"}, {"$ref": "#/components/schemas/urlAuthResultDefault"}], "description": "TL Type: UrlAuthResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 500 · `OAUTH_REQUEST_INVALID` – Die angegebene OAuth-Anfrage ist ungültig.\n- 400 · `URL_EXPIRED` — The specified OAuth request has expired.\n- 400 · `URL_INVALID` — Invalid URL provided."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.requestUrlAuth"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the message is located", "x-tl-flag": "flags.1?InputPeer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Die Nachricht"}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "The ID of the button with the authorization request"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "URL used for [link URL authorization, click here for more info »](https://core.telegram.org/api/url-authorization.md#link-url-authorization)"}, "in_app_origin": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "For [OAuth authorization from mini apps »](https://core.telegram.org/api/url-authorization.md#oauth-authorization-for-mini-apps): the origin of the webview that originated the OAuth request, in the format `scheme://host` (or `scheme://host:port` for non-default ports)"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Nein | Peer where the message is located |\n| `msg_id` | `int` | Nein | Die Nachricht |\n| `button_id` | `int` | Nein | The ID of the button with the authorization request |\n| `url` | `string` | Nein | URL used for [link URL authorization, click here for more info »](https://core.telegram.org/api/url-authorization.md#link-url-authorization) |\n| `in_app_origin` | `string` | Nein | For [OAuth authorization from mini apps »](https://core.telegram.org/api/url-authorization.md#oauth-authorization-for-mini-apps): the origin of the webview that originated the OAuth request, in the format `scheme://host` (or `scheme://host:port` for non-default ports) |"}, "x-telegram-rpc-errors": ["OAUTH_REQUEST_INVALID", "URL_EXPIRED", "URL_INVALID"], "x-browser-schema-id": "2303510940"}}, "/catalog/messages.acceptUrlAuth": {"post": {"operationId": "messages.acceptUrlAuth", "tags": ["Nachrichten"], "summary": "Use this to accept a Seamless Telegram Login authorization request, for more info click here »", "description": "Use this to accept a Seamless Telegram Login authorization request, for more info [click here »](https://core.telegram.org/api/url-authorization.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nahtlose Telegram-Anmeldung](https://core.telegram.org/api/url-authorization.md)", "x-tl-method": "messages.acceptUrlAuth", "x-tl-id": "417156754", "x-tl-result": "UrlAuthResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Seamless Telegram Login", "https://core.telegram.org/api/url-authorization.md"]], "responses": {"200": {"description": "MTProto result · `UrlAuthResult`.\n\n[UrlAuthResult](https://core.telegram.org/type/UrlAuthResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "UrlAuthResult", "oneOf": [{"$ref": "#/components/schemas/urlAuthResultRequest"}, {"$ref": "#/components/schemas/urlAuthResultAccepted"}, {"$ref": "#/components/schemas/urlAuthResultDefault"}], "description": "TL Type: UrlAuthResult."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.acceptUrlAuth"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"write_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Set this flag to allow the bot to send messages to you (if requested)"}, "share_phone_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Set this flag to share the user's phone number with the bot (if requested via [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`request_phone_number` and consented to by the user)"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The location of the message", "x-tl-flag": "flags.1?InputPeer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Message ID of the message with the login button"}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "ID of the login button"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "URL used for [link URL authorization, click here for more info »](https://core.telegram.org/api/url-authorization.md#link-url-authorization)"}, "match_code": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "If [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes` was set, the emoji or code selected by the user from the provided list; must always be provided when `match_codes` is set, even if `match_codes_first` was set and the code was already validated via [messages.checkUrlAuthMatchCode](https://core.telegram.org/method/messages.checkUrlAuthMatchCode.md)"}, "tonconnect_session": {"type": "object", "x-tl-type": "InputTonConnectOauthSession", "oneOf": [{"$ref": "#/components/schemas/inputTonConnectOauthSession"}], "description": "Тип TL: InputTonConnectOauthSession.", "x-tl-flag": "flags.5?InputTonConnectOauthSession"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `write_allowed` | `true` | Nein | Set this flag to allow the bot to send messages to you (if requested) |\n| `share_phone_number` | `true` | Nein | Set this flag to share the user's phone number with the bot (if requested via [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`request_phone_number` and consented to by the user) |\n| `peer` | `InputPeer` | Nein | The location of the message |\n| `msg_id` | `int` | Nein | Message ID of the message with the login button |\n| `button_id` | `int` | Nein | ID of the login button |\n| `url` | `string` | Nein | URL used for [link URL authorization, click here for more info »](https://core.telegram.org/api/url-authorization.md#link-url-authorization) |\n| `match_code` | `string` | Nein | If [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes` was set, the emoji or code selected by the user from the provided list; must always be provided when `match_codes` is set, even if `match_codes_first` was set and the code was already validated via [messages.checkUrlAuthMatchCode](https://core.telegram.org/method/messages.checkUrlAuthMatchCode.md) |\n| `tonconnect_session` | `InputTonConnectOauthSession` | Nein | Тип TL: InputTonConnectOauthSession. |"}, "x-browser-schema-id": "417156754"}}, "/catalog/messages.hidePeerSettingsBar": {"post": {"operationId": "messages.hidePeerSettingsBar", "tags": ["Nachrichten"], "summary": "Should be called after the user hides the report spam/add as contact bar of a new chat, effectively prevents the user from executing the actions specified in the action bar ».", "description": "Should be called after the user hides the [report spam/add as contact bar](https://core.telegram.org/api/action-bar.md) of a new chat, effectively prevents the user from executing the actions specified in the [action bar »](https://core.telegram.org/api/action-bar.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Aktionsleiste](https://core.telegram.org/api/action-bar.md)", "x-tl-method": "messages.hidePeerSettingsBar", "x-tl-id": "1336717624", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Action bar", "https://core.telegram.org/api/action-bar.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.hidePeerSettingsBar"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1336717624"}}, "/catalog/messages.getScheduledHistory": {"post": {"operationId": "messages.getScheduledHistory", "tags": ["Nachrichten"], "summary": "Get scheduled messages", "description": "Get scheduled messages\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getScheduledHistory", "x-tl-id": "4111889931", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getScheduledHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).  To generate the hash, populate the `ids` array with the `id`, `edit_date` (0 if unedited) and `date` (in this order) of the previously returned messages (in order, i.e. `ids = [id1, (edit_date1 ?? 0), date1, id2, (edit_date2 ?? 0), date2, ...]`).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).  To generate the hash, populate the `ids` array with the `id`, `edit_date` (0 if unedited) and `date` (in this order) of the previously returned messages (in order, i.e. `ids = [id1, (edit_date1 ?? 0), date1, id2, (edit_date2 ?? 0), date2, ...]`). |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID"], "x-browser-schema-id": "4111889931"}}, "/catalog/messages.getScheduledMessages": {"post": {"operationId": "messages.getScheduledMessages", "tags": ["Nachrichten"], "summary": "Get scheduled messages", "description": "Get scheduled messages\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getScheduledMessages", "x-tl-id": "3183150180", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getScheduledMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of scheduled messages"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `id` | `Vector<int>` | Ja | IDs of scheduled messages |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID"], "x-browser-schema-id": "3183150180"}}, "/catalog/messages.sendScheduledMessages": {"post": {"operationId": "messages.sendScheduledMessages", "tags": ["Nachrichten"], "summary": "Send scheduled messages right away", "description": "Send scheduled messages right away\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.sendScheduledMessages", "x-tl-id": "3174597898", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 500 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendScheduledMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Scheduled message IDs"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `id` | `Vector<int>` | Ja | Scheduled message IDs |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID", "RANDOM_ID_DUPLICATE"], "x-browser-schema-id": "3174597898"}}, "/catalog/messages.deleteScheduledMessages": {"post": {"operationId": "messages.deleteScheduledMessages", "tags": ["Nachrichten"], "summary": "Delete scheduled messages", "description": "Delete scheduled messages\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.deleteScheduledMessages", "x-tl-id": "1504586518", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 403 · `MESSAGE_DELETE_FORBIDDEN` – Sie können eine der Nachrichten, die Sie löschen wollten, nicht löschen, wahrscheinlich weil es sich um eine Dienstnachricht handelt.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteScheduledMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Scheduled message IDs"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `id` | `Vector<int>` | Ja | Scheduled message IDs |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "MESSAGE_DELETE_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "1504586518"}}, "/catalog/messages.getPollVotes": {"post": {"operationId": "messages.getPollVotes", "tags": ["Nachrichten"], "summary": "Get poll results for non-anonymous polls", "description": "Get poll results for non-anonymous polls\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getPollVotes", "x-tl-id": "3094231054", "x-tl-result": "messages.VotesList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.VotesList`.\n\n[messages.VotesList](https://core.telegram.org/type/messages.VotesList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.VotesList", "oneOf": [{"$ref": "#/components/schemas/messages.votesList"}], "description": "Type TL: messages.VotesList."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `BROADCAST_FORBIDDEN` – Kanalumfragewähler und Reaktionen können nicht abgerufen werden, um eine Deanonymisierung zu verhindern.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 403 · `POLL_VOTE_REQUIRED` — Cast a vote in the poll before calling this method."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getPollVotes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chat, wohin die Umfrage gesendet wurde"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Get only results for the specified poll `option`"}, "offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Offset for results, taken from the `next_offset` field of [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md), initially an empty string.  Note: if no more results are available, the method call will return an empty `next_offset`; thus, avoid providing the `next_offset` returned in [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md) if it is empty, to avoid an infinite loop."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of results to return"}}, "additionalProperties": false, "required": ["peer", "id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Chat, wohin die Umfrage gesendet wurde |\n| `id` | `int` | Ja | Nachrichten-ID |\n| `option` | `bytes` | Nein | Get only results for the specified poll `option` |\n| `offset` | `string` | Nein | Offset for results, taken from the `next_offset` field of [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md), initially an empty string.  Note: if no more results are available, the method call will return an empty `next_offset`; thus, avoid providing the `next_offset` returned in [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md) if it is empty, to avoid an infinite loop. |\n| `limit` | `int` | Ja | Number of results to return |"}, "x-telegram-rpc-errors": ["BROADCAST_FORBIDDEN", "MSG_ID_INVALID", "POLL_VOTE_REQUIRED"], "x-browser-schema-id": "3094231054"}}, "/catalog/messages.toggleStickerSets": {"post": {"operationId": "messages.toggleStickerSets", "tags": ["Nachrichten"], "summary": "Apply changes to multiple stickersets", "description": "Apply changes to multiple stickersets", "x-tl-method": "messages.toggleStickerSets", "x-tl-id": "3037016042", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.toggleStickerSets"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"uninstall": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Uninstall the specified stickersets"}, "archive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Archive the specified stickersets"}, "unarchive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Unarchive the specified stickersets"}, "stickersets": {"type": "array", "items": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "TL Type: InputStickerSet."}, "x-tl-type": "Vector<InputStickerSet>", "description": "Stickersets to act upon"}}, "additionalProperties": false, "required": ["stickersets"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `uninstall` | `true` | Nein | Uninstall the specified stickersets |\n| `archive` | `true` | Nein | Archive the specified stickersets |\n| `unarchive` | `true` | Nein | Unarchive the specified stickersets |\n| `stickersets` | `Vector<InputStickerSet>` | Ja | Stickersets to act upon |"}, "x-browser-schema-id": "3037016042"}}, "/catalog/messages.getDialogFilters": {"post": {"operationId": "messages.getDialogFilters", "tags": ["Nachrichten"], "summary": "Get folders", "description": "Get [folders](https://core.telegram.org/api/folders.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)", "x-tl-method": "messages.getDialogFilters", "x-tl-id": "4023684233", "x-tl-result": "messages.DialogFilters", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"]], "responses": {"200": {"description": "MTProto result · `messages.DialogFilters`.\n\n[messages.DialogFilters](https://core.telegram.org/type/messages.DialogFilters.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.DialogFilters", "oneOf": [{"$ref": "#/components/schemas/messages.dialogFilters"}], "description": "Type TL: messages.DialogFilters."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getDialogFilters"}, "x-browser-schema-id": "4023684233"}}, "/catalog/messages.getSuggestedDialogFilters": {"post": {"operationId": "messages.getSuggestedDialogFilters", "tags": ["Nachrichten"], "summary": "Get suggested folders", "description": "Get [suggested folders](https://core.telegram.org/api/folders.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)", "x-tl-method": "messages.getSuggestedDialogFilters", "x-tl-id": "2728186924", "x-tl-result": "Vector<DialogFilterSuggested>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"]], "responses": {"200": {"description": "MTProto result · `Vector<DialogFilterSuggested>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[DialogFilterSuggested](https://core.telegram.org/type/DialogFilterSuggested.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "DialogFilterSuggested", "oneOf": [{"$ref": "#/components/schemas/dialogFilterSuggested"}], "description": "TL Type: DialogFilterSuggested."}, "x-tl-type": "Vector<DialogFilterSuggested>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSuggestedDialogFilters"}, "x-browser-schema-id": "2728186924"}}, "/catalog/messages.updateDialogFilter": {"post": {"operationId": "messages.updateDialogFilter", "tags": ["Nachrichten"], "summary": "Update folder", "description": "Update [folder](https://core.telegram.org/api/folders.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)", "x-tl-method": "messages.updateDialogFilter", "x-tl-id": "450142282", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHATLIST_EXCLUDE_INVALID` – Die angegebenen `exclude_peers` sind ungültig.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig.\n- 400 · `FILTER_INCLUDE_EMPTY` – Der include_peers-Vektor des Filters ist leer.\n- 400 · `FILTER_TITLE_EMPTY` – Das Titelfeld des Filters ist leer.\n- 400 · `MESSAGE_TOO_LONG` – Die bereitgestellte Nachricht ist zu lang.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.updateDialogFilter"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Ordner](https://core.telegram.org/api/folders.md) ID"}, "filter": {"type": "object", "x-tl-type": "DialogFilter", "oneOf": [{"$ref": "#/components/schemas/dialogFilter"}, {"$ref": "#/components/schemas/dialogFilterDefault"}, {"$ref": "#/components/schemas/dialogFilterChatlist"}], "description": "[Folder](https://core.telegram.org/api/folders.md) info", "x-tl-flag": "flags.0?DialogFilter"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `int` | Ja | [Ordner](https://core.telegram.org/api/folders.md) ID |\n| `filter` | `DialogFilter` | Nein | [Folder](https://core.telegram.org/api/folders.md) info |"}, "x-telegram-rpc-errors": ["CHATLIST_EXCLUDE_INVALID", "CHAT_ID_INVALID", "FILTER_ID_INVALID", "FILTER_INCLUDE_EMPTY", "FILTER_TITLE_EMPTY", "MESSAGE_TOO_LONG", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "450142282"}}, "/catalog/messages.updateDialogFiltersOrder": {"post": {"operationId": "messages.updateDialogFiltersOrder", "tags": ["Nachrichten"], "summary": "Reorder folders", "description": "Reorder [folders](https://core.telegram.org/api/folders.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)", "x-tl-method": "messages.updateDialogFiltersOrder", "x-tl-id": "3311649252", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.updateDialogFiltersOrder"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "New [folder](https://core.telegram.org/api/folders.md) order"}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `order` | `Vector<int>` | Ja | New [folder](https://core.telegram.org/api/folders.md) order |"}, "x-browser-schema-id": "3311649252"}}, "/catalog/messages.getOldFeaturedStickers": {"post": {"operationId": "messages.getOldFeaturedStickers", "tags": ["Nachrichten"], "summary": "Method for fetching previously featured stickers", "description": "Method for fetching previously featured stickers\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getOldFeaturedStickers", "x-tl-id": "2127598753", "x-tl-result": "messages.FeaturedStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.FeaturedStickers`.\n\n[messages.FeaturedStickers](https://core.telegram.org/type/messages.FeaturedStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.FeaturedStickers", "oneOf": [{"$ref": "#/components/schemas/messages.featuredStickersNotModified"}, {"$ref": "#/components/schemas/messages.featuredStickers"}], "description": "TL type: messages.FeaturedStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getOldFeaturedStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offset` | `int` | Ja | Offset |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2127598753"}}, "/catalog/messages.getReplies": {"post": {"operationId": "messages.getReplies", "tags": ["Nachrichten"], "summary": "Get messages in a reply thread", "description": "Get messages in a reply thread\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getReplies", "x-tl-id": "584962828", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `TOPIC_ID_INVALID` – Die angegebene Themen-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getReplies"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value was transferred, the method will return only messages with ID smaller than max_id"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value was transferred, the method will return only messages with ID bigger than min_id"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "msg_id", "offset_id", "offset_date", "add_offset", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `msg_id` | `int` | Ja | Nachrichten-ID |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `offset_date` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Ja | If a positive value was transferred, the method will return only messages with ID smaller than max_id |\n| `min_id` | `int` | Ja | If a positive value was transferred, the method will return only messages with ID bigger than min_id |\n| `hash` | `long` | Ja | [Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "PEER_ID_INVALID", "TOPIC_ID_INVALID"], "x-browser-schema-id": "584962828"}}, "/catalog/messages.getDiscussionMessage": {"post": {"operationId": "messages.getDiscussionMessage", "tags": ["Nachrichten"], "summary": "Get discussion message from the associated discussion group of a channel to show it on top of the comment section, without actually joining the group", "description": "Get [discussion message](https://core.telegram.org/api/threads.md) from the [associated discussion group](https://core.telegram.org/api/discussion.md) of a channel to show it on top of the comment section, without actually joining the group\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Nachrichtenthreads](https://core.telegram.org/api/threads.md)\n- [Diskussionsgruppen](https://core.telegram.org/api/discussion.md)", "x-tl-method": "messages.getDiscussionMessage", "x-tl-id": "1147761405", "x-tl-result": "messages.DiscussionMessage", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Message threads", "https://core.telegram.org/api/threads.md"], ["Discussion groups", "https://core.telegram.org/api/discussion.md"]], "responses": {"200": {"description": "MTProto result · `messages.DiscussionMessage`.\n\n[messages.DiscussionMessage](https://core.telegram.org/type/messages.DiscussionMessage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.DiscussionMessage", "oneOf": [{"$ref": "#/components/schemas/messages.discussionMessage"}], "description": "Type TL: messages.DiscussionMessage."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `TOPIC_ID_INVALID` – Die angegebene Themen-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getDiscussionMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "[Channel ID](https://core.telegram.org/api/channel.md)"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | [Channel ID](https://core.telegram.org/api/channel.md) |\n| `msg_id` | `int` | Ja | Nachrichten-ID |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "PEER_ID_INVALID", "TOPIC_ID_INVALID"], "x-browser-schema-id": "1147761405"}}, "/catalog/messages.readDiscussion": {"post": {"operationId": "messages.readDiscussion", "tags": ["Nachrichten"], "summary": "Mark a thread as read", "description": "Mark a [thread](https://core.telegram.org/api/threads.md) as read\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenthreads](https://core.telegram.org/api/threads.md)", "x-tl-method": "messages.readDiscussion", "x-tl-id": "4147227124", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message threads", "https://core.telegram.org/api/threads.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.readDiscussion"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Group ID"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of message that started the thread"}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID up to which thread messages were read"}}, "additionalProperties": false, "required": ["peer", "msg_id", "read_max_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Group ID |\n| `msg_id` | `int` | Ja | ID of message that started the thread |\n| `read_max_id` | `int` | Ja | ID up to which thread messages were read |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4147227124"}}, "/catalog/messages.unpinAllMessages": {"post": {"operationId": "messages.unpinAllMessages", "tags": ["Nachrichten"], "summary": "Unpin all pinned messages", "description": "[Unpin](https://core.telegram.org/api/pin.md) all pinned messages\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Angepinnte Nachrichten](https://core.telegram.org/api/pin.md)", "x-tl-method": "messages.unpinAllMessages", "x-tl-id": "103667527", "x-tl-result": "messages.AffectedHistory", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"], ["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Pinned messages", "https://core.telegram.org/api/pin.md"]], "responses": {"200": {"description": "MTProto Result · `messages.AffectedHistory`.\n\n[messages.AffectedHistory](https://core.telegram.org/type/messages.AffectedHistory.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedHistory", "oneOf": [{"$ref": "#/components/schemas/messages.affectedHistory"}], "description": "Type TL: messages.AffectedHistory."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.unpinAllMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chat, wo die Anpinnen gelöst werden kann"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "[Forum topic](https://core.telegram.org/api/forum.md#forum-topics) where to unpin"}, "saved_peer_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, must be equal to the ID of a [monoforum topic](https://core.telegram.org/api/monoforum.md), and will unpin all messages pinned in the passed monoforum topic.", "x-tl-flag": "flags.1?InputPeer"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Chat, wo die Anpinnen gelöst werden kann |\n| `top_msg_id` | `int` | Nein | [Forum topic](https://core.telegram.org/api/forum.md#forum-topics) where to unpin |\n| `saved_peer_id` | `InputPeer` | Nein | If set, must be equal to the ID of a [monoforum topic](https://core.telegram.org/api/monoforum.md), and will unpin all messages pinned in the passed monoforum topic. |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED", "INPUT_USER_DEACTIVATED", "PEER_ID_INVALID"], "x-browser-schema-id": "103667527"}}, "/catalog/messages.deleteChat": {"post": {"operationId": "messages.deleteChat", "tags": ["Nachrichten"], "summary": "Delete a chat", "description": "Delete a [chat](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.deleteChat", "x-tl-id": "1540419152", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteChat"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Chat-ID", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | Ja | Chat-ID |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1540419152"}}, "/catalog/messages.deletePhoneCallHistory": {"post": {"operationId": "messages.deletePhoneCallHistory", "tags": ["Nachrichten"], "summary": "Löschen Sie den gesamten Anrufverlauf.", "description": "Löschen Sie den gesamten Anrufverlauf.", "x-tl-method": "messages.deletePhoneCallHistory", "x-tl-id": "4190888969", "x-tl-result": "messages.AffectedFoundMessages", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.AffectedFoundMessages`.\n\n[messages.AffectedFoundMessages](https://core.telegram.org/type/messages.AffectedFoundMessages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedFoundMessages", "oneOf": [{"$ref": "#/components/schemas/messages.affectedFoundMessages"}], "description": "Type TL: messages.AffectedFoundMessages."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deletePhoneCallHistory"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"revoke": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to remove phone call history for participants as well"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `revoke` | `true` | Nein | Whether to remove phone call history for participants as well |"}, "x-browser-schema-id": "4190888969"}}, "/catalog/messages.checkHistoryImport": {"post": {"operationId": "messages.checkHistoryImport", "tags": ["Nachrichten"], "summary": "Obtains information about a chat export file, generated by a foreign chat app, click here for more info about imported chats ».", "description": "Obtains information about a chat export file, generated by a foreign chat app, [click here for more info about imported chats »](https://core.telegram.org/api/import.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Importierte Nachrichten](https://core.telegram.org/api/import.md)", "x-tl-method": "messages.checkHistoryImport", "x-tl-id": "1140726259", "x-tl-result": "messages.HistoryImportParsed", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Imported messages", "https://core.telegram.org/api/import.md"]], "responses": {"200": {"description": "MTProto result · `messages.HistoryImportParsed`.\n\n[messages.HistoryImportParsed](https://core.telegram.org/type/messages.HistoryImportParsed.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.HistoryImportParsed", "oneOf": [{"$ref": "#/components/schemas/messages.historyImportParsed"}], "description": "Type TL: messages.HistoryImportParsed."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `IMPORT_FORMAT_UNRECOGNIZED` – Die angegebene Chat-Exportdatei wurde aus einer nicht unterstützten Chat-App exportiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.checkHistoryImport"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"import_head": {"type": "string", "x-tl-type": "string", "description": "Beginning of the message file; up to 100 lines."}}, "additionalProperties": false, "required": ["import_head"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `import_head` | `string` | Ja | Beginning of the message file; up to 100 lines. |"}, "x-telegram-rpc-errors": ["IMPORT_FORMAT_UNRECOGNIZED"], "x-browser-schema-id": "1140726259"}}, "/catalog/messages.initHistoryImport": {"post": {"operationId": "messages.initHistoryImport", "tags": ["Nachrichten"], "summary": "Import chat history from a foreign chat app into a specific Telegram chat, click here for more info about imported chats ».", "description": "Import chat history from a foreign chat app into a specific Telegram chat, [click here for more info about imported chats »](https://core.telegram.org/api/import.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Importierte Nachrichten](https://core.telegram.org/api/import.md)", "x-tl-method": "messages.initHistoryImport", "x-tl-id": "873008187", "x-tl-result": "messages.HistoryImport", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Imported messages", "https://core.telegram.org/api/import.md"]], "responses": {"200": {"description": "MTProto Result · `messages.HistoryImport`.\n\n[messages.HistoryImport](https://core.telegram.org/type/messages.HistoryImport.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.HistoryImport", "oneOf": [{"$ref": "#/components/schemas/messages.historyImport"}], "description": "Type TL: messages.HistoryImport."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `IMPORT_FILE_INVALID` – Die angegebene Chat-Exportdatei ist ungültig.\n- 400 · `IMPORT_FORMAT_DATE_INVALID` – Das in der Importdatei angegebene Datum ist ungültig.\n- 400 · `IMPORT_FORMAT_UNRECOGNIZED` – Die angegebene Chat-Exportdatei wurde aus einer nicht unterstützten Chat-App exportiert.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 406 · `PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN` — Import for this chat is already in progress, wait %d minutes before starting a new one.\n- 400 · `USER_NOT_MUTUAL_CONTACT` — Der angegebene Benutzer ist kein gemeinsamer Kontakt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.initHistoryImport"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The Telegram chat where the [history should be imported](https://core.telegram.org/api/import.md)."}, "file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "File with messages to import."}, "media_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of media files associated with the chat that will be uploaded using [messages.uploadImportedMedia](https://core.telegram.org/method/messages.uploadImportedMedia.md)."}}, "additionalProperties": false, "required": ["peer", "file", "media_count"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The Telegram chat where the [history should be imported](https://core.telegram.org/api/import.md). |\n| `file` | `InputFile` | Ja | File with messages to import. |\n| `media_count` | `int` | Ja | Number of media files associated with the chat that will be uploaded using [messages.uploadImportedMedia](https://core.telegram.org/method/messages.uploadImportedMedia.md). |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "IMPORT_FILE_INVALID", "IMPORT_FORMAT_DATE_INVALID", "IMPORT_FORMAT_UNRECOGNIZED", "PEER_ID_INVALID", "PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN", "USER_NOT_MUTUAL_CONTACT"], "x-browser-schema-id": "873008187"}}, "/catalog/messages.uploadImportedMedia": {"post": {"operationId": "messages.uploadImportedMedia", "tags": ["Nachrichten"], "summary": "Upload a media file associated with an imported chat, click here for more info ».", "description": "Upload a media file associated with an [imported chat, click here for more info »](https://core.telegram.org/api/import.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Importierte Nachrichten](https://core.telegram.org/api/import.md)", "x-tl-method": "messages.uploadImportedMedia", "x-tl-id": "713433234", "x-tl-result": "MessageMedia", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Imported messages", "https://core.telegram.org/api/import.md"]], "responses": {"200": {"description": "MTProto result · `MessageMedia`.\n\n[MessageMedia](https://core.telegram.org/type/MessageMedia.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "MessageMedia", "oneOf": [{"$ref": "#/components/schemas/messageMediaEmpty"}, {"$ref": "#/components/schemas/messageMediaPhoto"}, {"$ref": "#/components/schemas/messageMediaGeo"}, {"$ref": "#/components/schemas/messageMediaContact"}, {"$ref": "#/components/schemas/messageMediaUnsupported"}, {"$ref": "#/components/schemas/messageMediaDocument"}, {"$ref": "#/components/schemas/messageMediaWebPage"}, {"$ref": "#/components/schemas/messageMediaVenue"}, {"$ref": "#/components/schemas/messageMediaGame"}, {"$ref": "#/components/schemas/messageMediaInvoice"}, {"$ref": "#/components/schemas/messageMediaGeoLive"}, {"$ref": "#/components/schemas/messageMediaPoll"}, {"$ref": "#/components/schemas/messageMediaDice"}, {"$ref": "#/components/schemas/messageMediaStory"}, {"$ref": "#/components/schemas/messageMediaGiveaway"}, {"$ref": "#/components/schemas/messageMediaGiveawayResults"}, {"$ref": "#/components/schemas/messageMediaPaidMedia"}, {"$ref": "#/components/schemas/messageMediaToDo"}, {"$ref": "#/components/schemas/messageMediaVideoStream"}, {"$ref": "#/components/schemas/messageMediaWidget"}], "description": "TL Type: MessageMedia."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `IMPORT_ID_INVALID` – Die angegebene Import-ID ist ungültig.\n- 400 · `MEDIA_INVALID` – Medien ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.uploadImportedMedia"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The Telegram chat where the media will be imported"}, "import_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identifier of a [history import session](https://core.telegram.org/api/import.md), returned by [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md)", "x-tl-type": "long"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "File name"}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "Media metadata"}}, "additionalProperties": false, "required": ["peer", "import_id", "file_name", "media"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The Telegram chat where the media will be imported |\n| `import_id` | `long` | Ja | Identifier of a [history import session](https://core.telegram.org/api/import.md), returned by [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) |\n| `file_name` | `string` | Ja | File name |\n| `media` | `InputMedia` | Ja | Media metadata |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "IMPORT_ID_INVALID", "MEDIA_INVALID"], "x-browser-schema-id": "713433234"}}, "/catalog/messages.startHistoryImport": {"post": {"operationId": "messages.startHistoryImport", "tags": ["Nachrichten"], "summary": "Complete the history import process, importing all messages into the chat.  ", "description": "Complete the [history import process](https://core.telegram.org/api/import.md), importing all messages into the chat.  \nTo be called only after initializing the import with [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) and uploading all files using [messages.uploadImportedMedia](https://core.telegram.org/method/messages.uploadImportedMedia.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Importierte Nachrichten](https://core.telegram.org/api/import.md)", "x-tl-method": "messages.startHistoryImport", "x-tl-id": "3023958852", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Imported messages", "https://core.telegram.org/api/import.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `IMPORT_ID_INVALID` – Die angegebene Import-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.startHistoryImport"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The Telegram chat where the messages should be [imported, click here for more info »](https://core.telegram.org/api/import.md)"}, "import_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identifier of a history import session, returned by [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "import_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The Telegram chat where the messages should be [imported, click here for more info »](https://core.telegram.org/api/import.md) |\n| `import_id` | `long` | Ja | Identifier of a history import session, returned by [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md). |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "IMPORT_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3023958852"}}, "/catalog/messages.getExportedChatInvites": {"post": {"operationId": "messages.getExportedChatInvites", "tags": ["Nachrichten"], "summary": "Get info about the chat invites of a specific chat", "description": "Get info about the chat invites of a specific chat\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getExportedChatInvites", "x-tl-id": "2729812982", "x-tl-result": "messages.ExportedChatInvites", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.ExportedChatInvites`.\n\n[messages.ExportedChatInvites](https://core.telegram.org/type/messages.ExportedChatInvites.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ExportedChatInvites", "oneOf": [{"$ref": "#/components/schemas/messages.exportedChatInvites"}], "description": "TL type: messages.ExportedChatInvites."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ADMIN_ID_INVALID` – Die angegebene Admin-ID ist ungültig.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getExportedChatInvites"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"revoked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Whether to fetch revoked chat invites"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chatten"}, "admin_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Whether to only fetch chat invites from this admin"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "offset_link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "admin_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `revoked` | `true` | Nein | Whether to fetch revoked chat invites |\n| `peer` | `InputPeer` | Ja | Chatten |\n| `admin_id` | `InputUser` | Ja | Whether to only fetch chat invites from this admin |\n| `offset_date` | `int` | Nein | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `offset_link` | `string` | Nein | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["ADMIN_ID_INVALID", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_WRITE_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "2729812982"}}, "/catalog/messages.getExportedChatInvite": {"post": {"operationId": "messages.getExportedChatInvite", "tags": ["Nachrichten"], "summary": "Get info about a chat invite", "description": "Get info about a chat invite\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getExportedChatInvite", "x-tl-id": "1937010524", "x-tl-result": "messages.ExportedChatInvite", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.ExportedChatInvite`.\n\n[messages.ExportedChatInvite](https://core.telegram.org/type/messages.ExportedChatInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ExportedChatInvite", "oneOf": [{"$ref": "#/components/schemas/messages.exportedChatInvite"}, {"$ref": "#/components/schemas/messages.exportedChatInviteReplaced"}], "description": "TL type: messages.ExportedChatInvite."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `INVITE_HASH_EXPIRED` — Der Einladungslink ist abgelaufen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getExportedChatInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chatten"}, "link": {"type": "string", "x-tl-type": "string", "description": "Einladungslink"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Chatten |\n| `link` | `string` | Ja | Einladungslink |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "INVITE_HASH_EXPIRED", "PEER_ID_INVALID"], "x-browser-schema-id": "1937010524"}}, "/catalog/messages.editExportedChatInvite": {"post": {"operationId": "messages.editExportedChatInvite", "tags": ["Nachrichten"], "summary": "Edit an exported chat invite", "description": "Edit an exported chat invite\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "messages.editExportedChatInvite", "x-tl-id": "3184144245", "x-tl-result": "messages.ExportedChatInvite", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.ExportedChatInvite`.\n\n[messages.ExportedChatInvite](https://core.telegram.org/type/messages.ExportedChatInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ExportedChatInvite", "oneOf": [{"$ref": "#/components/schemas/messages.exportedChatInvite"}, {"$ref": "#/components/schemas/messages.exportedChatInviteReplaced"}], "description": "TL type: messages.ExportedChatInvite."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_INVITE_PERMANENT` – Sie können für permanente Einladungslinks kein Ablaufdatum festlegen.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 403 · `EDIT_BOT_INVITE_FORBIDDEN` – Normale Benutzer können keine Einladungen bearbeiten, die von Bots erstellt wurden.\n- 400 · `INVITE_HASH_EXPIRED` — Der Einladungslink ist abgelaufen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USAGE_LIMIT_INVALID` — The specified usage limit is invalid."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editExportedChatInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"revoked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether to revoke the chat invite"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chatten"}, "link": {"type": "string", "x-tl-type": "string", "description": "Einladungslink"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "New expiration date"}, "usage_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Maximale Anzahl von Benutzern, die über diesen Link beitreten können"}, "request_needed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Whether admin confirmation is required before admitting each separate user into the chat"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Description of the invite link, visible only to administrators"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `revoked` | `true` | Nein | Whether to revoke the chat invite |\n| `peer` | `InputPeer` | Ja | Chatten |\n| `link` | `string` | Ja | Einladungslink |\n| `expire_date` | `int` | Nein | New expiration date |\n| `usage_limit` | `int` | Nein | Maximale Anzahl von Benutzern, die über diesen Link beitreten können |\n| `request_needed` | `Bool` | Nein | Whether admin confirmation is required before admitting each separate user into the chat |\n| `title` | `string` | Nein | Description of the invite link, visible only to administrators |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_INVITE_PERMANENT", "CHAT_WRITE_FORBIDDEN", "EDIT_BOT_INVITE_FORBIDDEN", "INVITE_HASH_EXPIRED", "PEER_ID_INVALID", "USAGE_LIMIT_INVALID"], "x-browser-schema-id": "3184144245"}}, "/catalog/messages.deleteRevokedExportedChatInvites": {"post": {"operationId": "messages.deleteRevokedExportedChatInvites", "tags": ["Nachrichten"], "summary": "Delete all revoked chat invites", "description": "Delete all revoked chat invites\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.deleteRevokedExportedChatInvites", "x-tl-id": "1452833749", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ADMIN_ID_INVALID` – Die angegebene Admin-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteRevokedExportedChatInvites"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chatten"}, "admin_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "ID of the admin that originally generated the revoked chat invites"}}, "additionalProperties": false, "required": ["peer", "admin_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Chatten |\n| `admin_id` | `InputUser` | Ja | ID of the admin that originally generated the revoked chat invites |"}, "x-telegram-rpc-errors": ["ADMIN_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1452833749"}}, "/catalog/messages.deleteExportedChatInvite": {"post": {"operationId": "messages.deleteExportedChatInvite", "tags": ["Nachrichten"], "summary": "Delete a chat invite", "description": "Delete a chat invite\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.deleteExportedChatInvite", "x-tl-id": "3563365419", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `INVITE_HASH_EXPIRED` — Der Einladungslink ist abgelaufen.\n- 400 · `INVITE_REVOKED_MISSING` – Der angegebene Einladungslink wurde bereits widerrufen oder ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteExportedChatInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "link": {"type": "string", "x-tl-type": "string", "description": "Einladungslink"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `link` | `string` | Ja | Einladungslink |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "INVITE_HASH_EXPIRED", "INVITE_REVOKED_MISSING", "PEER_ID_INVALID"], "x-browser-schema-id": "3563365419"}}, "/catalog/messages.getAdminsWithInvites": {"post": {"operationId": "messages.getAdminsWithInvites", "tags": ["Nachrichten"], "summary": "Get info about chat invites generated by admins.", "description": "Get info about chat invites generated by admins.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.getAdminsWithInvites", "x-tl-id": "958457583", "x-tl-result": "messages.ChatAdminsWithInvites", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.ChatAdminsWithInvites`.\n\n[messages.ChatAdminsWithInvites](https://core.telegram.org/type/messages.ChatAdminsWithInvites.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ChatAdminsWithInvites", "oneOf": [{"$ref": "#/components/schemas/messages.chatAdminsWithInvites"}], "description": "TL type: messages.ChatAdminsWithInvites."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getAdminsWithInvites"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chatten"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Chatten |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "958457583"}}, "/catalog/messages.getChatInviteImporters": {"post": {"operationId": "messages.getChatInviteImporters", "tags": ["Nachrichten"], "summary": "Get info about the users that joined the chat using a specific chat invite", "description": "Get info about the users that joined the chat using a specific chat invite\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Einladungslinks](https://core.telegram.org/api/invites.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getChatInviteImporters", "x-tl-id": "3741637966", "x-tl-result": "messages.ChatInviteImporters", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Invite links", "https://core.telegram.org/api/invites.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.ChatInviteImporters`.\n\n[messages.ChatInviteImporters](https://core.telegram.org/type/messages.ChatInviteImporters.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ChatInviteImporters", "oneOf": [{"$ref": "#/components/schemas/messages.chatInviteImporters"}], "description": "TL type: messages.ChatInviteImporters."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `INVITE_HASH_EXPIRED` — Der Einladungslink ist abgelaufen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `SEARCH_WITH_LINK_NOT_SUPPORTED` – Sie können nicht gleichzeitig eine Suchanfrage und einen Einladungslink bereitstellen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getChatInviteImporters"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, only returns info about users with pending [join requests »](https://core.telegram.org/api/invites.md#join-requests)"}, "subscription_expired": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Set this flag if the link is a [Telegram Star subscription link »](https://core.telegram.org/api/stars.md#star-subscriptions) and only members with already expired subscription must be returned."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Chatten"}, "link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Einladungslink"}, "q": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Search for a user in the pending [join requests »](https://core.telegram.org/api/invites.md#join-requests) list: only available when the `requested` flag is set, cannot be used together with a specific `link`."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "offset_user": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "User ID for [pagination](https://core.telegram.org/api/offsets.md): if set, `offset_date` must also be set."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_date", "offset_user", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `requested` | `true` | Nein | If set, only returns info about users with pending [join requests »](https://core.telegram.org/api/invites.md#join-requests) |\n| `subscription_expired` | `true` | Nein | Set this flag if the link is a [Telegram Star subscription link »](https://core.telegram.org/api/stars.md#star-subscriptions) and only members with already expired subscription must be returned. |\n| `peer` | `InputPeer` | Ja | Chatten |\n| `link` | `string` | Nein | Einladungslink |\n| `q` | `string` | Nein | Search for a user in the pending [join requests »](https://core.telegram.org/api/invites.md#join-requests) list: only available when the `requested` flag is set, cannot be used together with a specific `link`. |\n| `offset_date` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `offset_user` | `InputUser` | Ja | User ID for [pagination](https://core.telegram.org/api/offsets.md): if set, `offset_date` must also be set. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "INVITE_HASH_EXPIRED", "PEER_ID_INVALID", "SEARCH_WITH_LINK_NOT_SUPPORTED"], "x-browser-schema-id": "3741637966"}}, "/catalog/messages.setHistoryTTL": {"post": {"operationId": "messages.setHistoryTTL", "tags": ["Nachrichten"], "summary": "Set maximum Time-To-Live of all messages in the specified chat", "description": "Set maximum Time-To-Live of all messages in the specified chat\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.setHistoryTTL", "x-tl-id": "3087949796", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `TTL_PERIOD_INVALID` – Der angegebene TTL-Zeitraum ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setHistoryTTL"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Der Dialog"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Automatically delete all messages sent in the chat after this many seconds"}}, "additionalProperties": false, "required": ["peer", "period"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Der Dialog |\n| `period` | `int` | Ja | Automatically delete all messages sent in the chat after this many seconds |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED", "PEER_ID_INVALID", "TTL_PERIOD_INVALID"], "x-browser-schema-id": "3087949796"}}, "/catalog/messages.checkHistoryImportPeer": {"post": {"operationId": "messages.checkHistoryImportPeer", "tags": ["Nachrichten"], "summary": "Überprüfen Sie, ob der aus einer anderen Chat-App exportierte Chat-Verlauf in einen bestimmten Telegram-Chat importiert werden kann. Klicken Sie hier für weitere Informationen ».", "description": "Überprüfen Sie, ob der aus einer anderen Chat-App exportierte Chat-Verlauf in einen bestimmten Telegram-Chat importiert werden kann. Klicken Sie hier für weitere Informationen »](https://core.telegram.org/api/import.md).\n\nIf the check succeeds, and no RPC errors are returned, a [messages.CheckedHistoryImportPeer](https://core.telegram.org/type/messages.CheckedHistoryImportPeer.md) constructor will be returned, with a confirmation text to be shown to the user, before actually initializing the import.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Importierte Nachrichten](https://core.telegram.org/api/import.md)", "x-tl-method": "messages.checkHistoryImportPeer", "x-tl-id": "1573261059", "x-tl-result": "messages.CheckedHistoryImportPeer", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Imported messages", "https://core.telegram.org/api/import.md"]], "responses": {"200": {"description": "MTProto result · `messages.CheckedHistoryImportPeer`.\n\n[messages.CheckedHistoryImportPeer](https://core.telegram.org/type/messages.CheckedHistoryImportPeer.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.CheckedHistoryImportPeer", "oneOf": [{"$ref": "#/components/schemas/messages.checkedHistoryImportPeer"}], "description": "Type TL: messages.CheckedHistoryImportPeer."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_NOT_MUTUAL_CONTACT` — Der angegebene Benutzer ist kein gemeinsamer Kontakt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.checkHistoryImportPeer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat where we want to [import history »](https://core.telegram.org/api/import.md)."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The chat where we want to [import history »](https://core.telegram.org/api/import.md). |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID", "USER_NOT_MUTUAL_CONTACT"], "x-browser-schema-id": "1573261059"}}, "/catalog/messages.setChatTheme": {"post": {"operationId": "messages.setChatTheme", "tags": ["Nachrichten"], "summary": "Change the chat theme of a certain chat, see here » for more info.", "description": "Change the chat theme of a certain chat, see [here »](https://core.telegram.org/api/themes.md#chat-themes) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Themen](https://core.telegram.org/api/themes.md)", "x-tl-method": "messages.setChatTheme", "x-tl-id": "135398089", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram themes", "https://core.telegram.org/api/themes.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMOJI_INVALID` – Das angegebene Themen-Emoji ist gültig.\n- 400 · `EMOJI_NOT_MODIFIED` — Das Thema wurde nicht geändert.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setChatTheme"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Private chat where to change theme"}, "theme": {"type": "object", "x-tl-type": "InputChatTheme", "oneOf": [{"$ref": "#/components/schemas/inputChatThemeEmpty"}, {"$ref": "#/components/schemas/inputChatTheme"}, {"$ref": "#/components/schemas/inputChatThemeUniqueGift"}], "description": "The theme to set."}}, "additionalProperties": false, "required": ["peer", "theme"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Private chat where to change theme |\n| `theme` | `InputChatTheme` | Ja | The theme to set. |"}, "x-telegram-rpc-errors": ["EMOJI_INVALID", "EMOJI_NOT_MODIFIED", "PEER_ID_INVALID"], "x-browser-schema-id": "135398089"}}, "/catalog/messages.getMessageReadParticipants": {"post": {"operationId": "messages.getMessageReadParticipants", "tags": ["Nachrichten"], "summary": "Get which users read a specific message: only available for groups and supergroups with less than `chat_read_mark_size_threshold` members, read receipts will be stored for `chat_read_mark_expire_period` seconds after the message was sent, see client configuration for more info ».", "description": "Get which users read a specific message: only available for groups and supergroups with less than [`chat_read_mark_size_threshold` members](https://core.telegram.org/api/config.md#chat-read-mark-size-threshold), read receipts will be stored for [`chat_read_mark_expire_period` seconds after the message was sent](https://core.telegram.org/api/config.md#chat-read-mark-expire-period), see [client configuration for more info »](https://core.telegram.org/api/config.md#client-configuration).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "messages.getMessageReadParticipants", "x-tl-id": "834782287", "x-tl-result": "Vector<ReadParticipantDate>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Vector<ReadParticipantDate>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[ReadParticipantDate](https://core.telegram.org/type/ReadParticipantDate.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "ReadParticipantDate", "oneOf": [{"$ref": "#/components/schemas/readParticipantDate"}], "description": "TL Type: ReadParticipantDate."}, "x-tl-type": "Vector<ReadParticipantDate>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_TOO_BIG` – Diese Methode ist nicht für Gruppen mit mehr als `chat_read_mark_size_threshold` Mitgliedern verfügbar, [siehe Client-Konfiguration »](https://core.telegram.org/api/config.md#client-configuration).\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `MSG_TOO_OLD` — [`chat_read_mark_expire_period` Sekunden](https://core.telegram.org/api/config.md#chat-read-mark-expire-period) sind seit dem Senden der Nachricht vergangen, Lesebestätigungen wurden gelöscht.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getMessageReadParticipants"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Dialog"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Dialog |\n| `msg_id` | `int` | Ja | Nachrichten-ID |"}, "x-telegram-rpc-errors": ["CHAT_TOO_BIG", "MSG_ID_INVALID", "MSG_TOO_OLD", "PEER_ID_INVALID"], "x-browser-schema-id": "834782287"}}, "/catalog/messages.getSearchResultsCalendar": {"post": {"operationId": "messages.getSearchResultsCalendar", "tags": ["Nachrichten"], "summary": "Returns information about the next messages of the specified type in the chat split by days.", "description": "Returns information about the next messages of the specified type in the chat split by days.\n\nReturns the results in reverse chronological order.  \nCan return partial results for the last returned day.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getSearchResultsCalendar", "x-tl-id": "1789130429", "x-tl-result": "messages.SearchResultsCalendar", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Saved messages", "https://core.telegram.org/api/saved-messages.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.SearchResultsCalendar`.\n\n[messages.SearchResultsCalendar](https://core.telegram.org/type/messages.SearchResultsCalendar.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SearchResultsCalendar", "oneOf": [{"$ref": "#/components/schemas/messages.searchResultsCalendar"}], "description": "TL type: messages.SearchResultsCalendar."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILTER_NOT_SUPPORTED` – Der angegebene Filter kann in diesem Kontext nicht verwendet werden.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSearchResultsCalendar"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where to search"}, "saved_peer_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Search within the [saved message dialog »](https://core.telegram.org/api/saved-messages.md) with this ID.", "x-tl-flag": "flags.2?InputPeer"}, "filter": {"type": "object", "x-tl-type": "MessagesFilter", "oneOf": [{"$ref": "#/components/schemas/inputMessagesFilterEmpty"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotoVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterDocument"}, {"$ref": "#/components/schemas/inputMessagesFilterUrl"}, {"$ref": "#/components/schemas/inputMessagesFilterGif"}, {"$ref": "#/components/schemas/inputMessagesFilterVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterMusic"}, {"$ref": "#/components/schemas/inputMessagesFilterChatPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterPhoneCalls"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterMyMentions"}, {"$ref": "#/components/schemas/inputMessagesFilterGeo"}, {"$ref": "#/components/schemas/inputMessagesFilterContacts"}, {"$ref": "#/components/schemas/inputMessagesFilterPinned"}, {"$ref": "#/components/schemas/inputMessagesFilterPoll"}], "description": "Message filter, [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md) filters are not supported by this method."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "filter", "offset_id", "offset_date"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where to search |\n| `saved_peer_id` | `InputPeer` | Nein | Search within the [saved message dialog »](https://core.telegram.org/api/saved-messages.md) with this ID. |\n| `filter` | `MessagesFilter` | Ja | Message filter, [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md) filters are not supported by this method. |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `offset_date` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["FILTER_NOT_SUPPORTED", "PEER_ID_INVALID"], "x-browser-schema-id": "1789130429"}}, "/catalog/messages.getSearchResultsPositions": {"post": {"operationId": "messages.getSearchResultsPositions", "tags": ["Nachrichten"], "summary": "Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.", "description": "Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.\n\nReturns the results in reverse chronological order (i.e., in order of decreasing message\\_id).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getSearchResultsPositions", "x-tl-id": "2625580816", "x-tl-result": "messages.SearchResultsPositions", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Saved messages", "https://core.telegram.org/api/saved-messages.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.SearchResultsPositions`.\n\n[messages.SearchResultsPositions](https://core.telegram.org/type/messages.SearchResultsPositions.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SearchResultsPositions", "oneOf": [{"$ref": "#/components/schemas/messages.searchResultsPositions"}], "description": "TL type: messages.SearchResultsPositions."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSearchResultsPositions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where to search"}, "saved_peer_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Search within the [saved message dialog »](https://core.telegram.org/api/saved-messages.md) with this ID.", "x-tl-flag": "flags.2?InputPeer"}, "filter": {"type": "object", "x-tl-type": "MessagesFilter", "oneOf": [{"$ref": "#/components/schemas/inputMessagesFilterEmpty"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotoVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterDocument"}, {"$ref": "#/components/schemas/inputMessagesFilterUrl"}, {"$ref": "#/components/schemas/inputMessagesFilterGif"}, {"$ref": "#/components/schemas/inputMessagesFilterVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterMusic"}, {"$ref": "#/components/schemas/inputMessagesFilterChatPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterPhoneCalls"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterMyMentions"}, {"$ref": "#/components/schemas/inputMessagesFilterGeo"}, {"$ref": "#/components/schemas/inputMessagesFilterContacts"}, {"$ref": "#/components/schemas/inputMessagesFilterPinned"}, {"$ref": "#/components/schemas/inputMessagesFilterPoll"}], "description": "Message filter, [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md) filters are not supported by this method."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "filter", "offset_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where to search |\n| `saved_peer_id` | `InputPeer` | Nein | Search within the [saved message dialog »](https://core.telegram.org/api/saved-messages.md) with this ID. |\n| `filter` | `MessagesFilter` | Ja | Message filter, [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md) filters are not supported by this method. |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2625580816"}}, "/catalog/messages.hideChatJoinRequest": {"post": {"operationId": "messages.hideChatJoinRequest", "tags": ["Nachrichten"], "summary": "Dismiss or approve a chat join request related to a specific chat or channel.", "description": "Dismiss or approve a chat [join request](https://core.telegram.org/api/invites.md#join-requests) related to a specific chat or channel.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Einladungslinks](https://core.telegram.org/api/invites.md)", "x-tl-method": "messages.hideChatJoinRequest", "x-tl-id": "2145904661", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Invite links", "https://core.telegram.org/api/invites.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` – Du bist zu vielen Kanälen/Supergruppen beigetreten.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `HIDE_REQUESTER_MISSING` — Die Beitrittsanfrage fehlte oder wurde bereits bearbeitet.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_ALREADY_PARTICIPANT` — The user is already in the group.\n- 403 · `USER_CHANNELS_TOO_MUCH` – Einer der Benutzer, die Sie hinzufügen wollten, ist bereits in zu vielen Kanälen/Supergruppen.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.hideChatJoinRequest"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"approved": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to dismiss or approve the chat [join request »](https://core.telegram.org/api/invites.md#join-requests)"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat or channel"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user whose [join request »](https://core.telegram.org/api/invites.md#join-requests) should be dismissed or approved"}}, "additionalProperties": false, "required": ["peer", "user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `approved` | `true` | Nein | Whether to dismiss or approve the chat [join request »](https://core.telegram.org/api/invites.md#join-requests) |\n| `peer` | `InputPeer` | Ja | The chat or channel |\n| `user_id` | `InputUser` | Ja | The user whose [join request »](https://core.telegram.org/api/invites.md#join-requests) should be dismissed or approved |"}, "x-telegram-rpc-errors": ["CHANNELS_TOO_MUCH", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "HIDE_REQUESTER_MISSING", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID", "USER_ALREADY_PARTICIPANT", "USER_CHANNELS_TOO_MUCH", "USER_ID_INVALID"], "x-browser-schema-id": "2145904661"}}, "/catalog/messages.hideAllChatJoinRequests": {"post": {"operationId": "messages.hideAllChatJoinRequests", "tags": ["Nachrichten"], "summary": "Dismiss or approve all join requests related to a specific chat or channel.", "description": "Dismiss or approve all [join requests](https://core.telegram.org/api/invites.md#join-requests) related to a specific chat or channel.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Einladungslinks](https://core.telegram.org/api/invites.md)", "x-tl-method": "messages.hideAllChatJoinRequests", "x-tl-id": "3766875370", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Invite links", "https://core.telegram.org/api/invites.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` – Du bist zu vielen Kanälen/Supergruppen beigetreten.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `HIDE_REQUESTER_MISSING` — Die Beitrittsanfrage fehlte oder wurde bereits bearbeitet.\n- 400 · `INVITE_HASH_EXPIRED` — Der Einladungslink ist abgelaufen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_CHANNELS_TOO_MUCH` – Einer der Benutzer, die Sie hinzufügen wollten, ist bereits in zu vielen Kanälen/Supergruppen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.hideAllChatJoinRequests"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"approved": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to dismiss or approve all chat [join requests »](https://core.telegram.org/api/invites.md#join-requests)"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat or channel"}, "link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Only dismiss or approve [join requests »](https://core.telegram.org/api/invites.md#join-requests) initiated using this invite link"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `approved` | `true` | Nein | Whether to dismiss or approve all chat [join requests »](https://core.telegram.org/api/invites.md#join-requests) |\n| `peer` | `InputPeer` | Ja | The chat or channel |\n| `link` | `string` | Nein | Only dismiss or approve [join requests »](https://core.telegram.org/api/invites.md#join-requests) initiated using this invite link |"}, "x-telegram-rpc-errors": ["CHANNELS_TOO_MUCH", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "HIDE_REQUESTER_MISSING", "INVITE_HASH_EXPIRED", "PEER_ID_INVALID", "USER_CHANNELS_TOO_MUCH"], "x-browser-schema-id": "3766875370"}}, "/catalog/messages.toggleNoForwards": {"post": {"operationId": "messages.toggleNoForwards", "tags": ["Nachrichten"], "summary": "Enable or disable content protection on a channel, group or private chat.", "description": "Enable or disable [content protection](https://core.telegram.org/api/content-protection.md) on a channel, group or private chat.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Inhaltsschutz](https://core.telegram.org/api/content-protection.md)", "x-tl-method": "messages.toggleNoForwards", "x-tl-id": "2986875445", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Content protection", "https://core.telegram.org/api/content-protection.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `REQUEST_MSG_EXPIRED` – Die in request_msg_id angegebene Anfrage ist bereits abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.toggleNoForwards"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat or channel"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Enable or disable content protection"}, "request_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Used only inside private chats to accept or refuse a request to disable content protection, see [here »](https://core.telegram.org/api/content-protection.md#for-users) for more info on the full flow."}}, "additionalProperties": false, "required": ["peer", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The chat or channel |\n| `enabled` | `Bool` | Ja | Enable or disable content protection |\n| `request_msg_id` | `int` | Nein | Used only inside private chats to accept or refuse a request to disable content protection, see [here »](https://core.telegram.org/api/content-protection.md#for-users) for more info on the full flow. |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED", "PEER_ID_INVALID", "REQUEST_MSG_EXPIRED"], "x-browser-schema-id": "2986875445"}}, "/catalog/messages.saveDefaultSendAs": {"post": {"operationId": "messages.saveDefaultSendAs", "tags": ["Nachrichten"], "summary": "Change the default peer that should be used when sending messages, reactions, poll votes to a specific group", "description": "Change the default peer that should be used when sending messages, reactions, poll votes to a specific group\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.saveDefaultSendAs", "x-tl-id": "3439189910", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `SEND_AS_PEER_INVALID` – Sie können als angegebener Peer keine Nachrichten senden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.saveDefaultSendAs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Group"}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The default peer that should be used when sending messages to the group"}}, "additionalProperties": false, "required": ["peer", "send_as"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Group |\n| `send_as` | `InputPeer` | Ja | The default peer that should be used when sending messages to the group |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "PEER_ID_INVALID", "SEND_AS_PEER_INVALID"], "x-browser-schema-id": "3439189910"}}, "/catalog/messages.sendReaction": {"post": {"operationId": "messages.sendReaction", "tags": ["Nachrichten"], "summary": "React to message.", "description": "React to message.\n\nStarting from layer 159, the reaction will be sent from the peer specified using [messages.saveDefaultSendAs](https://core.telegram.org/method/messages.saveDefaultSendAs.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "messages.sendReaction", "x-tl-id": "3540875476", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `CUSTOM_REACTIONS_TOO_MANY` – Es wurden zu viele benutzerdefinierte Reaktionen angegeben.\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MESSAGE_NOT_MODIFIED` – Die bereitgestellten Nachrichtendaten sind identisch mit den vorherigen Nachrichtendaten, die Nachricht wurde nicht geändert.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action.\n- 400 · `REACTIONS_TOO_MANY` – Die Nachricht enthält bereits genau `reactions_uniq_max` Reaktions-Emojis. Sie können nicht mit einem neuen Emoji reagieren. Weitere Informationen finden Sie in den Dokumenten »](https://core.telegram.org/api/config.md#client-configuration).\n- 400 · `REACTION_EMPTY` – Leere Reaktion bereitgestellt.\n- 400 · `REACTION_INVALID` — Die angegebene Reaktion ist ungültig.\n- 403 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendReaction"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"big": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether a bigger and longer reaction should be shown"}, "add_to_recent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether to add this reaction to the [recent reactions list »](https://core.telegram.org/api/reactions.md#recent-reactions)."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Message ID to react to"}, "reaction": {"type": "array", "items": {"type": "object", "x-tl-type": "Reaction", "oneOf": [{"$ref": "#/components/schemas/reactionEmpty"}, {"$ref": "#/components/schemas/reactionEmoji"}, {"$ref": "#/components/schemas/reactionCustomEmoji"}, {"$ref": "#/components/schemas/reactionPaid"}], "description": "TL Type: Reaction."}, "x-tl-type": "Vector<Reaction>", "x-tl-flag": "flags.0?Vector<Reaction>", "description": "Eine Liste von Reaktionen (akzeptiert keine [reactionPaid](https://core.telegram.org/constructor/reactionPaid.md)-Konstruktoren, verwenden Sie stattdessen [messages.sendPaidReaction](https://core.telegram.org/method/messages.sendPaidReaction.md), um bezahlte Reaktionen zu senden)."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `big` | `true` | Nein | Whether a bigger and longer reaction should be shown |\n| `add_to_recent` | `true` | Nein | Whether to add this reaction to the [recent reactions list »](https://core.telegram.org/api/reactions.md#recent-reactions). |\n| `peer` | `InputPeer` | Ja | Peer |\n| `msg_id` | `int` | Ja | Message ID to react to |\n| `reaction` | `Vector<Reaction>` | Nein | Eine Liste von Reaktionen (akzeptiert keine [reactionPaid](https://core.telegram.org/constructor/reactionPaid.md)-Konstruktoren, verwenden Sie stattdessen [messages.sendPaidReaction](https://core.telegram.org/method/messages.sendPaidReaction.md), um bezahlte Reaktionen zu senden). |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_WRITE_FORBIDDEN", "CUSTOM_REACTIONS_TOO_MANY", "DOCUMENT_INVALID", "MESSAGE_ID_INVALID", "MESSAGE_NOT_MODIFIED", "MSG_ID_INVALID", "PEER_ID_INVALID", "PREMIUM_ACCOUNT_REQUIRED", "REACTIONS_TOO_MANY", "REACTION_EMPTY", "REACTION_INVALID", "USER_BANNED_IN_CHANNEL"], "x-browser-schema-id": "3540875476"}}, "/catalog/messages.getMessagesReactions": {"post": {"operationId": "messages.getMessagesReactions", "tags": ["Nachrichten"], "summary": "Get message reactions »", "description": "Get [message reactions »](https://core.telegram.org/api/reactions.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.getMessagesReactions", "x-tl-id": "2344259814", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getMessagesReactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Message IDs"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `id` | `Vector<int>` | Ja | Message IDs |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID"], "x-browser-schema-id": "2344259814"}}, "/catalog/messages.getMessageReactionsList": {"post": {"operationId": "messages.getMessageReactionsList", "tags": ["Nachrichten"], "summary": "Get message reaction list, along with the sender of each reaction.", "description": "Get [message reaction](https://core.telegram.org/api/reactions.md) list, along with the sender of each reaction.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.getMessageReactionsList", "x-tl-id": "1176190792", "x-tl-result": "messages.MessageReactionsList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `messages.MessageReactionsList`.\n\n[messages.MessageReactionsList](https://core.telegram.org/type/messages.MessageReactionsList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.MessageReactionsList", "oneOf": [{"$ref": "#/components/schemas/messages.messageReactionsList"}], "description": "Type TL: messages.MessageReactionsList."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `BROADCAST_FORBIDDEN` – Kanalumfragewähler und Reaktionen können nicht abgerufen werden, um eine Deanonymisierung zu verhindern.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getMessageReactionsList"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}, "reaction": {"type": "object", "x-tl-type": "Reaction", "oneOf": [{"$ref": "#/components/schemas/reactionEmpty"}, {"$ref": "#/components/schemas/reactionEmoji"}, {"$ref": "#/components/schemas/reactionCustomEmoji"}, {"$ref": "#/components/schemas/reactionPaid"}], "description": "Get only reactions of this type", "x-tl-flag": "flags.0?Reaction"}, "offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Offset for pagination (taken from the `next_offset` field of the returned [messages.MessageReactionsList](https://core.telegram.org/type/messages.MessageReactionsList.md)); empty in the first request."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `id` | `int` | Ja | Nachrichten-ID |\n| `reaction` | `Reaction` | Nein | Get only reactions of this type |\n| `offset` | `string` | Nein | Offset for pagination (taken from the `next_offset` field of the returned [messages.MessageReactionsList](https://core.telegram.org/type/messages.MessageReactionsList.md)); empty in the first request. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["BROADCAST_FORBIDDEN", "CHANNEL_INVALID", "MSG_ID_INVALID"], "x-browser-schema-id": "1176190792"}}, "/catalog/messages.setChatAvailableReactions": {"post": {"operationId": "messages.setChatAvailableReactions", "tags": ["Nachrichten"], "summary": "Ändern Sie den Satz an Nachrichtenreaktionen », die in einer bestimmten Gruppe, Supergruppe oder einem bestimmten Kanal verwendet werden können", "description": "Ändern Sie den Satz von [Nachrichtenreaktionen »](https://core.telegram.org/api/reactions.md), die in einer bestimmten Gruppe, Supergruppe oder einem bestimmten Kanal verwendet werden können\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.setChatAvailableReactions", "x-tl-id": "2253071745", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 400 · `LIMIT_PER_POST_INVALID` – Der angegebene reactions_limit-Wert ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `REACTION_INVALID` — Die angegebene Reaktion ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setChatAvailableReactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Group where to apply changes"}, "available_reactions": {"type": "object", "x-tl-type": "ChatReactions", "oneOf": [{"$ref": "#/components/schemas/chatReactionsNone"}, {"$ref": "#/components/schemas/chatReactionsAll"}, {"$ref": "#/components/schemas/chatReactionsSome"}], "description": "Zulässige Reaktions-Emojis"}, "reactions_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of [appConfig.reactions_uniq_max](https://core.telegram.org/api/config.md#reactions-uniq-max)); this field and the other info set by the method will then be available to users in [channelFull](https://core.telegram.org/constructor/channelFull.md) and [chatFull](https://core.telegram.org/constructor/chatFull.md).  If this flag is not set, the previously configured `reactions_limit` will not be altered."}, "paid_enabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool", "description": "If this flag is set and a [Bool](https://core.telegram.org/type/Bool.md) is passed, the method will enable or disable [paid message reactions »](https://core.telegram.org/api/reactions.md#paid-reactions). If this flag is not set, the previously stored setting will not be changed."}}, "additionalProperties": false, "required": ["peer", "available_reactions"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Group where to apply changes |\n| `available_reactions` | `ChatReactions` | Ja | Zulässige Reaktions-Emojis |\n| `reactions_limit` | `int` | Nein | This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of [appConfig.reactions_uniq_max](https://core.telegram.org/api/config.md#reactions-uniq-max)); this field and the other info set by the method will then be available to users in [channelFull](https://core.telegram.org/constructor/channelFull.md) and [chatFull](https://core.telegram.org/constructor/chatFull.md).  If this flag is not set, the previously configured `reactions_limit` will not be altered. |\n| `paid_enabled` | `Bool` | Nein | If this flag is set and a [Bool](https://core.telegram.org/type/Bool.md) is passed, the method will enable or disable [paid message reactions »](https://core.telegram.org/api/reactions.md#paid-reactions). If this flag is not set, the previously stored setting will not be changed. |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED", "DOCUMENT_INVALID", "LIMIT_PER_POST_INVALID", "PEER_ID_INVALID", "REACTION_INVALID"], "x-browser-schema-id": "2253071745"}}, "/catalog/messages.getAvailableReactions": {"post": {"operationId": "messages.getAvailableReactions", "tags": ["Nachrichten"], "summary": "Obtain available message reactions »", "description": "Obtain available [message reactions »](https://core.telegram.org/api/reactions.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.getAvailableReactions", "x-tl-id": "417243308", "x-tl-result": "messages.AvailableReactions", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `messages.AvailableReactions`.\n\n[messages.AvailableReactions](https://core.telegram.org/type/messages.AvailableReactions.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AvailableReactions", "oneOf": [{"$ref": "#/components/schemas/messages.availableReactionsNotModified"}, {"$ref": "#/components/schemas/messages.availableReactions"}], "description": "TL type: messages.AvailableReactions."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getAvailableReactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "417243308"}}, "/catalog/messages.setDefaultReaction": {"post": {"operationId": "messages.setDefaultReaction", "tags": ["Nachrichten"], "summary": "Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using help.getConfig, `reactions_default` field.", "description": "Change default emoji reaction to use in the quick reaction menu: the value is synced across devices and can be fetched using [help.getConfig, `reactions_default` field](https://core.telegram.org/method/help.getConfig.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.setDefaultReaction", "x-tl-id": "1330094102", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `REACTION_INVALID` — Die angegebene Reaktion ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setDefaultReaction"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"reaction": {"type": "object", "x-tl-type": "Reaction", "oneOf": [{"$ref": "#/components/schemas/reactionEmpty"}, {"$ref": "#/components/schemas/reactionEmoji"}, {"$ref": "#/components/schemas/reactionCustomEmoji"}, {"$ref": "#/components/schemas/reactionPaid"}], "description": "New emoji reaction"}}, "additionalProperties": false, "required": ["reaction"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `reaction` | `Reaction` | Ja | New emoji reaction |"}, "x-telegram-rpc-errors": ["REACTION_INVALID"], "x-browser-schema-id": "1330094102"}}, "/catalog/messages.translateText": {"post": {"operationId": "messages.translateText", "tags": ["Nachrichten"], "summary": "Translate a given text.", "description": "Translate a given text.\n\n[Styled text entities](https://core.telegram.org/api/entities.md) will only be preserved for [Telegram Premium](https://core.telegram.org/api/premium.md) users.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Fehlerbehandlung](https://core.telegram.org/api/errors.md)", "x-tl-method": "messages.translateText", "x-tl-id": "2783888197", "x-tl-result": "messages.TranslatedText", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["AI features", "https://core.telegram.org/api/ai.md"], ["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Error handling ", "https://core.telegram.org/api/errors.md"]], "responses": {"200": {"description": "MTProto result · `messages.TranslatedText`.\n\n[messages.TranslatedText](https://core.telegram.org/type/messages.TranslatedText.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.TranslatedText", "oneOf": [{"$ref": "#/components/schemas/messages.translateResult"}], "description": "Type TL: messages.TranslatedText."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `INPUT_TEXT_EMPTY` – Der angegebene Text ist leer.\n- 400 · `INPUT_TEXT_TOO_LONG` – Der angegebene Text ist zu lang.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `TO_LANG_INVALID` – Die angegebene Zielsprache ist ungültig.\n- 500 · `TRANSLATE_REQ_FAILED` — Übersetzung fehlgeschlagen, bitte versuchen Sie es später erneut.\n- 400 · `TRANSLATE_REQ_QUOTA_EXCEEDED` – Die Übersetzung ist derzeit aufgrund eines vorübergehenden serverseitigen Ressourcenmangels nicht verfügbar.\n- 406 · `TRANSLATIONS_DISABLED` — Translations are unavailable, a detailed and localized description for the error will be emitted via an [updateServiceNotification as specified here&nbsp;&raquo;](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 500 · `TRANSLATION_TIMEOUT` – Beim Übersetzen des angegebenen Textes ist eine Zeitüberschreitung aufgetreten."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.translateText"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If the text is a chat message, the peer ID", "x-tl-flag": "flags.0?InputPeer"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.0?Vector<int>", "description": "Eine Liste der zu übersetzenden Nachrichten-IDs"}, "text": {"type": "array", "items": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "TL Type: TextWithEntities."}, "x-tl-type": "Vector<TextWithEntities>", "x-tl-flag": "flags.1?Vector<TextWithEntities>", "description": "Eine Liste der zu übersetzenden gestalteten Nachrichten"}, "to_lang": {"type": "string", "x-tl-type": "string", "description": "Two-letter ISO 639-1 language code of the language to which the message is translated"}, "tone": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "If set, rephrases the translation using the specified [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) (pass the tone identifier)"}}, "additionalProperties": false, "required": ["to_lang"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Nein | If the text is a chat message, the peer ID |\n| `id` | `Vector<int>` | Nein | Eine Liste der zu übersetzenden Nachrichten-IDs |\n| `text` | `Vector<TextWithEntities>` | Nein | Eine Liste der zu übersetzenden gestalteten Nachrichten |\n| `to_lang` | `string` | Ja | Two-letter ISO 639-1 language code of the language to which the message is translated |\n| `tone` | `string` | Nein | If set, rephrases the translation using the specified [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) (pass the tone identifier) |"}, "x-telegram-rpc-errors": ["INPUT_TEXT_EMPTY", "INPUT_TEXT_TOO_LONG", "MSG_ID_INVALID", "PEER_ID_INVALID", "TO_LANG_INVALID", "TRANSLATE_REQ_FAILED", "TRANSLATE_REQ_QUOTA_EXCEEDED", "TRANSLATIONS_DISABLED", "TRANSLATION_TIMEOUT"], "x-browser-schema-id": "2783888197"}}, "/catalog/messages.getUnreadReactions": {"post": {"operationId": "messages.getUnreadReactions", "tags": ["Nachrichten"], "summary": "Get unread reactions to messages you sent", "description": "Get unread reactions to messages you sent\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getUnreadReactions", "x-tl-id": "3179253932", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"], ["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getUnreadReactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "If set, considers only reactions to messages within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics)"}, "saved_peer_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, must be equal to the ID of a [monoforum topic](https://core.telegram.org/api/monoforum.md): will affect that topic in the monoforum passed in `peer`.", "x-tl-flag": "flags.1?InputPeer"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Only return reactions for messages up until this message ID"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Only return reactions for messages starting from this message ID"}}, "additionalProperties": false, "required": ["peer", "offset_id", "add_offset", "limit", "max_id", "min_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `top_msg_id` | `int` | Nein | If set, considers only reactions to messages within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics) |\n| `saved_peer_id` | `InputPeer` | Nein | If set, must be equal to the ID of a [monoforum topic](https://core.telegram.org/api/monoforum.md): will affect that topic in the monoforum passed in `peer`. |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Ja | Only return reactions for messages up until this message ID |\n| `min_id` | `int` | Ja | Only return reactions for messages starting from this message ID |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3179253932"}}, "/catalog/messages.readReactions": {"post": {"operationId": "messages.readReactions", "tags": ["Nachrichten"], "summary": "Mark message reactions » as read", "description": "Mark [message reactions »](https://core.telegram.org/api/reactions.md) as read\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.readReactions", "x-tl-id": "2663665555", "x-tl-result": "messages.AffectedHistory", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"], ["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto Result · `messages.AffectedHistory`.\n\n[messages.AffectedHistory](https://core.telegram.org/type/messages.AffectedHistory.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedHistory", "oneOf": [{"$ref": "#/components/schemas/messages.affectedHistory"}], "description": "Type TL: messages.AffectedHistory."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.readReactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Mark as read only reactions to messages within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics)"}, "saved_peer_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, must be equal to the ID of a [monoforum topic](https://core.telegram.org/api/monoforum.md): will affect that topic in the monoforum passed in `peer`.", "x-tl-flag": "flags.1?InputPeer"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer |\n| `top_msg_id` | `int` | Nein | Mark as read only reactions to messages within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics) |\n| `saved_peer_id` | `InputPeer` | Nein | If set, must be equal to the ID of a [monoforum topic](https://core.telegram.org/api/monoforum.md): will affect that topic in the monoforum passed in `peer`. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2663665555"}}, "/catalog/messages.searchSentMedia": {"post": {"operationId": "messages.searchSentMedia", "tags": ["Nachrichten"], "summary": "View and search recently sent media.  ", "description": "View and search recently sent media.  \nThis method does not support pagination.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.searchSentMedia", "x-tl-id": "276705696", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILTER_NOT_SUPPORTED` – Der angegebene Filter kann in diesem Kontext nicht verwendet werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.searchSentMedia"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"q": {"type": "string", "x-tl-type": "string", "description": "Optional search query"}, "filter": {"type": "object", "x-tl-type": "MessagesFilter", "oneOf": [{"$ref": "#/components/schemas/inputMessagesFilterEmpty"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterPhotoVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterDocument"}, {"$ref": "#/components/schemas/inputMessagesFilterUrl"}, {"$ref": "#/components/schemas/inputMessagesFilterGif"}, {"$ref": "#/components/schemas/inputMessagesFilterVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterMusic"}, {"$ref": "#/components/schemas/inputMessagesFilterChatPhotos"}, {"$ref": "#/components/schemas/inputMessagesFilterPhoneCalls"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVoice"}, {"$ref": "#/components/schemas/inputMessagesFilterRoundVideo"}, {"$ref": "#/components/schemas/inputMessagesFilterMyMentions"}, {"$ref": "#/components/schemas/inputMessagesFilterGeo"}, {"$ref": "#/components/schemas/inputMessagesFilterContacts"}, {"$ref": "#/components/schemas/inputMessagesFilterPinned"}, {"$ref": "#/components/schemas/inputMessagesFilterPoll"}], "description": "Message filter"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return (max 100)."}}, "additionalProperties": false, "required": ["q", "filter", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `q` | `string` | Ja | Optional search query |\n| `filter` | `MessagesFilter` | Ja | Message filter |\n| `limit` | `int` | Ja | Maximum number of results to return (max 100). |"}, "x-telegram-rpc-errors": ["FILTER_NOT_SUPPORTED"], "x-browser-schema-id": "276705696"}}, "/catalog/messages.getAttachMenuBots": {"post": {"operationId": "messages.getAttachMenuBots", "tags": ["Nachrichten"], "summary": "Returns installed attachment menu bot mini apps »", "description": "Returns installed attachment menu [bot mini apps »](https://core.telegram.org/api/bots/attach.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Einträge im Bot-Anhangsmenü und im Seitenmenü](https://core.telegram.org/api/bots/attach.md)", "x-tl-method": "messages.getAttachMenuBots", "x-tl-id": "385663691", "x-tl-result": "AttachMenuBots", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Bot attachment menu and side menu entries", "https://core.telegram.org/api/bots/attach.md"]], "responses": {"200": {"description": "MTProto result · `AttachMenuBots`.\n\n[AttachMenuBots](https://core.telegram.org/type/AttachMenuBots.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AttachMenuBots", "oneOf": [{"$ref": "#/components/schemas/attachMenuBotsNotModified"}, {"$ref": "#/components/schemas/attachMenuBots"}], "description": "TL Type: AttachMenuBots."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getAttachMenuBots"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "385663691"}}, "/catalog/messages.getAttachMenuBot": {"post": {"operationId": "messages.getAttachMenuBot", "tags": ["Nachrichten"], "summary": "Returns attachment menu entry for a bot mini app that can be launched from the attachment menu »", "description": "Returns attachment menu entry for a [bot mini app that can be launched from the attachment menu »](https://core.telegram.org/api/bots/attach.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Einträge im Bot-Anhangsmenü und im Seitenmenü](https://core.telegram.org/api/bots/attach.md)", "x-tl-method": "messages.getAttachMenuBot", "x-tl-id": "1998676370", "x-tl-result": "AttachMenuBotsBot", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Bot attachment menu and side menu entries", "https://core.telegram.org/api/bots/attach.md"]], "responses": {"200": {"description": "MTProto result · `AttachMenuBotsBot`.\n\n[AttachMenuBotsBot](https://core.telegram.org/type/AttachMenuBotsBot.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AttachMenuBotsBot", "oneOf": [{"$ref": "#/components/schemas/attachMenuBotsBot"}], "description": "TL Type: AttachMenuBotsBot."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getAttachMenuBot"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Bot-ID"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | Bot-ID |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "1998676370"}}, "/catalog/messages.toggleBotInAttachMenu": {"post": {"operationId": "messages.toggleBotInAttachMenu", "tags": ["Nachrichten"], "summary": "Enable or disable web bot attachment menu »", "description": "Enable or disable [web bot attachment menu »](https://core.telegram.org/api/bots/attach.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Einträge im Bot-Anhangsmenü und im Seitenmenü](https://core.telegram.org/api/bots/attach.md)", "x-tl-method": "messages.toggleBotInAttachMenu", "x-tl-id": "1777704297", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Bot attachment menu and side menu entries", "https://core.telegram.org/api/bots/attach.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.toggleBotInAttachMenu"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"write_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether the user authorizes the bot to write messages to them, if requested by [attachMenuBot](https://core.telegram.org/constructor/attachMenuBot.md).`request_write_access`"}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Bot-ID"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Toggle"}}, "additionalProperties": false, "required": ["bot", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `write_allowed` | `true` | Nein | Whether the user authorizes the bot to write messages to them, if requested by [attachMenuBot](https://core.telegram.org/constructor/attachMenuBot.md).`request_write_access` |\n| `bot` | `InputUser` | Ja | Bot-ID |\n| `enabled` | `Bool` | Ja | Toggle |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "1777704297"}}, "/catalog/messages.requestWebView": {"post": {"operationId": "messages.requestWebView", "tags": ["Nachrichten"], "summary": "Open a bot mini app, sending over user information after user confirmation.", "description": "Open a [bot mini app](https://core.telegram.org/bots/webapps.md), sending over user information after user confirmation.\n\nNach dem Aufruf dieser Methode muss [messages.prolongWebView](https://core.telegram.org/method/messages.prolongWebView.md) alle 60 Sekunden aufgerufen werden, bis der Benutzer die Webansicht schließt.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Bot-Menüschaltfläche](https://core.telegram.org/api/bots/menu.md)\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)", "x-tl-method": "messages.requestWebView", "x-tl-id": "647873217", "x-tl-result": "WebViewResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Bot menu button", "https://core.telegram.org/api/bots/menu.md"], ["Deep links", "https://core.telegram.org/api/links.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"]], "responses": {"200": {"description": "MTProto result · `WebViewResult`.\n\n[WebViewResult](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "TL Type: WebViewResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `BOT_WEBVIEW_DISABLED` – Eine Webansicht kann unter den angegebenen Bedingungen nicht geöffnet werden: Wird beispielsweise ausgegeben, wenn `from_bot_menu` oder `url` festgelegt sind und `peer` nicht der Chat mit dem Bot ist.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — You need a [Telegram Premium subscription](https://core.telegram.org/api/premium.md) to send a message to this user.\n- 400 · `SEND_AS_PEER_INVALID` – Sie können als angegebener Peer keine Nachrichten senden.\n- 400 · `THEME_PARAMS_INVALID` – Das angegebene `theme_params`-Feld ist ungültig.\n- 400 · `URL_INVALID` — Invalid URL provided.\n- 400 · `YOU_BLOCKED_USER` — Sie haben diesen Benutzer blockiert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.requestWebView"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"from_bot_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Whether the webview was opened by clicking on the bot's [menu button »](https://core.telegram.org/api/bots/menu.md)."}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent silently (no notifications for the receivers)."}, "compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "If set, requests to open the mini app in compact mode (as opposed to normal or fullscreen mode). Must be set if the `mode` parameter of the [attachment menu deep link](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) is equal to `compact`."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "If set, requests to open the mini app in fullscreen mode (as opposed to normal or compact mode). Must be set if the `mode` parameter of the [attachment menu deep link](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) is equal to `fullscreen`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Dialog where the web app is being opened, and where the resulting message will be sent (see the [docs for more info »](https://core.telegram.org/api/bots/webapps.md))."}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Bot that owns the [web app](https://core.telegram.org/api/bots/webapps.md)"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "[Web app URL](https://core.telegram.org/api/bots/webapps.md)"}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "If the web app was opened from the attachment menu using a [attachment menu deep link](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links), `start_param` should contain the `data` from the `startattach` parameter."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.2?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Short name of the application; 0-64 English letters, digits, and underscores"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "If set, indicates that the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent in reply to the specified message or story.", "x-tl-flag": "flags.0?InputReplyTo"}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Open the web app as the specified peer, sending the resulting the message as the specified peer.", "x-tl-flag": "flags.13?InputPeer"}}, "additionalProperties": false, "required": ["peer", "bot", "platform"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `from_bot_menu` | `true` | Nein | Whether the webview was opened by clicking on the bot's [menu button »](https://core.telegram.org/api/bots/menu.md). |\n| `silent` | `true` | Nein | Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent silently (no notifications for the receivers). |\n| `compact` | `true` | Nein | If set, requests to open the mini app in compact mode (as opposed to normal or fullscreen mode). Must be set if the `mode` parameter of the [attachment menu deep link](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) is equal to `compact`. |\n| `fullscreen` | `true` | Nein | If set, requests to open the mini app in fullscreen mode (as opposed to normal or compact mode). Must be set if the `mode` parameter of the [attachment menu deep link](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) is equal to `fullscreen`. |\n| `peer` | `InputPeer` | Ja | Dialog where the web app is being opened, and where the resulting message will be sent (see the [docs for more info »](https://core.telegram.org/api/bots/webapps.md)). |\n| `bot` | `InputUser` | Ja | Bot that owns the [web app](https://core.telegram.org/api/bots/webapps.md) |\n| `url` | `string` | Nein | [Web app URL](https://core.telegram.org/api/bots/webapps.md) |\n| `start_param` | `string` | Nein | If the web app was opened from the attachment menu using a [attachment menu deep link](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links), `start_param` should contain the `data` from the `startattach` parameter. |\n| `theme_params` | `DataJSON` | Nein | [Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | Ja | Short name of the application; 0-64 English letters, digits, and underscores |\n| `reply_to` | `InputReplyTo` | Nein | If set, indicates that the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent in reply to the specified message or story. |\n| `send_as` | `InputPeer` | Nein | Open the web app as the specified peer, sending the resulting the message as the specified peer. |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "BOT_WEBVIEW_DISABLED", "CHAT_WRITE_FORBIDDEN", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID", "PRIVACY_PREMIUM_REQUIRED", "SEND_AS_PEER_INVALID", "THEME_PARAMS_INVALID", "URL_INVALID", "YOU_BLOCKED_USER"], "x-browser-schema-id": "647873217"}}, "/catalog/messages.prolongWebView": {"post": {"operationId": "messages.prolongWebView", "tags": ["Nachrichten"], "summary": "Indicate to the server (from the user side) that the user is still using a web app.", "description": "Indicate to the server (from the user side) that the user is still using a web app.\n\nIf the method returns a `QUERY_ID_INVALID` error, the webview must be closed.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "messages.prolongWebView", "x-tl-id": "2966952579", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.prolongWebView"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent silently (no notifications for the receivers)."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Dialog where the web app was opened."}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Bot that owns the [web app](https://core.telegram.org/api/bots/webapps.md)"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Web app interaction ID obtained from [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md)", "x-tl-type": "long"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "If set, indicates that the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent in reply to the specified message or story.", "x-tl-flag": "flags.0?InputReplyTo"}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Open the web app as the specified peer", "x-tl-flag": "flags.13?InputPeer"}}, "additionalProperties": false, "required": ["peer", "bot", "query_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `silent` | `true` | Nein | Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent silently (no notifications for the receivers). |\n| `peer` | `InputPeer` | Ja | Dialog where the web app was opened. |\n| `bot` | `InputUser` | Ja | Bot that owns the [web app](https://core.telegram.org/api/bots/webapps.md) |\n| `query_id` | `long` | Ja | Web app interaction ID obtained from [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md) |\n| `reply_to` | `InputReplyTo` | Nein | If set, indicates that the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) should be sent in reply to the specified message or story. |\n| `send_as` | `InputPeer` | Nein | Open the web app as the specified peer |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2966952579"}}, "/catalog/messages.requestSimpleWebView": {"post": {"operationId": "messages.requestSimpleWebView", "tags": ["Nachrichten"], "summary": "Open a bot mini app.", "description": "Open a [bot mini app](https://core.telegram.org/api/bots/webapps.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Einträge im Bot-Anhangsmenü und im Seitenmenü](https://core.telegram.org/api/bots/attach.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "messages.requestSimpleWebView", "x-tl-id": "1094336115", "x-tl-result": "WebViewResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Bot attachment menu and side menu entries", "https://core.telegram.org/api/bots/attach.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `WebViewResult`.\n\n[WebViewResult](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "TL Type: WebViewResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `URL_INVALID` — Invalid URL provided."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.requestSimpleWebView"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"from_switch_webview": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether the webapp was opened by clicking on the `switch_webview` button shown on top of the inline results list returned by [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md)."}, "from_side_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Set this flag if opening the Mini App from the installed [side menu entry »](https://core.telegram.org/api/bots/attach.md)."}, "compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Deprecated."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Requests to open the app in fullscreen mode."}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Bot that owns the mini app"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Web app URL, if opening from a keyboard button or inline result"}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Deprecated."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.0?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Short name of the application; 0-64 English letters, digits, and underscores"}}, "additionalProperties": false, "required": ["bot", "platform"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `from_switch_webview` | `true` | Nein | Whether the webapp was opened by clicking on the `switch_webview` button shown on top of the inline results list returned by [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md). |\n| `from_side_menu` | `true` | Nein | Set this flag if opening the Mini App from the installed [side menu entry »](https://core.telegram.org/api/bots/attach.md). |\n| `compact` | `true` | Nein | Deprecated. |\n| `fullscreen` | `true` | Nein | Requests to open the app in fullscreen mode. |\n| `bot` | `InputUser` | Ja | Bot that owns the mini app |\n| `url` | `string` | Nein | Web app URL, if opening from a keyboard button or inline result |\n| `start_param` | `string` | Nein | Deprecated. |\n| `theme_params` | `DataJSON` | Nein | [Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | Ja | Short name of the application; 0-64 English letters, digits, and underscores |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "URL_INVALID"], "x-browser-schema-id": "1094336115"}}, "/catalog/messages.sendWebViewResultMessage": {"post": {"operationId": "messages.sendWebViewResultMessage", "tags": ["Nachrichten"], "summary": "Terminate webview interaction started with messages.requestWebView, sending the specified message to the chat on behalf of the user.", "description": "Terminate webview interaction started with [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md), sending the specified message to the chat on behalf of the user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "messages.sendWebViewResultMessage", "x-tl-id": "172168437", "x-tl-result": "WebViewMessageSent", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `WebViewMessageSent`.\n\n[WebViewMessageSent](https://core.telegram.org/type/WebViewMessageSent.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewMessageSent", "oneOf": [{"$ref": "#/components/schemas/webViewMessageSent"}], "description": "TL Type: WebViewMessageSent."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `QUERY_ID_INVALID` – Die Abfrage-ID ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendWebViewResultMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot_query_id": {"type": "string", "x-tl-type": "string", "description": "Webview interaction ID obtained from [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md)"}, "result": {"type": "object", "x-tl-type": "InputBotInlineResult", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineResult"}, {"$ref": "#/components/schemas/inputBotInlineResultPhoto"}, {"$ref": "#/components/schemas/inputBotInlineResultDocument"}, {"$ref": "#/components/schemas/inputBotInlineResultGame"}], "description": "Message to send"}}, "additionalProperties": false, "required": ["bot_query_id", "result"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot_query_id` | `string` | Ja | Webview interaction ID obtained from [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md) |\n| `result` | `InputBotInlineResult` | Ja | Message to send |"}, "x-telegram-rpc-errors": ["QUERY_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "172168437"}}, "/catalog/messages.sendWebViewData": {"post": {"operationId": "messages.sendWebViewData", "tags": ["Nachrichten"], "summary": "Used by the user to relay data from an opened reply keyboard bot mini app to the bot that owns it.", "description": "Used by the user to relay data from an opened [reply keyboard bot mini app](https://core.telegram.org/api/bots/webapps.md) to the bot that owns it.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Web-Events](https://core.telegram.org/api/web-events.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "messages.sendWebViewData", "x-tl-id": "3691135688", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Web events", "https://core.telegram.org/api/web-events.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendWebViewData"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Bot that owns the web app"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique client message ID to prevent duplicate sending of the same event. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "button_text": {"type": "string", "x-tl-type": "string", "description": "Text of the [keyboardButtonSimpleWebView](https://core.telegram.org/constructor/keyboardButtonSimpleWebView.md) that was pressed to open the web app."}, "data": {"type": "string", "x-tl-type": "string", "description": "Daten zur Weiterleitung an den Bot, erhalten von einem [`web_app_data_send` JS-Ereignis](https://core.telegram.org/api/web-events.md#web-app-data-send)."}}, "additionalProperties": false, "required": ["bot", "random_id", "button_text", "data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | Bot that owns the web app |\n| `random_id` | `long` | Ja | Unique client message ID to prevent duplicate sending of the same event. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `button_text` | `string` | Ja | Text of the [keyboardButtonSimpleWebView](https://core.telegram.org/constructor/keyboardButtonSimpleWebView.md) that was pressed to open the web app. |\n| `data` | `string` | Ja | Daten zur Weiterleitung an den Bot, erhalten von einem [`web_app_data_send` JS-Ereignis](https://core.telegram.org/api/web-events.md#web-app-data-send). |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "3691135688"}}, "/catalog/messages.transcribeAudio": {"post": {"operationId": "messages.transcribeAudio", "tags": ["Nachrichten"], "summary": "Transcribe voice message", "description": "[Transcribe voice message](https://core.telegram.org/api/transcribe.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Transkription von Sprachnachrichten](https://core.telegram.org/api/transcribe.md)", "x-tl-method": "messages.transcribeAudio", "x-tl-id": "647928393", "x-tl-result": "messages.TranscribedAudio", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Voice message transcription", "https://core.telegram.org/api/transcribe.md"]], "responses": {"200": {"description": "MTProto result · `messages.TranscribedAudio`.\n\n[messages.TranscribedAudio](https://core.telegram.org/type/messages.TranscribedAudio.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.TranscribedAudio", "oneOf": [{"$ref": "#/components/schemas/messages.transcribedAudio"}], "description": "Type TL: messages.TranscribedAudio."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `MSG_VOICE_MISSING` – Die angegebene Nachricht ist keine Sprachnachricht.\n- 400 · `MSG_VOICE_TOO_LONG` – Die angegebene Sprachnachricht ist zu lang, um transkribiert zu werden.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action.\n- 400 · `TRANSCRIPTION_FAILED` – Audiotranskription fehlgeschlagen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.transcribeAudio"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer ID where the voice message was sent"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Voice message ID"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer ID where the voice message was sent |\n| `msg_id` | `int` | Ja | Voice message ID |"}, "x-telegram-rpc-errors": ["MSG_ID_INVALID", "MSG_VOICE_MISSING", "MSG_VOICE_TOO_LONG", "PEER_ID_INVALID", "PREMIUM_ACCOUNT_REQUIRED", "TRANSCRIPTION_FAILED"], "x-browser-schema-id": "647928393"}}, "/catalog/messages.rateTranscribedAudio": {"post": {"operationId": "messages.rateTranscribedAudio", "tags": ["Nachrichten"], "summary": "Rate transcribed voice message", "description": "Rate [transcribed voice message](https://core.telegram.org/api/transcribe.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Transkription von Sprachnachrichten](https://core.telegram.org/api/transcribe.md)", "x-tl-method": "messages.rateTranscribedAudio", "x-tl-id": "2132608815", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Voice message transcription", "https://core.telegram.org/api/transcribe.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.rateTranscribedAudio"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the voice message was sent"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Transkriptions-ID", "x-tl-type": "long"}, "good": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether the transcription was correct"}}, "additionalProperties": false, "required": ["peer", "msg_id", "transcription_id", "good"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the voice message was sent |\n| `msg_id` | `int` | Ja | Nachrichten-ID |\n| `transcription_id` | `long` | Ja | Transkriptions-ID |\n| `good` | `Bool` | Ja | Whether the transcription was correct |"}, "x-browser-schema-id": "2132608815"}}, "/catalog/messages.getCustomEmojiDocuments": {"post": {"operationId": "messages.getCustomEmojiDocuments", "tags": ["Nachrichten"], "summary": "Fetch custom emoji stickers ».", "description": "Fetch [custom emoji stickers »](https://core.telegram.org/api/custom-emoji.md).\n\nReturns a list of [documents](https://core.telegram.org/constructor/document.md) with the animated custom emoji in TGS format, and a [documentAttributeCustomEmoji](https://core.telegram.org/constructor/documentAttributeCustomEmoji.md) attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "messages.getCustomEmojiDocuments", "x-tl-id": "3651866452", "x-tl-result": "Vector<Document>", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto result · `Vector<Document>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[Document](https://core.telegram.org/type/Document.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "oneOf": [{"$ref": "#/components/schemas/documentEmpty"}, {"$ref": "#/components/schemas/document"}], "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getCustomEmojiDocuments"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"document_id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "[Custom emoji](https://core.telegram.org/api/custom-emoji.md) IDs from a [messageEntityCustomEmoji](https://core.telegram.org/constructor/messageEntityCustomEmoji.md)."}}, "additionalProperties": false, "required": ["document_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `document_id` | `Vector<long>` | Ja | [Custom emoji](https://core.telegram.org/api/custom-emoji.md) IDs from a [messageEntityCustomEmoji](https://core.telegram.org/constructor/messageEntityCustomEmoji.md). |"}, "x-browser-schema-id": "3651866452"}}, "/catalog/messages.getEmojiStickers": {"post": {"operationId": "messages.getEmojiStickers", "tags": ["Nachrichten"], "summary": "Gets the list of currently installed custom emoji stickersets.", "description": "Gets the list of currently installed [custom emoji stickersets](https://core.telegram.org/api/custom-emoji.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "messages.getEmojiStickers", "x-tl-id": "4227637647", "x-tl-result": "messages.AllStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto Result · `messages.AllStickers`.\n\n[messages.AllStickers](https://core.telegram.org/type/messages.AllStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AllStickers", "oneOf": [{"$ref": "#/components/schemas/messages.allStickersNotModified"}, {"$ref": "#/components/schemas/messages.allStickers"}], "description": "TL type: messages.AllStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "4227637647"}}, "/catalog/messages.getFeaturedEmojiStickers": {"post": {"operationId": "messages.getFeaturedEmojiStickers", "tags": ["Nachrichten"], "summary": "Gets featured custom emoji stickersets.", "description": "Gets featured custom emoji stickersets.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getFeaturedEmojiStickers", "x-tl-id": "248473398", "x-tl-result": "messages.FeaturedStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.FeaturedStickers`.\n\n[messages.FeaturedStickers](https://core.telegram.org/type/messages.FeaturedStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.FeaturedStickers", "oneOf": [{"$ref": "#/components/schemas/messages.featuredStickersNotModified"}, {"$ref": "#/components/schemas/messages.featuredStickers"}], "description": "TL type: messages.FeaturedStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getFeaturedEmojiStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "248473398"}}, "/catalog/messages.reportReaction": {"post": {"operationId": "messages.reportReaction", "tags": ["Nachrichten"], "summary": "Report a message reaction", "description": "Report a [message reaction](https://core.telegram.org/api/reactions.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.reportReaction", "x-tl-id": "1063567478", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reportReaction"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the message was sent"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}, "reaction_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer that sent the reaction"}}, "additionalProperties": false, "required": ["peer", "id", "reaction_peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the message was sent |\n| `id` | `int` | Ja | Nachrichten-ID |\n| `reaction_peer` | `InputPeer` | Ja | Peer that sent the reaction |"}, "x-telegram-rpc-errors": ["MSG_ID_INVALID", "PEER_ID_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "1063567478"}}, "/catalog/messages.getTopReactions": {"post": {"operationId": "messages.getTopReactions", "tags": ["Nachrichten"], "summary": "Got popular message reactions", "description": "Got popular [message reactions](https://core.telegram.org/api/reactions.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.getTopReactions", "x-tl-id": "3145803194", "x-tl-result": "messages.Reactions", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `messages.Reactions`.\n\n[messages.Reactions](https://core.telegram.org/type/messages.Reactions.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Reactions", "oneOf": [{"$ref": "#/components/schemas/messages.reactionsNotModified"}, {"$ref": "#/components/schemas/messages.reactions"}], "description": "TL type: messages.Reactions."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getTopReactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3145803194"}}, "/catalog/messages.getRecentReactions": {"post": {"operationId": "messages.getRecentReactions", "tags": ["Nachrichten"], "summary": "Get recently used message reactions", "description": "Get recently used [message reactions](https://core.telegram.org/api/reactions.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.getRecentReactions", "x-tl-id": "960896434", "x-tl-result": "messages.Reactions", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `messages.Reactions`.\n\n[messages.Reactions](https://core.telegram.org/type/messages.Reactions.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Reactions", "oneOf": [{"$ref": "#/components/schemas/messages.reactionsNotModified"}, {"$ref": "#/components/schemas/messages.reactions"}], "description": "TL type: messages.Reactions."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getRecentReactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "960896434"}}, "/catalog/messages.clearRecentReactions": {"post": {"operationId": "messages.clearRecentReactions", "tags": ["Nachrichten"], "summary": "Clear recently used message reactions", "description": "Clear recently used [message reactions](https://core.telegram.org/api/reactions.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.clearRecentReactions", "x-tl-id": "2650730420", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.clearRecentReactions"}, "x-browser-schema-id": "2650730420"}}, "/catalog/messages.getExtendedMedia": {"post": {"operationId": "messages.getExtendedMedia", "tags": ["Nachrichten"], "summary": "Fetch updated information about paid media, see here » for the full flow.", "description": "Fetch updated information about [paid media, see here »](https://core.telegram.org/api/paid-media.md) for the full flow.\n\nThis method will return an array of [updateMessageExtendedMedia](https://core.telegram.org/constructor/updateMessageExtendedMedia.md) updates, only for messages containing **already bought** paid media.  \nNo information will be returned for messages containing not yet bought paid media.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Bezahlte Medien](https://core.telegram.org/api/paid-media.md)", "x-tl-method": "messages.getExtendedMedia", "x-tl-id": "2230847508", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Paid media", "https://core.telegram.org/api/paid-media.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getExtendedMedia"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer with visible paid media messages."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of currently visible messages containing paid media."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer with visible paid media messages. |\n| `id` | `Vector<int>` | Ja | IDs of currently visible messages containing paid media. |"}, "x-browser-schema-id": "2230847508"}}, "/catalog/messages.setDefaultHistoryTTL": {"post": {"operationId": "messages.setDefaultHistoryTTL", "tags": ["Nachrichten"], "summary": "Ändert den Standardwert der Time-To-Live-Einstellung, der auf alle neuen Chats angewendet wird.", "description": "Ändert den Standardwert der Time-To-Live-Einstellung, der auf alle neuen Chats angewendet wird.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "messages.setDefaultHistoryTTL", "x-tl-id": "2662667333", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `TTL_PERIOD_INVALID` – Der angegebene TTL-Zeitraum ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setDefaultHistoryTTL"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The new default Time-To-Live of all messages sent in new chats, in seconds."}}, "additionalProperties": false, "required": ["period"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `period` | `int` | Ja | The new default Time-To-Live of all messages sent in new chats, in seconds. |"}, "x-telegram-rpc-errors": ["TTL_PERIOD_INVALID"], "x-browser-schema-id": "2662667333"}}, "/catalog/messages.getDefaultHistoryTTL": {"post": {"operationId": "messages.getDefaultHistoryTTL", "tags": ["Nachrichten"], "summary": "Gets the default value of the Time-To-Live setting, applied to all new chats.", "description": "Gets the default value of the Time-To-Live setting, applied to all new chats.", "x-tl-method": "messages.getDefaultHistoryTTL", "x-tl-id": "1703637384", "x-tl-result": "DefaultHistoryTTL", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `DefaultHistoryTTL`.\n\n[DefaultHistoryTTL](https://core.telegram.org/type/DefaultHistoryTTL.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DefaultHistoryTTL", "oneOf": [{"$ref": "#/components/schemas/defaultHistoryTTL"}], "description": "TL Type: DefaultHistoryTTL."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getDefaultHistoryTTL"}, "x-browser-schema-id": "1703637384"}}, "/catalog/messages.sendBotRequestedPeer": {"post": {"operationId": "messages.sendBotRequestedPeer", "tags": ["Nachrichten"], "summary": "Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.", "description": "Send one or more chosen peers, as requested by a [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) button.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Bot-Tasten](https://core.telegram.org/api/bots/buttons.md)", "x-tl-method": "messages.sendBotRequestedPeer", "x-tl-id": "1818030759", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Bot buttons", "https://core.telegram.org/api/bots/buttons.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendBotRequestedPeer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The bot that sent the [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) button."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "ID of the message that contained the reply keyboard with the [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) button."}, "webapp_req_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "If the button was prepared for a [Mini App »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps), the Mini App request ID returned by [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md)."}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The `button_id` field from the [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) constructor."}, "requested_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "The chosen peers."}}, "additionalProperties": false, "required": ["peer", "button_id", "requested_peers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The bot that sent the [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) button. |\n| `msg_id` | `int` | Nein | ID of the message that contained the reply keyboard with the [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) button. |\n| `webapp_req_id` | `string` | Nein | If the button was prepared for a [Mini App »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps), the Mini App request ID returned by [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md). |\n| `button_id` | `int` | Ja | The `button_id` field from the [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md) constructor. |\n| `requested_peers` | `Vector<InputPeer>` | Ja | The chosen peers. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1818030759"}}, "/catalog/messages.getEmojiGroups": {"post": {"operationId": "messages.getEmojiGroups", "tags": ["Nachrichten"], "summary": "Represents a list of emoji categories.", "description": "Stellt eine Liste von [Emoji-Kategorien](https://core.telegram.org/api/emoji-categories.md)“ dar.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Emoji-Kategorien](https://core.telegram.org/api/emoji-categories.md)", "x-tl-method": "messages.getEmojiGroups", "x-tl-id": "1955122779", "x-tl-result": "messages.EmojiGroups", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Emoji categories", "https://core.telegram.org/api/emoji-categories.md"]], "responses": {"200": {"description": "MTProto result · `messages.EmojiGroups`.\n\n[messages.EmojiGroups](https://core.telegram.org/type/messages.EmojiGroups.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.EmojiGroups", "oneOf": [{"$ref": "#/components/schemas/messages.emojiGroupsNotModified"}, {"$ref": "#/components/schemas/messages.emojiGroups"}], "description": "TL type: messages.EmojiGroups."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiGroups"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1955122779"}}, "/catalog/messages.getEmojiStatusGroups": {"post": {"operationId": "messages.getEmojiStatusGroups", "tags": ["Nachrichten"], "summary": "Represents a list of emoji categories, to be used when selecting custom emojis to set as custom emoji status.", "description": "Represents a list of [emoji categories](https://core.telegram.org/api/emoji-categories.md), to be used when selecting custom emojis to set as [custom emoji status](https://core.telegram.org/api.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Emoji-Kategorien](https://core.telegram.org/api/emoji-categories.md)", "x-tl-method": "messages.getEmojiStatusGroups", "x-tl-id": "785209037", "x-tl-result": "messages.EmojiGroups", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Emoji categories", "https://core.telegram.org/api/emoji-categories.md"]], "responses": {"200": {"description": "MTProto result · `messages.EmojiGroups`.\n\n[messages.EmojiGroups](https://core.telegram.org/type/messages.EmojiGroups.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.EmojiGroups", "oneOf": [{"$ref": "#/components/schemas/messages.emojiGroupsNotModified"}, {"$ref": "#/components/schemas/messages.emojiGroups"}], "description": "TL type: messages.EmojiGroups."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiStatusGroups"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "785209037"}}, "/catalog/messages.getEmojiProfilePhotoGroups": {"post": {"operationId": "messages.getEmojiProfilePhotoGroups", "tags": ["Nachrichten"], "summary": "Represents a list of emoji categories, to be used when selecting custom emojis to set as profile picture.", "description": "Represents a list of [emoji categories](https://core.telegram.org/api/emoji-categories.md), to be used when selecting custom emojis to set as [profile picture](https://core.telegram.org/api/files.md#sticker-profile-pictures).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Emoji-Kategorien](https://core.telegram.org/api/emoji-categories.md)\n- [Hochladen und Herunterladen von Dateien](https://core.telegram.org/api/files.md)", "x-tl-method": "messages.getEmojiProfilePhotoGroups", "x-tl-id": "564480243", "x-tl-result": "messages.EmojiGroups", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Emoji categories", "https://core.telegram.org/api/emoji-categories.md"], ["Uploading and Downloading Files", "https://core.telegram.org/api/files.md"]], "responses": {"200": {"description": "MTProto result · `messages.EmojiGroups`.\n\n[messages.EmojiGroups](https://core.telegram.org/type/messages.EmojiGroups.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.EmojiGroups", "oneOf": [{"$ref": "#/components/schemas/messages.emojiGroupsNotModified"}, {"$ref": "#/components/schemas/messages.emojiGroups"}], "description": "TL type: messages.EmojiGroups."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiProfilePhotoGroups"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "564480243"}}, "/catalog/messages.searchCustomEmoji": {"post": {"operationId": "messages.searchCustomEmoji", "tags": ["Nachrichten"], "summary": "Look for custom emojis associated to a UTF8 emoji", "description": "Look for [custom emojis](https://core.telegram.org/api/custom-emoji.md) associated to a UTF8 emoji\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "messages.searchCustomEmoji", "x-tl-id": "739360983", "x-tl-result": "EmojiList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto result · `EmojiList`.\n\n[EmojiList](https://core.telegram.org/type/EmojiList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiList", "oneOf": [{"$ref": "#/components/schemas/emojiListNotModified"}, {"$ref": "#/components/schemas/emojiList"}], "description": "TL Type: EmojiList."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `EMOTICON_EMPTY` – Das Emoji ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.searchCustomEmoji"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"emoticon": {"type": "string", "x-tl-type": "string", "description": "The emoji"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["emoticon", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `emoticon` | `string` | Ja | The emoji |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-telegram-rpc-errors": ["EMOTICON_EMPTY"], "x-browser-schema-id": "739360983"}}, "/catalog/messages.togglePeerTranslations": {"post": {"operationId": "messages.togglePeerTranslations", "tags": ["Nachrichten"], "summary": "Show or hide the real-time chat translation popup for a certain chat", "description": "Show or hide the [real-time chat translation popup](https://core.telegram.org/api/translation.md) for a certain chat\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenübersetzung](https://core.telegram.org/api/translation.md)", "x-tl-method": "messages.togglePeerTranslations", "x-tl-id": "3833378169", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message translation", "https://core.telegram.org/api/translation.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.togglePeerTranslations"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to disable or enable the real-time chat translation popup"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Der Kollege"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `disabled` | `true` | Nein | Whether to disable or enable the real-time chat translation popup |\n| `peer` | `InputPeer` | Ja | Der Kollege |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3833378169"}}, "/catalog/messages.getBotApp": {"post": {"operationId": "messages.getBotApp", "tags": ["Nachrichten"], "summary": "Obtain information about a direct link Mini App", "description": "Obtain information about a [direct link Mini App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "messages.getBotApp", "x-tl-id": "889046467", "x-tl-result": "messages.BotApp", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `messages.BotApp`.\n\n[messages.BotApp](https://core.telegram.org/type/messages.BotApp.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.BotApp", "oneOf": [{"$ref": "#/components/schemas/messages.botApp"}], "description": "TL type: messages.BotApp."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_APP_BOT_INVALID` – Die im inputBotAppShortName-Konstruktor übergebene bot_id ist ungültig.\n- 400 · `BOT_APP_INVALID` – Die angegebene Bot-App ist ungültig.\n- 400 · `BOT_APP_SHORTNAME_INVALID` – Der angegebene Kurzname der Bot-App ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getBotApp"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"app": {"type": "object", "x-tl-type": "InputBotApp", "oneOf": [{"$ref": "#/components/schemas/inputBotAppID"}, {"$ref": "#/components/schemas/inputBotAppShortName"}], "description": "Bot app information obtained from a [Direct Mini App deep link »](https://core.telegram.org/api/links.md#direct-mini-app-links)."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["app", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `app` | `InputBotApp` | Ja | Bot app information obtained from a [Direct Mini App deep link »](https://core.telegram.org/api/links.md#direct-mini-app-links). |\n| `hash` | `long` | Ja | [Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-telegram-rpc-errors": ["BOT_APP_BOT_INVALID", "BOT_APP_INVALID", "BOT_APP_SHORTNAME_INVALID"], "x-browser-schema-id": "889046467"}}, "/catalog/messages.requestAppWebView": {"post": {"operationId": "messages.requestAppWebView", "tags": ["Nachrichten"], "summary": "Open a bot mini app from a direct Mini App deep link, sending over user information after user confirmation.", "description": "Open a [bot mini app](https://core.telegram.org/bots/webapps.md) from a [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links), sending over user information after user confirmation.\n\nNach dem Aufruf dieser Methode muss [messages.prolongWebView](https://core.telegram.org/method/messages.prolongWebView.md) alle 60 Sekunden aufgerufen werden, bis der Benutzer die Webansicht schließt.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "messages.requestAppWebView", "x-tl-id": "1398901710", "x-tl-result": "WebViewResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `WebViewResult`.\n\n[WebViewResult](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "TL Type: WebViewResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_APP_BOT_INVALID` – Die im inputBotAppShortName-Konstruktor übergebene bot_id ist ungültig.\n- 400 · `BOT_APP_INVALID` – Die angegebene Bot-App ist ungültig.\n- 400 · `BOT_APP_SHORTNAME_INVALID` – Der angegebene Kurzname der Bot-App ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `THEME_PARAMS_INVALID` – Das angegebene `theme_params`-Feld ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.requestAppWebView"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"write_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Set this flag if the bot is asking permission to send messages to the user as specified in the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links) docs, and the user agreed."}, "compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "If set, requests to open the mini app in compact mode (as opposed to normal or fullscreen mode). Must be set if the `mode` parameter of the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links) is equal to `compact`."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "If set, requests to open the mini app in fullscreen mode (as opposed to compact or normal mode). Must be set if the `mode` parameter of the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links) is equal to `fullscreen`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If the client has clicked on the link in a Telegram chat, pass the chat's peer information; otherwise pass the bot's peer information, instead."}, "app": {"type": "object", "x-tl-type": "InputBotApp", "oneOf": [{"$ref": "#/components/schemas/inputBotAppID"}, {"$ref": "#/components/schemas/inputBotAppShortName"}], "description": "The app obtained by invoking [messages.getBotApp](https://core.telegram.org/method/messages.getBotApp.md) as specified in the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links) docs."}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "If the `startapp` query string parameter is present in the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links), pass it to `start_param`."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.2?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Short name of the application; 0-64 English letters, digits, and underscores"}}, "additionalProperties": false, "required": ["peer", "app", "platform"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `write_allowed` | `true` | Nein | Set this flag if the bot is asking permission to send messages to the user as specified in the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links) docs, and the user agreed. |\n| `compact` | `true` | Nein | If set, requests to open the mini app in compact mode (as opposed to normal or fullscreen mode). Must be set if the `mode` parameter of the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links) is equal to `compact`. |\n| `fullscreen` | `true` | Nein | If set, requests to open the mini app in fullscreen mode (as opposed to compact or normal mode). Must be set if the `mode` parameter of the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links) is equal to `fullscreen`. |\n| `peer` | `InputPeer` | Ja | If the client has clicked on the link in a Telegram chat, pass the chat's peer information; otherwise pass the bot's peer information, instead. |\n| `app` | `InputBotApp` | Ja | The app obtained by invoking [messages.getBotApp](https://core.telegram.org/method/messages.getBotApp.md) as specified in the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links) docs. |\n| `start_param` | `string` | Nein | If the `startapp` query string parameter is present in the [direct Mini App deep link](https://core.telegram.org/api/links.md#direct-mini-app-links), pass it to `start_param`. |\n| `theme_params` | `DataJSON` | Nein | [Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | Ja | Short name of the application; 0-64 English letters, digits, and underscores |"}, "x-telegram-rpc-errors": ["BOT_APP_BOT_INVALID", "BOT_APP_INVALID", "BOT_APP_SHORTNAME_INVALID", "MSG_ID_INVALID", "THEME_PARAMS_INVALID"], "x-browser-schema-id": "1398901710"}}, "/catalog/messages.setChatWallPaper": {"post": {"operationId": "messages.setChatWallPaper", "tags": ["Nachrichten"], "summary": "Set a custom wallpaper » in a specific private chat with another user.", "description": "Set a custom [wallpaper »](https://core.telegram.org/api/wallpapers.md) in a specific private chat with another user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Chat-Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)", "x-tl-method": "messages.setChatWallPaper", "x-tl-id": "2415577825", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Chat wallpapers", "https://core.telegram.org/api/wallpapers.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `WALLPAPER_INVALID` – Das angegebene Hintergrundbild ist ungültig.\n- 400 · `WALLPAPER_NOT_FOUND` – Das angegebene Hintergrundbild konnte nicht gefunden werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setChatWallPaper"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"for_both": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Only for [Premium](https://core.telegram.org/api/premium.md) users, sets the specified wallpaper for both users of the chat, without requiring confirmation from the other user."}, "revert": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "If we don't like the new wallpaper the other user of the chat has chosen for us using the `for_both` flag, we can re-set our previous wallpaper just on our side using this flag."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The private chat where the wallpaper will be set"}, "wallpaper": {"type": "object", "x-tl-type": "InputWallPaper", "oneOf": [{"$ref": "#/components/schemas/inputWallPaper"}, {"$ref": "#/components/schemas/inputWallPaperSlug"}, {"$ref": "#/components/schemas/inputWallPaperNoFile"}], "description": "The [wallpaper »](https://core.telegram.org/api/wallpapers.md), obtained as described in the [wallpaper documentation »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers); must **not** be provided when installing a wallpaper obtained from a [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md) service message (`id` must be provided, instead).", "x-tl-flag": "flags.0?InputWallPaper"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "Wallpaper settings, obtained as described in the [wallpaper documentation »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers) or from [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md).`wallpaper`.`settings`.", "x-tl-flag": "flags.2?WallPaperSettings"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "If the wallpaper was obtained from a [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md) service message, must contain the ID of that message."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `for_both` | `true` | Nein | Only for [Premium](https://core.telegram.org/api/premium.md) users, sets the specified wallpaper for both users of the chat, without requiring confirmation from the other user. |\n| `revert` | `true` | Nein | If we don't like the new wallpaper the other user of the chat has chosen for us using the `for_both` flag, we can re-set our previous wallpaper just on our side using this flag. |\n| `peer` | `InputPeer` | Ja | The private chat where the wallpaper will be set |\n| `wallpaper` | `InputWallPaper` | Nein | The [wallpaper »](https://core.telegram.org/api/wallpapers.md), obtained as described in the [wallpaper documentation »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers); must **not** be provided when installing a wallpaper obtained from a [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md) service message (`id` must be provided, instead). |\n| `settings` | `WallPaperSettings` | Nein | Wallpaper settings, obtained as described in the [wallpaper documentation »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers) or from [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md).`wallpaper`.`settings`. |\n| `id` | `int` | Nein | If the wallpaper was obtained from a [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md) service message, must contain the ID of that message. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "WALLPAPER_INVALID", "WALLPAPER_NOT_FOUND"], "x-browser-schema-id": "2415577825"}}, "/catalog/messages.searchEmojiStickerSets": {"post": {"operationId": "messages.searchEmojiStickerSets", "tags": ["Nachrichten"], "summary": "Search for custom emoji stickersets »", "description": "Search for [custom emoji stickersets »](https://core.telegram.org/api/custom-emoji.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "messages.searchEmojiStickerSets", "x-tl-id": "2461288780", "x-tl-result": "messages.FoundStickerSets", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto result · `messages.FoundStickerSets`.\n\n[messages.FoundStickerSets](https://core.telegram.org/type/messages.FoundStickerSets.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.FoundStickerSets", "oneOf": [{"$ref": "#/components/schemas/messages.foundStickerSetsNotModified"}, {"$ref": "#/components/schemas/messages.foundStickerSets"}], "description": "Type TL: messages.FoundStickerSets."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.searchEmojiStickerSets"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"exclude_featured": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Exclude featured stickersets from results"}, "q": {"type": "string", "x-tl-type": "string", "description": "Query string"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["q", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `exclude_featured` | `true` | Nein | Exclude featured stickersets from results |\n| `q` | `string` | Ja | Query string |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2461288780"}}, "/catalog/messages.getSavedDialogs": {"post": {"operationId": "messages.getSavedDialogs", "tags": ["Nachrichten"], "summary": "Returns the current saved dialog list » or monoforum topic list ».", "description": "Returns the current [saved dialog list »](https://core.telegram.org/api/saved-messages.md) or [monoforum topic list »](https://core.telegram.org/api/monoforum.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)", "x-tl-method": "messages.getSavedDialogs", "x-tl-id": "512883865", "x-tl-result": "messages.SavedDialogs", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Saved messages", "https://core.telegram.org/api/saved-messages.md"], ["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"]], "responses": {"200": {"description": "MTProto result · `messages.SavedDialogs`.\n\n[messages.SavedDialogs](https://core.telegram.org/type/messages.SavedDialogs.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SavedDialogs", "oneOf": [{"$ref": "#/components/schemas/messages.savedDialogs"}, {"$ref": "#/components/schemas/messages.savedDialogsSlice"}, {"$ref": "#/components/schemas/messages.savedDialogsNotModified"}], "description": "TL type: messages.SavedDialogs."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSavedDialogs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"exclude_pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Exclude pinned dialogs"}, "parent_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, fetches the topic list of the passed monoforum, otherwise fetches the saved dialog list.", "x-tl-flag": "flags.1?InputPeer"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) (`top_message` ID used for pagination)"}, "offset_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "[Offset peer for pagination](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of list elements to be returned"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset_date", "offset_id", "offset_peer", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `exclude_pinned` | `true` | Nein | Exclude pinned dialogs |\n| `parent_peer` | `InputPeer` | Nein | If set, fetches the topic list of the passed monoforum, otherwise fetches the saved dialog list. |\n| `offset_date` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) (`top_message` ID used for pagination) |\n| `offset_peer` | `InputPeer` | Ja | [Offset peer for pagination](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Number of list elements to be returned |\n| `hash` | `long` | Ja | [Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-browser-schema-id": "512883865"}}, "/catalog/messages.getSavedHistory": {"post": {"operationId": "messages.getSavedHistory", "tags": ["Nachrichten"], "summary": "Fetch saved messages » forwarded from a specific peer, or fetch messages from a monoforum topic ».", "description": "Fetch [saved messages »](https://core.telegram.org/api/saved-messages.md) forwarded from a specific peer, or fetch messages from a [monoforum topic »](https://core.telegram.org/api/monoforum.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)", "x-tl-method": "messages.getSavedHistory", "x-tl-id": "2576003081", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Saved messages", "https://core.telegram.org/api/saved-messages.md"], ["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PARENT_PEER_INVALID` – Die angegebene `parent_peer` ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSavedHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"parent_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, fetches messages from the specified monoforum, otherwise fetches from saved messages.", "x-tl-flag": "flags.0?InputPeer"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Target peer (or topic)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Only return messages starting from the specified message ID"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Only return messages sent before the specified date"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of list elements to be skipped, negative values are also accepted."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of results to return"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value was transferred, the method will return only messages with IDs less than **max_id**"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value was transferred, the method will return only messages with IDs more than **min_id**"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Result hash](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "offset_id", "offset_date", "add_offset", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Nein | If set, fetches messages from the specified monoforum, otherwise fetches from saved messages. |\n| `peer` | `InputPeer` | Ja | Target peer (or topic) |\n| `offset_id` | `int` | Ja | Only return messages starting from the specified message ID |\n| `offset_date` | `int` | Ja | Only return messages sent before the specified date |\n| `add_offset` | `int` | Ja | Number of list elements to be skipped, negative values are also accepted. |\n| `limit` | `int` | Ja | Number of results to return |\n| `max_id` | `int` | Ja | If a positive value was transferred, the method will return only messages with IDs less than **max_id** |\n| `min_id` | `int` | Ja | If a positive value was transferred, the method will return only messages with IDs more than **min_id** |\n| `hash` | `long` | Ja | [Result hash](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PARENT_PEER_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "2576003081"}}, "/catalog/messages.deleteSavedHistory": {"post": {"operationId": "messages.deleteSavedHistory", "tags": ["Nachrichten"], "summary": "Deletes messages from a monoforum topic », or deletes messages forwarded from a specific peer to saved messages ».", "description": "Löscht Nachrichten aus einem [Monoforum-Thema »](https://core.telegram.org/api/monoforum.md) oder löscht Nachrichten, die von einem bestimmten Peer an [gespeicherte Nachrichten »](https://core.telegram.org/api/saved-messages.md) weitergeleitet wurden.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)", "x-tl-method": "messages.deleteSavedHistory", "x-tl-id": "1304758367", "x-tl-result": "messages.AffectedHistory", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Saved messages", "https://core.telegram.org/api/saved-messages.md"]], "responses": {"200": {"description": "MTProto Result · `messages.AffectedHistory`.\n\n[messages.AffectedHistory](https://core.telegram.org/type/messages.AffectedHistory.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedHistory", "oneOf": [{"$ref": "#/components/schemas/messages.affectedHistory"}], "description": "Type TL: messages.AffectedHistory."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteSavedHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"parent_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, affects the messages of the passed [monoforum topic »](https://core.telegram.org/api/monoforum.md), otherwise affects [saved messages »](https://core.telegram.org/api/saved-messages.md).", "x-tl-flag": "flags.0?InputPeer"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer, whose messages will be deleted from [saved messages »](https://core.telegram.org/api/saved-messages.md), or the ID of the topic."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum ID of message to delete"}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "Delete all messages newer than this UNIX timestamp"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int", "description": "Delete all messages older than this UNIX timestamp"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Nein | If set, affects the messages of the passed [monoforum topic »](https://core.telegram.org/api/monoforum.md), otherwise affects [saved messages »](https://core.telegram.org/api/saved-messages.md). |\n| `peer` | `InputPeer` | Ja | Peer, whose messages will be deleted from [saved messages »](https://core.telegram.org/api/saved-messages.md), or the ID of the topic. |\n| `max_id` | `int` | Ja | Maximum ID of message to delete |\n| `min_date` | `int` | Nein | Delete all messages newer than this UNIX timestamp |\n| `max_date` | `int` | Nein | Delete all messages older than this UNIX timestamp |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1304758367"}}, "/catalog/messages.getPinnedSavedDialogs": {"post": {"operationId": "messages.getPinnedSavedDialogs", "tags": ["Nachrichten"], "summary": "Get pinned saved dialogs, see here » for more info.", "description": "Get pinned [saved dialogs, see here »](https://core.telegram.org/api/saved-messages.md) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)", "x-tl-method": "messages.getPinnedSavedDialogs", "x-tl-id": "3594360032", "x-tl-result": "messages.SavedDialogs", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Saved messages", "https://core.telegram.org/api/saved-messages.md"]], "responses": {"200": {"description": "MTProto result · `messages.SavedDialogs`.\n\n[messages.SavedDialogs](https://core.telegram.org/type/messages.SavedDialogs.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SavedDialogs", "oneOf": [{"$ref": "#/components/schemas/messages.savedDialogs"}, {"$ref": "#/components/schemas/messages.savedDialogsSlice"}, {"$ref": "#/components/schemas/messages.savedDialogsNotModified"}], "description": "TL type: messages.SavedDialogs."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getPinnedSavedDialogs"}, "x-browser-schema-id": "3594360032"}}, "/catalog/messages.toggleSavedDialogPin": {"post": {"operationId": "messages.toggleSavedDialogPin", "tags": ["Nachrichten"], "summary": "Pin or unpin a saved message dialog ».", "description": "Pin or unpin a [saved message dialog »](https://core.telegram.org/api/saved-messages.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)", "x-tl-method": "messages.toggleSavedDialogPin", "x-tl-id": "2894183390", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Saved messages", "https://core.telegram.org/api/saved-messages.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.toggleSavedDialogPin"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to pin or unpin the dialog"}, "peer": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "The dialog to pin"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `pinned` | `true` | Nein | Whether to pin or unpin the dialog |\n| `peer` | `InputDialogPeer` | Ja | The dialog to pin |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2894183390"}}, "/catalog/messages.reorderPinnedSavedDialogs": {"post": {"operationId": "messages.reorderPinnedSavedDialogs", "tags": ["Nachrichten"], "summary": "Reorder pinned saved message dialogs ».", "description": "Reorder pinned [saved message dialogs »](https://core.telegram.org/api/saved-messages.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)", "x-tl-method": "messages.reorderPinnedSavedDialogs", "x-tl-id": "2339464583", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Saved messages", "https://core.telegram.org/api/saved-messages.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reorderPinnedSavedDialogs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, dialogs pinned server-side but not present in the `order` field will be unpinned."}, "order": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "TL Type: InputDialogPeer."}, "x-tl-type": "Vector<InputDialogPeer>", "description": "New dialog order"}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `force` | `true` | Nein | If set, dialogs pinned server-side but not present in the `order` field will be unpinned. |\n| `order` | `Vector<InputDialogPeer>` | Ja | New dialog order |"}, "x-browser-schema-id": "2339464583"}}, "/catalog/messages.getSavedReactionTags": {"post": {"operationId": "messages.getSavedReactionTags", "tags": ["Nachrichten"], "summary": "Fetch the full list of saved message tags created by the user.", "description": "Fetch the full list of [saved message tags](https://core.telegram.org/api/saved-messages.md#tags) created by the user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.getSavedReactionTags", "x-tl-id": "909631579", "x-tl-result": "messages.SavedReactionTags", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Saved messages", "https://core.telegram.org/api/saved-messages.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.SavedReactionTags`.\n\n[messages.SavedReactionTags](https://core.telegram.org/type/messages.SavedReactionTags.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SavedReactionTags", "oneOf": [{"$ref": "#/components/schemas/messages.savedReactionTagsNotModified"}, {"$ref": "#/components/schemas/messages.savedReactionTags"}], "description": "TL type: messages.SavedReactionTags."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSavedReactionTags"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, returns tags only used in the specified [saved message dialog](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs).", "x-tl-flag": "flags.0?InputPeer"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Nein | If set, returns tags only used in the specified [saved message dialog](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs). |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "909631579"}}, "/catalog/messages.updateSavedReactionTag": {"post": {"operationId": "messages.updateSavedReactionTag", "tags": ["Nachrichten"], "summary": "Update the description of a saved message tag ».", "description": "Update the [description of a saved message tag »](https://core.telegram.org/api/saved-messages.md#tags).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)", "x-tl-method": "messages.updateSavedReactionTag", "x-tl-id": "1613331948", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"], ["Saved messages", "https://core.telegram.org/api/saved-messages.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action.\n- 400 · `REACTION_INVALID` — Die angegebene Reaktion ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.updateSavedReactionTag"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"reaction": {"type": "object", "x-tl-type": "Reaction", "oneOf": [{"$ref": "#/components/schemas/reactionEmpty"}, {"$ref": "#/components/schemas/reactionEmoji"}, {"$ref": "#/components/schemas/reactionCustomEmoji"}, {"$ref": "#/components/schemas/reactionPaid"}], "description": "[Reaction](https://core.telegram.org/api/reactions.md) associated to the tag"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Tag description, max 12 UTF-8 characters; to remove the description call the method without setting this flag."}}, "additionalProperties": false, "required": ["reaction"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `reaction` | `Reaction` | Ja | [Reaction](https://core.telegram.org/api/reactions.md) associated to the tag |\n| `title` | `string` | Nein | Tag description, max 12 UTF-8 characters; to remove the description call the method without setting this flag. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED", "REACTION_INVALID"], "x-browser-schema-id": "1613331948"}}, "/catalog/messages.getDefaultTagReactions": {"post": {"operationId": "messages.getDefaultTagReactions", "tags": ["Nachrichten"], "summary": "Fetch a default recommended list of saved message tag reactions.", "description": "Fetch a default recommended list of [saved message tag reactions](https://core.telegram.org/api/saved-messages.md#tags).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)", "x-tl-method": "messages.getDefaultTagReactions", "x-tl-id": "3187225640", "x-tl-result": "messages.Reactions", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Saved messages", "https://core.telegram.org/api/saved-messages.md"]], "responses": {"200": {"description": "MTProto result · `messages.Reactions`.\n\n[messages.Reactions](https://core.telegram.org/type/messages.Reactions.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Reactions", "oneOf": [{"$ref": "#/components/schemas/messages.reactionsNotModified"}, {"$ref": "#/components/schemas/messages.reactions"}], "description": "TL type: messages.Reactions."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getDefaultTagReactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3187225640"}}, "/catalog/messages.getOutboxReadDate": {"post": {"operationId": "messages.getOutboxReadDate", "tags": ["Nachrichten"], "summary": "Get the exact read date of one of our messages, sent to a private chat with another user.", "description": "Get the exact read date of one of our messages, sent to a private chat with another user.\n\nCan be only done for private outgoing messages not older than [appConfig.pm\\_read\\_date\\_expire\\_period »](https://core.telegram.org/api/config.md#pm-read-date-expire-period).\n\nIf the `peer`'s [userFull](https://core.telegram.org/constructor/userFull.md).`read_dates_private` flag is set, we will not be able to fetch the exact read date of messages we send to them, and a `USER_PRIVACY_RESTRICTED` RPC error will be emitted.  \nThe exact read date of messages might still be unavailable for other reasons, see [here »](https://core.telegram.org/constructor/globalPrivacySettings.md) for more info.  \nTo set [userFull](https://core.telegram.org/constructor/userFull.md).`read_dates_private` for ourselves invoke [account.setGlobalPrivacySettings](https://core.telegram.org/method/account.setGlobalPrivacySettings.md), setting the `settings.hide_read_marks` flag.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)", "x-tl-method": "messages.getOutboxReadDate", "x-tl-id": "2353790557", "x-tl-result": "OutboxReadDate", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"]], "responses": {"200": {"description": "MTProto result · `OutboxReadDate`.\n\n[OutboxReadDate](https://core.telegram.org/type/OutboxReadDate.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "OutboxReadDate", "oneOf": [{"$ref": "#/components/schemas/outboxReadDate"}], "description": "TL Type: OutboxReadDate."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MESSAGE_NOT_READ_YET` — Die angegebene Nachricht wurde noch nicht gelesen.\n- 400 · `MESSAGE_TOO_OLD` — Die Nachricht ist zu alt, die angeforderten Informationen sind nicht verfügbar.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellungen des Benutzers erlauben dies nicht.\n- 403 · `YOUR_PRIVACY_RESTRICTED` – Sie können das Lesedatum dieser Nachricht nicht abrufen, da Sie anderen Benutzern dies für *Ihre* Nachrichten untersagt haben; Um das Problem zu beheben, erlauben Sie anderen Benutzern, *Ihr* genaues letztes Online-Datum zu sehen ODER erwerben Sie ein [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnement."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getOutboxReadDate"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The user to whom we sent the message."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The message ID."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The user to whom we sent the message. |\n| `msg_id` | `int` | Ja | The message ID. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "MESSAGE_NOT_READ_YET", "MESSAGE_TOO_OLD", "PEER_ID_INVALID", "USER_PRIVACY_RESTRICTED", "YOUR_PRIVACY_RESTRICTED"], "x-browser-schema-id": "2353790557"}}, "/catalog/messages.getQuickReplies": {"post": {"operationId": "messages.getQuickReplies", "tags": ["Nachrichten"], "summary": "Fetch basic info about all existing quick reply shortcuts.", "description": "Fetch basic info about all existing [quick reply shortcuts](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.getQuickReplies", "x-tl-id": "3565417128", "x-tl-result": "messages.QuickReplies", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `messages.QuickReplies`.\n\n[messages.QuickReplies](https://core.telegram.org/type/messages.QuickReplies.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.QuickReplies", "oneOf": [{"$ref": "#/components/schemas/messages.quickReplies"}, {"$ref": "#/components/schemas/messages.quickRepliesNotModified"}], "description": "TL type: messages.QuickReplies."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getQuickReplies"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash for pagination, generated as specified [here »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (not the usual algorithm used for hash generation.)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | Hash for pagination, generated as specified [here »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (not the usual algorithm used for hash generation.) |"}, "x-browser-schema-id": "3565417128"}}, "/catalog/messages.reorderQuickReplies": {"post": {"operationId": "messages.reorderQuickReplies", "tags": ["Nachrichten"], "summary": "Reorder quick reply shortcuts.", "description": "Reorder [quick reply shortcuts](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\nThis will emit an [updateQuickReplies](https://core.telegram.org/constructor/updateQuickReplies.md) update to other logged-in sessions.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.reorderQuickReplies", "x-tl-id": "1613961479", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reorderQuickReplies"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of all created [quick reply shortcuts](https://core.telegram.org/api/business.md#quick-reply-shortcuts), in the desired order."}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `order` | `Vector<int>` | Ja | IDs of all created [quick reply shortcuts](https://core.telegram.org/api/business.md#quick-reply-shortcuts), in the desired order. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1613961479"}}, "/catalog/messages.checkQuickReplyShortcut": {"post": {"operationId": "messages.checkQuickReplyShortcut", "tags": ["Nachrichten"], "summary": "Before offering the user the choice to add a message to a quick reply shortcut, to make sure that none of the limits specified here » were reached.", "description": "Before offering the user the choice to add a message to a [quick reply shortcut](https://core.telegram.org/api/business.md#quick-reply-shortcuts), to make sure that none of the limits specified [here »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) were reached.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.checkQuickReplyShortcut", "x-tl-id": "4057005011", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.checkQuickReplyShortcut"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"shortcut": {"type": "string", "x-tl-type": "string", "description": "Shorcut name (not ID!)."}}, "additionalProperties": false, "required": ["shortcut"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `shortcut` | `string` | Ja | Shorcut name (not ID!). |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4057005011"}}, "/catalog/messages.editQuickReplyShortcut": {"post": {"operationId": "messages.editQuickReplyShortcut", "tags": ["Nachrichten"], "summary": "Rename a quick reply shortcut.  ", "description": "Rename a [quick reply shortcut](https://core.telegram.org/api/business.md#quick-reply-shortcuts).  \nThis will emit an [updateQuickReplies](https://core.telegram.org/constructor/updateQuickReplies.md) update to other logged-in sessions.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.editQuickReplyShortcut", "x-tl-id": "1543519471", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action.\n- 400 · `SHORTCUT_INVALID` – Die angegebene Verknüpfung ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editQuickReplyShortcut"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Shortcut ID](https://core.telegram.org/api/business.md#quick-reply-shortcuts)."}, "shortcut": {"type": "string", "x-tl-type": "string", "description": "New shortcut name."}}, "additionalProperties": false, "required": ["shortcut_id", "shortcut"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | Ja | [Shortcut ID](https://core.telegram.org/api/business.md#quick-reply-shortcuts). |\n| `shortcut` | `string` | Ja | New shortcut name. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED", "SHORTCUT_INVALID"], "x-browser-schema-id": "1543519471"}}, "/catalog/messages.deleteQuickReplyShortcut": {"post": {"operationId": "messages.deleteQuickReplyShortcut", "tags": ["Nachrichten"], "summary": "Completely delete a quick reply shortcut.  ", "description": "Completely delete a [quick reply shortcut](https://core.telegram.org/api/business.md#quick-reply-shortcuts).  \nThis will also emit an [updateDeleteQuickReply](https://core.telegram.org/constructor/updateDeleteQuickReply.md) update to other logged-in sessions (and *no* [updateDeleteQuickReplyMessages](https://core.telegram.org/constructor/updateDeleteQuickReplyMessages.md) updates, even if all the messages in the shortcuts are also deleted by this method).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.deleteQuickReplyShortcut", "x-tl-id": "1019234112", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SHORTCUT_INVALID` – Die angegebene Verknüpfung ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteQuickReplyShortcut"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Shortcut ID](https://core.telegram.org/api/business.md#quick-reply-shortcuts)"}}, "additionalProperties": false, "required": ["shortcut_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | Ja | [Shortcut ID](https://core.telegram.org/api/business.md#quick-reply-shortcuts) |"}, "x-telegram-rpc-errors": ["SHORTCUT_INVALID"], "x-browser-schema-id": "1019234112"}}, "/catalog/messages.getQuickReplyMessages": {"post": {"operationId": "messages.getQuickReplyMessages", "tags": ["Nachrichten"], "summary": "Fetch (a subset or all) messages in a quick reply shortcut ».", "description": "Fetch (a subset or all) messages in a [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.getQuickReplyMessages", "x-tl-id": "2493814211", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SHORTCUT_INVALID` – Die angegebene Verknüpfung ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getQuickReplyMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Quick reply shortcut ID."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.0?Vector<int>", "description": "IDs of the messages to fetch, if empty fetches all of them."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash for pagination, generated as specified [here »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (not the usual algorithm used for hash generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["shortcut_id", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | Ja | Quick reply shortcut ID. |\n| `id` | `Vector<int>` | Nein | IDs of the messages to fetch, if empty fetches all of them. |\n| `hash` | `long` | Ja | Hash for pagination, generated as specified [here »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (not the usual algorithm used for hash generation). |"}, "x-telegram-rpc-errors": ["SHORTCUT_INVALID"], "x-browser-schema-id": "2493814211"}}, "/catalog/messages.sendQuickReplyMessages": {"post": {"operationId": "messages.sendQuickReplyMessages", "tags": ["Nachrichten"], "summary": "Send a quick reply shortcut ».", "description": "Send a [quick reply shortcut »](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.sendQuickReplyMessages", "x-tl-id": "1819610593", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendQuickReplyMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer where to send the shortcut (users only, for now)."}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The ID of the quick reply shortcut to send."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Specify a subset of messages from the shortcut to send; if empty, defaults to all of them."}, "random_id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Unique client IDs required to prevent message resending, one for each message we're sending, may be empty (but not recommended). See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping."}}, "additionalProperties": false, "required": ["peer", "shortcut_id", "id", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer where to send the shortcut (users only, for now). |\n| `shortcut_id` | `int` | Ja | The ID of the quick reply shortcut to send. |\n| `id` | `Vector<int>` | Ja | Specify a subset of messages from the shortcut to send; if empty, defaults to all of them. |\n| `random_id` | `Vector<long>` | Ja | Unique client IDs required to prevent message resending, one for each message we're sending, may be empty (but not recommended). See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1819610593"}}, "/catalog/messages.deleteQuickReplyMessages": {"post": {"operationId": "messages.deleteQuickReplyMessages", "tags": ["Nachrichten"], "summary": "Delete one or more messages from a quick reply shortcut. This will also emit an updateDeleteQuickReplyMessages update.", "description": "Delete one or more messages from a [quick reply shortcut](https://core.telegram.org/api/business.md#quick-reply-shortcuts). This will also emit an [updateDeleteQuickReplyMessages](https://core.telegram.org/constructor/updateDeleteQuickReplyMessages.md) update.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "messages.deleteQuickReplyMessages", "x-tl-id": "3775260944", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SHORTCUT_INVALID` – Die angegebene Verknüpfung ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteQuickReplyMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Shortcut ID](https://core.telegram.org/api/business.md#quick-reply-shortcuts)."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of shortcut messages to delete."}}, "additionalProperties": false, "required": ["shortcut_id", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | Ja | [Shortcut ID](https://core.telegram.org/api/business.md#quick-reply-shortcuts). |\n| `id` | `Vector<int>` | Ja | IDs of shortcut messages to delete. |"}, "x-telegram-rpc-errors": ["SHORTCUT_INVALID"], "x-browser-schema-id": "3775260944"}}, "/catalog/messages.toggleDialogFilterTags": {"post": {"operationId": "messages.toggleDialogFilterTags", "tags": ["Nachrichten"], "summary": "Enable or disable folder tags ».", "description": "Enable or disable [folder tags »](https://core.telegram.org/api/folders.md#folder-tags).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)", "x-tl-method": "messages.toggleDialogFilterTags", "x-tl-id": "4247640649", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.toggleDialogFilterTags"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Enable or disable folder tags."}}, "additionalProperties": false, "required": ["enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `enabled` | `Bool` | Ja | Enable or disable folder tags. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4247640649"}}, "/catalog/messages.getMyStickers": {"post": {"operationId": "messages.getMyStickers", "tags": ["Nachrichten"], "summary": "Fetch all stickersets » owned by the current user.", "description": "Fetch all [stickersets »](https://core.telegram.org/api/stickers.md) owned by the current user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Aufkleber und Masken](https://core.telegram.org/api/stickers.md)", "x-tl-method": "messages.getMyStickers", "x-tl-id": "3501580796", "x-tl-result": "messages.MyStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Stickers and masks", "https://core.telegram.org/api/stickers.md"]], "responses": {"200": {"description": "MTProto result · `messages.MyStickers`.\n\n[messages.MyStickers](https://core.telegram.org/type/messages.MyStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.MyStickers", "oneOf": [{"$ref": "#/components/schemas/messages.myStickers"}], "description": "Type TL: messages.MyStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getMyStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offset_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offset_id` | `long` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "3501580796"}}, "/catalog/messages.getEmojiStickerGroups": {"post": {"operationId": "messages.getEmojiStickerGroups", "tags": ["Nachrichten"], "summary": "Represents a list of emoji categories, to be used when choosing a sticker.", "description": "Represents a list of [emoji categories](https://core.telegram.org/api/emoji-categories.md), to be used when choosing a sticker.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Emoji-Kategorien](https://core.telegram.org/api/emoji-categories.md)", "x-tl-method": "messages.getEmojiStickerGroups", "x-tl-id": "500711669", "x-tl-result": "messages.EmojiGroups", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Emoji categories", "https://core.telegram.org/api/emoji-categories.md"]], "responses": {"200": {"description": "MTProto result · `messages.EmojiGroups`.\n\n[messages.EmojiGroups](https://core.telegram.org/type/messages.EmojiGroups.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.EmojiGroups", "oneOf": [{"$ref": "#/components/schemas/messages.emojiGroupsNotModified"}, {"$ref": "#/components/schemas/messages.emojiGroups"}], "description": "TL type: messages.EmojiGroups."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiStickerGroups"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "500711669"}}, "/catalog/messages.getAvailableEffects": {"post": {"operationId": "messages.getAvailableEffects", "tags": ["Nachrichten"], "summary": "Fetch the full list of usable animated message effects ».", "description": "Fetch the full list of usable [animated message effects »](https://core.telegram.org/api/effects.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Animierte Nachrichteneffekte](https://core.telegram.org/api/effects.md)", "x-tl-method": "messages.getAvailableEffects", "x-tl-id": "3735161401", "x-tl-result": "messages.AvailableEffects", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Animated message effects", "https://core.telegram.org/api/effects.md"]], "responses": {"200": {"description": "MTProto result · `messages.AvailableEffects`.\n\n[messages.AvailableEffects](https://core.telegram.org/type/messages.AvailableEffects.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AvailableEffects", "oneOf": [{"$ref": "#/components/schemas/messages.availableEffectsNotModified"}, {"$ref": "#/components/schemas/messages.availableEffects"}], "description": "TL type: messages.AvailableEffects."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getAvailableEffects"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3735161401"}}, "/catalog/messages.editFactCheck": {"post": {"operationId": "messages.editFactCheck", "tags": ["Nachrichten"], "summary": "Edit/create a fact-check on a message.", "description": "Edit/create a [fact-check](https://core.telegram.org/api/factcheck.md) on a message.\n\nCan only be used by independent fact-checkers as specified by the [appConfig.can\\_edit\\_factcheck](https://core.telegram.org/api/config.md#can-edit-factcheck) configuration flag.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Faktenchecks](https://core.telegram.org/api/factcheck.md)", "x-tl-method": "messages.editFactCheck", "x-tl-id": "92925557", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Fact checks", "https://core.telegram.org/api/factcheck.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `CHAT_ACTION_FORBIDDEN` — Sie können diese Aktion nicht ausführen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editFactCheck"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the message was sent"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Fact-check (maximum UTF-8 length specified in [appConfig.factcheck_length_limit](https://core.telegram.org/api/config.md#factcheck-length-limit))."}}, "additionalProperties": false, "required": ["peer", "msg_id", "text"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the message was sent |\n| `msg_id` | `int` | Ja | Nachrichten-ID |\n| `text` | `TextWithEntities` | Ja | Fact-check (maximum UTF-8 length specified in [appConfig.factcheck_length_limit](https://core.telegram.org/api/config.md#factcheck-length-limit)). |"}, "x-telegram-rpc-errors": ["CHAT_ACTION_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "92925557"}}, "/catalog/messages.deleteFactCheck": {"post": {"operationId": "messages.deleteFactCheck", "tags": ["Nachrichten"], "summary": "Delete a fact-check from a message.", "description": "Delete a [fact-check](https://core.telegram.org/api/factcheck.md) from a message.\n\nCan only be used by independent fact-checkers as specified by the [appConfig.can\\_edit\\_factcheck](https://core.telegram.org/api/config.md#can-edit-factcheck) configuration flag.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Faktenchecks](https://core.telegram.org/api/factcheck.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "messages.deleteFactCheck", "x-tl-id": "3520762892", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Fact checks", "https://core.telegram.org/api/factcheck.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `CHAT_ACTION_FORBIDDEN` — Sie können diese Aktion nicht ausführen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteFactCheck"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the message was sent."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the message was sent. |\n| `msg_id` | `int` | Ja | Nachrichten-ID |"}, "x-telegram-rpc-errors": ["CHAT_ACTION_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "3520762892"}}, "/catalog/messages.getFactCheck": {"post": {"operationId": "messages.getFactCheck", "tags": ["Nachrichten"], "summary": "Fetch one or more factchecks, see here » for the full flow.", "description": "Fetch one or more [factchecks, see here »](https://core.telegram.org/api/factcheck.md) for the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Faktenchecks](https://core.telegram.org/api/factcheck.md)", "x-tl-method": "messages.getFactCheck", "x-tl-id": "3117270510", "x-tl-result": "Vector<FactCheck>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Fact checks", "https://core.telegram.org/api/factcheck.md"]], "responses": {"200": {"description": "MTProto result · `Vector<FactCheck>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[FactCheck](https://core.telegram.org/type/FactCheck.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "FactCheck", "oneOf": [{"$ref": "#/components/schemas/factCheck"}], "description": "TL Type: FactCheck."}, "x-tl-type": "Vector<FactCheck>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getFactCheck"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the messages were sent."}, "msg_id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Messages that have associated [factCheck](https://core.telegram.org/constructor/factCheck.md) constructors with the `need_check` flag set."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the messages were sent. |\n| `msg_id` | `Vector<int>` | Ja | Messages that have associated [factCheck](https://core.telegram.org/constructor/factCheck.md) constructors with the `need_check` flag set. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3117270510"}}, "/catalog/messages.requestMainWebView": {"post": {"operationId": "messages.requestMainWebView", "tags": ["Nachrichten"], "summary": "Open a Main Mini App.", "description": "Open a [Main Mini App](https://core.telegram.org/api/bots/webapps.md#main-mini-apps).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "messages.requestMainWebView", "x-tl-id": "3386908283", "x-tl-result": "WebViewResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `WebViewResult`.\n\n[WebViewResult](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "TL Type: WebViewResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.requestMainWebView"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "If set, requests to open the mini app in compact mode (as opposed to normal or fullscreen mode). Must be set if the `mode` parameter of the [Main Mini App link](https://core.telegram.org/api/links.md#main-mini-app-links) is equal to `compact`."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "If set, requests to open the mini app in fullscreen mode (as opposed to compact or normal mode). Must be set if the `mode` parameter of the [Main Mini App link](https://core.telegram.org/api/links.md#main-mini-app-links) is equal to `fullscreen`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Derzeit geöffneter Chat, möglicherweise [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md), wenn derzeit kein Chat geöffnet ist."}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Bot that owns the main mini app."}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Start parameter, if opening from a [Main Mini App link »](https://core.telegram.org/api/links.md#main-mini-app-links)."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.0?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Short name of the application; 0-64 English letters, digits, and underscores"}}, "additionalProperties": false, "required": ["peer", "bot", "platform"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `compact` | `true` | Nein | If set, requests to open the mini app in compact mode (as opposed to normal or fullscreen mode). Must be set if the `mode` parameter of the [Main Mini App link](https://core.telegram.org/api/links.md#main-mini-app-links) is equal to `compact`. |\n| `fullscreen` | `true` | Nein | If set, requests to open the mini app in fullscreen mode (as opposed to compact or normal mode). Must be set if the `mode` parameter of the [Main Mini App link](https://core.telegram.org/api/links.md#main-mini-app-links) is equal to `fullscreen`. |\n| `peer` | `InputPeer` | Ja | Derzeit geöffneter Chat, möglicherweise [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md), wenn derzeit kein Chat geöffnet ist. |\n| `bot` | `InputUser` | Ja | Bot that owns the main mini app. |\n| `start_param` | `string` | Nein | Start parameter, if opening from a [Main Mini App link »](https://core.telegram.org/api/links.md#main-mini-app-links). |\n| `theme_params` | `DataJSON` | Nein | [Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | Ja | Short name of the application; 0-64 English letters, digits, and underscores |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "3386908283"}}, "/catalog/messages.sendPaidReaction": {"post": {"operationId": "messages.sendPaidReaction", "tags": ["Nachrichten"], "summary": "Sends one or more paid Telegram Star reactions », transferring Telegram Stars » to a channel's balance.", "description": "Sends one or more [paid Telegram Star reactions »](https://core.telegram.org/api/reactions.md#paid-reactions), transferring [Telegram Stars »](https://core.telegram.org/api/stars.md) to a channel's balance.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.sendPaidReaction", "x-tl-id": "1488702288", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BALANCE_TOO_LOW` – Die Transaktion kann nicht abgeschlossen werden, da das aktuelle [Telegram Stars-Guthaben](https://core.telegram.org/api/stars.md) zu niedrig ist.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `RANDOM_ID_EMPTY` – Zufällige ID leer.\n- 400 · `RANDOM_ID_EXPIRED` – Die angegebene `random_id` war abgelaufen (höchstwahrscheinlich entsprach sie nicht dem erforderlichen `uint64_t random_id = (time() << 32) | ((uint64_t)random_uint32_t())`-Format oder die angegebene Zeit liegt zu weit in der Vergangenheit).\n- 400 · `REACTIONS_COUNT_INVALID` — Die angegebene Anzahl von Reaktionen ist ungültig.\n- 400 · `SEND_AS_PEER_INVALID` – Sie können als angegebener Peer keine Nachrichten senden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.sendPaidReaction"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The channel"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The message to react to"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The number of [stars](https://core.telegram.org/api/stars.md) to send (each will increment the reaction counter by one)."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique client message ID required to prevent message resending. **Note**: this argument **must** be composed of a 64-bit integer where the lower 32 bits are random, and the higher 32 bits **are equal to the current unixtime**, i.e. `uint64_t random_id = (time() &lt;&lt; 32). See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "private": {"type": "object", "x-tl-type": "PaidReactionPrivacy", "oneOf": [{"$ref": "#/components/schemas/paidReactionPrivacyDefault"}, {"$ref": "#/components/schemas/paidReactionPrivacyAnonymous"}, {"$ref": "#/components/schemas/paidReactionPrivacyPeer"}], "description": "Each post with star reactions has a leaderboard with the top senders, but users can opt out of appearing there if they prefer more privacy. Not populating this field will use the default reaction privacy, stored on the server and synced to clients using [updatePaidReactionPrivacy](https://core.telegram.org/constructor/updatePaidReactionPrivacy.md) (see [here](https://core.telegram.org/api/reactions.md#paid-reaction-privacy) for more info).", "x-tl-flag": "flags.0?PaidReactionPrivacy"}}, "additionalProperties": false, "required": ["peer", "msg_id", "count", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The channel |\n| `msg_id` | `int` | Ja | The message to react to |\n| `count` | `int` | Ja | The number of [stars](https://core.telegram.org/api/stars.md) to send (each will increment the reaction counter by one). |\n| `random_id` | `long` | Ja | Unique client message ID required to prevent message resending. **Note**: this argument **must** be composed of a 64-bit integer where the lower 32 bits are random, and the higher 32 bits **are equal to the current unixtime**, i.e. `uint64_t random_id = (time() &lt;&lt; 32). See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `private` | `PaidReactionPrivacy` | Nein | Each post with star reactions has a leaderboard with the top senders, but users can opt out of appearing there if they prefer more privacy. Not populating this field will use the default reaction privacy, stored on the server and synced to clients using [updatePaidReactionPrivacy](https://core.telegram.org/constructor/updatePaidReactionPrivacy.md) (see [here](https://core.telegram.org/api/reactions.md#paid-reaction-privacy) for more info). |"}, "x-telegram-rpc-errors": ["BALANCE_TOO_LOW", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_WRITE_FORBIDDEN", "MESSAGE_ID_INVALID", "PEER_ID_INVALID", "RANDOM_ID_EMPTY", "RANDOM_ID_EXPIRED", "REACTIONS_COUNT_INVALID", "SEND_AS_PEER_INVALID"], "x-browser-schema-id": "1488702288"}}, "/catalog/messages.togglePaidReactionPrivacy": {"post": {"operationId": "messages.togglePaidReactionPrivacy", "tags": ["Nachrichten"], "summary": "Ändert die Privatsphäre bereits gesendeter bezahlter Reaktionen auf eine bestimmte Nachricht.", "description": "Ändert den Datenschutz bereits gesendeter [bezahlter Reaktionen](https://core.telegram.org/api/reactions.md#paid-reactions)] auf eine bestimmte Nachricht.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.togglePaidReactionPrivacy", "x-tl-id": "1129874869", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `REACTION_EMPTY` – Leere Reaktion bereitgestellt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.togglePaidReactionPrivacy"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The channel"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The ID of the message to which we sent the paid reactions"}, "private": {"type": "object", "x-tl-type": "PaidReactionPrivacy", "oneOf": [{"$ref": "#/components/schemas/paidReactionPrivacyDefault"}, {"$ref": "#/components/schemas/paidReactionPrivacyAnonymous"}, {"$ref": "#/components/schemas/paidReactionPrivacyPeer"}], "description": "If true, makes the current anonymous in the top sender leaderboard for this message; otherwise, does the opposite."}}, "additionalProperties": false, "required": ["peer", "msg_id", "private"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The channel |\n| `msg_id` | `int` | Ja | The ID of the message to which we sent the paid reactions |\n| `private` | `PaidReactionPrivacy` | Ja | If true, makes the current anonymous in the top sender leaderboard for this message; otherwise, does the opposite. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "REACTION_EMPTY"], "x-browser-schema-id": "1129874869"}}, "/catalog/messages.getPaidReactionPrivacy": {"post": {"operationId": "messages.getPaidReactionPrivacy", "tags": ["Nachrichten"], "summary": "Fetches an updatePaidReactionPrivacy update with the current default paid reaction privacy, see here » for more info.", "description": "Fetches an [updatePaidReactionPrivacy](https://core.telegram.org/constructor/updatePaidReactionPrivacy.md) update with the current [default paid reaction privacy, see here »](https://core.telegram.org/api/reactions.md#paid-reactions) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.getPaidReactionPrivacy", "x-tl-id": "1193563562", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getPaidReactionPrivacy"}, "x-browser-schema-id": "1193563562"}}, "/catalog/messages.viewSponsoredMessage": {"post": {"operationId": "messages.viewSponsoredMessage", "tags": ["Nachrichten"], "summary": "Mark a specific sponsored message » as read", "description": "Mark a specific [sponsored message »](https://core.telegram.org/api/sponsored-messages.md) as read\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Gesponserte Nachrichten](https://core.telegram.org/api/sponsored-messages.md)", "x-tl-method": "messages.viewSponsoredMessage", "x-tl-id": "647902787", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Sponsored messages", "https://core.telegram.org/api/sponsored-messages.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.viewSponsoredMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"random_id": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "The ad's unique ID. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping."}}, "additionalProperties": false, "required": ["random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `random_id` | `bytes` | Ja | The ad's unique ID. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |"}, "x-browser-schema-id": "647902787"}}, "/catalog/messages.clickSponsoredMessage": {"post": {"operationId": "messages.clickSponsoredMessage", "tags": ["Nachrichten"], "summary": "Informs the server that the user has interacted with a sponsored message in one of the ways listed here ».", "description": "Informs the server that the user has interacted with a sponsored message in [one of the ways listed here »](https://core.telegram.org/api/sponsored-messages.md#clicking-on-sponsored-messages).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Gesponserte Nachrichten](https://core.telegram.org/api/sponsored-messages.md)", "x-tl-method": "messages.clickSponsoredMessage", "x-tl-id": "2184512894", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Sponsored messages", "https://core.telegram.org/api/sponsored-messages.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.clickSponsoredMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "The user clicked on the media"}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "The user expanded the video to full screen, and then clicked on it."}, "random_id": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "The ad's unique ID. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping."}}, "additionalProperties": false, "required": ["random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `media` | `true` | Nein | The user clicked on the media |\n| `fullscreen` | `true` | Nein | The user expanded the video to full screen, and then clicked on it. |\n| `random_id` | `bytes` | Ja | The ad's unique ID. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |"}, "x-browser-schema-id": "2184512894"}}, "/catalog/messages.reportSponsoredMessage": {"post": {"operationId": "messages.reportSponsoredMessage", "tags": ["Nachrichten"], "summary": "Report a sponsored message », see here » for more info on the full flow.", "description": "Report a [sponsored message »](https://core.telegram.org/api/sponsored-messages.md), see [here »](https://core.telegram.org/api/sponsored-messages.md#reporting-sponsored-messages) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Gesponserte Nachrichten](https://core.telegram.org/api/sponsored-messages.md)", "x-tl-method": "messages.reportSponsoredMessage", "x-tl-id": "315355332", "x-tl-result": "channels.SponsoredMessageReportResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Sponsored messages", "https://core.telegram.org/api/sponsored-messages.md"]], "responses": {"200": {"description": "MTProto result · `channels.SponsoredMessageReportResult`.\n\n[channels.SponsoredMessageReportResult](https://core.telegram.org/type/channels.SponsoredMessageReportResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "channels.SponsoredMessageReportResult", "oneOf": [{"$ref": "#/components/schemas/channels.sponsoredMessageReportResultChooseOption"}, {"$ref": "#/components/schemas/channels.sponsoredMessageReportResultAdsHidden"}, {"$ref": "#/components/schemas/channels.sponsoredMessageReportResultReported"}], "description": "TL type: channels.SponsoredMessageReportResult."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reportSponsoredMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"random_id": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "The ad's unique ID. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Chosen report option, initially an empty string, see [here »](https://core.telegram.org/api/sponsored-messages.md#reporting-sponsored-messages) for more info on the full flow."}}, "additionalProperties": false, "required": ["random_id", "option"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `random_id` | `bytes` | Ja | The ad's unique ID. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `option` | `bytes` | Ja | Chosen report option, initially an empty string, see [here »](https://core.telegram.org/api/sponsored-messages.md#reporting-sponsored-messages) for more info on the full flow. |"}, "x-browser-schema-id": "315355332"}}, "/catalog/messages.getSponsoredMessages": {"post": {"operationId": "messages.getSponsoredMessages", "tags": ["Nachrichten"], "summary": "Get a list of sponsored messages for a peer, see here » for more info.", "description": "Get a list of [sponsored messages for a peer, see here »](https://core.telegram.org/api/sponsored-messages.md) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gesponserte Nachrichten](https://core.telegram.org/api/sponsored-messages.md)", "x-tl-method": "messages.getSponsoredMessages", "x-tl-id": "1030547536", "x-tl-result": "messages.SponsoredMessages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Sponsored messages", "https://core.telegram.org/api/sponsored-messages.md"]], "responses": {"200": {"description": "MTProto result · `messages.SponsoredMessages`.\n\n[messages.SponsoredMessages](https://core.telegram.org/type/messages.SponsoredMessages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SponsoredMessages", "oneOf": [{"$ref": "#/components/schemas/messages.sponsoredMessages"}, {"$ref": "#/components/schemas/messages.sponsoredMessagesEmpty"}], "description": "Type TL: messages.SponsoredMessages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSponsoredMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The currently open channel/bot."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Must be set when fetching [sponsored messages to show on channel videos »](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements)."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The currently open channel/bot. |\n| `msg_id` | `int` | Nein | Must be set when fetching [sponsored messages to show on channel videos »](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements). |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MESSAGE_ID_INVALID", "MSG_ID_INVALID"], "x-browser-schema-id": "1030547536"}}, "/catalog/messages.savePreparedInlineMessage": {"post": {"operationId": "messages.savePreparedInlineMessage", "tags": ["Nachrichten"], "summary": "Save a prepared inline message, to be shared by the user of the mini app using a web\\_app\\_send\\_prepared\\_message event", "description": "Save a [prepared inline message](https://core.telegram.org/api/bots/inline.md#21-using-a-prepared-inline-message), to be shared by the user of the mini app using a [web\\_app\\_send\\_prepared\\_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Web-Events](https://core.telegram.org/api/web-events.md)\n- [Inline-Abfragen](https://core.telegram.org/api/bots/inline.md)", "x-tl-method": "messages.savePreparedInlineMessage", "x-tl-id": "4062150447", "x-tl-result": "messages.BotPreparedInlineMessage", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Web events", "https://core.telegram.org/api/web-events.md"], ["Inline queries", "https://core.telegram.org/api/bots/inline.md"]], "responses": {"200": {"description": "MTProto result · `messages.BotPreparedInlineMessage`.\n\n[messages.BotPreparedInlineMessage](https://core.telegram.org/type/messages.BotPreparedInlineMessage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.BotPreparedInlineMessage", "oneOf": [{"$ref": "#/components/schemas/messages.botPreparedInlineMessage"}], "description": "TL type: messages.BotPreparedInlineMessage."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `RESULT_ID_INVALID` – Eine der angegebenen Ergebnis-IDs ist ungültig.\n- 400 · `SEND_MESSAGE_GAME_INVALID` – Ein inputBotInlineMessageGame kann nur in einem inputBotInlineResultGame enthalten sein, nicht in einem inputBotInlineResult/inputBotInlineResultPhoto/etc.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.savePreparedInlineMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"result": {"type": "object", "x-tl-type": "InputBotInlineResult", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineResult"}, {"$ref": "#/components/schemas/inputBotInlineResultPhoto"}, {"$ref": "#/components/schemas/inputBotInlineResultDocument"}, {"$ref": "#/components/schemas/inputBotInlineResultGame"}], "description": "Die Nachricht"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user to whom the [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message) event will be sent"}, "peer_types": {"type": "array", "items": {"type": "object", "x-tl-type": "InlineQueryPeerType", "oneOf": [{"$ref": "#/components/schemas/inlineQueryPeerTypeSameBotPM"}, {"$ref": "#/components/schemas/inlineQueryPeerTypePM"}, {"$ref": "#/components/schemas/inlineQueryPeerTypeChat"}, {"$ref": "#/components/schemas/inlineQueryPeerTypeMegagroup"}, {"$ref": "#/components/schemas/inlineQueryPeerTypeBroadcast"}, {"$ref": "#/components/schemas/inlineQueryPeerTypeBotPM"}], "description": "TL Type: InlineQueryPeerType."}, "x-tl-type": "Vector<InlineQueryPeerType>", "x-tl-flag": "flags.0?Vector<InlineQueryPeerType>", "description": "Arten von Chats, an die diese Nachricht gesendet werden kann"}}, "additionalProperties": false, "required": ["result", "user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `result` | `InputBotInlineResult` | Ja | Die Nachricht |\n| `user_id` | `InputUser` | Ja | The user to whom the [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message) event will be sent |\n| `peer_types` | `Vector<InlineQueryPeerType>` | Nein | Arten von Chats, an die diese Nachricht gesendet werden kann |"}, "x-telegram-rpc-errors": ["RESULT_ID_INVALID", "SEND_MESSAGE_GAME_INVALID", "USER_BOT_REQUIRED", "USER_ID_INVALID"], "x-browser-schema-id": "4062150447"}}, "/catalog/messages.getPreparedInlineMessage": {"post": {"operationId": "messages.getPreparedInlineMessage", "tags": ["Nachrichten"], "summary": "Obtain a prepared inline message generated by a mini app: invoked when handling web\\_app\\_send\\_prepared\\_message events", "description": "Obtain a [prepared inline message](https://core.telegram.org/api/bots/inline.md#21-using-a-prepared-inline-message) generated by a [mini app](https://core.telegram.org/api/bots/webapps.md): invoked when handling [web\\_app\\_send\\_prepared\\_message events](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Web-Events](https://core.telegram.org/api/web-events.md)\n- [Inline-Abfragen](https://core.telegram.org/api/bots/inline.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "messages.getPreparedInlineMessage", "x-tl-id": "2239675832", "x-tl-result": "messages.PreparedInlineMessage", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Web events", "https://core.telegram.org/api/web-events.md"], ["Inline queries", "https://core.telegram.org/api/bots/inline.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `messages.PreparedInlineMessage`.\n\n[messages.PreparedInlineMessage](https://core.telegram.org/type/messages.PreparedInlineMessage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.PreparedInlineMessage", "oneOf": [{"$ref": "#/components/schemas/messages.preparedInlineMessage"}], "description": "TL type: messages.PreparedInlineMessage."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ID_EXPIRED` – Die übergebene vorbereitete Inline-Nachrichten-ID ist abgelaufen.\n- 400 · `ID_INVALID` — Die übergebene ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getPreparedInlineMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that owns the mini app that emitted the [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)"}, "id": {"type": "string", "x-tl-type": "string", "description": "The `id` from the [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)"}}, "additionalProperties": false, "required": ["bot", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot that owns the mini app that emitted the [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message) |\n| `id` | `string` | Ja | The `id` from the [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message) |"}, "x-telegram-rpc-errors": ["ID_EXPIRED", "ID_INVALID"], "x-browser-schema-id": "2239675832"}}, "/catalog/messages.searchStickers": {"post": {"operationId": "messages.searchStickers", "tags": ["Nachrichten"], "summary": "Search for stickers using AI-powered keyword search", "description": "Search for stickers using AI-powered keyword search\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "messages.searchStickers", "x-tl-id": "699516522", "x-tl-result": "messages.FoundStickers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `messages.FoundStickers`.\n\n[messages.FoundStickers](https://core.telegram.org/type/messages.FoundStickers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.FoundStickers", "oneOf": [{"$ref": "#/components/schemas/messages.foundStickersNotModified"}, {"$ref": "#/components/schemas/messages.foundStickers"}], "description": "Type TL: messages.FoundStickers."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.searchStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, returns [custom emoji stickers](https://core.telegram.org/api/custom-emoji.md)"}, "q": {"type": "string", "x-tl-type": "string", "description": "The search term"}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Space-separated list of emojis to search for"}, "lang_code": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "List of possible IETF language tags of the user's input language; may be empty if unknown"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offset for pagination](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).  The hash may be generated locally by using the `id`s of the returned or stored sticker [document](https://core.telegram.org/constructor/document.md)s.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["q", "emoticon", "lang_code", "offset", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `emojis` | `true` | Nein | If set, returns [custom emoji stickers](https://core.telegram.org/api/custom-emoji.md) |\n| `q` | `string` | Ja | The search term |\n| `emoticon` | `string` | Ja | Space-separated list of emojis to search for |\n| `lang_code` | `Vector<string>` | Ja | List of possible IETF language tags of the user's input language; may be empty if unknown |\n| `offset` | `int` | Ja | [Offset for pagination](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation).  The hash may be generated locally by using the `id`s of the returned or stored sticker [document](https://core.telegram.org/constructor/document.md)s. |"}, "x-browser-schema-id": "699516522"}}, "/catalog/messages.reportMessagesDelivery": {"post": {"operationId": "messages.reportMessagesDelivery", "tags": ["Nachrichten"], "summary": "Used for Telegram Gateway verification messages »: indicate to the server that one or more messages were received by the client, if requested by the message.**report\\_delivery\\_until\\_date** flag or the equivalent flag in push notifications.", "description": "Used for [Telegram Gateway verification messages »](https://telegram.org/blog/star-messages-gateway-2-0-and-more#save-even-more-on-user-verification): indicate to the server that one or more [message](https://core.telegram.org/constructor/message.md)s were received by the client, if requested by the [message](https://core.telegram.org/constructor/message.md).**report\\_delivery\\_until\\_date** flag or the equivalent flag in [push notifications](https://core.telegram.org/api/push-updates.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Umgang mit PUSH-Benachrichtigungen](https://core.telegram.org/api/push-updates.md)", "x-tl-method": "messages.reportMessagesDelivery", "x-tl-id": "1517122453", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Handling PUSH-notifications", "https://core.telegram.org/api/push-updates.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reportMessagesDelivery"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"push": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Must be set if the messages were received from a [push notification](https://core.telegram.org/api/push-updates.md)."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer where the messages were received."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "The IDs of the received messages."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `push` | `true` | Nein | Must be set if the messages were received from a [push notification](https://core.telegram.org/api/push-updates.md). |\n| `peer` | `InputPeer` | Ja | The peer where the messages were received. |\n| `id` | `Vector<int>` | Ja | The IDs of the received messages. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1517122453"}}, "/catalog/messages.getSavedDialogsByID": {"post": {"operationId": "messages.getSavedDialogsByID", "tags": ["Nachrichten"], "summary": "Obtain information about specific saved message dialogs » or monoforum topics ».", "description": "Obtain information about specific [saved message dialogs »](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs) or [monoforum topics »](https://core.telegram.org/api/monoforum.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Gespeicherte Nachrichten](https://core.telegram.org/api/saved-messages.md)", "x-tl-method": "messages.getSavedDialogsByID", "x-tl-id": "1869585558", "x-tl-result": "messages.SavedDialogs", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Saved messages", "https://core.telegram.org/api/saved-messages.md"]], "responses": {"200": {"description": "MTProto result · `messages.SavedDialogs`.\n\n[messages.SavedDialogs](https://core.telegram.org/type/messages.SavedDialogs.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SavedDialogs", "oneOf": [{"$ref": "#/components/schemas/messages.savedDialogs"}, {"$ref": "#/components/schemas/messages.savedDialogsSlice"}, {"$ref": "#/components/schemas/messages.savedDialogsNotModified"}], "description": "TL type: messages.SavedDialogs."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getSavedDialogsByID"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"parent_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, fetches [monoforum topics »](https://core.telegram.org/api/monoforum.md), otherwise fetches [saved message dialogs »](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs).", "x-tl-flag": "flags.1?InputPeer"}, "ids": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "IDs of dialogs (topics) to fetch."}}, "additionalProperties": false, "required": ["ids"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Nein | If set, fetches [monoforum topics »](https://core.telegram.org/api/monoforum.md), otherwise fetches [saved message dialogs »](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs). |\n| `ids` | `Vector<InputPeer>` | Ja | IDs of dialogs (topics) to fetch. |"}, "x-browser-schema-id": "1869585558"}}, "/catalog/messages.readSavedHistory": {"post": {"operationId": "messages.readSavedHistory", "tags": ["Nachrichten"], "summary": "Mark messages as read in a monoforum topic ».", "description": "Mark messages as read in a [monoforum topic »](https://core.telegram.org/api/monoforum.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)", "x-tl-method": "messages.readSavedHistory", "x-tl-id": "3125427035", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PARENT_PEER_INVALID` – Die angegebene `parent_peer` ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.readSavedHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"parent_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "ID of the monoforum group."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "ID of the topic."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value is passed, only messages with identifiers less than or equal to the given one will be read."}}, "additionalProperties": false, "required": ["parent_peer", "peer", "max_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | Ja | ID of the monoforum group. |\n| `peer` | `InputPeer` | Ja | ID of the topic. |\n| `max_id` | `int` | Ja | If a positive value is passed, only messages with identifiers less than or equal to the given one will be read. |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PARENT_PEER_INVALID"], "x-browser-schema-id": "3125427035"}}, "/catalog/messages.toggleTodoCompleted": {"post": {"operationId": "messages.toggleTodoCompleted", "tags": ["Nachrichten"], "summary": "Mark one or more items of a todo list » as completed or not completed.", "description": "Mark one or more items of a [todo list »](https://core.telegram.org/api/todo.md) as completed or not completed.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Checklisten und To-Do-Listen](https://core.telegram.org/api/todo.md)", "x-tl-method": "messages.toggleTodoCompleted", "x-tl-id": "3554685220", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Checklists and to-do lists", "https://core.telegram.org/api/todo.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.toggleTodoCompleted"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the todo list was posted."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the message with the todo list."}, "completed": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Items to mark as completed."}, "incompleted": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Items to mark as not completed."}}, "additionalProperties": false, "required": ["peer", "msg_id", "completed", "incompleted"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the todo list was posted. |\n| `msg_id` | `int` | Ja | ID of the message with the todo list. |\n| `completed` | `Vector<int>` | Ja | Items to mark as completed. |\n| `incompleted` | `Vector<int>` | Ja | Items to mark as not completed. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3554685220"}}, "/catalog/messages.appendTodoList": {"post": {"operationId": "messages.appendTodoList", "tags": ["Nachrichten"], "summary": "Appends one or more items to a todo list ».", "description": "Appends one or more items to a [todo list »](https://core.telegram.org/api/todo.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Checklisten und To-Do-Listen](https://core.telegram.org/api/todo.md)", "x-tl-method": "messages.appendTodoList", "x-tl-id": "564531287", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Checklists and to-do lists", "https://core.telegram.org/api/todo.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `TODO_ITEM_DUPLICATE` – Duplikat [Checklistenelemente](https://core.telegram.org/api/todo.md) erkannt.\n- 400 · `TODO_NOT_MODIFIED` – Es wurden keine Aufgabenelemente angegeben, daher wurden keine Änderungen an der Aufgabenliste vorgenommen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.appendTodoList"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the todo list was posted."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the message with the todo list."}, "list": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoItem", "oneOf": [{"$ref": "#/components/schemas/todoItem"}], "description": "TL Type: TodoItem."}, "x-tl-type": "Vector<TodoItem>", "description": "Items to append."}}, "additionalProperties": false, "required": ["peer", "msg_id", "list"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the todo list was posted. |\n| `msg_id` | `int` | Ja | ID of the message with the todo list. |\n| `list` | `Vector<TodoItem>` | Ja | Items to append. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID", "TODO_ITEM_DUPLICATE", "TODO_NOT_MODIFIED"], "x-browser-schema-id": "564531287"}}, "/catalog/messages.toggleSuggestedPostApproval": {"post": {"operationId": "messages.toggleSuggestedPostApproval", "tags": ["Nachrichten"], "summary": "Approve or reject a suggested post ».", "description": "Approve or reject a [suggested post »](https://core.telegram.org/api/suggested-posts.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Vorgeschlagene Beiträge](https://core.telegram.org/api/suggested-posts.md)", "x-tl-method": "messages.toggleSuggestedPostApproval", "x-tl-id": "2164737372", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Suggested posts", "https://core.telegram.org/api/suggested-posts.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.toggleSuggestedPostApproval"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"reject": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Reject the suggested post."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Both for users and channels, must contain the ID of the [direct messages monoforum »](https://core.telegram.org/api/monoforum.md) (for channels, the topic ID is extracted automatically from the `msg_id`)."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the suggestion message."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Benutzerdefiniertes Planungsdatum."}, "reject_comment": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Optional comment for rejections (can only be used if `reject` is set)."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `reject` | `true` | Nein | Reject the suggested post. |\n| `peer` | `InputPeer` | Ja | Both for users and channels, must contain the ID of the [direct messages monoforum »](https://core.telegram.org/api/monoforum.md) (for channels, the topic ID is extracted automatically from the `msg_id`). |\n| `msg_id` | `int` | Ja | ID of the suggestion message. |\n| `schedule_date` | `int` | Nein | Benutzerdefiniertes Planungsdatum. |\n| `reject_comment` | `string` | Nein | Optional comment for rejections (can only be used if `reject` is set). |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2164737372"}}, "/catalog/messages.getForumTopics": {"post": {"operationId": "messages.getForumTopics", "tags": ["Nachrichten"], "summary": "Get topics of a forum", "description": "Get [topics of a forum](https://core.telegram.org/api/forum.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "messages.getForumTopics", "x-tl-id": "3331072410", "x-tl-result": "messages.ForumTopics", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto result · `messages.ForumTopics`.\n\n[messages.ForumTopics](https://core.telegram.org/type/messages.ForumTopics.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ForumTopics", "oneOf": [{"$ref": "#/components/schemas/messages.forumTopics"}], "description": "Type TL: messages.ForumTopics."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_FORUM_MISSING` — Diese Supergruppe ist kein Forum.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getForumTopics"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located."}, "q": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Suchanfrage"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Wert des TL-Typs `Bool`."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md), date of the last message of the last found topic. Use 0 or any date in the future to get results from the last topic."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md), ID of the last message of the last found topic (or initially `0`)."}, "offset_topic": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md), ID of the last found topic (or initially `0`)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md). For optimal performance, the number of returned topics is chosen by the server and can be smaller than the specified limit."}}, "additionalProperties": false, "required": ["peer", "offset_date", "offset_id", "offset_topic", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |\n| `q` | `string` | Nein | Suchanfrage |\n| `icon_emoji_id` | `long` | Nein | 64-битное целое в десятичной записи. |\n| `closed` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `offset_date` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md), date of the last message of the last found topic. Use 0 or any date in the future to get results from the last topic. |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md), ID of the last message of the last found topic (or initially `0`). |\n| `offset_topic` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md), ID of the last found topic (or initially `0`). |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md). For optimal performance, the number of returned topics is chosen by the server and can be smaller than the specified limit. |"}, "x-telegram-rpc-errors": ["CHANNEL_FORUM_MISSING", "CHANNEL_INVALID"], "x-browser-schema-id": "3331072410"}}, "/catalog/messages.getForumTopicsByID": {"post": {"operationId": "messages.getForumTopicsByID", "tags": ["Nachrichten"], "summary": "Get forum topics by their ID", "description": "Get forum topics by their ID\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "messages.getForumTopicsByID", "x-tl-id": "2936687112", "x-tl-result": "messages.ForumTopics", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.ForumTopics`.\n\n[messages.ForumTopics](https://core.telegram.org/type/messages.ForumTopics.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ForumTopics", "oneOf": [{"$ref": "#/components/schemas/messages.forumTopics"}], "description": "Type TL: messages.ForumTopics."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `TOPICS_EMPTY` – Sie haben keine Themen-IDs angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getForumTopicsByID"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located."}, "topics": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Topic IDs"}}, "additionalProperties": false, "required": ["peer", "topics"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |\n| `topics` | `Vector<int>` | Ja | Topic IDs |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "TOPICS_EMPTY"], "x-browser-schema-id": "2936687112"}}, "/catalog/messages.editForumTopic": {"post": {"operationId": "messages.editForumTopic", "tags": ["Nachrichten"], "summary": "Edit forum topic.", "description": "Edit [forum topic](https://core.telegram.org/api/forum.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "messages.editForumTopic", "x-tl-id": "3469480244", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `TOPIC_CLOSE_SEPARATELY` – Das Flag `close` kann nicht zusammen mit einem der anderen Flags bereitgestellt werden.\n- 400 · `TOPIC_NOT_MODIFIED` — Die aktualisierten Themeninformationen entsprechen den aktuellen Themeninformationen, es wurde nichts geändert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editForumTopic"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located."}, "topic_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Topic ID"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "If present, will update the topic title (maximum UTF-8 length: 128)."}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "If present, updates the [custom emoji](https://core.telegram.org/api/custom-emoji.md) used as topic icon. [Telegram Premium](https://core.telegram.org/api/premium.md) users can use any custom emoji, other users can only use the custom emojis contained in the [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md) emoji pack. Pass 0 to switch to the fallback topic icon.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "If present, will update the open/closed status of the topic."}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "If present, will hide/unhide the topic (only valid for the \"General\" topic, `id=1`)."}}, "additionalProperties": false, "required": ["peer", "topic_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |\n| `topic_id` | `int` | Ja | Topic ID |\n| `title` | `string` | Nein | If present, will update the topic title (maximum UTF-8 length: 128). |\n| `icon_emoji_id` | `long` | Nein | If present, updates the [custom emoji](https://core.telegram.org/api/custom-emoji.md) used as topic icon. [Telegram Premium](https://core.telegram.org/api/premium.md) users can use any custom emoji, other users can only use the custom emojis contained in the [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md) emoji pack. Pass 0 to switch to the fallback topic icon. |\n| `closed` | `Bool` | Nein | If present, will update the open/closed status of the topic. |\n| `hidden` | `Bool` | Nein | If present, will hide/unhide the topic (only valid for the \"General\" topic, `id=1`). |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "TOPIC_CLOSE_SEPARATELY", "TOPIC_NOT_MODIFIED"], "x-browser-schema-id": "3469480244"}}, "/catalog/messages.updatePinnedForumTopic": {"post": {"operationId": "messages.updatePinnedForumTopic", "tags": ["Nachrichten"], "summary": "Pin or unpin forum topics", "description": "Pin or unpin [forum topics](https://core.telegram.org/api/forum.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "messages.updatePinnedForumTopic", "x-tl-id": "392032849", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.updatePinnedForumTopic"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located."}, "topic_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Forum topic ID](https://core.telegram.org/api/forum.md)"}, "pinned": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to pin or unpin the topic"}}, "additionalProperties": false, "required": ["peer", "topic_id", "pinned"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |\n| `topic_id` | `int` | Ja | [Forum topic ID](https://core.telegram.org/api/forum.md) |\n| `pinned` | `Bool` | Ja | Whether to pin or unpin the topic |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "392032849"}}, "/catalog/messages.reorderPinnedForumTopics": {"post": {"operationId": "messages.reorderPinnedForumTopics", "tags": ["Nachrichten"], "summary": "Reorder pinned forum topics", "description": "Reorder pinned forum topics\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "messages.reorderPinnedForumTopics", "x-tl-id": "242762224", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reorderPinnedForumTopics"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If not set, the order of only the topics present both server-side and in `order` will be changed (i.e. mentioning topics not pinned server-side in `order` will not pin them, and not mentioning topics pinned server-side will not unpin them).   If set, the entire server-side pinned topic list will be replaced with `order` (i.e. mentioning topics not pinned server-side in `order` will pin them, and not mentioning topics pinned server-side will unpin them)"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "[Topic IDs »](https://core.telegram.org/api/forum.md)"}}, "additionalProperties": false, "required": ["peer", "order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `force` | `true` | Nein | If not set, the order of only the topics present both server-side and in `order` will be changed (i.e. mentioning topics not pinned server-side in `order` will not pin them, and not mentioning topics pinned server-side will not unpin them).   If set, the entire server-side pinned topic list will be replaced with `order` (i.e. mentioning topics not pinned server-side in `order` will pin them, and not mentioning topics pinned server-side will unpin them) |\n| `peer` | `InputPeer` | Ja | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |\n| `order` | `Vector<int>` | Ja | [Topic IDs »](https://core.telegram.org/api/forum.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "242762224"}}, "/catalog/messages.createForumTopic": {"post": {"operationId": "messages.createForumTopic", "tags": ["Nachrichten"], "summary": "Create a forum topic.", "description": "Create a [forum topic](https://core.telegram.org/api/forum.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)", "x-tl-method": "messages.createForumTopic", "x-tl-id": "798540757", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"], ["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Working with Updates", "https://core.telegram.org/api/updates.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `BOT_FORUM_CREATE_FORBIDDEN` – Da das user.bot_forum_can_manage_topics-Flag des Bots **nicht** gesetzt ist, kann der Benutzer keine Bot-Forumsthemen erstellen oder ändern.\n- 400 · `CHANNEL_FORUM_MISSING` — Diese Supergruppe ist kein Forum.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.createForumTopic"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"title_missing": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "If set, the topic has no user-defined title, can only be set for the per-user topics of [bot forums](https://core.telegram.org/api/forum.md#bot-forums); if this field is set, the topic title likely needs to be changed by the bot."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The supergroup, private chat (for forum-enabled bots) or forum bot (for users) where to create the topic."}, "title": {"type": "string", "x-tl-type": "string", "description": "Topic title (maximum UTF-8 length: 128)"}, "icon_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "If no custom emoji icon is specified, specifies the color of the fallback topic icon (RGB), one of `0x6FB9F0`, `0xFFD67E`, `0xCB86DB`, `0x8EEE98`, `0xFF93B2`, or `0xFB6F5F`."}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID of the [custom emoji](https://core.telegram.org/api/custom-emoji.md) used as topic icon. [Telegram Premium](https://core.telegram.org/api/premium.md) users can use any custom emoji, other users can only use the custom emojis contained in the [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md) emoji pack.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique client message ID to prevent duplicate sending of the same event. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Erstellen Sie das Thema als angegebenen Peer", "x-tl-flag": "flags.2?InputPeer"}}, "additionalProperties": false, "required": ["peer", "title", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `title_missing` | `true` | Nein | If set, the topic has no user-defined title, can only be set for the per-user topics of [bot forums](https://core.telegram.org/api/forum.md#bot-forums); if this field is set, the topic title likely needs to be changed by the bot. |\n| `peer` | `InputPeer` | Ja | The supergroup, private chat (for forum-enabled bots) or forum bot (for users) where to create the topic. |\n| `title` | `string` | Ja | Topic title (maximum UTF-8 length: 128) |\n| `icon_color` | `int` | Nein | If no custom emoji icon is specified, specifies the color of the fallback topic icon (RGB), one of `0x6FB9F0`, `0xFFD67E`, `0xCB86DB`, `0x8EEE98`, `0xFF93B2`, or `0xFB6F5F`. |\n| `icon_emoji_id` | `long` | Nein | ID of the [custom emoji](https://core.telegram.org/api/custom-emoji.md) used as topic icon. [Telegram Premium](https://core.telegram.org/api/premium.md) users can use any custom emoji, other users can only use the custom emojis contained in the [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md) emoji pack. |\n| `random_id` | `long` | Ja | Unique client message ID to prevent duplicate sending of the same event. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `send_as` | `InputPeer` | Nein | Erstellen Sie das Thema als angegebenen Peer |"}, "x-telegram-rpc-errors": ["BOT_FORUM_CREATE_FORBIDDEN", "CHANNEL_FORUM_MISSING", "CHANNEL_INVALID", "PEER_ID_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "798540757"}}, "/catalog/messages.deleteTopicHistory": {"post": {"operationId": "messages.deleteTopicHistory", "tags": ["Nachrichten"], "summary": "Delete message history of a forum topic", "description": "Delete message history of a [forum topic](https://core.telegram.org/api/forum.md)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "messages.deleteTopicHistory", "x-tl-id": "3531697936", "x-tl-result": "messages.AffectedHistory", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto Result · `messages.AffectedHistory`.\n\n[messages.AffectedHistory](https://core.telegram.org/type/messages.AffectedHistory.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedHistory", "oneOf": [{"$ref": "#/components/schemas/messages.affectedHistory"}], "description": "Type TL: messages.AffectedHistory."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteTopicHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Topic ID"}}, "additionalProperties": false, "required": ["peer", "top_msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |\n| `top_msg_id` | `int` | Ja | Topic ID |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "3531697936"}}, "/catalog/messages.getEmojiGameInfo": {"post": {"operationId": "messages.getEmojiGameInfo", "tags": ["Nachrichten"], "summary": "Fetch dice game information.", "description": "Fetch dice game information.", "x-tl-method": "messages.getEmojiGameInfo", "x-tl-id": "4219374759", "x-tl-result": "messages.EmojiGameInfo", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.EmojiGameInfo`.\n\n[messages.EmojiGameInfo](https://core.telegram.org/type/messages.EmojiGameInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.EmojiGameInfo", "oneOf": [{"$ref": "#/components/schemas/messages.emojiGameUnavailable"}, {"$ref": "#/components/schemas/messages.emojiGameDiceInfo"}], "description": "Type TL: messages.EmojiGameInfo."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getEmojiGameInfo"}, "x-browser-schema-id": "4219374759"}}, "/catalog/messages.summarizeText": {"post": {"operationId": "messages.summarizeText", "tags": ["Nachrichten"], "summary": "Summarize the contents of a message with AI, see here » for more info.", "description": "Summarize the contents of a message with AI, see [here »](https://core.telegram.org/api/ai.md#summarize-messages) for more info.\n\nClients should use [message](https://core.telegram.org/constructor/message.md).`summary_from_language` as a hint for showing a summarization button; its absence does not forbid invoking this method.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)", "x-tl-method": "messages.summarizeText", "x-tl-id": "2881213254", "x-tl-result": "TextWithEntities", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["AI features", "https://core.telegram.org/api/ai.md"]], "responses": {"200": {"description": "MTProto result · `TextWithEntities`.\n\n[TextWithEntities](https://core.telegram.org/type/TextWithEntities.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "TL Type: TextWithEntities."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `INPUT_TEXT_TOO_LONG` – Der angegebene Text ist zu lang.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.summarizeText"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer where the message is located."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Message ID."}, "to_lang": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "If set, generates the summary in the specified target language (two-letter ISO 639-1 language code) instead of the message's language."}, "tone": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "If set, rephrases the summary using the specified [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) (pass the tone identifier)"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer where the message is located. |\n| `id` | `int` | Ja | Message ID. |\n| `to_lang` | `string` | Nein | If set, generates the summary in the specified target language (two-letter ISO 639-1 language code) instead of the message's language. |\n| `tone` | `string` | Nein | If set, rephrases the summary using the specified [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) (pass the tone identifier) |"}, "x-telegram-rpc-errors": ["INPUT_TEXT_TOO_LONG", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "2881213254"}}, "/catalog/messages.editChatCreator": {"post": {"operationId": "messages.editChatCreator", "tags": ["Nachrichten"], "summary": "Transfer the ownership of a basic group, supergroup or channel to another user, see here » for the full flow.", "description": "Transfer the ownership of a basic group, supergroup or channel to another user, see [here »](https://core.telegram.org/api/channel.md#transferring-ownership-of-a-group-channel) for the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.editChatCreator", "x-tl-id": "4148410455", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` – Sie sind Administrator von zu vielen öffentlichen Kanälen. Machen Sie einige Kanäle privat, um den Benutzernamen dieses Kanals zu ändern.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_MEMBER_ADD_FAILED` – Teilnehmer konnten nicht hinzugefügt werden.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `PASSWORD_HASH_INVALID` – Der bereitgestellte Passwort-Hash ist ungültig.\n- 400 · `PASSWORD_MISSING` – Sie müssen [2FA](https://core.telegram.org/api/srp.md) aktivieren, bevor Sie diesen Vorgang ausführen.\n- 400 · `PASSWORD_TOO_FRESH_%d` – Das Passwort wurde vor weniger als 24 Stunden geändert. Versuchen Sie es in %d Sekunden erneut.\n- 400 · `SESSION_TOO_FRESH_%d` – Diese Sitzung wurde vor weniger als 24 Stunden erstellt. Versuchen Sie es in %d Sekunden erneut.\n- 400 · `SRP_ID_INVALID` – Ungültige SRP ID angegeben.\n- 400 · `USERS_TOO_MUCH` — The maximum number of users has been exceeded (to create a chat, for example).\n- 403 · `USER_CHANNELS_TOO_MUCH` – Einer der Benutzer, die Sie hinzufügen wollten, ist bereits in zu vielen Kanälen/Supergruppen.\n- 400 · `USER_NOT_MUTUAL_CONTACT` — Der angegebene Benutzer ist kein gemeinsamer Kontakt.\n- 403 · `USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellungen des Benutzers erlauben dies nicht."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editChatCreator"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Owned group/supergroup/channel."}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "ID of the new owner."}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "The current account's [2FA password](https://core.telegram.org/api/srp.md)."}}, "additionalProperties": false, "required": ["peer", "user_id", "password"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Owned group/supergroup/channel. |\n| `user_id` | `InputUser` | Ja | ID of the new owner. |\n| `password` | `InputCheckPasswordSRP` | Ja | The current account's [2FA password](https://core.telegram.org/api/srp.md). |"}, "x-telegram-rpc-errors": ["CHANNELS_ADMIN_PUBLIC_TOO_MUCH", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_MEMBER_ADD_FAILED", "INPUT_USER_DEACTIVATED", "PASSWORD_HASH_INVALID", "PASSWORD_MISSING", "PASSWORD_TOO_FRESH_%d", "SESSION_TOO_FRESH_%d", "SRP_ID_INVALID", "USERS_TOO_MUCH", "USER_CHANNELS_TOO_MUCH", "USER_NOT_MUTUAL_CONTACT", "USER_PRIVACY_RESTRICTED"], "x-browser-schema-id": "4148410455"}}, "/catalog/messages.getFutureChatCreatorAfterLeave": {"post": {"operationId": "messages.getFutureChatCreatorAfterLeave", "tags": ["Nachrichten"], "summary": "Group/channel owners only: returns the ID of the user that will become the new owner of the group if we decide to leave the group, see here » for more info on the full flow.", "description": "Group/channel owners only: returns the ID of the user that will become the new owner of the group if we decide to leave the group, see [here »](https://core.telegram.org/api/channel.md#leaving-groups-channels) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "messages.getFutureChatCreatorAfterLeave", "x-tl-id": "998051494", "x-tl-result": "User", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `User`.\n\n[User](https://core.telegram.org/type/User.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_ID_INVALID` – Die angegebene Supergruppen-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getFutureChatCreatorAfterLeave"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The basic group/supergroup/channel we're about to leave."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The basic group/supergroup/channel we're about to leave. |"}, "x-telegram-rpc-errors": ["CHANNEL_ID_INVALID"], "x-browser-schema-id": "998051494"}}, "/catalog/messages.editChatParticipantRank": {"post": {"operationId": "messages.editChatParticipantRank", "tags": ["Nachrichten"], "summary": "Edit a group participant's tag ».", "description": "Edit a group participant's [tag »](https://core.telegram.org/api/rank.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenteilnehmer-Tags](https://core.telegram.org/api/rank.md)", "x-tl-method": "messages.editChatParticipantRank", "x-tl-id": "2685350576", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Group participant tags", "https://core.telegram.org/api/rank.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.editChatParticipantRank"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The basic group/supergroup."}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The participant."}, "rank": {"type": "string", "x-tl-type": "string", "description": "The new tag."}}, "additionalProperties": false, "required": ["peer", "participant", "rank"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The basic group/supergroup. |\n| `participant` | `InputPeer` | Ja | The participant. |\n| `rank` | `string` | Ja | The new tag. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2685350576"}}, "/catalog/messages.declineUrlAuth": {"post": {"operationId": "messages.declineUrlAuth", "tags": ["Nachrichten"], "summary": "Eine eingehende OAuth-Autorisierungsanfrage ablehnen » und den Server darüber informieren, dass der Benutzer die Anmeldeanfrage abgelehnt hat.", "description": "Decline an incoming [OAuth authorization request »](https://core.telegram.org/api/url-authorization.md#oauth-authorization), notifying the server that the user refused the login request.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Umgang mit PUSH-Benachrichtigungen](https://core.telegram.org/api/push-updates.md)\n- [Web-Events](https://core.telegram.org/api/web-events.md)\n- [Nahtlose Telegram-Anmeldung](https://core.telegram.org/api/url-authorization.md)", "x-tl-method": "messages.declineUrlAuth", "x-tl-id": "893610940", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Handling PUSH-notifications", "https://core.telegram.org/api/push-updates.md"], ["Web events", "https://core.telegram.org/api/web-events.md"], ["Seamless Telegram Login", "https://core.telegram.org/api/url-authorization.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `URL_INVALID` — Invalid URL provided."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.declineUrlAuth"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"url": {"type": "string", "x-tl-type": "string", "description": "The OAuth deep link from the [OAUTH_REQUEST push notification](https://core.telegram.org/api/push-updates.md#oauth-request) or the [`oauth_request` web event](https://core.telegram.org/api/web-events.md#oauth-request)"}}, "additionalProperties": false, "required": ["url"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `url` | `string` | Ja | The OAuth deep link from the [OAUTH_REQUEST push notification](https://core.telegram.org/api/push-updates.md#oauth-request) or the [`oauth_request` web event](https://core.telegram.org/api/web-events.md#oauth-request) |"}, "x-telegram-rpc-errors": ["URL_INVALID"], "x-browser-schema-id": "893610940"}}, "/catalog/messages.checkUrlAuthMatchCode": {"post": {"operationId": "messages.checkUrlAuthMatchCode", "tags": ["Nachrichten"], "summary": "Validate the match code selected by the user against the code shown on the login page, as part of the OAuth authorization flow ».", "description": "Validate the match code selected by the user against the code shown on the login page, as part of the [OAuth authorization flow »](https://core.telegram.org/api/url-authorization.md#oauth-authorization).\n\nOnly usable when both `match_codes` and `match_codes_first` are set in the [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md) returned by [messages.requestUrlAuth](https://core.telegram.org/method/messages.requestUrlAuth.md).  \nIf [boolTrue](https://core.telegram.org/constructor/boolTrue.md) is returned, proceed with the login flow and pass the verified code to [messages.acceptUrlAuth](https://core.telegram.org/method/messages.acceptUrlAuth.md).`match_code`.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nahtlose Telegram-Anmeldung](https://core.telegram.org/api/url-authorization.md)", "x-tl-method": "messages.checkUrlAuthMatchCode", "x-tl-id": "3382999819", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Seamless Telegram Login", "https://core.telegram.org/api/url-authorization.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `URL_INVALID` — Invalid URL provided."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.checkUrlAuthMatchCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"url": {"type": "string", "x-tl-type": "string", "description": "The OAuth deep link"}, "match_code": {"type": "string", "x-tl-type": "string", "description": "The emoji or code selected by the user from the list in [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes`"}}, "additionalProperties": false, "required": ["url", "match_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `url` | `string` | Ja | The OAuth deep link |\n| `match_code` | `string` | Ja | The emoji or code selected by the user from the list in [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes` |"}, "x-telegram-rpc-errors": ["URL_INVALID"], "x-browser-schema-id": "3382999819"}}, "/catalog/messages.composeMessageWithAI": {"post": {"operationId": "messages.composeMessageWithAI", "tags": ["Nachrichten"], "summary": "Invokes telegram's AI Editor that can translate, transform, fixup and/or emojify your message in a number of different ways, privately powered by Cocoon, see here » for more info!", "description": "Invokes telegram's AI Editor that can translate, transform, fixup and/or emojify your message in a number of different ways, privately powered by [Cocoon](https://cocoon.org), see [here »](https://core.telegram.org/api/ai.md#compose-messages) for more info!\n\nAlle unten aufgeführten Modi sind kombinierbar.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)", "x-tl-method": "messages.composeMessageWithAI", "x-tl-id": "3672950153", "x-tl-result": "messages.ComposedMessageWithAI", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["AI features", "https://core.telegram.org/api/ai.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"]], "responses": {"200": {"description": "MTProto result · `messages.ComposedMessageWithAI`.\n\n[messages.ComposedMessageWithAI](https://core.telegram.org/type/messages.ComposedMessageWithAI.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ComposedMessageWithAI", "oneOf": [{"$ref": "#/components/schemas/messages.composedMessageWithAI"}], "description": "TL type: messages.ComposedMessageWithAI."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AICOMPOSE_FLOOD_PREMIUM` – Sie haben das Tageslimit für KI-Texttransformationen erreicht. Aktualisieren Sie auf [Telegram Premium](https://core.telegram.org/api/premium.md), um **50x** Mal mehr KI-Texttransformationen pro Tag zu erhalten!\n- 500 · `AICOMPOSE_TIMEOUT` – Beim Verfassen der Nachricht ist eine Zeitüberschreitung aufgetreten.\n- 400 · `AI_COMPOSE_TASK_MISSING` – Es wurde keine KI-Aufgabe angegeben. Der Anrufer muss mindestens eines der folgenden Optionen bereitstellen: Korrekturlesen, Übersetzen (mit einer Zielsprache), Ton oder Emojify.\n- 400 · `MESSAGE_EMPTY` – Die bereitgestellte Nachricht ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.composeMessageWithAI"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"proofread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, proofreads and fixes mistakes in the message"}, "emojify": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "If set, adds emojis to the message"}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Die Nachricht"}, "translate_to_lang": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "If set, translates the message to the specified language"}, "tone": {"type": "object", "x-tl-type": "InputAiComposeTone", "oneOf": [{"$ref": "#/components/schemas/inputAiComposeToneDefault"}, {"$ref": "#/components/schemas/inputAiComposeToneID"}, {"$ref": "#/components/schemas/inputAiComposeToneSlug"}, {"$ref": "#/components/schemas/inputAiComposeToneSingleUse"}], "description": "If set, rephrases the message using the specified [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones)", "x-tl-flag": "flags.2?InputAiComposeTone"}}, "additionalProperties": false, "required": ["text"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `proofread` | `true` | Nein | If set, proofreads and fixes mistakes in the message |\n| `emojify` | `true` | Nein | If set, adds emojis to the message |\n| `text` | `TextWithEntities` | Ja | Die Nachricht |\n| `translate_to_lang` | `string` | Nein | If set, translates the message to the specified language |\n| `tone` | `InputAiComposeTone` | Nein | If set, rephrases the message using the specified [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) |"}, "x-telegram-rpc-errors": ["AICOMPOSE_FLOOD_PREMIUM", "AICOMPOSE_TIMEOUT", "AI_COMPOSE_TASK_MISSING", "MESSAGE_EMPTY"], "x-browser-schema-id": "3672950153"}}, "/catalog/messages.reportReadMetrics": {"post": {"operationId": "messages.reportReadMetrics", "tags": ["Nachrichten"], "summary": "Report viewport read metrics for visible messages, indicating how long each message stayed in the chat viewport, see here » for more info on the full flow.", "description": "Report viewport read metrics for visible messages, indicating how long each message stayed in the chat viewport, see [here »](https://core.telegram.org/api/views.md#read-metrics) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Aufrufe und Lesemetriken](https://core.telegram.org/api/views.md)", "x-tl-method": "messages.reportReadMetrics", "x-tl-id": "1080542694", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Views and read metrics", "https://core.telegram.org/api/views.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reportReadMetrics"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the messages are located"}, "metrics": {"type": "array", "items": {"type": "object", "x-tl-type": "InputMessageReadMetric", "oneOf": [{"$ref": "#/components/schemas/inputMessageReadMetric"}], "description": "TL Type: InputMessageReadMetric."}, "x-tl-type": "Vector<InputMessageReadMetric>", "description": "List of read metrics for individual messages"}}, "additionalProperties": false, "required": ["peer", "metrics"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the messages are located |\n| `metrics` | `Vector<InputMessageReadMetric>` | Ja | List of read metrics for individual messages |"}, "x-browser-schema-id": "1080542694"}}, "/catalog/messages.reportMusicListen": {"post": {"operationId": "messages.reportMusicListen", "tags": ["Nachrichten"], "summary": "Report the listening duration of a music track (audio document without the `voice` flag), see here » for more info on the full flow.", "description": "Report the listening duration of a music track (audio document without the `voice` flag), see [here »](https://core.telegram.org/api/views.md#music-listens) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Aufrufe und Lesemetriken](https://core.telegram.org/api/views.md)", "x-tl-method": "messages.reportMusicListen", "x-tl-id": "3720140825", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Views and read metrics", "https://core.telegram.org/api/views.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.reportMusicListen"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "The [InputDocument](https://core.telegram.org/type/InputDocument.md) of the listened song"}, "listened_duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Kumulierte Spielzeit in ganzen Sekunden"}}, "additionalProperties": false, "required": ["id", "listened_duration"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | Ja | The [InputDocument](https://core.telegram.org/type/InputDocument.md) of the listened song |\n| `listened_duration` | `int` | Ja | Kumulierte Spielzeit in ganzen Sekunden |"}, "x-browser-schema-id": "3720140825"}}, "/catalog/messages.addPollAnswer": {"post": {"operationId": "messages.addPollAnswer", "tags": ["Nachrichten"], "summary": "Add an answer option to an open-answer poll »", "description": "Add an answer option to an [open-answer poll »](https://core.telegram.org/api/poll.md#open-answer-polls)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Umfragen und Quiz](https://core.telegram.org/api/poll.md)", "x-tl-method": "messages.addPollAnswer", "x-tl-id": "431770477", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Polls and quizzes", "https://core.telegram.org/api/poll.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.addPollAnswer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the poll is located"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Message ID of the poll"}, "answer": {"type": "object", "x-tl-type": "PollAnswer", "oneOf": [{"$ref": "#/components/schemas/pollAnswer"}, {"$ref": "#/components/schemas/inputPollAnswer"}], "description": "The new answer option to add, use [inputPollAnswer](https://core.telegram.org/constructor/inputPollAnswer.md)"}}, "additionalProperties": false, "required": ["peer", "msg_id", "answer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the poll is located |\n| `msg_id` | `int` | Ja | Message ID of the poll |\n| `answer` | `PollAnswer` | Ja | The new answer option to add, use [inputPollAnswer](https://core.telegram.org/constructor/inputPollAnswer.md) |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "431770477"}}, "/catalog/messages.deletePollAnswer": {"post": {"operationId": "messages.deletePollAnswer", "tags": ["Nachrichten"], "summary": "Remove an answer option from an open-answer poll »", "description": "Remove an answer option from an [open-answer poll »](https://core.telegram.org/api/poll.md#open-answer-polls)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Umfragen und Quiz](https://core.telegram.org/api/poll.md)", "x-tl-method": "messages.deletePollAnswer", "x-tl-id": "2894398885", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Polls and quizzes", "https://core.telegram.org/api/poll.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deletePollAnswer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the poll is located"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Message ID of the poll"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "The `option` identifier of the answer to remove"}}, "additionalProperties": false, "required": ["peer", "msg_id", "option"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the poll is located |\n| `msg_id` | `int` | Ja | Message ID of the poll |\n| `option` | `bytes` | Ja | The `option` identifier of the answer to remove |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2894398885"}}, "/catalog/messages.getUnreadPollVotes": {"post": {"operationId": "messages.getUnreadPollVotes", "tags": ["Nachrichten"], "summary": "Get messages containing polls with unread votes »", "description": "Get messages containing polls with [unread votes »](https://core.telegram.org/api/poll.md#unread-poll-votes)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Umfragen und Quiz](https://core.telegram.org/api/poll.md)", "x-tl-method": "messages.getUnreadPollVotes", "x-tl-id": "1126722802", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Polls and quizzes", "https://core.telegram.org/api/poll.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getUnreadPollVotes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat to fetch unread poll votes from"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "If the chat is a forum, restrict results to this topic"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Only return messages with IDs less than or equal to this value"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Only return messages with IDs greater than or equal to this value"}}, "additionalProperties": false, "required": ["peer", "offset_id", "add_offset", "limit", "max_id", "min_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The chat to fetch unread poll votes from |\n| `top_msg_id` | `int` | Nein | If the chat is a forum, restrict results to this topic |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Ja | Only return messages with IDs less than or equal to this value |\n| `min_id` | `int` | Ja | Only return messages with IDs greater than or equal to this value |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1126722802"}}, "/catalog/messages.readPollVotes": {"post": {"operationId": "messages.readPollVotes", "tags": ["Nachrichten"], "summary": "Mark all unread poll votes » in a chat as read", "description": "Mark all [unread poll votes »](https://core.telegram.org/api/poll.md#unread-poll-votes) in a chat as read\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Umfragen und Quiz](https://core.telegram.org/api/poll.md)", "x-tl-method": "messages.readPollVotes", "x-tl-id": "388019416", "x-tl-result": "messages.AffectedHistory", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Polls and quizzes", "https://core.telegram.org/api/poll.md"]], "responses": {"200": {"description": "MTProto Result · `messages.AffectedHistory`.\n\n[messages.AffectedHistory](https://core.telegram.org/type/messages.AffectedHistory.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedHistory", "oneOf": [{"$ref": "#/components/schemas/messages.affectedHistory"}], "description": "Type TL: messages.AffectedHistory."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.readPollVotes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The chat to mark poll votes as read in"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "If the chat is a forum, restrict to this topic"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The chat to mark poll votes as read in |\n| `top_msg_id` | `int` | Nein | If the chat is a forum, restrict to this topic |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "388019416"}}, "/catalog/messages.setBotGuestChatResult": {"post": {"operationId": "messages.setBotGuestChatResult", "tags": ["Nachrichten"], "summary": "Bots können diese Methode verwenden, um eine Anfrage im Gastmodus zu beantworten, die über ein updateBotGuestChatQuery-Update empfangen wurde, und die Nachricht bereitzustellen, die als Gast im Chat gepostet werden soll. Weitere Informationen finden Sie hier ».", "description": "Bots können diese Methode verwenden, um eine [Gastmodus »](https://core.telegram.org/api/bots/guest-mode.md)-Anfrage zu beantworten, die über ein [updateBotGuestChatQuery](https://core.telegram.org/constructor/updateBotGuestChatQuery.md)-Update empfangen wurde, und die Nachricht bereitzustellen, die als Gast im Chat gepostet werden soll. Weitere Informationen finden Sie [hier »](https://core.telegram.org/api/bots/guest-mode.md#handling-guest-queries-bot-side)].\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Gastmodus für Bots](https://core.telegram.org/api/bots/guest-mode.md)", "x-tl-method": "messages.setBotGuestChatResult", "x-tl-id": "3102803683", "x-tl-result": "InputBotInlineMessageID", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Guest mode for bots", "https://core.telegram.org/api/bots/guest-mode.md"]], "responses": {"200": {"description": "MTProto result · `InputBotInlineMessageID`.\n\n[InputBotInlineMessageID](https://core.telegram.org/type/InputBotInlineMessageID.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineMessageID"}, {"$ref": "#/components/schemas/inputBotInlineMessageID64"}], "description": "TL Type: InputBotInlineMessageID."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `USER_BOT_INVALID` — User accounts must provide the `bot` method parameter when calling this method. If there is no such method parameter, this method can only be invoked by bot accounts.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.setBotGuestChatResult"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Query identifier from the [updateBotGuestChatQuery](https://core.telegram.org/constructor/updateBotGuestChatQuery.md).`query_id` field", "x-tl-type": "long"}, "result": {"type": "object", "x-tl-type": "InputBotInlineResult", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineResult"}, {"$ref": "#/components/schemas/inputBotInlineResultPhoto"}, {"$ref": "#/components/schemas/inputBotInlineResultDocument"}, {"$ref": "#/components/schemas/inputBotInlineResultGame"}], "description": "The result to send as the answer to the query"}}, "additionalProperties": false, "required": ["query_id", "result"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Ja | Query identifier from the [updateBotGuestChatQuery](https://core.telegram.org/constructor/updateBotGuestChatQuery.md).`query_id` field |\n| `result` | `InputBotInlineResult` | Ja | The result to send as the answer to the query |"}, "x-telegram-rpc-errors": ["USER_BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3102803683"}}, "/catalog/messages.deleteParticipantReactions": {"post": {"operationId": "messages.deleteParticipantReactions", "tags": ["Nachrichten"], "summary": "As an admin, remove all of a specific participant's reactions from every message in a group or channel.", "description": "As an admin, remove all of a specific participant's [reactions](https://core.telegram.org/api/reactions.md) from every message in a group or channel.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.deleteParticipantReactions", "x-tl-id": "2696416504", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteParticipantReactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The group or channel where the participant's reactions should be removed"}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The participant whose reactions should be removed"}}, "additionalProperties": false, "required": ["peer", "participant"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The group or channel where the participant's reactions should be removed |\n| `participant` | `InputPeer` | Ja | The participant whose reactions should be removed |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2696416504"}}, "/catalog/messages.deleteParticipantReaction": {"post": {"operationId": "messages.deleteParticipantReaction", "tags": ["Nachrichten"], "summary": "As an admin, remove all of a specific participant's reactions from a single message.", "description": "As an admin, remove all of a specific participant's [reactions](https://core.telegram.org/api/reactions.md) from a single message.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "messages.deleteParticipantReaction", "x-tl-id": "3820484652", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.deleteParticipantReaction"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The group or channel where the message is located"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the message whose reactions should be removed"}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The participant whose reactions should be removed from the message"}}, "additionalProperties": false, "required": ["peer", "msg_id", "participant"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The group or channel where the message is located |\n| `msg_id` | `int` | Ja | ID of the message whose reactions should be removed |\n| `participant` | `InputPeer` | Ja | The participant whose reactions should be removed from the message |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3820484652"}}, "/catalog/messages.getPersonalChannelHistory": {"post": {"operationId": "messages.getPersonalChannelHistory", "tags": ["Nachrichten"], "summary": "Fetch the message history of a user's personal channel ».", "description": "Fetch the message history of a user's [personal channel »](https://core.telegram.org/api/profile.md#personal-channel).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "messages.getPersonalChannelHistory", "x-tl-id": "1442515350", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/messages.getPersonalChannelHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user whose personal channel history to fetch"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value was transferred, the method will return only messages with IDs less than **max_id**"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "If a positive value was transferred, the method will return only messages with IDs more than **min_id**"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Result hash](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["user_id", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | The user whose personal channel history to fetch |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | Ja | If a positive value was transferred, the method will return only messages with IDs less than **max_id** |\n| `min_id` | `int` | Ja | If a positive value was transferred, the method will return only messages with IDs more than **min_id** |\n| `hash` | `long` | Ja | [Result hash](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED", "USER_ID_INVALID"], "x-browser-schema-id": "1442515350"}}, "/catalog/messages.getRichMessage": {"post": {"operationId": "messages.getRichMessage", "tags": ["Nachrichten"], "summary": "messages.getRichMessage", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.getRichMessage", "x-tl-id": "1343580623", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.Messages`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `id` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1343580623"}}, "/catalog/messages.translateRichMessage": {"post": {"operationId": "messages.translateRichMessage", "tags": ["Nachrichten"], "summary": "messages.translateRichMessage", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.translateRichMessage", "x-tl-id": "441720836", "x-tl-result": "messages.TranslatedRichMessage", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `messages.TranslatedRichMessage`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.TranslatedRichMessage", "oneOf": [{"$ref": "#/components/schemas/messages.translatedRichMessage"}], "description": "Тип TL: messages.TranslatedRichMessage."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer.", "x-tl-flag": "flags.0?InputPeer"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.0?Vector<int>", "description": "Wert des TL-Typs `Vector<int>`."}, "text": {"type": "array", "items": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage."}, "x-tl-type": "Vector<InputRichMessage>", "x-tl-flag": "flags.1?Vector<InputRichMessage>", "description": "Wert des TL-Typs `Vector<InputRichMessage>`."}, "to_lang": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "tone": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["to_lang"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Nein | TL Type: InputPeer. |\n| `id` | `Vector<int>` | Nein | Wert des TL-Typs `Vector<int>`. |\n| `text` | `Vector<InputRichMessage>` | Nein | Wert des TL-Typs `Vector<InputRichMessage>`. |\n| `to_lang` | `string` | Ja | Wert des TL-Typs `string`. |\n| `tone` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "441720836"}}, "/catalog/messages.composeRichMessageWithAI": {"post": {"operationId": "messages.composeRichMessageWithAI", "tags": ["Nachrichten"], "summary": "messages.composeRichMessageWithAI", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.composeRichMessageWithAI", "x-tl-id": "2373641903", "x-tl-result": "messages.ComposedRichMessageWithAI", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `messages.ComposedRichMessageWithAI`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ComposedRichMessageWithAI", "oneOf": [{"$ref": "#/components/schemas/messages.composedRichMessageWithAI"}], "description": "Тип TL: messages.ComposedRichMessageWithAI."}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"proofread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "emojify": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Wert des TL-Typs `true`."}, "text": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage.", "x-tl-flag": "flags.4?InputRichMessage"}, "translate_to_lang": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Wert des TL-Typs `string`."}, "tone": {"type": "object", "x-tl-type": "InputAiComposeTone", "oneOf": [{"$ref": "#/components/schemas/inputAiComposeToneDefault"}, {"$ref": "#/components/schemas/inputAiComposeToneID"}, {"$ref": "#/components/schemas/inputAiComposeToneSlug"}, {"$ref": "#/components/schemas/inputAiComposeToneSingleUse"}], "description": "Тип TL: InputAiComposeTone.", "x-tl-flag": "flags.2?InputAiComposeTone"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `proofread` | `true` | Nein | Wert des TL-Typs `true`. |\n| `emojify` | `true` | Nein | Wert des TL-Typs `true`. |\n| `text` | `InputRichMessage` | Nein | Тип TL: InputRichMessage. |\n| `translate_to_lang` | `string` | Nein | Wert des TL-Typs `string`. |\n| `tone` | `InputAiComposeTone` | Nein | Тип TL: InputAiComposeTone. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2373641903"}}, "/catalog/messages.requestChatJoinWebView": {"post": {"operationId": "messages.requestChatJoinWebView", "tags": ["Nachrichten"], "summary": "messages.requestChatJoinWebView", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.requestChatJoinWebView", "x-tl-id": "3130975865", "x-tl-result": "WebViewResult", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `WebViewResult`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "TL Type: WebViewResult."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "TL type: DataJSON.", "x-tl-flag": "flags.0?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["query_id", "platform"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `theme_params` | `DataJSON` | Nein | TL type: DataJSON. |\n| `platform` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3130975865"}}, "/catalog/messages.setShareTheme": {"post": {"operationId": "messages.setShareTheme", "tags": ["Nachrichten"], "summary": "messages.setShareTheme", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.setShareTheme", "x-tl-id": "1770691354", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "theme": {"type": "object", "x-tl-type": "ShareTheme", "oneOf": [{"$ref": "#/components/schemas/shareThemeDefault"}, {"$ref": "#/components/schemas/shareThemeEmojiBackdrop"}, {"$ref": "#/components/schemas/shareThemeGift"}, {"$ref": "#/components/schemas/inputShareThemeGift"}], "description": "Тип TL: ShareTheme."}}, "additionalProperties": false, "required": ["peer", "theme"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `theme` | `ShareTheme` | Ja | Тип TL: ShareTheme. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1770691354"}}, "/catalog/messages.getShareThemeBackdrops": {"post": {"operationId": "messages.getShareThemeBackdrops", "tags": ["Nachrichten"], "summary": "messages.getShareThemeBackdrops", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.getShareThemeBackdrops", "x-tl-id": "4099514098", "x-tl-result": "ShareThemeBackdrops", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `ShareThemeBackdrops`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ShareThemeBackdrops", "oneOf": [{"$ref": "#/components/schemas/shareThemeBackdropsNotModified"}, {"$ref": "#/components/schemas/shareThemeBackdrops"}], "description": "Тип TL: ShareThemeBackdrops."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "4099514098"}}, "/catalog/messages.getBotWidgetQueryAnswer": {"post": {"operationId": "messages.getBotWidgetQueryAnswer", "tags": ["Nachrichten"], "summary": "messages.getBotWidgetQueryAnswer", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.getBotWidgetQueryAnswer", "x-tl-id": "1549075833", "x-tl-result": "messages.BotWidgetQueryAnswer", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `messages.BotWidgetQueryAnswer`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.BotWidgetQueryAnswer", "oneOf": [{"$ref": "#/components/schemas/messages.botWidgetQueryAnswer"}], "description": "Тип TL: messages.BotWidgetQueryAnswer."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "oneOf": [{"$ref": "#/components/schemas/widgetQueryTypeData"}, {"$ref": "#/components/schemas/widgetQueryTypeSignData"}, {"$ref": "#/components/schemas/widgetQueryTypeSentTransaction"}], "description": "Тип TL: WidgetQueryType."}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}}, "additionalProperties": false, "required": ["peer", "msg_id", "query_type", "data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `msg_id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `query_type` | `WidgetQueryType` | Ja | Тип TL: WidgetQueryType. |\n| `data` | `bytes` | Ja | Wert des TL-Typs `bytes`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1549075833"}}, "/catalog/messages.setBotWidgetQueryAnswer": {"post": {"operationId": "messages.setBotWidgetQueryAnswer", "tags": ["Nachrichten"], "summary": "messages.setBotWidgetQueryAnswer", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.setBotWidgetQueryAnswer", "x-tl-id": "4174244970", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "result": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["query_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `result` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "4174244970"}}, "/catalog/messages.editMessageWidgetData": {"post": {"operationId": "messages.editMessageWidgetData", "tags": ["Nachrichten"], "summary": "messages.editMessageWidgetData", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.editMessageWidgetData", "x-tl-id": "4129602590", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `public_data` | `string` | Nein | Wert des TL-Typs `string`. |\n| `chat_data` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "4129602590"}}, "/catalog/messages.editInlineBotMessageWidgetData": {"post": {"operationId": "messages.editInlineBotMessageWidgetData", "tags": ["Nachrichten"], "summary": "messages.editInlineBotMessageWidgetData", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.editInlineBotMessageWidgetData", "x-tl-id": "1670827563", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineMessageID"}, {"$ref": "#/components/schemas/inputBotInlineMessageID64"}], "description": "TL Type: InputBotInlineMessageID."}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `InputBotInlineMessageID` | Ja | TL Type: InputBotInlineMessageID. |\n| `public_data` | `string` | Nein | Wert des TL-Typs `string`. |\n| `chat_data` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1670827563"}}, "/catalog/messages.editWidgetData": {"post": {"operationId": "messages.editWidgetData", "tags": ["Nachrichten"], "summary": "messages.editWidgetData", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.editWidgetData", "x-tl-id": "3938665408", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "public_data": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["widget_id", "public_data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `widget_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `public_data` | `string` | Ja | Wert des TL-Typs `string`. |\n| `cache_time` | `int` | Nein | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3938665408"}}, "/catalog/messages.getWidgetPublicData": {"post": {"operationId": "messages.getWidgetPublicData", "tags": ["Nachrichten"], "summary": "messages.getWidgetPublicData", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.getWidgetPublicData", "x-tl-id": "1875194241", "x-tl-result": "messages.WidgetPublicData", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `messages.WidgetPublicData`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.WidgetPublicData", "oneOf": [{"$ref": "#/components/schemas/messages.widgetPublicDataNotModified"}, {"$ref": "#/components/schemas/messages.widgetPublicData"}], "description": "Тип TL: messages.WidgetPublicData."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "msg_id", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `msg_id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `hash` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1875194241"}}, "/catalog/messages.transcribeAudioFile": {"post": {"operationId": "messages.transcribeAudioFile", "tags": ["Nachrichten"], "summary": "messages.transcribeAudioFile", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.transcribeAudioFile", "x-tl-id": "120401655", "x-tl-result": "messages.TranscribedAudio", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.TranscribedAudio`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.TranscribedAudio", "oneOf": [{"$ref": "#/components/schemas/messages.transcribedAudio"}], "description": "Type TL: messages.TranscribedAudio."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Тип TL: InputFile."}}, "additionalProperties": false, "required": ["file"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `file` | `InputFile` | Ja | Тип TL: InputFile. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "120401655"}}, "/catalog/messages.getTranscriptionLangs": {"post": {"operationId": "messages.getTranscriptionLangs", "tags": ["Nachrichten"], "summary": "messages.getTranscriptionLangs", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.getTranscriptionLangs", "x-tl-id": "3127695786", "x-tl-result": "Vector<string>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `Vector<string>`.", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer.", "x-tl-flag": "flags.0?InputPeer"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Nein | TL Type: InputPeer. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3127695786"}}, "/catalog/messages.inviteUsersToBot": {"post": {"operationId": "messages.inviteUsersToBot", "tags": ["Nachrichten"], "summary": "messages.inviteUsersToBot", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.inviteUsersToBot", "x-tl-id": "498593787", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Wert des TL-Typs `Vector<InputUser>`."}}, "additionalProperties": false, "required": ["bot", "users"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | TL Type: InputUser. |\n| `users` | `Vector<InputUser>` | Ja | Wert des TL-Typs `Vector<InputUser>`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "498593787"}}, "/catalog/messages.getTranscriptionModels": {"post": {"operationId": "messages.getTranscriptionModels", "tags": ["Nachrichten"], "summary": "messages.getTranscriptionModels", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.getTranscriptionModels", "x-tl-id": "136274721", "x-tl-result": "Vector<TranscriptionModel>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `Vector<TranscriptionModel>`.", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "TranscriptionModel", "oneOf": [{"$ref": "#/components/schemas/transcriptionModel"}], "description": "Тип TL: TranscriptionModel."}, "x-tl-type": "Vector<TranscriptionModel>"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["version"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `version` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "136274721"}}, "/catalog/messages.reportFeedEvents": {"post": {"operationId": "messages.reportFeedEvents", "tags": ["Nachrichten"], "summary": "messages.reportFeedEvents", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.reportFeedEvents", "x-tl-id": "3835876816", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"events": {"type": "array", "items": {"type": "object", "x-tl-type": "InputFeedEvent", "oneOf": [{"$ref": "#/components/schemas/inputFeedEvent"}], "description": "Тип TL: InputFeedEvent."}, "x-tl-type": "Vector<InputFeedEvent>", "description": "Wert des TL-Typs `Vector<InputFeedEvent>`."}}, "additionalProperties": false, "required": ["events"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `events` | `Vector<InputFeedEvent>` | Ja | Wert des TL-Typs `Vector<InputFeedEvent>`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3835876816"}}, "/catalog/messages.reportNotSpam": {"post": {"operationId": "messages.reportNotSpam", "tags": ["Nachrichten"], "summary": "messages.reportNotSpam", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.reportNotSpam", "x-tl-id": "3418396603", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3418396603"}}, "/catalog/messages.getVoipModels": {"post": {"operationId": "messages.getVoipModels", "tags": ["Nachrichten"], "summary": "messages.getVoipModels", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "messages.getVoipModels", "x-tl-id": "546169867", "x-tl-result": "Vector<VoipModel>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `Vector<VoipModel>`.", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "VoipModel", "oneOf": [{"$ref": "#/components/schemas/voipModel"}], "description": "Тип TL: VoipModel."}, "x-tl-type": "Vector<VoipModel>"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["version"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `version` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "546169867"}}, "/catalog/updates.getState": {"post": {"operationId": "updates.getState", "tags": ["Updates"], "summary": "Returns a current state of updates.", "description": "Returns a current state of updates.", "x-tl-method": "updates.getState", "x-tl-id": "3990128682", "x-tl-result": "updates.State", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `updates.State`.\n\n[updates.State](https://core.telegram.org/type/updates.State.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "updates.State", "oneOf": [{"$ref": "#/components/schemas/updates.state"}], "description": "TL Type: updates.State."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/updates.getState"}, "x-browser-schema-id": "3990128682"}}, "/catalog/updates.getDifference": {"post": {"operationId": "updates.getDifference", "tags": ["Updates"], "summary": "Get new updates.", "description": "Get new [updates](https://core.telegram.org/api/updates.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)", "x-tl-method": "updates.getDifference", "x-tl-id": "432207715", "x-tl-result": "updates.Difference", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"]], "responses": {"200": {"description": "MTProto result · `updates.Difference`.\n\n[updates.Difference](https://core.telegram.org/type/updates.Difference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "updates.Difference", "oneOf": [{"$ref": "#/components/schemas/updates.differenceEmpty"}, {"$ref": "#/components/schemas/updates.difference"}, {"$ref": "#/components/schemas/updates.differenceSlice"}, {"$ref": "#/components/schemas/updates.differenceTooLong"}], "description": "TL Type: updates.Difference."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CDN_METHOD_INVALID` – Sie können diese Methode nicht in einem CDN DC aufrufen.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `DATE_EMPTY` — Datum leer.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PERSISTENT_TIMESTAMP_EMPTY` – Permanenter Zeitstempel leer.\n- 400 · `PERSISTENT_TIMESTAMP_INVALID` – Persistenter Zeitstempel ungültig.\n- 500 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde.\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USER_NOT_PARTICIPANT` — Du bist kein Mitglied dieser Supergruppe/dieses Kanals."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/updates.getDifference"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "PTS, see [updates](https://core.telegram.org/api/updates.md)."}, "pts_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "PTS limit"}, "pts_total_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](https://core.telegram.org/constructor/updates.differenceTooLong.md) will be returned. Simply tells the server to not return the difference if it is bigger than `pts_total_limit` If the remote pts is too big (&gt; ~4000000), this field will default to 1000000"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "date, see [updates](https://core.telegram.org/api/updates.md)."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "QTS, see [updates](https://core.telegram.org/api/updates.md)."}, "qts_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "QTS limit"}}, "additionalProperties": false, "required": ["pts", "date", "qts"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `pts` | `int` | Ja | PTS, see [updates](https://core.telegram.org/api/updates.md). |\n| `pts_limit` | `int` | Nein | PTS limit |\n| `pts_total_limit` | `int` | Nein | For fast updating: if provided and `pts + pts_total_limit < remote pts`, [updates.differenceTooLong](https://core.telegram.org/constructor/updates.differenceTooLong.md) will be returned. Simply tells the server to not return the difference if it is bigger than `pts_total_limit` If the remote pts is too big (&gt; ~4000000), this field will default to 1000000 |\n| `date` | `int` | Ja | date, see [updates](https://core.telegram.org/api/updates.md). |\n| `qts` | `int` | Ja | QTS, see [updates](https://core.telegram.org/api/updates.md). |\n| `qts_limit` | `int` | Nein | QTS limit |"}, "x-telegram-rpc-errors": ["CDN_METHOD_INVALID", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_NOT_MODIFIED", "CHAT_WRITE_FORBIDDEN", "DATE_EMPTY", "MSG_ID_INVALID", "PERSISTENT_TIMESTAMP_EMPTY", "PERSISTENT_TIMESTAMP_INVALID", "RANDOM_ID_DUPLICATE", "USERNAME_INVALID", "USER_NOT_PARTICIPANT"], "x-browser-schema-id": "432207715"}}, "/catalog/updates.getChannelDifference": {"post": {"operationId": "updates.getChannelDifference", "tags": ["Updates"], "summary": "Returns the difference between the current state of updates of a certain channel and transmitted.", "description": "Returns the difference between the current state of updates of a certain channel and transmitted.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "updates.getChannelDifference", "x-tl-id": "51854712", "x-tl-result": "updates.ChannelDifference", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `updates.ChannelDifference`.\n\n[updates.ChannelDifference](https://core.telegram.org/type/updates.ChannelDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "updates.ChannelDifference", "oneOf": [{"$ref": "#/components/schemas/updates.channelDifferenceEmpty"}, {"$ref": "#/components/schemas/updates.channelDifferenceTooLong"}, {"$ref": "#/components/schemas/updates.channelDifference"}], "description": "Type TL: updates.ChannelDifference."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHANNEL_PUBLIC_GROUP_NA` – Kanal/Supergruppe nicht verfügbar.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `FROM_MESSAGE_BOT_DISABLED` – Bots können keine fromMessage-Min-Konstruktoren verwenden.\n- 400 · `FROZEN_PARTICIPANT_MISSING` – Das aktuelle Konto ist [eingefroren](https://core.telegram.org/api/auth.md#frozen-accounts) und kann nicht auf den angegebenen Peer zugreifen.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PERSISTENT_TIMESTAMP_EMPTY` – Permanenter Zeitstempel leer.\n- 400 · `PERSISTENT_TIMESTAMP_INVALID` – Persistenter Zeitstempel ungültig.\n- 500 · `PERSISTENT_TIMESTAMP_OUTDATED` – Probleme mit der internen Kanalreplikation, versuchen Sie es später noch einmal (behandeln Sie dies wie ein RPC_CALL_FAIL).\n- 400 · `PINNED_DIALOGS_TOO_MUCH` – Zu viele angeheftete Dialoge.\n- 400 · `RANGES_INVALID` – Ungültiger Bereich angegeben.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/updates.getChannelDifference"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Set to true to skip some possibly unneeded updates and reduce server-side load"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The channel"}, "filter": {"type": "object", "x-tl-type": "ChannelMessagesFilter", "oneOf": [{"$ref": "#/components/schemas/channelMessagesFilterEmpty"}, {"$ref": "#/components/schemas/channelMessagesFilter"}], "description": "Messsage filter"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Persistent timestamp (see [updates](https://core.telegram.org/api/updates.md))"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "How many updates to fetch, max `100000` Ordinary (non-bot) users are supposed to pass `10-100`"}}, "additionalProperties": false, "required": ["channel", "filter", "pts", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `force` | `true` | Nein | Set to true to skip some possibly unneeded updates and reduce server-side load |\n| `channel` | `InputChannel` | Ja | The channel |\n| `filter` | `ChannelMessagesFilter` | Ja | Messsage filter |\n| `pts` | `int` | Ja | Persistent timestamp (see [updates](https://core.telegram.org/api/updates.md)) |\n| `limit` | `int` | Ja | How many updates to fetch, max `100000` Ordinary (non-bot) users are supposed to pass `10-100` |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHANNEL_PUBLIC_GROUP_NA", "CHAT_NOT_MODIFIED", "CHAT_WRITE_FORBIDDEN", "FROM_MESSAGE_BOT_DISABLED", "FROZEN_PARTICIPANT_MISSING", "MSG_ID_INVALID", "PERSISTENT_TIMESTAMP_EMPTY", "PERSISTENT_TIMESTAMP_INVALID", "PERSISTENT_TIMESTAMP_OUTDATED", "PINNED_DIALOGS_TOO_MUCH", "RANGES_INVALID", "USER_BANNED_IN_CHANNEL"], "x-browser-schema-id": "51854712"}}, "/catalog/photos.updateProfilePhoto": {"post": {"operationId": "photos.updateProfilePhoto", "tags": ["Photos"], "summary": "Installs a previously uploaded photo as a profile photo.", "description": "Installs a previously uploaded photo as a profile photo.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "photos.updateProfilePhoto", "x-tl-id": "166207545", "x-tl-result": "photos.Photo", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `photos.Photo`.\n\n[photos.Photo](https://core.telegram.org/type/photos.Photo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "photos.Photo", "oneOf": [{"$ref": "#/components/schemas/photos.photo"}], "description": "TL type: photos.Photo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ALBUM_PHOTOS_TOO_MANY` – Sie haben zu viele Profilfotos hochgeladen. Löschen Sie einige, bevor Sie es erneut versuchen.\n- 400 · `BOT_FALLBACK_UNSUPPORTED` – Das Fallback-Flag kann nicht für Bots gesetzt werden.\n- 400 · `FILE_PARTS_INVALID` – Die Anzahl der Dateiteile ist ungültig.\n- 400 · `IMAGE_PROCESS_FAILED` – Fehler bei der Bildverarbeitung.\n- 400 · `LOCATION_INVALID` – Der angegebene Standort ist ungültig.\n- 400 · `PHOTO_CROP_SIZE_SMALL` – Foto ist zu klein.\n- 400 · `PHOTO_EXT_INVALID` — Die Erweiterung des Fotos ist ungültig.\n- 400 · `PHOTO_ID_INVALID` – Lichtbildausweis ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/photos.updateProfilePhoto"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"fallback": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings."}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user.", "x-tl-flag": "flags.1?InputUser"}, "id": {"type": "object", "x-tl-type": "InputPhoto", "oneOf": [{"$ref": "#/components/schemas/inputPhotoEmpty"}, {"$ref": "#/components/schemas/inputPhoto"}], "description": "Input photo"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `fallback` | `true` | Nein | If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings. |\n| `bot` | `InputUser` | Nein | Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user. |\n| `id` | `InputPhoto` | Ja | Input photo |"}, "x-telegram-rpc-errors": ["ALBUM_PHOTOS_TOO_MANY", "BOT_FALLBACK_UNSUPPORTED", "FILE_PARTS_INVALID", "IMAGE_PROCESS_FAILED", "LOCATION_INVALID", "PHOTO_CROP_SIZE_SMALL", "PHOTO_EXT_INVALID", "PHOTO_ID_INVALID"], "x-browser-schema-id": "166207545"}}, "/catalog/photos.uploadProfilePhoto": {"post": {"operationId": "photos.uploadProfilePhoto", "tags": ["Photos"], "summary": "Updates current user profile photo.", "description": "Updates current user profile photo.\n\nDie Flags `file`, `video` und `video_emoji_markup` schließen sich gegenseitig aus.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Hochladen und Herunterladen von Dateien](https://core.telegram.org/api/files.md)", "x-tl-method": "photos.uploadProfilePhoto", "x-tl-id": "59286453", "x-tl-result": "photos.Photo", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Uploading and Downloading Files", "https://core.telegram.org/api/files.md"]], "responses": {"200": {"description": "MTProto result · `photos.Photo`.\n\n[photos.Photo](https://core.telegram.org/type/photos.Photo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "photos.Photo", "oneOf": [{"$ref": "#/components/schemas/photos.photo"}], "description": "TL type: photos.Photo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ALBUM_PHOTOS_TOO_MANY` – Sie haben zu viele Profilfotos hochgeladen. Löschen Sie einige, bevor Sie es erneut versuchen.\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `EMOJI_MARKUP_INVALID` – Die angegebene `video_emoji_markup` war ungültig.\n- 400 · `FILE_PARTS_INVALID` – Die Anzahl der Dateiteile ist ungültig.\n- 400 · `IMAGE_PROCESS_FAILED` – Fehler bei der Bildverarbeitung.\n- 400 · `PHOTO_CROP_FILE_MISSING` – Datei zum Zuschneiden des Fotos fehlt.\n- 400 · `PHOTO_CROP_SIZE_SMALL` – Foto ist zu klein.\n- 400 · `PHOTO_EXT_INVALID` — Die Erweiterung des Fotos ist ungültig.\n- 400 · `PHOTO_FILE_MISSING` – Profilfotodatei fehlt.\n- 400 · `PHOTO_INVALID` – Foto ungültig.\n- 400 · `STICKER_MIME_INVALID` – Der angegebene Aufklebertyp MIME ist ungültig.\n- 400 · `VIDEO_FILE_INVALID` – Die angegebene Videodatei ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/photos.uploadProfilePhoto"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"fallback": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings."}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user.", "x-tl-flag": "flags.5?InputUser"}, "file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Profile photo", "x-tl-flag": "flags.0?InputFile"}, "video": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "[Animated profile picture](https://core.telegram.org/api/files.md#animated-profile-pictures) video", "x-tl-flag": "flags.1?InputFile"}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "x-tl-flag": "flags.2?double", "description": "Fließkomma UNIX Zeitstempel in Sekunden, der den Frame des Videos/Stickers angibt, der als statische Vorschau verwendet werden soll; kann nur verwendet werden, wenn `video` oder `video_emoji_markup` eingestellt ist."}, "video_emoji_markup": {"type": "object", "x-tl-type": "VideoSize", "oneOf": [{"$ref": "#/components/schemas/videoSize"}, {"$ref": "#/components/schemas/videoSizeEmojiMarkup"}, {"$ref": "#/components/schemas/videoSizeStickerMarkup"}], "description": "Animiertes Sticker-Profilbild, muss entweder einen [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md)- oder einen [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)]-Konstruktor enthalten.", "x-tl-flag": "flags.4?VideoSize"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `fallback` | `true` | Nein | If set, the chosen profile photo will be shown to users that can't display your main profile photo due to your privacy settings. |\n| `bot` | `InputUser` | Nein | Can contain info of a bot we own, to change the profile photo of that bot, instead of the current user. |\n| `file` | `InputFile` | Nein | Profile photo |\n| `video` | `InputFile` | Nein | [Animated profile picture](https://core.telegram.org/api/files.md#animated-profile-pictures) video |\n| `video_start_ts` | `double` | Nein | Fließkomma UNIX Zeitstempel in Sekunden, der den Frame des Videos/Stickers angibt, der als statische Vorschau verwendet werden soll; kann nur verwendet werden, wenn `video` oder `video_emoji_markup` eingestellt ist. |\n| `video_emoji_markup` | `VideoSize` | Nein | Animiertes Sticker-Profilbild, muss entweder einen [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md)- oder einen [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)]-Konstruktor enthalten. |"}, "x-telegram-rpc-errors": ["ALBUM_PHOTOS_TOO_MANY", "BOT_INVALID", "EMOJI_MARKUP_INVALID", "FILE_PARTS_INVALID", "IMAGE_PROCESS_FAILED", "PHOTO_CROP_FILE_MISSING", "PHOTO_CROP_SIZE_SMALL", "PHOTO_EXT_INVALID", "PHOTO_FILE_MISSING", "PHOTO_INVALID", "STICKER_MIME_INVALID", "VIDEO_FILE_INVALID"], "x-browser-schema-id": "59286453"}}, "/catalog/photos.deletePhotos": {"post": {"operationId": "photos.deletePhotos", "tags": ["Photos"], "summary": "Deletes profile photos. The method returns a list of successfully deleted photo IDs.", "description": "Deletes profile photos. The method returns a list of successfully deleted photo IDs.", "x-tl-method": "photos.deletePhotos", "x-tl-id": "2278522671", "x-tl-result": "Vector<long>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<long>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[long](https://core.telegram.org/type/long.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/photos.deletePhotos"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPhoto", "oneOf": [{"$ref": "#/components/schemas/inputPhotoEmpty"}, {"$ref": "#/components/schemas/inputPhoto"}], "description": "TL Type: InputPhoto."}, "x-tl-type": "Vector<InputPhoto>", "description": "Input photos to delete"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputPhoto>` | Ja | Input photos to delete |"}, "x-browser-schema-id": "2278522671"}}, "/catalog/photos.getUserPhotos": {"post": {"operationId": "photos.getUserPhotos", "tags": ["Photos"], "summary": "Returns the list of user photos.", "description": "Returns the list of user photos.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Dateiverweise](https://core.telegram.org/api/file-references.md)", "x-tl-method": "photos.getUserPhotos", "x-tl-id": "2446144168", "x-tl-result": "photos.Photos", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["File references", "https://core.telegram.org/api/file-references.md"]], "responses": {"200": {"description": "MTProto result · `photos.Photos`.\n\n[photos.Photos](https://core.telegram.org/type/photos.Photos.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "photos.Photos", "oneOf": [{"$ref": "#/components/schemas/photos.photos"}, {"$ref": "#/components/schemas/photos.photosSlice"}], "description": "TL type: photos.Photos."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MAX_ID_INVALID` – Die angegebene maximale ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/photos.getUserPhotos"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Benutzer-ID"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of list elements to be skipped"}, "max_id": {"type": "string", "pattern": "^-?\\d+$", "description": "If a positive value was transferred, the method will return only photos with IDs less than the set one. This parameter is often useful when [refetching file references »](https://core.telegram.org/api/file-references.md), as in conjuction with `limit=1` and `offset=-1` the [photo](https://core.telegram.org/constructor/photo.md) object with the `id` specified in `max_id` can be fetched.", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of list elements to be returned"}}, "additionalProperties": false, "required": ["user_id", "offset", "max_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | Benutzer-ID |\n| `offset` | `int` | Ja | Number of list elements to be skipped |\n| `max_id` | `long` | Ja | If a positive value was transferred, the method will return only photos with IDs less than the set one. This parameter is often useful when [refetching file references »](https://core.telegram.org/api/file-references.md), as in conjuction with `limit=1` and `offset=-1` the [photo](https://core.telegram.org/constructor/photo.md) object with the `id` specified in `max_id` can be fetched. |\n| `limit` | `int` | Ja | Number of list elements to be returned |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "MAX_ID_INVALID", "MSG_ID_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "2446144168"}}, "/catalog/photos.uploadContactProfilePhoto": {"post": {"operationId": "photos.uploadContactProfilePhoto", "tags": ["Photos"], "summary": "Upload a custom profile picture for a contact, or suggest a new profile picture to a contact.", "description": "Upload a custom profile picture for a contact, or suggest a new profile picture to a contact.\n\nDie Flags `file`, `video` und `video_emoji_markup` schließen sich gegenseitig aus.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Hochladen und Herunterladen von Dateien](https://core.telegram.org/api/files.md)", "x-tl-method": "photos.uploadContactProfilePhoto", "x-tl-id": "3779873393", "x-tl-result": "photos.Photo", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Uploading and Downloading Files", "https://core.telegram.org/api/files.md"]], "responses": {"200": {"description": "MTProto result · `photos.Photo`.\n\n[photos.Photo](https://core.telegram.org/type/photos.Photo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "photos.Photo", "oneOf": [{"$ref": "#/components/schemas/photos.photo"}], "description": "TL type: photos.Photo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CONTACT_MISSING` – Der angegebene Benutzer ist kein Kontakt.\n- 400 · `NEED_ACTION_MISSING` – Der Anrufer hat keine gültige Aktion (entweder Speichern oder Vorschlagen) für das Hochladen des Kontaktprofilfotos angegeben.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/photos.uploadContactProfilePhoto"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"suggest": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "If set, will send a [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) service message to `user_id`, suggesting them to use the specified profile picture; otherwise, will set a personal profile picture for the user (only visible to the current user)."}, "save": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "If set, removes a previously set personal profile picture (does not affect suggested profile pictures, to remove them simply delete the [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) service message with [messages.deleteMessages](https://core.telegram.org/method/messages.deleteMessages.md))."}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The contact"}, "file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Profile photo", "x-tl-flag": "flags.0?InputFile"}, "video": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "[Animated profile picture](https://core.telegram.org/api/files.md#animated-profile-pictures) video", "x-tl-flag": "flags.1?InputFile"}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "x-tl-flag": "flags.2?double", "description": "Fließkomma UNIX Zeitstempel in Sekunden, der den Frame des Videos/Stickers angibt, der als statische Vorschau verwendet werden soll; kann nur verwendet werden, wenn `video` oder `video_emoji_markup` eingestellt ist."}, "video_emoji_markup": {"type": "object", "x-tl-type": "VideoSize", "oneOf": [{"$ref": "#/components/schemas/videoSize"}, {"$ref": "#/components/schemas/videoSizeEmojiMarkup"}, {"$ref": "#/components/schemas/videoSizeStickerMarkup"}], "description": "Animiertes Sticker-Profilbild, muss entweder einen [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md)- oder einen [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)]-Konstruktor enthalten.", "x-tl-flag": "flags.5?VideoSize"}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `suggest` | `true` | Nein | If set, will send a [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) service message to `user_id`, suggesting them to use the specified profile picture; otherwise, will set a personal profile picture for the user (only visible to the current user). |\n| `save` | `true` | Nein | If set, removes a previously set personal profile picture (does not affect suggested profile pictures, to remove them simply delete the [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) service message with [messages.deleteMessages](https://core.telegram.org/method/messages.deleteMessages.md)). |\n| `user_id` | `InputUser` | Ja | The contact |\n| `file` | `InputFile` | Nein | Profile photo |\n| `video` | `InputFile` | Nein | [Animated profile picture](https://core.telegram.org/api/files.md#animated-profile-pictures) video |\n| `video_start_ts` | `double` | Nein | Fließkomma UNIX Zeitstempel in Sekunden, der den Frame des Videos/Stickers angibt, der als statische Vorschau verwendet werden soll; kann nur verwendet werden, wenn `video` oder `video_emoji_markup` eingestellt ist. |\n| `video_emoji_markup` | `VideoSize` | Nein | Animiertes Sticker-Profilbild, muss entweder einen [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md)- oder einen [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)]-Konstruktor enthalten. |"}, "x-telegram-rpc-errors": ["CONTACT_MISSING", "NEED_ACTION_MISSING", "USER_ID_INVALID"], "x-browser-schema-id": "3779873393"}}, "/catalog/upload.saveFilePart": {"post": {"operationId": "upload.saveFilePart", "tags": ["Files"], "summary": "Saves a part of file for further sending to one of the methods.", "description": "Saves a part of file for further sending to one of the methods.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "upload.saveFilePart", "x-tl-id": "3003426337", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILE_PART_EMPTY` – Der bereitgestellte Dateiteil ist leer.\n- 400 · `FILE_PART_INVALID` – Die Dateiteilnummer ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/upload.saveFilePart"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"file_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Zufälliger, vom Client erstellter Dateibezeichner", "x-tl-type": "long"}, "file_part": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Numerical order of a part"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Binary data, content of a part"}}, "additionalProperties": false, "required": ["file_id", "file_part", "bytes"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `file_id` | `long` | Ja | Zufälliger, vom Client erstellter Dateibezeichner |\n| `file_part` | `int` | Ja | Numerical order of a part |\n| `bytes` | `bytes` | Ja | Binary data, content of a part |"}, "x-telegram-rpc-errors": ["FILE_PART_EMPTY", "FILE_PART_INVALID", "MSG_ID_INVALID"], "x-browser-schema-id": "3003426337"}}, "/catalog/upload.getFile": {"post": {"operationId": "upload.getFile", "tags": ["Files"], "summary": "Returns content of a whole file or its part.", "description": "Returns content of a whole file or its part.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Dateiverweise](https://core.telegram.org/api/file-references.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)", "x-tl-method": "upload.getFile", "x-tl-id": "3193124286", "x-tl-result": "upload.File", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["File references", "https://core.telegram.org/api/file-references.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"]], "responses": {"200": {"description": "MTProto result · `upload.File`.\n\n[upload.File](https://core.telegram.org/type/upload.File.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "upload.File", "oneOf": [{"$ref": "#/components/schemas/upload.file"}, {"$ref": "#/components/schemas/upload.fileCdnRedirect"}], "description": "Type TL: upload.File."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CDN_METHOD_INVALID` – Sie können diese Methode nicht in einem CDN DC aufrufen.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 406 · `FILEREF_UPGRADE_NEEDED` – Der Client muss aktualisiert werden, um [Dateiverweise](https://core.telegram.org/api/file-references.md) zu unterstützen.\n- 400 · `FILE_ID_INVALID` – Die angegebene Datei-ID ist ungültig.\n- 400 · `FILE_REFERENCE_EMPTY` – Es wurde eine leere [Dateireferenz](https://core.telegram.org/api/file-references.md)] angegeben.\n- 400 · `FILE_REFERENCE_EXPIRED` – Dateireferenz abgelaufen, sie muss wie in [der Dokumentation](https://core.telegram.org/api/file-references.md) beschrieben] erneut abgerufen werden.\n- 400 · `FILE_REFERENCE_INVALID` – Der angegebene [Dateiverweis](https://core.telegram.org/api/file-references.md) ist ungültig.\n- 420 · `FLOOD_PREMIUM_WAIT_%d` – Bitte warten Sie %d Sekunden, bevor Sie die Aktion wiederholen, oder erwerben Sie ein [Telegram Premium-Abonnement](https://core.telegram.org/api/premium.md), um diese Ratenbegrenzung aufzuheben.\n- 400 · `LIMIT_INVALID` – Der angegebene Grenzwert ist ungültig.\n- 400 · `LOCATION_INVALID` – Der angegebene Standort ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `OFFSET_INVALID` – Der angegebene Offset ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/upload.getFile"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"precise": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Disable some checks on limit and offset values, useful for example to stream videos by keyframes"}, "cdn_supported": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether the current client supports [CDN downloads](https://core.telegram.org/cdn.md)"}, "location": {"type": "object", "x-tl-type": "InputFileLocation", "oneOf": [{"$ref": "#/components/schemas/inputFileLocation"}, {"$ref": "#/components/schemas/inputEncryptedFileLocation"}, {"$ref": "#/components/schemas/inputDocumentFileLocation"}, {"$ref": "#/components/schemas/inputSecureFileLocation"}, {"$ref": "#/components/schemas/inputTakeoutFileLocation"}, {"$ref": "#/components/schemas/inputPhotoFileLocation"}, {"$ref": "#/components/schemas/inputPhotoLegacyFileLocation"}, {"$ref": "#/components/schemas/inputPeerPhotoFileLocation"}, {"$ref": "#/components/schemas/inputStickerSetThumb"}, {"$ref": "#/components/schemas/inputGroupCallStream"}], "description": "File location"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Number of bytes to be skipped", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of bytes to be returned"}}, "additionalProperties": false, "required": ["location", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `precise` | `true` | Nein | Disable some checks on limit and offset values, useful for example to stream videos by keyframes |\n| `cdn_supported` | `true` | Nein | Whether the current client supports [CDN downloads](https://core.telegram.org/cdn.md) |\n| `location` | `InputFileLocation` | Ja | File location |\n| `offset` | `long` | Ja | Number of bytes to be skipped |\n| `limit` | `int` | Ja | Number of bytes to be returned |"}, "x-telegram-rpc-errors": ["CDN_METHOD_INVALID", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "FILEREF_UPGRADE_NEEDED", "FILE_ID_INVALID", "FILE_REFERENCE_EMPTY", "FILE_REFERENCE_EXPIRED", "FILE_REFERENCE_INVALID", "FLOOD_PREMIUM_WAIT_%d", "LIMIT_INVALID", "LOCATION_INVALID", "MSG_ID_INVALID", "OFFSET_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3193124286"}}, "/catalog/upload.saveBigFilePart": {"post": {"operationId": "upload.saveBigFilePart", "tags": ["Files"], "summary": "Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.", "description": "Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "upload.saveBigFilePart", "x-tl-id": "3732629309", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILE_PARTS_INVALID` – Die Anzahl der Dateiteile ist ungültig.\n- 400 · `FILE_PART_EMPTY` – Der bereitgestellte Dateiteil ist leer.\n- 400 · `FILE_PART_INVALID` – Die Dateiteilnummer ist ungültig.\n- 400 · `FILE_PART_SIZE_CHANGED` – Die Größe des bereitgestellten Dateiteils hat sich geändert.\n- 400 · `FILE_PART_SIZE_INVALID` – Die angegebene Dateiteilgröße ist ungültig.\n- 400 · `FILE_PART_TOO_BIG` – Der hochgeladene Dateiteil ist zu groß.\n- 400 · `FILE_PART_TOO_SMALL` – Die Größe des hochgeladenen Dateiteils ist zu klein. Die zulässigen Größen finden Sie in der Dokumentation."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/upload.saveBigFilePart"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"file_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Zufällige Datei-ID, vom Client erstellt", "x-tl-type": "long"}, "file_part": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Part sequence number"}, "file_total_parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Total number of parts"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Binary data, part contents"}}, "additionalProperties": false, "required": ["file_id", "file_part", "file_total_parts", "bytes"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `file_id` | `long` | Ja | Zufällige Datei-ID, vom Client erstellt |\n| `file_part` | `int` | Ja | Part sequence number |\n| `file_total_parts` | `int` | Ja | Total number of parts |\n| `bytes` | `bytes` | Ja | Binary data, part contents |"}, "x-telegram-rpc-errors": ["FILE_PARTS_INVALID", "FILE_PART_EMPTY", "FILE_PART_INVALID", "FILE_PART_SIZE_CHANGED", "FILE_PART_SIZE_INVALID", "FILE_PART_TOO_BIG", "FILE_PART_TOO_SMALL"], "x-browser-schema-id": "3732629309"}}, "/catalog/upload.getWebFile": {"post": {"operationId": "upload.getWebFile", "tags": ["Files"], "summary": "Returns content of a web file, by proxying the request through telegram, see the webfile docs for more info.", "description": "Returns content of a web file, by proxying the request through telegram, see the [webfile docs for more info](https://core.telegram.org/api/files.md#downloading-webfiles).\n\n**Hinweis**: Die Abfrage muss an den DC gesendet werden, der im `webfile_dc_id` [MTProto-Konfigurationsfeld](https://core.telegram.org/api/config.md#mtproto-configuration)] angegeben ist.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Hochladen und Herunterladen von Dateien](https://core.telegram.org/api/files.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "upload.getWebFile", "x-tl-id": "619086221", "x-tl-result": "upload.WebFile", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Uploading and Downloading Files", "https://core.telegram.org/api/files.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `upload.WebFile`.\n\n[upload.WebFile](https://core.telegram.org/type/upload.WebFile.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "upload.WebFile", "oneOf": [{"$ref": "#/components/schemas/upload.webFile"}], "description": "Type TL: upload.WebFile."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `DOCUMENT_INVALID` – Das angegebene Dokument ist ungültig.\n- 400 · `LOCATION_INVALID` – Der angegebene Standort ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/upload.getWebFile"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"location": {"type": "object", "x-tl-type": "InputWebFileLocation", "oneOf": [{"$ref": "#/components/schemas/inputWebFileLocation"}, {"$ref": "#/components/schemas/inputWebFileGeoPointLocation"}, {"$ref": "#/components/schemas/inputWebFileAudioAlbumThumbLocation"}], "description": "The file to download"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of bytes to be skipped"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of bytes to be returned"}}, "additionalProperties": false, "required": ["location", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `location` | `InputWebFileLocation` | Ja | The file to download |\n| `offset` | `int` | Ja | Number of bytes to be skipped |\n| `limit` | `int` | Ja | Number of bytes to be returned |"}, "x-telegram-rpc-errors": ["DOCUMENT_INVALID", "LOCATION_INVALID"], "x-browser-schema-id": "619086221"}}, "/catalog/upload.getCdnFile": {"post": {"operationId": "upload.getCdnFile", "tags": ["Files"], "summary": "Download a CDN file.", "description": "Download a [CDN](https://core.telegram.org/cdn.md) file.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "upload.getCdnFile", "x-tl-id": "962554330", "x-tl-result": "upload.CdnFile", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `upload.CdnFile`.\n\n[upload.CdnFile](https://core.telegram.org/type/upload.CdnFile.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "upload.CdnFile", "oneOf": [{"$ref": "#/components/schemas/upload.cdnFileReuploadNeeded"}, {"$ref": "#/components/schemas/upload.cdnFile"}], "description": "TL Type: upload.CdnFile."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILE_TOKEN_INVALID` – Der Master-DC hat den `file_token` nicht akzeptiert (e.g., das Token ist abgelaufen). Fahren Sie mit dem Herunterladen der Datei vom Master-DC mit upload.getFile fort.\n- 404 · `METHOD_INVALID` – Die angegebene Methode ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/upload.getCdnFile"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"file_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "File token"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Offset of chunk to download", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Length of chunk to download"}}, "additionalProperties": false, "required": ["file_token", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `file_token` | `bytes` | Ja | File token |\n| `offset` | `long` | Ja | Offset of chunk to download |\n| `limit` | `int` | Ja | Length of chunk to download |"}, "x-telegram-rpc-errors": ["FILE_TOKEN_INVALID", "METHOD_INVALID"], "x-browser-schema-id": "962554330"}}, "/catalog/upload.reuploadCdnFile": {"post": {"operationId": "upload.reuploadCdnFile", "tags": ["Files"], "summary": "Request a reupload of a certain file to a CDN DC.", "description": "Request a reupload of a certain file to a [CDN DC](https://core.telegram.org/cdn.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "upload.reuploadCdnFile", "x-tl-id": "2603046056", "x-tl-result": "Vector<FileHash>", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<FileHash>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[FileHash](https://core.telegram.org/type/FileHash.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "FileHash", "oneOf": [{"$ref": "#/components/schemas/fileHash"}], "description": "TL Type: FileHash."}, "x-tl-type": "Vector<FileHash>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CDN_METHOD_INVALID` – Sie können diese Methode nicht in einem CDN DC aufrufen.\n- 500 · `CDN_UPLOAD_TIMEOUT` – Beim erneuten Hochladen der Datei auf den CDN DC ist eine serverseitige Zeitüberschreitung aufgetreten.\n- 400 · `FILE_TOKEN_INVALID` – Der Master-DC hat den `file_token` nicht akzeptiert (e.g., das Token ist abgelaufen). Fahren Sie mit dem Herunterladen der Datei vom Master-DC mit upload.getFile fort.\n- 400 · `LOCATION_INVALID` – Der angegebene Standort ist ungültig.\n- 400 · `REQUEST_TOKEN_INVALID` – Der Master-DC hat den `request_token` vom CDN-DC nicht akzeptiert. Fahren Sie mit dem Herunterladen der Datei vom Master-DC mit upload.getFile fort.\n- 400 · `RSA_DECRYPT_FAILED` – Interne RSA Entschlüsselung fehlgeschlagen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/upload.reuploadCdnFile"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"file_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "File token"}, "request_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Request token"}}, "additionalProperties": false, "required": ["file_token", "request_token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `file_token` | `bytes` | Ja | File token |\n| `request_token` | `bytes` | Ja | Request token |"}, "x-telegram-rpc-errors": ["CDN_METHOD_INVALID", "CDN_UPLOAD_TIMEOUT", "FILE_TOKEN_INVALID", "LOCATION_INVALID", "REQUEST_TOKEN_INVALID", "RSA_DECRYPT_FAILED"], "x-browser-schema-id": "2603046056"}}, "/catalog/upload.getCdnFileHashes": {"post": {"operationId": "upload.getCdnFileHashes", "tags": ["Files"], "summary": "Get SHA256 hashes for verifying downloaded CDN files", "description": "Get SHA256 hashes for verifying downloaded [CDN](https://core.telegram.org/cdn.md) files\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "upload.getCdnFileHashes", "x-tl-id": "2447130417", "x-tl-result": "Vector<FileHash>", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<FileHash>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[FileHash](https://core.telegram.org/type/FileHash.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "FileHash", "oneOf": [{"$ref": "#/components/schemas/fileHash"}], "description": "TL Type: FileHash."}, "x-tl-type": "Vector<FileHash>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CDN_METHOD_INVALID` – Sie können diese Methode nicht in einem CDN DC aufrufen.\n- 400 · `FILE_TOKEN_INVALID` – Der Master-DC hat den `file_token` nicht akzeptiert (e.g., das Token ist abgelaufen). Fahren Sie mit dem Herunterladen der Datei vom Master-DC mit upload.getFile fort.\n- 400 · `RSA_DECRYPT_FAILED` – Interne RSA Entschlüsselung fehlgeschlagen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/upload.getCdnFileHashes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"file_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "File"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Offset from which to start getting hashes", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["file_token", "offset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `file_token` | `bytes` | Ja | File |\n| `offset` | `long` | Ja | Offset from which to start getting hashes |"}, "x-telegram-rpc-errors": ["CDN_METHOD_INVALID", "FILE_TOKEN_INVALID", "RSA_DECRYPT_FAILED"], "x-browser-schema-id": "2447130417"}}, "/catalog/upload.getFileHashes": {"post": {"operationId": "upload.getFileHashes", "tags": ["Files"], "summary": "Get SHA256 hashes for verifying downloaded files", "description": "Get SHA256 hashes for verifying downloaded files\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "upload.getFileHashes", "x-tl-id": "2438371370", "x-tl-result": "Vector<FileHash>", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<FileHash>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[FileHash](https://core.telegram.org/type/FileHash.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "FileHash", "oneOf": [{"$ref": "#/components/schemas/fileHash"}], "description": "TL Type: FileHash."}, "x-tl-type": "Vector<FileHash>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `LOCATION_INVALID` – Der angegebene Standort ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/upload.getFileHashes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"location": {"type": "object", "x-tl-type": "InputFileLocation", "oneOf": [{"$ref": "#/components/schemas/inputFileLocation"}, {"$ref": "#/components/schemas/inputEncryptedFileLocation"}, {"$ref": "#/components/schemas/inputDocumentFileLocation"}, {"$ref": "#/components/schemas/inputSecureFileLocation"}, {"$ref": "#/components/schemas/inputTakeoutFileLocation"}, {"$ref": "#/components/schemas/inputPhotoFileLocation"}, {"$ref": "#/components/schemas/inputPhotoLegacyFileLocation"}, {"$ref": "#/components/schemas/inputPeerPhotoFileLocation"}, {"$ref": "#/components/schemas/inputStickerSetThumb"}, {"$ref": "#/components/schemas/inputGroupCallStream"}], "description": "File"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Offset from which to get file hashes", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["location", "offset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `location` | `InputFileLocation` | Ja | File |\n| `offset` | `long` | Ja | Offset from which to get file hashes |"}, "x-telegram-rpc-errors": ["LOCATION_INVALID"], "x-browser-schema-id": "2438371370"}}, "/catalog/help.getConfig": {"post": {"operationId": "help.getConfig", "tags": ["Configuration and Help"], "summary": "Returns current configuration, including data center configuration.", "description": "Returns current configuration, including data center configuration.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "help.getConfig", "x-tl-id": "3304659051", "x-tl-result": "Config", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `Config`.\n\n[Config](https://core.telegram.org/type/Config.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Config", "oneOf": [{"$ref": "#/components/schemas/config"}], "description": "TL Type: Config."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CONNECTION_API_ID_INVALID` – Die angegebene API-ID ist ungültig.\n- 400 · `CONNECTION_APP_VERSION_EMPTY` – App-Version ist leer.\n- 400 · `CONNECTION_LAYER_INVALID` – Layer ungültig.\n- 400 · `DATA_INVALID` – Verschlüsselte Daten ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 403 · `USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellungen des Benutzers erlauben dies nicht."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getConfig"}, "x-telegram-rpc-errors": ["CONNECTION_API_ID_INVALID", "CONNECTION_APP_VERSION_EMPTY", "CONNECTION_LAYER_INVALID", "DATA_INVALID", "MSG_ID_INVALID", "USERNAME_INVALID", "USER_PRIVACY_RESTRICTED"], "x-browser-schema-id": "3304659051"}}, "/catalog/help.getNearestDc": {"post": {"operationId": "help.getNearestDc", "tags": ["Configuration and Help"], "summary": "Returns info on data center nearest to the user.", "description": "Returns info on data center nearest to the user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "help.getNearestDc", "x-tl-id": "531836966", "x-tl-result": "NearestDc", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `NearestDc`.\n\n[NearestDc](https://core.telegram.org/type/NearestDc.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "NearestDc", "oneOf": [{"$ref": "#/components/schemas/nearestDc"}], "description": "TL Type: NearestDc."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getNearestDc"}, "x-browser-schema-id": "531836966"}}, "/catalog/help.getAppUpdate": {"post": {"operationId": "help.getAppUpdate", "tags": ["Configuration and Help"], "summary": "Returns information on update availability for the current application.", "description": "Returns information on update availability for the current application.", "x-tl-method": "help.getAppUpdate", "x-tl-id": "1378703997", "x-tl-result": "help.AppUpdate", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `help.AppUpdate`.\n\n[help.AppUpdate](https://core.telegram.org/type/help.AppUpdate.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.AppUpdate", "oneOf": [{"$ref": "#/components/schemas/help.appUpdate"}, {"$ref": "#/components/schemas/help.noAppUpdate"}], "description": "Type TL: help.AppUpdate."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getAppUpdate"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"source": {"type": "string", "x-tl-type": "string", "description": "Source"}}, "additionalProperties": false, "required": ["source"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `source` | `string` | Ja | Source |"}, "x-browser-schema-id": "1378703997"}}, "/catalog/help.getInviteText": {"post": {"operationId": "help.getInviteText", "tags": ["Configuration and Help"], "summary": "Returns localized text of a text message with an invitation.", "description": "Returns localized text of a text message with an invitation.", "x-tl-method": "help.getInviteText", "x-tl-id": "1295590211", "x-tl-result": "help.InviteText", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `help.InviteText`.\n\n[help.InviteText](https://core.telegram.org/type/help.InviteText.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.InviteText", "oneOf": [{"$ref": "#/components/schemas/help.inviteText"}], "description": "Type TL: help.InviteText."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getInviteText"}, "x-browser-schema-id": "1295590211"}}, "/catalog/help.getSupport": {"post": {"operationId": "help.getSupport", "tags": ["Configuration and Help"], "summary": "Returns the support user for the \"ask a question\" feature.", "description": "Returns the support user for the \"ask a question\" feature.", "x-tl-method": "help.getSupport", "x-tl-id": "2631862477", "x-tl-result": "help.Support", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `help.Support`.\n\n[help.Support](https://core.telegram.org/type/help.Support.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.Support", "oneOf": [{"$ref": "#/components/schemas/help.support"}], "description": "Type TL: help.Support."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getSupport"}, "x-browser-schema-id": "2631862477"}}, "/catalog/help.setBotUpdatesStatus": {"post": {"operationId": "help.setBotUpdatesStatus", "tags": ["Configuration and Help"], "summary": "Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only", "description": "Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "help.setBotUpdatesStatus", "x-tl-id": "3961704397", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.setBotUpdatesStatus"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"pending_updates_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Number of pending updates"}, "message": {"type": "string", "x-tl-type": "string", "description": "Error message, if present"}}, "additionalProperties": false, "required": ["pending_updates_count", "message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `pending_updates_count` | `int` | Ja | Number of pending updates |\n| `message` | `string` | Ja | Error message, if present |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED"], "x-browser-schema-id": "3961704397"}}, "/catalog/help.getCdnConfig": {"post": {"operationId": "help.getCdnConfig", "tags": ["Configuration and Help"], "summary": "Get configuration for CDN file downloads.", "description": "Get configuration for [CDN](https://core.telegram.org/cdn.md) file downloads.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "help.getCdnConfig", "x-tl-id": "1375900482", "x-tl-result": "CdnConfig", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `CdnConfig`.\n\n[CdnConfig](https://core.telegram.org/type/CdnConfig.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "CdnConfig", "oneOf": [{"$ref": "#/components/schemas/cdnConfig"}], "description": "TL Type: CdnConfig."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getCdnConfig"}, "x-browser-schema-id": "1375900482"}}, "/catalog/help.getRecentMeUrls": {"post": {"operationId": "help.getRecentMeUrls", "tags": ["Configuration and Help"], "summary": "Get recently used `t.me` links.", "description": "Get recently used `t.me` links.\n\nWhen installing official applications from \"Download Telegram\" buttons present in [t.me](https://t.me) pages, a referral parameter is passed to applications after installation.  \nIf, after downloading the application, the user creates a new account (instead of logging into an existing one), the referral parameter should be imported using this method, which returns the [t.me](https://t.me) pages the user recently opened, before installing Telegram.", "x-tl-method": "help.getRecentMeUrls", "x-tl-id": "1036054804", "x-tl-result": "help.RecentMeUrls", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `help.RecentMeUrls`.\n\n[help.RecentMeUrls](https://core.telegram.org/type/help.RecentMeUrls.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.RecentMeUrls", "oneOf": [{"$ref": "#/components/schemas/help.recentMeUrls"}], "description": "Type TL: help.RecentMeUrls."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getRecentMeUrls"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"referer": {"type": "string", "x-tl-type": "string", "description": "Referrer"}}, "additionalProperties": false, "required": ["referer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `referer` | `string` | Ja | Referrer |"}, "x-browser-schema-id": "1036054804"}}, "/catalog/help.getTermsOfServiceUpdate": {"post": {"operationId": "help.getTermsOfServiceUpdate", "tags": ["Configuration and Help"], "summary": "Look for updates of telegram's terms of service", "description": "Look for updates of telegram's terms of service", "x-tl-method": "help.getTermsOfServiceUpdate", "x-tl-id": "749019089", "x-tl-result": "help.TermsOfServiceUpdate", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `help.TermsOfServiceUpdate`.\n\n[help.TermsOfServiceUpdate](https://core.telegram.org/type/help.TermsOfServiceUpdate.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.TermsOfServiceUpdate", "oneOf": [{"$ref": "#/components/schemas/help.termsOfServiceUpdateEmpty"}, {"$ref": "#/components/schemas/help.termsOfServiceUpdate"}], "description": "Type TL: help.TermsOfServiceUpdate."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getTermsOfServiceUpdate"}, "x-browser-schema-id": "749019089"}}, "/catalog/help.acceptTermsOfService": {"post": {"operationId": "help.acceptTermsOfService", "tags": ["Configuration and Help"], "summary": "Akzeptieren Sie die neuen Nutzungsbedingungen", "description": "Akzeptieren Sie die neuen Nutzungsbedingungen\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "help.acceptTermsOfService", "x-tl-id": "4000511898", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `DATA_JSON_INVALID` – Die bereitgestellten JSON-Daten sind ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.acceptTermsOfService"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "ID of terms of service"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `DataJSON` | Ja | ID of terms of service |"}, "x-telegram-rpc-errors": ["DATA_JSON_INVALID"], "x-browser-schema-id": "4000511898"}}, "/catalog/help.getDeepLinkInfo": {"post": {"operationId": "help.getDeepLinkInfo", "tags": ["Configuration and Help"], "summary": "Get info about an unsupported deep link, see here for more info ».", "description": "Get info about an unsupported deep link, see [here for more info »](https://core.telegram.org/api/links.md#unsupported-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "help.getDeepLinkInfo", "x-tl-id": "1072547679", "x-tl-result": "help.DeepLinkInfo", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `help.DeepLinkInfo`.\n\n[help.DeepLinkInfo](https://core.telegram.org/type/help.DeepLinkInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.DeepLinkInfo", "oneOf": [{"$ref": "#/components/schemas/help.deepLinkInfoEmpty"}, {"$ref": "#/components/schemas/help.deepLinkInfo"}], "description": "Type TL: help.DeepLinkInfo."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getDeepLinkInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"path": {"type": "string", "x-tl-type": "string", "description": "Path component of a `tg:` link"}}, "additionalProperties": false, "required": ["path"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `path` | `string` | Ja | Path component of a `tg:` link |"}, "x-browser-schema-id": "1072547679"}}, "/catalog/help.getAppConfig": {"post": {"operationId": "help.getAppConfig", "tags": ["Configuration and Help"], "summary": "Get app-specific configuration, see client configuration for more info on the result.", "description": "Get app-specific configuration, see [client configuration](https://core.telegram.org/api/config.md#client-configuration) for more info on the result.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "help.getAppConfig", "x-tl-id": "1642330196", "x-tl-result": "help.AppConfig", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `help.AppConfig`.\n\n[help.AppConfig](https://core.telegram.org/type/help.AppConfig.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.AppConfig", "oneOf": [{"$ref": "#/components/schemas/help.appConfigNotModified"}, {"$ref": "#/components/schemas/help.appConfig"}], "description": "TL type: help.AppConfig."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getAppConfig"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1642330196"}}, "/catalog/help.saveAppLog": {"post": {"operationId": "help.saveAppLog", "tags": ["Configuration and Help"], "summary": "Saves logs of application on the server.", "description": "Saves logs of application on the server.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "help.saveAppLog", "x-tl-id": "1862465352", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.saveAppLog"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"events": {"type": "array", "items": {"type": "object", "x-tl-type": "InputAppEvent", "oneOf": [{"$ref": "#/components/schemas/inputAppEvent"}], "description": "TL Type: InputAppEvent."}, "x-tl-type": "Vector<InputAppEvent>", "description": "List of input events"}}, "additionalProperties": false, "required": ["events"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `events` | `Vector<InputAppEvent>` | Ja | List of input events |"}, "x-browser-schema-id": "1862465352"}}, "/catalog/help.getPassportConfig": {"post": {"operationId": "help.getPassportConfig", "tags": ["Configuration and Help"], "summary": "Get passport configuration", "description": "Get [passport](https://core.telegram.org/passport.md) configuration\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "help.getPassportConfig", "x-tl-id": "3328290056", "x-tl-result": "help.PassportConfig", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `help.PassportConfig`.\n\n[help.PassportConfig](https://core.telegram.org/type/help.PassportConfig.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.PassportConfig", "oneOf": [{"$ref": "#/components/schemas/help.passportConfigNotModified"}, {"$ref": "#/components/schemas/help.passportConfig"}], "description": "Type TL: help.PassportConfig."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getPassportConfig"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3328290056"}}, "/catalog/help.getSupportName": {"post": {"operationId": "help.getSupportName", "tags": ["Configuration and Help"], "summary": "Get localized name of the telegram support user", "description": "Get localized name of the telegram support user\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "help.getSupportName", "x-tl-id": "3546343212", "x-tl-result": "help.SupportName", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `help.SupportName`.\n\n[help.SupportName](https://core.telegram.org/type/help.SupportName.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.SupportName", "oneOf": [{"$ref": "#/components/schemas/help.supportName"}], "description": "Type TL: help.SupportName."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `USER_INVALID` – Ungültiger Benutzer angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getSupportName"}, "x-telegram-rpc-errors": ["USER_INVALID"], "x-browser-schema-id": "3546343212"}}, "/catalog/help.getUserInfo": {"post": {"operationId": "help.getUserInfo", "tags": ["Configuration and Help"], "summary": "Can only be used by TSF members to obtain internal information.", "description": "Can only be used by TSF members to obtain internal information.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "help.getUserInfo", "x-tl-id": "59377875", "x-tl-result": "help.UserInfo", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `help.UserInfo`.\n\n[help.UserInfo](https://core.telegram.org/type/help.UserInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.UserInfo", "oneOf": [{"$ref": "#/components/schemas/help.userInfoEmpty"}, {"$ref": "#/components/schemas/help.userInfo"}], "description": "Type TL: help.UserInfo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `USER_INVALID` – Ungültiger Benutzer angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getUserInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Benutzer-ID"}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | Benutzer-ID |"}, "x-telegram-rpc-errors": ["USER_INVALID"], "x-browser-schema-id": "59377875"}}, "/catalog/help.editUserInfo": {"post": {"operationId": "help.editUserInfo", "tags": ["Configuration and Help"], "summary": "Interner Gebrauch", "description": "Interner Gebrauch\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)", "x-tl-method": "help.editUserInfo", "x-tl-id": "1723407216", "x-tl-result": "help.UserInfo", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Styled text with message entities", "https://core.telegram.org/api/entities.md"]], "responses": {"200": {"description": "MTProto result · `help.UserInfo`.\n\n[help.UserInfo](https://core.telegram.org/type/help.UserInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.UserInfo", "oneOf": [{"$ref": "#/components/schemas/help.userInfoEmpty"}, {"$ref": "#/components/schemas/help.userInfo"}], "description": "Type TL: help.UserInfo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ENTITY_BOUNDS_INVALID` – Ein angegebener [Entitätsversatz oder eine angegebene Entitätslänge](https://core.telegram.org/api/entities.md#entity-length) ist ungültig, siehe [hier »](https://core.telegram.org/api/entities.md#entity-length) für Informationen zur richtigen Berechnung des Entitätsversatzes/der Entitätslänge.\n- 403 · `USER_INVALID` – Ungültiger Benutzer angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.editUserInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Benutzer"}, "message": {"type": "string", "x-tl-type": "string", "description": "Nachricht"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)"}}, "additionalProperties": false, "required": ["user_id", "message", "entities"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | Benutzer |\n| `message` | `string` | Ja | Nachricht |\n| `entities` | `Vector<MessageEntity>` | Ja | [Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md) |"}, "x-telegram-rpc-errors": ["ENTITY_BOUNDS_INVALID", "USER_INVALID"], "x-browser-schema-id": "1723407216"}}, "/catalog/help.getPromoData": {"post": {"operationId": "help.getPromoData", "tags": ["Configuration and Help"], "summary": "Returns a set of useful suggestions and PSA/MTProxy sponsored peers, see here » for more info.", "description": "Returns a set of useful suggestions and PSA/MTProxy sponsored peers, see [here »](https://core.telegram.org/api/config.md#suggestions) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "help.getPromoData", "x-tl-id": "3231151137", "x-tl-result": "help.PromoData", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `help.PromoData`.\n\n[help.PromoData](https://core.telegram.org/type/help.PromoData.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.PromoData", "oneOf": [{"$ref": "#/components/schemas/help.promoDataEmpty"}, {"$ref": "#/components/schemas/help.promoData"}], "description": "Type TL: help.PromoData."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getPromoData"}, "x-browser-schema-id": "3231151137"}}, "/catalog/help.hidePromoData": {"post": {"operationId": "help.hidePromoData", "tags": ["Configuration and Help"], "summary": "Hide MTProxy/Public Service Announcement information", "description": "Hide MTProxy/Public Service Announcement information", "x-tl-method": "help.hidePromoData", "x-tl-id": "505748629", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.hidePromoData"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer to hide"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer to hide |"}, "x-browser-schema-id": "505748629"}}, "/catalog/help.dismissSuggestion": {"post": {"operationId": "help.dismissSuggestion", "tags": ["Configuration and Help"], "summary": "Dismiss a suggestion, see here for more info ».", "description": "Dismiss a [suggestion, see here for more info »](https://core.telegram.org/api/config.md#suggestions).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "help.dismissSuggestion", "x-tl-id": "4111317665", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.dismissSuggestion"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "In the case of pending suggestions in [channels](https://core.telegram.org/constructor/channelFull.md), the channel ID."}, "suggestion": {"type": "string", "x-tl-type": "string", "description": "[Suggestion, see here for more info »](https://core.telegram.org/api/config.md#suggestions)."}}, "additionalProperties": false, "required": ["peer", "suggestion"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | In the case of pending suggestions in [channels](https://core.telegram.org/constructor/channelFull.md), the channel ID. |\n| `suggestion` | `string` | Ja | [Suggestion, see here for more info »](https://core.telegram.org/api/config.md#suggestions). |"}, "x-browser-schema-id": "4111317665"}}, "/catalog/help.getCountriesList": {"post": {"operationId": "help.getCountriesList", "tags": ["Configuration and Help"], "summary": "Get name, ISO code, localized name and phone codes/patterns of all available countries", "description": "Get name, ISO code, localized name and phone codes/patterns of all available countries\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "help.getCountriesList", "x-tl-id": "1935116200", "x-tl-result": "help.CountriesList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `help.CountriesList`.\n\n[help.CountriesList](https://core.telegram.org/type/help.CountriesList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.CountriesList", "oneOf": [{"$ref": "#/components/schemas/help.countriesListNotModified"}, {"$ref": "#/components/schemas/help.countriesList"}], "description": "Type TL: help.CountriesList."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getCountriesList"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_code": {"type": "string", "x-tl-type": "string", "description": "Language code of the current user"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["lang_code", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | Ja | Language code of the current user |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1935116200"}}, "/catalog/help.getPremiumPromo": {"post": {"operationId": "help.getPremiumPromo", "tags": ["Configuration and Help"], "summary": "Get Telegram Premium promotion information", "description": "Get Telegram Premium promotion information", "x-tl-method": "help.getPremiumPromo", "x-tl-id": "3088815060", "x-tl-result": "help.PremiumPromo", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `help.PremiumPromo`.\n\n[help.PremiumPromo](https://core.telegram.org/type/help.PremiumPromo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.PremiumPromo", "oneOf": [{"$ref": "#/components/schemas/help.premiumPromo"}], "description": "Type TL: help.PremiumPromo."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getPremiumPromo"}, "x-browser-schema-id": "3088815060"}}, "/catalog/help.getPeerColors": {"post": {"operationId": "help.getPeerColors", "tags": ["Configuration and Help"], "summary": "Get the set of accent color palettes » that can be used for message accents.", "description": "Get the set of [accent color palettes »](https://core.telegram.org/api/colors.md) that can be used for message accents.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Akzentfarben](https://core.telegram.org/api/colors.md)", "x-tl-method": "help.getPeerColors", "x-tl-id": "3665884207", "x-tl-result": "help.PeerColors", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Accent colors", "https://core.telegram.org/api/colors.md"]], "responses": {"200": {"description": "MTProto result · `help.PeerColors`.\n\n[help.PeerColors](https://core.telegram.org/type/help.PeerColors.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.PeerColors", "oneOf": [{"$ref": "#/components/schemas/help.peerColorsNotModified"}, {"$ref": "#/components/schemas/help.peerColors"}], "description": "Type TL: help.PeerColors."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getPeerColors"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3665884207"}}, "/catalog/help.getPeerProfileColors": {"post": {"operationId": "help.getPeerProfileColors", "tags": ["Configuration and Help"], "summary": "Get the set of accent color palettes » that can be used in profile page backgrounds.", "description": "Get the set of [accent color palettes »](https://core.telegram.org/api/colors.md) that can be used in profile page backgrounds.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Akzentfarben](https://core.telegram.org/api/colors.md)", "x-tl-method": "help.getPeerProfileColors", "x-tl-id": "2882513405", "x-tl-result": "help.PeerColors", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Accent colors", "https://core.telegram.org/api/colors.md"]], "responses": {"200": {"description": "MTProto result · `help.PeerColors`.\n\n[help.PeerColors](https://core.telegram.org/type/help.PeerColors.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.PeerColors", "oneOf": [{"$ref": "#/components/schemas/help.peerColorsNotModified"}, {"$ref": "#/components/schemas/help.peerColors"}], "description": "Type TL: help.PeerColors."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getPeerProfileColors"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2882513405"}}, "/catalog/help.getTimezonesList": {"post": {"operationId": "help.getTimezonesList", "tags": ["Configuration and Help"], "summary": "Returns timezone information that may be used elsewhere in the API, such as to set Telegram Business opening hours ».", "description": "Returns timezone information that may be used elsewhere in the API, such as to set [Telegram Business opening hours »](https://core.telegram.org/api/business.md#opening-hours).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "help.getTimezonesList", "x-tl-id": "1236468288", "x-tl-result": "help.TimezonesList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `help.TimezonesList`.\n\n[help.TimezonesList](https://core.telegram.org/type/help.TimezonesList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "help.TimezonesList", "oneOf": [{"$ref": "#/components/schemas/help.timezonesListNotModified"}, {"$ref": "#/components/schemas/help.timezonesList"}], "description": "Type TL: help.TimezonesList."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/help.getTimezonesList"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1236468288"}}, "/catalog/channels.readHistory": {"post": {"operationId": "channels.readHistory", "tags": ["Kanäle und Supergruppen"], "summary": "Mark channel/supergroup history as read", "description": "Mark [channel/supergroup](https://core.telegram.org/api/channel.md) history as read\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.readHistory", "x-tl-id": "3423619383", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.readHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Channel/supergroup](https://core.telegram.org/api/channel.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of message up to which messages should be marked as read"}}, "additionalProperties": false, "required": ["channel", "max_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | [Channel/supergroup](https://core.telegram.org/api/channel.md) |\n| `max_id` | `int` | Ja | ID of message up to which messages should be marked as read |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID"], "x-browser-schema-id": "3423619383"}}, "/catalog/channels.deleteMessages": {"post": {"operationId": "channels.deleteMessages", "tags": ["Kanäle und Supergruppen"], "summary": "Delete messages in a channel/supergroup", "description": "Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "channels.deleteMessages", "x-tl-id": "2227305806", "x-tl-result": "messages.AffectedMessages", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `messages.AffectedMessages`.\n\n[messages.AffectedMessages](https://core.telegram.org/type/messages.AffectedMessages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedMessages", "oneOf": [{"$ref": "#/components/schemas/messages.affectedMessages"}], "description": "TL type: messages.AffectedMessages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 420 · `FROZEN_METHOD_INVALID` – Das aktuelle Konto ist [eingefroren](https://core.telegram.org/api/auth.md#frozen-accounts) und kann daher die angegebene Aktion nicht ausführen.\n- 403 · `MESSAGE_DELETE_FORBIDDEN` – Sie können eine der Nachrichten, die Sie löschen wollten, nicht löschen, wahrscheinlich weil es sich um eine Dienstnachricht handelt.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.deleteMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Channel/supergroup](https://core.telegram.org/api/channel.md)"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of messages to delete"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | [Channel/supergroup](https://core.telegram.org/api/channel.md) |\n| `id` | `Vector<int>` | Ja | IDs of messages to delete |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "FROZEN_METHOD_INVALID", "MESSAGE_DELETE_FORBIDDEN", "MSG_ID_INVALID"], "x-browser-schema-id": "2227305806"}}, "/catalog/channels.reportSpam": {"post": {"operationId": "channels.reportSpam", "tags": ["Kanäle und Supergruppen"], "summary": "Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup", "description": "Reports some messages from a user in a supergroup as spam; requires administrator rights in the supergroup\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "channels.reportSpam", "x-tl-id": "4098523925", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.reportSpam"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Supergroup"}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Participant whose messages should be reported"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of spam messages"}}, "additionalProperties": false, "required": ["channel", "participant", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Supergroup |\n| `participant` | `InputPeer` | Ja | Participant whose messages should be reported |\n| `id` | `Vector<int>` | Ja | IDs of spam messages |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "4098523925"}}, "/catalog/channels.getMessages": {"post": {"operationId": "channels.getMessages", "tags": ["Kanäle und Supergruppen"], "summary": "Get channel/supergroup messages", "description": "Get [channel/supergroup](https://core.telegram.org/api/channel.md) messages\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "channels.getMessages", "x-tl-id": "2911672867", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `FROZEN_PARTICIPANT_MISSING` – Das aktuelle Konto ist [eingefroren](https://core.telegram.org/api/auth.md#frozen-accounts) und kann nicht auf den angegebenen Peer zugreifen.\n- 400 · `MESSAGE_IDS_EMPTY` – Es wurden keine Nachrichten-IDs angegeben.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal/Supergruppe"}, "id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputMessage", "oneOf": [{"$ref": "#/components/schemas/inputMessageID"}, {"$ref": "#/components/schemas/inputMessageReplyTo"}, {"$ref": "#/components/schemas/inputMessagePinned"}, {"$ref": "#/components/schemas/inputMessageCallbackQuery"}], "description": "TL Type: InputMessage."}, "x-tl-type": "Vector<InputMessage>", "description": "IDs of messages to get"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Kanal/Supergruppe |\n| `id` | `Vector<InputMessage>` | Ja | IDs of messages to get |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_NOT_MODIFIED", "FROZEN_PARTICIPANT_MISSING", "MESSAGE_IDS_EMPTY", "MSG_ID_INVALID", "USER_BANNED_IN_CHANNEL"], "x-browser-schema-id": "2911672867"}}, "/catalog/channels.getParticipants": {"post": {"operationId": "channels.getParticipants", "tags": ["Kanäle und Supergruppen"], "summary": "Get the participants of a supergroup/channel", "description": "Get the participants of a [supergroup/channel](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.getParticipants", "x-tl-id": "2010044880", "x-tl-result": "channels.ChannelParticipants", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `channels.ChannelParticipants`.\n\n[channels.ChannelParticipants](https://core.telegram.org/type/channels.ChannelParticipants.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "channels.ChannelParticipants", "oneOf": [{"$ref": "#/components/schemas/channels.channelParticipants"}, {"$ref": "#/components/schemas/channels.channelParticipantsNotModified"}], "description": "TL type: channels.ChannelParticipants."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getParticipants"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal"}, "filter": {"type": "object", "x-tl-type": "ChannelParticipantsFilter", "oneOf": [{"$ref": "#/components/schemas/channelParticipantsRecent"}, {"$ref": "#/components/schemas/channelParticipantsAdmins"}, {"$ref": "#/components/schemas/channelParticipantsKicked"}, {"$ref": "#/components/schemas/channelParticipantsBots"}, {"$ref": "#/components/schemas/channelParticipantsBanned"}, {"$ref": "#/components/schemas/channelParticipantsSearch"}, {"$ref": "#/components/schemas/channelParticipantsContacts"}, {"$ref": "#/components/schemas/channelParticipantsMentions"}], "description": "Which participant types to fetch"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offset](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Limit](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["channel", "filter", "offset", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Kanal |\n| `filter` | `ChannelParticipantsFilter` | Ja | Which participant types to fetch |\n| `offset` | `int` | Ja | [Offset](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | [Limit](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | Ja | [Hash](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "MSG_ID_INVALID"], "x-browser-schema-id": "2010044880"}}, "/catalog/channels.getParticipant": {"post": {"operationId": "channels.getParticipant", "tags": ["Kanäle und Supergruppen"], "summary": "Get info about a channel/supergroup participant", "description": "Get info about a [channel/supergroup](https://core.telegram.org/api/channel.md) participant\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.getParticipant", "x-tl-id": "2695589062", "x-tl-result": "channels.ChannelParticipant", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `channels.ChannelParticipant`.\n\n[channels.ChannelParticipant](https://core.telegram.org/type/channels.ChannelParticipant.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "channels.ChannelParticipant", "oneOf": [{"$ref": "#/components/schemas/channels.channelParticipant"}], "description": "TL type: channels.ChannelParticipant."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PARTICIPANT_ID_INVALID` — Die angegebene Teilnehmer-ID ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 400 · `USER_NOT_PARTICIPANT` — Du bist kein Mitglied dieser Supergruppe/dieses Kanals."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getParticipant"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal/Supergruppe"}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Participant to get info about"}}, "additionalProperties": false, "required": ["channel", "participant"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Kanal/Supergruppe |\n| `participant` | `InputPeer` | Ja | Participant to get info about |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "MSG_ID_INVALID", "PARTICIPANT_ID_INVALID", "USER_ID_INVALID", "USER_NOT_PARTICIPANT"], "x-browser-schema-id": "2695589062"}}, "/catalog/channels.getChannels": {"post": {"operationId": "channels.getChannels", "tags": ["Kanäle und Supergruppen"], "summary": "Get info about channels/supergroups", "description": "Get info about [channels/supergroups](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.getChannels", "x-tl-id": "176122811", "x-tl-result": "messages.Chats", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `messages.Chats`.\n\n[messages.Chats](https://core.telegram.org/type/messages.Chats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Chats", "oneOf": [{"$ref": "#/components/schemas/messages.chats"}, {"$ref": "#/components/schemas/messages.chatsSlice"}], "description": "TL type: messages.Chats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getChannels"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel."}, "x-tl-type": "Vector<InputChannel>", "description": "IDs of channels/supergroups to get info about"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputChannel>` | Ja | IDs of channels/supergroups to get info about |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "USER_BANNED_IN_CHANNEL"], "x-browser-schema-id": "176122811"}}, "/catalog/channels.getFullChannel": {"post": {"operationId": "channels.getFullChannel", "tags": ["Kanäle und Supergruppen"], "summary": "Get channel details", "description": "Returns extended data for a channel, supergroup, or gigagroup.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.getFullChannel", "x-tl-id": "141781513", "x-tl-result": "messages.ChatFull", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `messages.ChatFull`.\n\n[messages.ChatFull](https://core.telegram.org/type/messages.ChatFull.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ChatFull", "oneOf": [{"$ref": "#/components/schemas/messages.chatFull"}], "description": "TL type: messages.ChatFull."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHANNEL_PUBLIC_GROUP_NA` – Kanal/Supergruppe nicht verfügbar.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getFullChannel"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The channel or group about which you want to obtain information."}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The channel or group about which you want to obtain information. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHANNEL_PUBLIC_GROUP_NA", "CHAT_NOT_MODIFIED", "MSG_ID_INVALID"], "x-browser-schema-id": "141781513"}}, "/catalog/channels.createChannel": {"post": {"operationId": "channels.createChannel", "tags": ["Kanäle und Supergruppen"], "summary": "Erstelle eine Supergruppe/einen Kanal.", "description": "Create a [supergroup/channel](https://core.telegram.org/api/channel.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Forumsthemen](https://core.telegram.org/api/forum.md)\n- [Benutzer und Chats in der Nähe](https://core.telegram.org/api/nearby.md)", "x-tl-method": "channels.createChannel", "x-tl-id": "2432722695", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Forum topics", "https://core.telegram.org/api/forum.md"], ["Nearby users&chats", "https://core.telegram.org/api/nearby.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ADDRESS_INVALID` – Die angegebene Geopunktadresse ist ungültig.\n- 400 · `CHANNELS_ADMIN_LOCATED_TOO_MUCH` – Der Benutzer hat die Grenze der öffentlichen Geogruppen erreicht.\n- 400 · `CHANNELS_TOO_MUCH` – Du bist zu vielen Kanälen/Supergruppen beigetreten.\n- 400 · `CHAT_ABOUT_TOO_LONG` – Chatten Sie zu lange darüber.\n- 500 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `CHAT_TITLE_EMPTY` – Kein Chattitel angegeben.\n- 400 · `TTL_PERIOD_INVALID` – Der angegebene TTL-Zeitraum ist ungültig.\n- 406 · `USER_RESTRICTED` — You're spamreported, you can't create channels or chats."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.createChannel"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"broadcast": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to create a [channel](https://core.telegram.org/api/channel.md)"}, "megagroup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to create a [supergroup](https://core.telegram.org/api/channel.md)"}, "for_import": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Whether the supergroup is being created to import messages from a foreign chat service using [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md)"}, "forum": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Whether to create a [forum](https://core.telegram.org/api/forum.md)"}, "title": {"type": "string", "x-tl-type": "string", "description": "Kanaltitel"}, "about": {"type": "string", "x-tl-type": "string", "description": "Kanalbeschreibung"}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "Geogroup location, see [here »](https://core.telegram.org/api/nearby.md) for more info on geogroups.", "x-tl-flag": "flags.2?InputGeoPoint"}, "address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Geogroup address, see [here »](https://core.telegram.org/api/nearby.md) for more info on geogroups."}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int", "description": "Time-to-live of all messages that will be sent in the supergroup: once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. You can use [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) to edit this value later."}}, "additionalProperties": false, "required": ["title", "about"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `broadcast` | `true` | Nein | Whether to create a [channel](https://core.telegram.org/api/channel.md) |\n| `megagroup` | `true` | Nein | Whether to create a [supergroup](https://core.telegram.org/api/channel.md) |\n| `for_import` | `true` | Nein | Whether the supergroup is being created to import messages from a foreign chat service using [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) |\n| `forum` | `true` | Nein | Whether to create a [forum](https://core.telegram.org/api/forum.md) |\n| `title` | `string` | Ja | Kanaltitel |\n| `about` | `string` | Ja | Kanalbeschreibung |\n| `geo_point` | `InputGeoPoint` | Nein | Geogroup location, see [here »](https://core.telegram.org/api/nearby.md) for more info on geogroups. |\n| `address` | `string` | Nein | Geogroup address, see [here »](https://core.telegram.org/api/nearby.md) for more info on geogroups. |\n| `ttl_period` | `int` | Nein | Time-to-live of all messages that will be sent in the supergroup: once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. You can use [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) to edit this value later. |"}, "x-telegram-rpc-errors": ["ADDRESS_INVALID", "CHANNELS_ADMIN_LOCATED_TOO_MUCH", "CHANNELS_TOO_MUCH", "CHAT_ABOUT_TOO_LONG", "CHAT_INVALID", "CHAT_TITLE_EMPTY", "TTL_PERIOD_INVALID", "USER_RESTRICTED"], "x-browser-schema-id": "2432722695"}}, "/catalog/channels.editAdmin": {"post": {"operationId": "channels.editAdmin", "tags": ["Kanäle und Supergruppen"], "summary": "Modify the admin rights of a user in a supergroup/channel.", "description": "Modify the admin rights of a user in a [supergroup/channel](https://core.telegram.org/api/channel.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.editAdmin", "x-tl-id": "2593697128", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `ADMINS_TOO_MUCH` — Es gibt zu viele Administratoren.\n- 400 · `ADMIN_RANK_EMOJI_NOT_ALLOWED` – Ein Admin-Rang darf keine Emojis enthalten.\n- 400 · `ADMIN_RANK_INVALID` – Der angegebene Admin-Rang ist ungültig.\n- 400 · `BOTS_TOO_MUCH` — Es gibt zu viele Bots in diesem Chat/Kanal.\n- 400 · `BOT_CHANNELS_NA` – Bots können keine Administratorrechte bearbeiten.\n- 400 · `BOT_GROUPS_BLOCKED` — Dieser Bot kann nicht zu Gruppen hinzugefügt werden.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_INVITE_REQUIRED` — Sie haben nicht das Recht, dies zu tun.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 406 · `FRESH_CHANGE_ADMINS_FORBIDDEN` – Sie wurden gerade zum Administrator gewählt. Sie können noch keine anderen Administratoren hinzufügen oder ändern.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 403 · `RIGHT_FORBIDDEN` — Your admin rights do not allow you to do this.\n- 400 · `USERS_TOO_MUCH` — The maximum number of users has been exceeded (to create a chat, for example).\n- 400 · `USER_BLOCKED` — User blocked.\n- 403 · `USER_CHANNELS_TOO_MUCH` – Einer der Benutzer, die Sie hinzufügen wollten, ist bereits in zu vielen Kanälen/Supergruppen.\n- 400 · `USER_CREATOR` – Für channels.editAdmin: Sie haben versucht, die Administratorrechte des Eigentümers zu bearbeiten, sind aber nicht der Eigentümer; für channels.leaveChannel: Du kannst diesen Kanal nicht verlassen, weil du sein Ersteller bist.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 400 · `USER_KICKED` — Dieser Benutzer wurde aus dieser Supergruppe/diesem Kanal gekickt.\n- 403 · `USER_NOT_MUTUAL_CONTACT` — Der angegebene Benutzer ist kein gemeinsamer Kontakt.\n- 403 · `USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellungen des Benutzers erlauben dies nicht.\n- 403 · `USER_RESTRICTED` — Du wurdest als Spam gemeldet, du kannst keine Kanäle oder Chats erstellen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.editAdmin"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The [supergroup/channel](https://core.telegram.org/api/channel.md)."}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The ID of the user whose admin rights should be modified"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "oneOf": [{"$ref": "#/components/schemas/chatAdminRights"}], "description": "The admin rights"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Indicates the role (rank) of the admin in the group: just an arbitrary string. If the flag is not set, the rank is left unchanged."}}, "additionalProperties": false, "required": ["channel", "user_id", "admin_rights"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The [supergroup/channel](https://core.telegram.org/api/channel.md). |\n| `user_id` | `InputUser` | Ja | The ID of the user whose admin rights should be modified |\n| `admin_rights` | `ChatAdminRights` | Ja | The admin rights |\n| `rank` | `string` | Nein | Indicates the role (rank) of the admin in the group: just an arbitrary string. If the flag is not set, the rank is left unchanged. |"}, "x-telegram-rpc-errors": ["ADMINS_TOO_MUCH", "ADMIN_RANK_EMOJI_NOT_ALLOWED", "ADMIN_RANK_INVALID", "BOTS_TOO_MUCH", "BOT_CHANNELS_NA", "BOT_GROUPS_BLOCKED", "CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "CHAT_ADMIN_INVITE_REQUIRED", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "FRESH_CHANGE_ADMINS_FORBIDDEN", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PEER_ID_INVALID", "RIGHT_FORBIDDEN", "USERS_TOO_MUCH", "USER_BLOCKED", "USER_CHANNELS_TOO_MUCH", "USER_CREATOR", "USER_ID_INVALID", "USER_KICKED", "USER_NOT_MUTUAL_CONTACT", "USER_PRIVACY_RESTRICTED", "USER_RESTRICTED"], "x-browser-schema-id": "2593697128"}}, "/catalog/channels.editTitle": {"post": {"operationId": "channels.editTitle", "tags": ["Kanäle und Supergruppen"], "summary": "Edit the name of a channel/supergroup", "description": "Edit the name of a [channel/supergroup](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.editTitle", "x-tl-id": "1450044624", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `CHAT_TITLE_EMPTY` – Kein Chattitel angegeben.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.editTitle"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal/Supergruppe"}, "title": {"type": "string", "x-tl-type": "string", "description": "New name"}}, "additionalProperties": false, "required": ["channel", "title"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Kanal/Supergruppe |\n| `title` | `string` | Ja | New name |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_INVALID", "CHAT_NOT_MODIFIED", "CHAT_TITLE_EMPTY", "CHAT_WRITE_FORBIDDEN"], "x-browser-schema-id": "1450044624"}}, "/catalog/channels.editPhoto": {"post": {"operationId": "channels.editPhoto", "tags": ["Kanäle und Supergruppen"], "summary": "Ändern Sie das Foto eines Kanals/einer Supergruppe", "description": "Ändern Sie das Foto eines [Kanals/einer Supergruppe](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Dateiverweise](https://core.telegram.org/api/file-references.md)", "x-tl-method": "channels.editPhoto", "x-tl-id": "4046346185", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["File references", "https://core.telegram.org/api/file-references.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `FILE_PARTS_INVALID` – Die Anzahl der Dateiteile ist ungültig.\n- 400 · `FILE_REFERENCE_INVALID` – Der angegebene [Dateiverweis](https://core.telegram.org/api/file-references.md) ist ungültig.\n- 400 · `IMAGE_PROCESS_FAILED` – Fehler bei der Bildverarbeitung.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PHOTO_CROP_SIZE_SMALL` – Foto ist zu klein.\n- 400 · `PHOTO_EXT_INVALID` — Die Erweiterung des Fotos ist ungültig.\n- 400 · `PHOTO_FILE_MISSING` – Profilfotodatei fehlt.\n- 400 · `PHOTO_INVALID` – Foto ungültig.\n- 400 · `STICKER_MIME_INVALID` – Der angegebene Aufklebertyp MIME ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.editPhoto"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal/Supergruppe, dessen Foto bearbeitet werden soll"}, "photo": {"type": "object", "x-tl-type": "InputChatPhoto", "oneOf": [{"$ref": "#/components/schemas/inputChatPhotoEmpty"}, {"$ref": "#/components/schemas/inputChatUploadedPhoto"}, {"$ref": "#/components/schemas/inputChatPhoto"}], "description": "New photo"}}, "additionalProperties": false, "required": ["channel", "photo"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Kanal/Supergruppe, dessen Foto bearbeitet werden soll |\n| `photo` | `InputChatPhoto` | Ja | New photo |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_INVALID", "CHAT_NOT_MODIFIED", "CHAT_WRITE_FORBIDDEN", "FILE_PARTS_INVALID", "FILE_REFERENCE_INVALID", "IMAGE_PROCESS_FAILED", "PEER_ID_INVALID", "PHOTO_CROP_SIZE_SMALL", "PHOTO_EXT_INVALID", "PHOTO_FILE_MISSING", "PHOTO_INVALID", "STICKER_MIME_INVALID"], "x-browser-schema-id": "4046346185"}}, "/catalog/channels.checkUsername": {"post": {"operationId": "channels.checkUsername", "tags": ["Kanäle und Supergruppen"], "summary": "Prüfen Sie, ob ein Benutzername frei ist und einem Kanal/einer Supergruppe zugewiesen werden kann", "description": "Prüfen Sie, ob ein Benutzername frei ist und einem Kanal/einer Supergruppe zugewiesen werden kann\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.checkUsername", "x-tl-id": "283557164", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` – Sie sind Administrator von zu vielen öffentlichen Kanälen. Machen Sie einige Kanäle privat, um den Benutzernamen dieses Kanals zu ändern.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USERNAME_OCCUPIED` — The provided username is already occupied.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — The specified username can be purchased on https://fragment.com."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.checkUsername"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The [channel/supergroup](https://core.telegram.org/api/channel.md) that will assigned the specified username"}, "username": {"type": "string", "x-tl-type": "string", "description": "The username to check"}}, "additionalProperties": false, "required": ["channel", "username"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The [channel/supergroup](https://core.telegram.org/api/channel.md) that will assigned the specified username |\n| `username` | `string` | Ja | The username to check |"}, "x-telegram-rpc-errors": ["CHANNELS_ADMIN_PUBLIC_TOO_MUCH", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ID_INVALID", "MSG_ID_INVALID", "PEER_ID_INVALID", "USERNAME_INVALID", "USERNAME_OCCUPIED", "USERNAME_PURCHASE_AVAILABLE"], "x-browser-schema-id": "283557164"}}, "/catalog/channels.updateUsername": {"post": {"operationId": "channels.updateUsername", "tags": ["Kanäle und Supergruppen"], "summary": "Change or remove the username of a supergroup/channel", "description": "Change or remove the username of a supergroup/channel\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "channels.updateUsername", "x-tl-id": "890549214", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` – Sie sind Administrator von zu vielen öffentlichen Kanälen. Machen Sie einige Kanäle privat, um den Benutzernamen dieses Kanals zu ändern.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USERNAME_NOT_MODIFIED` — The username was not modified.\n- 400 · `USERNAME_OCCUPIED` — The provided username is already occupied.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — The specified username can be purchased on https://fragment.com."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.updateUsername"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal"}, "username": {"type": "string", "x-tl-type": "string", "description": "New username, pass an empty string to remove the username"}}, "additionalProperties": false, "required": ["channel", "username"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Kanal |\n| `username` | `string` | Ja | New username, pass an empty string to remove the username |"}, "x-telegram-rpc-errors": ["CHANNELS_ADMIN_PUBLIC_TOO_MUCH", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED", "CHAT_WRITE_FORBIDDEN", "USERNAME_INVALID", "USERNAME_NOT_MODIFIED", "USERNAME_OCCUPIED", "USERNAME_PURCHASE_AVAILABLE"], "x-browser-schema-id": "890549214"}}, "/catalog/channels.joinChannel": {"post": {"operationId": "channels.joinChannel", "tags": ["Kanäle und Supergruppen"], "summary": "Join a channel/supergroup", "description": "Join a channel/supergroup\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "channels.joinChannel", "x-tl-id": "1097643276", "x-tl-result": "messages.ChatInviteJoinResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "Результат MTProto · `messages.ChatInviteJoinResult`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.ChatInviteJoinResult", "oneOf": [{"$ref": "#/components/schemas/messages.chatInviteJoinResultOk"}, {"$ref": "#/components/schemas/messages.chatInviteJoinResultWebView"}], "description": "Тип TL: messages.ChatInviteJoinResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` – Du bist zu vielen Kanälen/Supergruppen beigetreten.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_INVALID` – Ungültiger Chat.\n- 420 · `FROZEN_METHOD_INVALID` – Das aktuelle Konto ist [eingefroren](https://core.telegram.org/api/auth.md#frozen-accounts) und kann daher die angegebene Aktion nicht ausführen.\n- 400 · `INVITE_HASH_EMPTY` – Der Einladungs-Hash ist leer.\n- 406 · `INVITE_HASH_EXPIRED` — Der Einladungslink ist abgelaufen.\n- 400 · `INVITE_HASH_INVALID` – Der Einladungs-Hash ist ungültig.\n- 400 · `INVITE_REQUEST_SENT` — Sie haben erfolgreich die Teilnahme an diesem Chat oder Kanal beantragt.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USERS_TOO_MUCH` — The maximum number of users has been exceeded (to create a chat, for example).\n- 400 · `USER_ALREADY_PARTICIPANT` — The user is already in the group.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `USER_CHANNELS_TOO_MUCH` – Einer der Benutzer, die Sie hinzufügen wollten, ist bereits in zu vielen Kanälen/Supergruppen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.joinChannel"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"for_news": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal/Supergruppe zum Beitritt"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `for_news` | `true` | Nein | Wert des TL-Typs `true`. |\n| `channel` | `InputChannel` | Ja | Kanal/Supergruppe zum Beitritt |"}, "x-telegram-rpc-errors": ["CHANNELS_TOO_MUCH", "CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "CHAT_INVALID", "FROZEN_METHOD_INVALID", "INVITE_HASH_EMPTY", "INVITE_HASH_EXPIRED", "INVITE_HASH_INVALID", "INVITE_REQUEST_SENT", "MSG_ID_INVALID", "PEER_ID_INVALID", "USERS_TOO_MUCH", "USER_ALREADY_PARTICIPANT", "USER_BANNED_IN_CHANNEL", "USER_CHANNELS_TOO_MUCH"], "x-browser-schema-id": "1097643276"}}, "/catalog/channels.leaveChannel": {"post": {"operationId": "channels.leaveChannel", "tags": ["Kanäle und Supergruppen"], "summary": "Leave a channel/supergroup", "description": "Leave a [channel/supergroup](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.leaveChannel", "x-tl-id": "4164332181", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHANNEL_PUBLIC_GROUP_NA` – Kanal/Supergruppe nicht verfügbar.\n- 400 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `USER_CREATOR` – Für channels.editAdmin: Sie haben versucht, die Administratorrechte des Eigentümers zu bearbeiten, sind aber nicht der Eigentümer; für channels.leaveChannel: Du kannst diesen Kanal nicht verlassen, weil du sein Ersteller bist.\n- 400 · `USER_NOT_PARTICIPANT` — Du bist kein Mitglied dieser Supergruppe/dieses Kanals."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.leaveChannel"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Channel/supergroup](https://core.telegram.org/api/channel.md) to leave"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | [Channel/supergroup](https://core.telegram.org/api/channel.md) to leave |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHANNEL_PUBLIC_GROUP_NA", "CHAT_INVALID", "MSG_ID_INVALID", "USER_BANNED_IN_CHANNEL", "USER_CREATOR", "USER_NOT_PARTICIPANT"], "x-browser-schema-id": "4164332181"}}, "/catalog/channels.inviteToChannel": {"post": {"operationId": "channels.inviteToChannel", "tags": ["Kanäle und Supergruppen"], "summary": "Invite users to a channel/supergroup", "description": "Invite users to a channel/supergroup\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.inviteToChannel", "x-tl-id": "3387112788", "x-tl-result": "messages.InvitedUsers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `messages.InvitedUsers`.\n\n[messages.InvitedUsers](https://core.telegram.org/type/messages.InvitedUsers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.InvitedUsers", "oneOf": [{"$ref": "#/components/schemas/messages.invitedUsers"}], "description": "Type TL: messages.InvitedUsers."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOTS_TOO_MUCH` — Es gibt zu viele Bots in diesem Chat/Kanal.\n- 400 · `BOT_GROUPS_BLOCKED` — Dieser Bot kann nicht zu Gruppen hinzugefügt werden.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_INVALID` – Ungültiger Chat.\n- 400 · `CHAT_MEMBER_ADD_FAILED` – Teilnehmer konnten nicht hinzugefügt werden.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `USERS_TOO_MUCH` — The maximum number of users has been exceeded (to create a chat, for example).\n- 400 · `USER_BANNED_IN_CHANNEL` — You're banned from sending messages in supergroups/channels.\n- 400 · `USER_BLOCKED` — User blocked.\n- 400 · `USER_BOT` – Bots können nur Administratoren in Kanälen sein.\n- 403 · `USER_CHANNELS_TOO_MUCH` – Einer der Benutzer, die Sie hinzufügen wollten, ist bereits in zu vielen Kanälen/Supergruppen.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 400 · `USER_KICKED` — Dieser Benutzer wurde aus dieser Supergruppe/diesem Kanal gekickt.\n- 403 · `USER_NOT_MUTUAL_CONTACT` — Der angegebene Benutzer ist kein gemeinsamer Kontakt.\n- 403 · `USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellungen des Benutzers erlauben dies nicht."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.inviteToChannel"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal/Supergruppe"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Users to invite"}}, "additionalProperties": false, "required": ["channel", "users"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Kanal/Supergruppe |\n| `users` | `Vector<InputUser>` | Ja | Users to invite |"}, "x-telegram-rpc-errors": ["BOTS_TOO_MUCH", "BOT_GROUPS_BLOCKED", "CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_INVALID", "CHAT_MEMBER_ADD_FAILED", "CHAT_WRITE_FORBIDDEN", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "USERS_TOO_MUCH", "USER_BANNED_IN_CHANNEL", "USER_BLOCKED", "USER_BOT", "USER_CHANNELS_TOO_MUCH", "USER_ID_INVALID", "USER_KICKED", "USER_NOT_MUTUAL_CONTACT", "USER_PRIVACY_RESTRICTED"], "x-browser-schema-id": "3387112788"}}, "/catalog/channels.deleteChannel": {"post": {"operationId": "channels.deleteChannel", "tags": ["Kanäle und Supergruppen"], "summary": "Delete a channel/supergroup", "description": "Delete a [channel/supergroup](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.deleteChannel", "x-tl-id": "3222347747", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 406 · `CHANNEL_TOO_LARGE` – Kanal ist zu groß, um gelöscht zu werden; Dieser Fehler wird ausgegeben, wenn versucht wird, Kanäle mit mehr als 1000 Mitgliedern zu löschen (Änderungen vorbehalten).\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.deleteChannel"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Channel/supergroup](https://core.telegram.org/api/channel.md) to delete"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | [Channel/supergroup](https://core.telegram.org/api/channel.md) to delete |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHANNEL_TOO_LARGE", "CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED", "CHAT_WRITE_FORBIDDEN"], "x-browser-schema-id": "3222347747"}}, "/catalog/channels.exportMessageLink": {"post": {"operationId": "channels.exportMessageLink", "tags": ["Kanäle und Supergruppen"], "summary": "Get link and embed info of a message in a channel/supergroup", "description": "Get link and embed info of a message in a [channel/supergroup](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.exportMessageLink", "x-tl-id": "3862932971", "x-tl-result": "ExportedMessageLink", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `ExportedMessageLink`.\n\n[ExportedMessageLink](https://core.telegram.org/type/ExportedMessageLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedMessageLink", "oneOf": [{"$ref": "#/components/schemas/exportedMessageLink"}], "description": "TL Type: ExportedMessageLink."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.exportMessageLink"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"grouped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to include other grouped media (for albums)"}, "thread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to also include a thread ID, if available, inside of the link"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `grouped` | `true` | Nein | Whether to include other grouped media (for albums) |\n| `thread` | `true` | Nein | Whether to also include a thread ID, if available, inside of the link |\n| `channel` | `InputChannel` | Ja | Kanal |\n| `id` | `int` | Ja | Nachrichten-ID |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MESSAGE_ID_INVALID", "MSG_ID_INVALID"], "x-browser-schema-id": "3862932971"}}, "/catalog/channels.toggleSignatures": {"post": {"operationId": "channels.toggleSignatures", "tags": ["Kanäle und Supergruppen"], "summary": "Enable/disable message signatures in channels", "description": "Enable/disable message signatures in channels\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "channels.toggleSignatures", "x-tl-id": "1099781276", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleSignatures"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"signatures_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, enables message signatures."}, "profiles_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "If set, messages from channel admins will link to their profiles, just like for group messages: can only be set if the `signatures_enabled` flag is set."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `signatures_enabled` | `true` | Nein | If set, enables message signatures. |\n| `profiles_enabled` | `true` | Nein | If set, messages from channel admins will link to their profiles, just like for group messages: can only be set if the `signatures_enabled` flag is set. |\n| `channel` | `InputChannel` | Ja | Kanal |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "1099781276"}}, "/catalog/channels.getAdminedPublicChannels": {"post": {"operationId": "channels.getAdminedPublicChannels", "tags": ["Kanäle und Supergruppen"], "summary": "Get channels/supergroups/geogroups we're admin in. Usually called when the user exceeds the limit for owned public channels/supergroups/geogroups, and the user is given the choice to remove one of his channels/supergroups/geogroups.", "description": "Get [channels/supergroups/geogroups](https://core.telegram.org/api/channel.md) we're admin in. Usually called when the user exceeds the [limit](https://core.telegram.org/constructor/config.md) for owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel.md), and the user is given the choice to remove one of his channels/supergroups/geogroups.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "channels.getAdminedPublicChannels", "x-tl-id": "4172297903", "x-tl-result": "messages.Chats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `messages.Chats`.\n\n[messages.Chats](https://core.telegram.org/type/messages.Chats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Chats", "oneOf": [{"$ref": "#/components/schemas/messages.chats"}, {"$ref": "#/components/schemas/messages.chatsSlice"}], "description": "TL type: messages.Chats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_ADMIN_LOCATED_TOO_MUCH` – Der Benutzer hat die Grenze der öffentlichen Geogruppen erreicht.\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` – Sie sind Administrator von zu vielen öffentlichen Kanälen. Machen Sie einige Kanäle privat, um den Benutzernamen dieses Kanals zu ändern."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getAdminedPublicChannels"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"by_location": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Get geogroups"}, "check_limit": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "If set and the user has reached the limit of owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel.md), instead of returning the channel list one of the specified [errors](#possible-errors) will be returned. Useful to check if a new public channel can indeed be created, even before asking the user to enter a channel username to use in [channels.checkUsername](https://core.telegram.org/method/channels.checkUsername.md)/[channels.updateUsername](https://core.telegram.org/method/channels.updateUsername.md)."}, "for_personal": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Set this flag to only fetch the full list of channels that may be passed to [account.updatePersonalChannel](https://core.telegram.org/method/account.updatePersonalChannel.md) to [display them on our profile page](https://core.telegram.org/api/profile.md#personal-channel)."}, "for_community_peer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Wert des TL-Typs `true`."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `by_location` | `true` | Nein | Get geogroups |\n| `check_limit` | `true` | Nein | If set and the user has reached the limit of owned public [channels/supergroups/geogroups](https://core.telegram.org/api/channel.md), instead of returning the channel list one of the specified [errors](#possible-errors) will be returned. Useful to check if a new public channel can indeed be created, even before asking the user to enter a channel username to use in [channels.checkUsername](https://core.telegram.org/method/channels.checkUsername.md)/[channels.updateUsername](https://core.telegram.org/method/channels.updateUsername.md). |\n| `for_personal` | `true` | Nein | Set this flag to only fetch the full list of channels that may be passed to [account.updatePersonalChannel](https://core.telegram.org/method/account.updatePersonalChannel.md) to [display them on our profile page](https://core.telegram.org/api/profile.md#personal-channel). |\n| `for_community_peer` | `true` | Nein | Wert des TL-Typs `true`. |"}, "x-telegram-rpc-errors": ["CHANNELS_ADMIN_LOCATED_TOO_MUCH", "CHANNELS_ADMIN_PUBLIC_TOO_MUCH"], "x-browser-schema-id": "4172297903"}}, "/catalog/channels.editBanned": {"post": {"operationId": "channels.editBanned", "tags": ["Kanäle und Supergruppen"], "summary": "Ban/unban/kick a user in a supergroup/channel.", "description": "Ban/unban/kick a user in a [supergroup/channel](https://core.telegram.org/api/channel.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.editBanned", "x-tl-id": "2531708289", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `BANNED_RIGHTS_INVALID` — Sie haben in den verbotenen Rechten einige ungültige Markierungen angegeben.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PARTICIPANT_ID_INVALID` — Die angegebene Teilnehmer-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_ADMIN_INVALID` — You're not an admin.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.editBanned"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The [supergroup/channel](https://core.telegram.org/api/channel.md)."}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Participant to ban"}, "banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "oneOf": [{"$ref": "#/components/schemas/chatBannedRights"}], "description": "The banned rights"}}, "additionalProperties": false, "required": ["channel", "participant", "banned_rights"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The [supergroup/channel](https://core.telegram.org/api/channel.md). |\n| `participant` | `InputPeer` | Ja | Participant to ban |\n| `banned_rights` | `ChatBannedRights` | Ja | The banned rights |"}, "x-telegram-rpc-errors": ["BANNED_RIGHTS_INVALID", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "INPUT_USER_DEACTIVATED", "MSG_ID_INVALID", "PARTICIPANT_ID_INVALID", "PEER_ID_INVALID", "USER_ADMIN_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "2531708289"}}, "/catalog/channels.getAdminLog": {"post": {"operationId": "channels.getAdminLog", "tags": ["Kanäle und Supergruppen"], "summary": "Get the admin log of a channel/supergroup", "description": "Get the admin log of a [channel/supergroup](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.getAdminLog", "x-tl-id": "870184064", "x-tl-result": "channels.AdminLogResults", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `channels.AdminLogResults`.\n\n[channels.AdminLogResults](https://core.telegram.org/type/channels.AdminLogResults.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "channels.AdminLogResults", "oneOf": [{"$ref": "#/components/schemas/channels.adminLogResults"}], "description": "TL type: channels.AdminLogResults."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getAdminLog"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal"}, "q": {"type": "string", "x-tl-type": "string", "description": "Search query, can be empty"}, "events_filter": {"type": "object", "x-tl-type": "ChannelAdminLogEventsFilter", "oneOf": [{"$ref": "#/components/schemas/channelAdminLogEventsFilter"}], "description": "Event filter", "x-tl-flag": "flags.0?ChannelAdminLogEventsFilter"}, "admins": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.1?Vector<InputUser>", "description": "Only show events from these admins"}, "max_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Maximum ID of message to return (see [pagination](https://core.telegram.org/api/offsets.md))", "x-tl-type": "long"}, "min_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Minimum ID of message to return (see [pagination](https://core.telegram.org/api/offsets.md))", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["channel", "q", "max_id", "min_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Kanal |\n| `q` | `string` | Ja | Search query, can be empty |\n| `events_filter` | `ChannelAdminLogEventsFilter` | Nein | Event filter |\n| `admins` | `Vector<InputUser>` | Nein | Only show events from these admins |\n| `max_id` | `long` | Ja | Maximum ID of message to return (see [pagination](https://core.telegram.org/api/offsets.md)) |\n| `min_id` | `long` | Ja | Minimum ID of message to return (see [pagination](https://core.telegram.org/api/offsets.md)) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "MSG_ID_INVALID"], "x-browser-schema-id": "870184064"}}, "/catalog/channels.setStickers": {"post": {"operationId": "channels.setStickers", "tags": ["Kanäle und Supergruppen"], "summary": "Associate a stickerset to the supergroup", "description": "Associate a stickerset to the supergroup\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "channels.setStickers", "x-tl-id": "3935085817", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `PARTICIPANTS_TOO_FEW` – Nicht genügend Teilnehmer.\n- 406 · `STICKERSET_OWNER_ANONYMOUS` — Provided stickerset can't be installed as group stickerset to prevent admin deanonymization."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.setStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Supergroup"}, "stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "The stickerset to associate"}}, "additionalProperties": false, "required": ["channel", "stickerset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Supergroup |\n| `stickerset` | `InputStickerSet` | Ja | The stickerset to associate |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ID_INVALID", "PARTICIPANTS_TOO_FEW", "STICKERSET_OWNER_ANONYMOUS"], "x-browser-schema-id": "3935085817"}}, "/catalog/channels.readMessageContents": {"post": {"operationId": "channels.readMessageContents", "tags": ["Kanäle und Supergruppen"], "summary": "Mark channel/supergroup message contents as read, emitting an updateChannelReadMessagesContents.", "description": "Mark [channel/supergroup](https://core.telegram.org/api/channel.md) message contents as read, emitting an [updateChannelReadMessagesContents](https://core.telegram.org/constructor/updateChannelReadMessagesContents.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.readMessageContents", "x-tl-id": "3937786936", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 406 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.readMessageContents"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Channel/supergroup](https://core.telegram.org/api/channel.md)"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of messages whose contents should be marked as read"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | [Channel/supergroup](https://core.telegram.org/api/channel.md) |\n| `id` | `Vector<int>` | Ja | IDs of messages whose contents should be marked as read |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID"], "x-browser-schema-id": "3937786936"}}, "/catalog/channels.deleteHistory": {"post": {"operationId": "channels.deleteHistory", "tags": ["Kanäle und Supergruppen"], "summary": "Löschen Sie den Verlauf einer Supergruppe", "description": "Löschen Sie den Verlauf einer [Supergruppe](https://core.telegram.org/api/channel.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.deleteHistory", "x-tl-id": "2611648071", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PARICIPANT_MISSING` – Der aktuelle Benutzer ist nicht im Kanal.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHANNEL_TOO_BIG` – Dieser Kanal hat zu viele Teilnehmer (>1000), um gelöscht zu werden.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.deleteHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"for_everyone": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether the history should be deleted for everyone"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Supergroup](https://core.telegram.org/api/channel.md) whose history must be deleted"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of message **up to which** the history must be deleted"}}, "additionalProperties": false, "required": ["channel", "max_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `for_everyone` | `true` | Nein | Whether the history should be deleted for everyone |\n| `channel` | `InputChannel` | Ja | [Supergroup](https://core.telegram.org/api/channel.md) whose history must be deleted |\n| `max_id` | `int` | Ja | ID of message **up to which** the history must be deleted |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PARICIPANT_MISSING", "CHANNEL_PRIVATE", "CHANNEL_TOO_BIG", "CHAT_ADMIN_REQUIRED"], "x-browser-schema-id": "2611648071"}}, "/catalog/channels.togglePreHistoryHidden": {"post": {"operationId": "channels.togglePreHistoryHidden", "tags": ["Kanäle und Supergruppen"], "summary": "Hide/unhide message history for new channel/supergroup users", "description": "Hide/unhide message history for new channel/supergroup users\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "channels.togglePreHistoryHidden", "x-tl-id": "3938171212", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_LINK_EXISTS` – Der Chat ist öffentlich, Sie können den Verlauf nicht für neue Benutzer verbergen.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `FORUM_ENABLED` – Sie können die angegebene Aktion nicht ausführen, da die Gruppe ein [Forum](https://core.telegram.org/api/forum.md) ist, deaktivieren Sie die Forum-Funktionalität, um fortzufahren."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.togglePreHistoryHidden"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal/Supergruppe"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Hide/unhide"}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Kanal/Supergruppe |\n| `enabled` | `Bool` | Ja | Hide/unhide |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_LINK_EXISTS", "CHAT_NOT_MODIFIED", "FORUM_ENABLED"], "x-browser-schema-id": "3938171212"}}, "/catalog/channels.getLeftChannels": {"post": {"operationId": "channels.getLeftChannels", "tags": ["Kanäle und Supergruppen"], "summary": "Get a list of channels/supergroups we left, requires a takeout session, see here » for more info.", "description": "Get a list of [channels/supergroups](https://core.telegram.org/api/channel.md) we left, requires a [takeout session, see here » for more info](https://core.telegram.org/api/takeout.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Zum Mitnehmen API](https://core.telegram.org/api/takeout.md)", "x-tl-method": "channels.getLeftChannels", "x-tl-id": "2202135744", "x-tl-result": "messages.Chats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Takeout API", "https://core.telegram.org/api/takeout.md"]], "responses": {"200": {"description": "MTProto result · `messages.Chats`.\n\n[messages.Chats](https://core.telegram.org/type/messages.Chats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Chats", "oneOf": [{"$ref": "#/components/schemas/messages.chats"}, {"$ref": "#/components/schemas/messages.chatsSlice"}], "description": "TL type: messages.Chats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `TAKEOUT_INVALID` – Die angegebene Takeout-ID ist ungültig.\n- 403 · `TAKEOUT_REQUIRED` — A [takeout](https://core.telegram.org/api/takeout.md) session needs to be initialized first, [see here &raquo; for more info](https://core.telegram.org/api/takeout.md)."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getLeftChannels"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset für [Paginierung](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offset` | `int` | Ja | Offset für [Paginierung](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["TAKEOUT_INVALID", "TAKEOUT_REQUIRED"], "x-browser-schema-id": "2202135744"}}, "/catalog/channels.getGroupsForDiscussion": {"post": {"operationId": "channels.getGroupsForDiscussion", "tags": ["Kanäle und Supergruppen"], "summary": "Get all groups that can be used as discussion groups.", "description": "Get all groups that can be used as [discussion groups](https://core.telegram.org/api/discussion.md).\n\nReturned [basic group chats](https://core.telegram.org/api/channel.md#basic-groups) must be first upgraded to [supergroups](https://core.telegram.org/api/channel.md#supergroups) before they can be set as a discussion group.  \nTo set a returned supergroup as a discussion group, access to its old messages must be enabled using [channels.togglePreHistoryHidden](https://core.telegram.org/method/channels.togglePreHistoryHidden.md), first.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Diskussionsgruppen](https://core.telegram.org/api/discussion.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.getGroupsForDiscussion", "x-tl-id": "4124758904", "x-tl-result": "messages.Chats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Discussion groups", "https://core.telegram.org/api/discussion.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `messages.Chats`.\n\n[messages.Chats](https://core.telegram.org/type/messages.Chats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Chats", "oneOf": [{"$ref": "#/components/schemas/messages.chats"}, {"$ref": "#/components/schemas/messages.chatsSlice"}], "description": "TL type: messages.Chats."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getGroupsForDiscussion"}, "x-browser-schema-id": "4124758904"}}, "/catalog/channels.setDiscussionGroup": {"post": {"operationId": "channels.setDiscussionGroup", "tags": ["Kanäle und Supergruppen"], "summary": "Associate a group to a channel as discussion group for that channel", "description": "Associate a group to a channel as [discussion group](https://core.telegram.org/api/discussion.md) for that channel\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Diskussionsgruppen](https://core.telegram.org/api/discussion.md)", "x-tl-method": "channels.setDiscussionGroup", "x-tl-id": "1079520178", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Discussion groups", "https://core.telegram.org/api/discussion.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BROADCAST_ID_INVALID` – Broadcast-ID ungültig.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `LINK_NOT_MODIFIED` – Diskussionslink nicht geändert.\n- 400 · `MEGAGROUP_ID_INVALID` – Ungültige Supergruppen-ID.\n- 400 · `MEGAGROUP_PREHISTORY_HIDDEN` – Gruppen mit ausgeblendetem Verlauf für neue Mitglieder können nicht als Diskussionsgruppen festgelegt werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.setDiscussionGroup"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"broadcast": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal"}, "group": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Discussion group](https://core.telegram.org/api/discussion.md) to associate to the channel"}}, "additionalProperties": false, "required": ["broadcast", "group"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `broadcast` | `InputChannel` | Ja | Kanal |\n| `group` | `InputChannel` | Ja | [Discussion group](https://core.telegram.org/api/discussion.md) to associate to the channel |"}, "x-telegram-rpc-errors": ["BROADCAST_ID_INVALID", "CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "LINK_NOT_MODIFIED", "MEGAGROUP_ID_INVALID", "MEGAGROUP_PREHISTORY_HIDDEN"], "x-browser-schema-id": "1079520178"}}, "/catalog/channels.editLocation": {"post": {"operationId": "channels.editLocation", "tags": ["Kanäle und Supergruppen"], "summary": "Edit location of geogroup, see here » for more info on geogroups.", "description": "Edit location of geogroup, see [here »](https://core.telegram.org/api/nearby.md) for more info on geogroups.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Benutzer und Chats in der Nähe](https://core.telegram.org/api/nearby.md)", "x-tl-method": "channels.editLocation", "x-tl-id": "1491484525", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Nearby users&chats", "https://core.telegram.org/api/nearby.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `MEGAGROUP_GEO_REQUIRED` – Diese Methode kann nur für eine Geogruppe aufgerufen werden.\n- 400 · `MEGAGROUP_REQUIRED` – Sie können diese Methode nur für eine Supergruppe verwenden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.editLocation"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Geogroup](https://core.telegram.org/api/channel.md)"}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "New geolocation"}, "address": {"type": "string", "x-tl-type": "string", "description": "Adresszeichenfolge"}}, "additionalProperties": false, "required": ["channel", "geo_point", "address"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | [Geogroup](https://core.telegram.org/api/channel.md) |\n| `geo_point` | `InputGeoPoint` | Ja | New geolocation |\n| `address` | `string` | Ja | Adresszeichenfolge |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED", "MEGAGROUP_GEO_REQUIRED", "MEGAGROUP_REQUIRED"], "x-browser-schema-id": "1491484525"}}, "/catalog/channels.toggleSlowMode": {"post": {"operationId": "channels.toggleSlowMode", "tags": ["Kanäle und Supergruppen"], "summary": "Toggle supergroup slow mode: if enabled, users will only be able to send one message every `seconds` seconds", "description": "Toggle supergroup slow mode: if enabled, users will only be able to send one message every `seconds` seconds\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.toggleSlowMode", "x-tl-id": "3990134512", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `SECONDS_INVALID` – Ungültige Dauer angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleSlowMode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The [supergroup](https://core.telegram.org/api/channel.md)"}, "seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Users will only be able to send one message every `seconds` seconds, `0` to disable the limitation"}}, "additionalProperties": false, "required": ["channel", "seconds"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The [supergroup](https://core.telegram.org/api/channel.md) |\n| `seconds` | `int` | Ja | Users will only be able to send one message every `seconds` seconds, `0` to disable the limitation |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "SECONDS_INVALID"], "x-browser-schema-id": "3990134512"}}, "/catalog/channels.getInactiveChannels": {"post": {"operationId": "channels.getInactiveChannels", "tags": ["Kanäle und Supergruppen"], "summary": "Get inactive channels and supergroups", "description": "Get inactive channels and supergroups", "x-tl-method": "channels.getInactiveChannels", "x-tl-id": "300429806", "x-tl-result": "messages.InactiveChats", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.InactiveChats`.\n\n[messages.InactiveChats](https://core.telegram.org/type/messages.InactiveChats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.InactiveChats", "oneOf": [{"$ref": "#/components/schemas/messages.inactiveChats"}], "description": "Type TL: messages.InactiveChats."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getInactiveChannels"}, "x-browser-schema-id": "300429806"}}, "/catalog/channels.convertToGigagroup": {"post": {"operationId": "channels.convertToGigagroup", "tags": ["Kanäle und Supergruppen"], "summary": "Convert a supergroup to a gigagroup, when requested by channel suggestions.", "description": "Convert a [supergroup](https://core.telegram.org/api/channel.md) to a [gigagroup](https://core.telegram.org/api/channel.md), when requested by [channel suggestions](https://core.telegram.org/api/config.md#channel-suggestions).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "channels.convertToGigagroup", "x-tl-id": "187239529", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Client configuration", "https://core.telegram.org/api/config.md"], ["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_ID_INVALID` – Die angegebene Supergruppen-ID ist ungültig.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `FORUM_ENABLED` – Sie können die angegebene Aktion nicht ausführen, da die Gruppe ein [Forum](https://core.telegram.org/api/forum.md) ist, deaktivieren Sie die Forum-Funktionalität, um fortzufahren.\n- 400 · `PARTICIPANTS_TOO_FEW` – Nicht genügend Teilnehmer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.convertToGigagroup"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The [supergroup](https://core.telegram.org/api/channel.md) to convert"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The [supergroup](https://core.telegram.org/api/channel.md) to convert |"}, "x-telegram-rpc-errors": ["CHANNEL_ID_INVALID", "CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "FORUM_ENABLED", "PARTICIPANTS_TOO_FEW"], "x-browser-schema-id": "187239529"}}, "/catalog/channels.getSendAs": {"post": {"operationId": "channels.getSendAs", "tags": ["Kanäle und Supergruppen"], "summary": "Obtains a list of peers that can be displayed as the sender in a specific context. With `for_live_stories`, returns peers that may author live story in-call messages ».", "description": "Obtains a list of peers that can be displayed as the sender in a specific context. With `for_live_stories`, returns peers that may author [live story in-call messages »](https://core.telegram.org/api/group-calls.md#in-call-messages).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "channels.getSendAs", "x-tl-id": "3884295231", "x-tl-result": "channels.SendAsPeers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"], ["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `channels.SendAsPeers`.\n\n[channels.SendAsPeers](https://core.telegram.org/type/channels.SendAsPeers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "channels.SendAsPeers", "oneOf": [{"$ref": "#/components/schemas/channels.sendAsPeers"}], "description": "TL type: channels.SendAsPeers."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getSendAs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"for_paid_reactions": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, fetches the list of peers that can be used to send [paid reactions](https://core.telegram.org/api/reactions.md#paid-reactions) to messages of a specific peer."}, "for_live_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Fetch the peers that may be passed to [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as` to comment or react in a [live story »](https://core.telegram.org/api/group-calls.md#in-call-messages)."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The target peer; when `for_live_stories` is set, the peer that owns the live story."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `for_paid_reactions` | `true` | Nein | If set, fetches the list of peers that can be used to send [paid reactions](https://core.telegram.org/api/reactions.md#paid-reactions) to messages of a specific peer. |\n| `for_live_stories` | `true` | Nein | Fetch the peers that may be passed to [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as` to comment or react in a [live story »](https://core.telegram.org/api/group-calls.md#in-call-messages). |\n| `peer` | `InputPeer` | Ja | The target peer; when `for_live_stories` is set, the peer that owns the live story. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3884295231"}}, "/catalog/channels.deleteParticipantHistory": {"post": {"operationId": "channels.deleteParticipantHistory", "tags": ["Kanäle und Supergruppen"], "summary": "Delete all messages sent by a specific participant of a given supergroup", "description": "Delete all messages sent by a specific participant of a given supergroup\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "channels.deleteParticipantHistory", "x-tl-id": "913655003", "x-tl-result": "messages.AffectedHistory", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `messages.AffectedHistory`.\n\n[messages.AffectedHistory](https://core.telegram.org/type/messages.AffectedHistory.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.AffectedHistory", "oneOf": [{"$ref": "#/components/schemas/messages.affectedHistory"}], "description": "Type TL: messages.AffectedHistory."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PARTICIPANT_ID_INVALID` — Die angegebene Teilnehmer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.deleteParticipantHistory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Supergroup"}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The participant whose messages should be deleted"}}, "additionalProperties": false, "required": ["channel", "participant"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Supergroup |\n| `participant` | `InputPeer` | Ja | The participant whose messages should be deleted |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "MSG_ID_INVALID", "PARTICIPANT_ID_INVALID"], "x-browser-schema-id": "913655003"}}, "/catalog/channels.toggleJoinToSend": {"post": {"operationId": "channels.toggleJoinToSend", "tags": ["Kanäle und Supergruppen"], "summary": "Set whether all users should join a discussion group in order to comment on a post »", "description": "Set whether all users [should join a discussion group in order to comment on a post »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Diskussionsgruppen](https://core.telegram.org/api/discussion.md)", "x-tl-method": "channels.toggleJoinToSend", "x-tl-id": "3838547328", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Discussion groups", "https://core.telegram.org/api/discussion.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleJoinToSend"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Discussion group"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Toggle"}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Discussion group |\n| `enabled` | `Bool` | Ja | Toggle |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "3838547328"}}, "/catalog/channels.toggleJoinRequest": {"post": {"operationId": "channels.toggleJoinRequest", "tags": ["Kanäle und Supergruppen"], "summary": "Set whether all users should request admin approval to join the group ».", "description": "Set whether all users should [request admin approval to join the group »](https://core.telegram.org/api/invites.md#join-requests).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Einladungslinks](https://core.telegram.org/api/invites.md)", "x-tl-method": "channels.toggleJoinRequest", "x-tl-id": "248260120", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Invite links", "https://core.telegram.org/api/invites.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `CHAT_PUBLIC_REQUIRED` – Sie können Beitrittsanfragen nur in öffentlichen Gruppen aktivieren."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleJoinRequest"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"apply_to_invites": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Group"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Toggle"}, "guard_bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser.", "x-tl-flag": "flags.0?InputUser"}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `apply_to_invites` | `true` | Nein | Wert des TL-Typs `true`. |\n| `channel` | `InputChannel` | Ja | Group |\n| `enabled` | `Bool` | Ja | Toggle |\n| `guard_bot` | `InputUser` | Nein | TL Type: InputUser. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "CHAT_PUBLIC_REQUIRED"], "x-browser-schema-id": "248260120"}}, "/catalog/channels.reorderUsernames": {"post": {"operationId": "channels.reorderUsernames", "tags": ["Kanäle und Supergruppen"], "summary": "Reorder active usernames", "description": "Reorder active usernames\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "channels.reorderUsernames", "x-tl-id": "3025988893", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.reorderUsernames"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The supergroup or channel"}, "order": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "The new order for active usernames. All active usernames must be specified."}}, "additionalProperties": false, "required": ["channel", "order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The supergroup or channel |\n| `order` | `Vector<string>` | Ja | The new order for active usernames. All active usernames must be specified. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "3025988893"}}, "/catalog/channels.toggleUsername": {"post": {"operationId": "channels.toggleUsername", "tags": ["Kanäle und Supergruppen"], "summary": "Aktivieren oder deaktivieren Sie einen gekauften fragment.com-Benutzernamen, der einer Supergruppe oder einem Kanal zugeordnet ist, der uns gehört.", "description": "Aktiviere oder deaktiviere einen gekauften [fragment.com](https://fragment.com) Benutzernamen, der einer [Supergruppe oder einem Kanal](https://core.telegram.org/api/channel.md) zugeordnet ist, die wir besitzen.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "channels.toggleUsername", "x-tl-id": "1358053637", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `USERNAMES_ACTIVE_TOO_MUCH` — The maximum number of active usernames was reached.\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USERNAME_NOT_MODIFIED` — The username was not modified."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleUsername"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Supergroup or channel](https://core.telegram.org/api/channel.md)"}, "username": {"type": "string", "x-tl-type": "string", "description": "Benutzername"}, "active": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to activate or deactivate the username"}}, "additionalProperties": false, "required": ["channel", "username", "active"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | [Supergroup or channel](https://core.telegram.org/api/channel.md) |\n| `username` | `string` | Ja | Benutzername |\n| `active` | `Bool` | Ja | Whether to activate or deactivate the username |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CHAT_NOT_MODIFIED", "USERNAMES_ACTIVE_TOO_MUCH", "USERNAME_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "1358053637"}}, "/catalog/channels.deactivateAllUsernames": {"post": {"operationId": "channels.deactivateAllUsernames", "tags": ["Kanäle und Supergruppen"], "summary": "Disable all purchased usernames of a supergroup or channel", "description": "Disable all purchased usernames of a supergroup or channel\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "channels.deactivateAllUsernames", "x-tl-id": "170155475", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.deactivateAllUsernames"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Supergroup or channel"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Supergroup or channel |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "170155475"}}, "/catalog/channels.toggleForum": {"post": {"operationId": "channels.toggleForum", "tags": ["Kanäle und Supergruppen"], "summary": "Enable or disable forum functionality in a supergroup.", "description": "Enable or disable [forum functionality](https://core.telegram.org/api/forum.md) in a supergroup.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "channels.toggleForum", "x-tl-id": "2727684948", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_DISCUSSION_UNALLOWED` – Sie können keine Forumsthemen in einer Diskussionsgruppe aktivieren, die mit einem Kanal verknüpft ist.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleForum"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Supergroup ID"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Enable or disable forum functionality"}, "tabs": {"type": "boolean", "x-tl-type": "Bool", "description": "If true enables the tabbed forum UI, otherwise enables the list-based forum UI."}, "sidebar": {"type": "boolean", "x-tl-type": "Bool", "description": "Wert des TL-Typs `Bool`."}}, "additionalProperties": false, "required": ["channel", "enabled", "tabs", "sidebar"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Supergroup ID |\n| `enabled` | `Bool` | Ja | Enable or disable forum functionality |\n| `tabs` | `Bool` | Ja | If true enables the tabbed forum UI, otherwise enables the list-based forum UI. |\n| `sidebar` | `Bool` | Ja | Wert des TL-Typs `Bool`. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_DISCUSSION_UNALLOWED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "2727684948"}}, "/catalog/channels.toggleAntiSpam": {"post": {"operationId": "channels.toggleAntiSpam", "tags": ["Kanäle und Supergruppen"], "summary": "Enable or disable the native antispam system.", "description": "Enable or disable the [native antispam system](https://core.telegram.org/api/antispam.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Natives Antispam-System](https://core.telegram.org/api/antispam.md)", "x-tl-method": "channels.toggleAntiSpam", "x-tl-id": "1760814315", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Native antispam system", "https://core.telegram.org/api/antispam.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleAntiSpam"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Supergroup ID. The specified supergroup must have at least `telegram_antispam_group_size_min` members to enable antispam functionality, as specified by the [client configuration parameters](https://core.telegram.org/api/config.md#client-configuration)."}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Enable or disable the native antispam system."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Supergroup ID. The specified supergroup must have at least `telegram_antispam_group_size_min` members to enable antispam functionality, as specified by the [client configuration parameters](https://core.telegram.org/api/config.md#client-configuration). |\n| `enabled` | `Bool` | Ja | Enable or disable the native antispam system. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "1760814315"}}, "/catalog/channels.reportAntiSpamFalsePositive": {"post": {"operationId": "channels.reportAntiSpamFalsePositive", "tags": ["Kanäle und Supergruppen"], "summary": "Report a native antispam false positive", "description": "Report a [native antispam](https://core.telegram.org/api/antispam.md) false positive\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Natives Antispam-System](https://core.telegram.org/api/antispam.md)\n- [Admin-Protokoll](https://core.telegram.org/api/recent-actions.md)", "x-tl-method": "channels.reportAntiSpamFalsePositive", "x-tl-id": "2823857811", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Native antispam system", "https://core.telegram.org/api/antispam.md"], ["Admin log", "https://core.telegram.org/api/recent-actions.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.reportAntiSpamFalsePositive"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Supergroup ID"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Message ID that was mistakenly deleted by the [native antispam](https://core.telegram.org/api/antispam.md) system, taken from the [admin log](https://core.telegram.org/api/recent-actions.md)"}}, "additionalProperties": false, "required": ["channel", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Supergroup ID |\n| `msg_id` | `int` | Ja | Message ID that was mistakenly deleted by the [native antispam](https://core.telegram.org/api/antispam.md) system, taken from the [admin log](https://core.telegram.org/api/recent-actions.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2823857811"}}, "/catalog/channels.toggleParticipantsHidden": {"post": {"operationId": "channels.toggleParticipantsHidden", "tags": ["Kanäle und Supergruppen"], "summary": "Hide or display the participants list in a supergroup.", "description": "Hide or display the participants list in a [supergroup](https://core.telegram.org/api/channel.md).\n\nThe supergroup must have at least `hidden_members_group_size_min` participants in order to use this method, as specified by the [client configuration parameters »](https://core.telegram.org/api/config.md#client-configuration).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "channels.toggleParticipantsHidden", "x-tl-id": "1785624660", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `PARTICIPANTS_TOO_FEW` – Nicht genügend Teilnehmer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleParticipantsHidden"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Supergroup ID"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "If true, will hide the participants list; otherwise will unhide it."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Supergroup ID |\n| `enabled` | `Bool` | Ja | If true, will hide the participants list; otherwise will unhide it. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "CHAT_ID_INVALID", "CHAT_NOT_MODIFIED", "PARTICIPANTS_TOO_FEW"], "x-browser-schema-id": "1785624660"}}, "/catalog/channels.updateColor": {"post": {"operationId": "channels.updateColor", "tags": ["Kanäle und Supergruppen"], "summary": "Update the accent color and background custom emoji » of a channel.", "description": "Update the [accent color and background custom emoji »](https://core.telegram.org/api/colors.md) of a channel.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Akzentfarben](https://core.telegram.org/api/colors.md)\n- [Kanal- und Supergruppen-Boosts](https://core.telegram.org/api/boost.md)", "x-tl-method": "channels.updateColor", "x-tl-id": "3635033713", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Accent colors", "https://core.telegram.org/api/colors.md"], ["Channel and supergroup boosts", "https://core.telegram.org/api/boost.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOOSTS_REQUIRED` – Der angegebene Kanal muss zuerst [von seinen Benutzern geboostet werden](https://core.telegram.org/api/boost.md), um diese Aktion auszuführen.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.updateColor"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"for_profile": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to change the accent color emoji pattern of the profile page; otherwise, the accent color and emoji pattern of messages will be changed.  Channels can change both message and profile palettes; supergroups can only change the profile palette, of course after reaching the [appropriate boost level](https://core.telegram.org/api/colors.md)."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal, dessen Akzentfarbe geändert werden soll."}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "[ID of the accent color palette »](https://core.telegram.org/api/colors.md) to use (not RGB24, see [here »](https://core.telegram.org/api/colors.md) for more info); if not set, the default palette is used."}, "background_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Benutzerdefinierte Emoji-ID, die im Akzentfarbmuster verwendet wird.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `for_profile` | `true` | Nein | Whether to change the accent color emoji pattern of the profile page; otherwise, the accent color and emoji pattern of messages will be changed.  Channels can change both message and profile palettes; supergroups can only change the profile palette, of course after reaching the [appropriate boost level](https://core.telegram.org/api/colors.md). |\n| `channel` | `InputChannel` | Ja | Kanal, dessen Akzentfarbe geändert werden soll. |\n| `color` | `int` | Nein | [ID of the accent color palette »](https://core.telegram.org/api/colors.md) to use (not RGB24, see [here »](https://core.telegram.org/api/colors.md) for more info); if not set, the default palette is used. |\n| `background_emoji_id` | `long` | Nein | Benutzerdefinierte Emoji-ID, die im Akzentfarbmuster verwendet wird. |"}, "x-telegram-rpc-errors": ["BOOSTS_REQUIRED", "CHANNEL_INVALID"], "x-browser-schema-id": "3635033713"}}, "/catalog/channels.toggleViewForumAsMessages": {"post": {"operationId": "channels.toggleViewForumAsMessages", "tags": ["Kanäle und Supergruppen"], "summary": "Users may also choose to display messages from all topics of a forum as if they were sent to a normal group, using a \"View as messages\" setting in the local client: this setting only affects the current account, and is synced to other logged in sessions using this method.", "description": "Users may also choose to display messages from all topics of a [forum](https://core.telegram.org/api/forum.md) as if they were sent to a normal group, using a \"View as messages\" setting in the local client: this setting only affects the current account, and is synced to other logged in sessions using this method.\n\nInvoking this method will update the value of the `view_forum_as_messages` flag of [channelFull](https://core.telegram.org/constructor/channelFull.md) or [dialog](https://core.telegram.org/constructor/dialog.md) and emit an [updateChannelViewForumAsMessages](https://core.telegram.org/constructor/updateChannelViewForumAsMessages.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Forumsthemen](https://core.telegram.org/api/forum.md)", "x-tl-method": "channels.toggleViewForumAsMessages", "x-tl-id": "2537077525", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Forum topics", "https://core.telegram.org/api/forum.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleViewForumAsMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The forum"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "The new value of the `view_forum_as_messages` flag."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The forum |\n| `enabled` | `Bool` | Ja | The new value of the `view_forum_as_messages` flag. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2537077525"}}, "/catalog/channels.getChannelRecommendations": {"post": {"operationId": "channels.getChannelRecommendations", "tags": ["Kanäle und Supergruppen"], "summary": "Obtain a list of similarly themed public channels, selected based on similarities in their **subscriber bases**.", "description": "Obtain a list of similarly themed public channels, selected based on similarities in their **subscriber bases**.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "channels.getChannelRecommendations", "x-tl-id": "631707458", "x-tl-result": "messages.Chats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.Chats`.\n\n[messages.Chats](https://core.telegram.org/type/messages.Chats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Chats", "oneOf": [{"$ref": "#/components/schemas/messages.chats"}, {"$ref": "#/components/schemas/messages.chatsSlice"}], "description": "TL type: messages.Chats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getChannelRecommendations"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The method will return channels related to the passed `channel`. If not set, the method will returns channels related to channels the user has joined.", "x-tl-flag": "flags.0?InputChannel"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Nein | The method will return channels related to the passed `channel`. If not set, the method will returns channels related to channels the user has joined. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "631707458"}}, "/catalog/channels.updateEmojiStatus": {"post": {"operationId": "channels.updateEmojiStatus", "tags": ["Kanäle und Supergruppen"], "summary": "Set an emoji status for a channel or supergroup.", "description": "Set an [emoji status](https://core.telegram.org/api/emoji-status.md) for a channel or supergroup.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-tl-method": "channels.updateEmojiStatus", "x-tl-id": "4040418984", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Emoji status", "https://core.telegram.org/api/emoji-status.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.updateEmojiStatus"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The channel/supergroup, must have at least [channel_emoji_status_level_min](https://core.telegram.org/api/config.md#channel-emoji-status-level-min)/[group_emoji_status_level_min](https://core.telegram.org/api/config.md#group-emoji-status-level-min) boosts."}, "emoji_status": {"type": "object", "x-tl-type": "EmojiStatus", "oneOf": [{"$ref": "#/components/schemas/emojiStatusEmpty"}, {"$ref": "#/components/schemas/emojiStatus"}, {"$ref": "#/components/schemas/emojiStatusCollectible"}, {"$ref": "#/components/schemas/inputEmojiStatusCollectible"}], "description": "[Emoji status](https://core.telegram.org/api/emoji-status.md) to set"}}, "additionalProperties": false, "required": ["channel", "emoji_status"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The channel/supergroup, must have at least [channel_emoji_status_level_min](https://core.telegram.org/api/config.md#channel-emoji-status-level-min)/[group_emoji_status_level_min](https://core.telegram.org/api/config.md#group-emoji-status-level-min) boosts. |\n| `emoji_status` | `EmojiStatus` | Ja | [Emoji status](https://core.telegram.org/api/emoji-status.md) to set |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "4040418984"}}, "/catalog/channels.setBoostsToUnblockRestrictions": {"post": {"operationId": "channels.setBoostsToUnblockRestrictions", "tags": ["Kanäle und Supergruppen"], "summary": "Administratoren mit ban\\_users-Administratorrechten » können Benutzern, die eine bestimmte Anzahl von Boosts » auf die Gruppe anwenden, gestatten, den langsamen Modus » und andere » Supergroup-Einschränkungen zu umgehen. Weitere Informationen finden Sie hier ».", "description": "Administratoren mit [ban\\_users Administratorrechten »](https://core.telegram.org/constructor/chatAdminRights.md) können Benutzern, die eine bestimmte Anzahl von [Booosts »](https://core.telegram.org/api/boost.md) auf die Gruppe anwenden, gestatten, [langsamen Modus »](https://core.telegram.org/method/channels.toggleSlowMode.md) und [andere »](https://core.telegram.org/api/rights.md#default-rights) Supergroup-Einschränkungen, siehe [hier »](https://core.telegram.org/api/boost.md#bypass-slowmode-and-chat-restrictions) für weitere Informationen] zu umgehen.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanal- und Supergruppen-Boosts](https://core.telegram.org/api/boost.md)\n- [Admin, gesperrt, Standardrechte](https://core.telegram.org/api/rights.md)", "x-tl-method": "channels.setBoostsToUnblockRestrictions", "x-tl-id": "2906234094", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel and supergroup boosts", "https://core.telegram.org/api/boost.md"], ["Admin, banned, default rights", "https://core.telegram.org/api/rights.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.setBoostsToUnblockRestrictions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The supergroup."}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The number of required boosts (1-8, 0 to disable)."}}, "additionalProperties": false, "required": ["channel", "boosts"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The supergroup. |\n| `boosts` | `int` | Ja | The number of required boosts (1-8, 0 to disable). |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2906234094"}}, "/catalog/channels.setEmojiStickers": {"post": {"operationId": "channels.setEmojiStickers", "tags": ["Kanäle und Supergruppen"], "summary": "Set a custom emoji stickerset for supergroups. Only usable after reaching at least the boost level » specified in the `group_emoji_stickers_level_min` » config parameter.", "description": "Set a [custom emoji stickerset](https://core.telegram.org/api/custom-emoji.md) for supergroups. Only usable after reaching at least the [boost level »](https://core.telegram.org/api/boost.md) specified in the [`group_emoji_stickers_level_min` »](https://core.telegram.org/api/config.md#group-emoji-stickers-level-min) config parameter.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Kanal- und Supergruppen-Boosts](https://core.telegram.org/api/boost.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "channels.setEmojiStickers", "x-tl-id": "1020866743", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Channel and supergroup boosts", "https://core.telegram.org/api/boost.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.setEmojiStickers"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The supergroup"}, "stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "The custom emoji stickerset to associate to the supergroup"}}, "additionalProperties": false, "required": ["channel", "stickerset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The supergroup |\n| `stickerset` | `InputStickerSet` | Ja | The custom emoji stickerset to associate to the supergroup |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "1020866743"}}, "/catalog/channels.restrictSponsoredMessages": {"post": {"operationId": "channels.restrictSponsoredMessages", "tags": ["Kanäle und Supergruppen"], "summary": "Disable ads on the specified channel, for all users.", "description": "Disable ads on the specified channel, for all users.\n\nAvailable only after reaching at least the [boost level »](https://core.telegram.org/api/boost.md) specified in the [`channel_restrict_sponsored_level_min` »](https://core.telegram.org/api/config.md#channel-restrict-sponsored-level-min) config parameter.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanal- und Supergruppen-Boosts](https://core.telegram.org/api/boost.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "channels.restrictSponsoredMessages", "x-tl-id": "2598966553", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel and supergroup boosts", "https://core.telegram.org/api/boost.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.restrictSponsoredMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Der Kanal."}, "restricted": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to disable or re-enable ads."}}, "additionalProperties": false, "required": ["channel", "restricted"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Der Kanal. |\n| `restricted` | `Bool` | Ja | Whether to disable or re-enable ads. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2598966553"}}, "/catalog/channels.searchPosts": {"post": {"operationId": "channels.searchPosts", "tags": ["Kanäle und Supergruppen"], "summary": "Globally search for posts from public channels » (*including* those we aren't a member of) containing either a specific hashtag, *or* a full text query.", "description": "Globally search for posts from public [channels »](https://core.telegram.org/api/channel.md) (*including* those we aren't a member of) containing either a specific hashtag, *or* a full text query.\n\nExactly one of `query` and `hashtag` must be set.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Suche und Filter](https://core.telegram.org/api/search.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Benutzerautorisierung](https://core.telegram.org/api/auth.md)", "x-tl-method": "channels.searchPosts", "x-tl-id": "4072993357", "x-tl-result": "messages.Messages", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Search and filters", "https://core.telegram.org/api/search.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["User Authorization", "https://core.telegram.org/api/auth.md"]], "responses": {"200": {"description": "MTProto result · `messages.Messages`.\n\n[messages.Messages](https://core.telegram.org/type/messages.Messages.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Messages", "oneOf": [{"$ref": "#/components/schemas/messages.messages"}, {"$ref": "#/components/schemas/messages.messagesSlice"}, {"$ref": "#/components/schemas/messages.channelMessages"}, {"$ref": "#/components/schemas/messages.messagesNotModified"}], "description": "Type TL: messages.Messages."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 420 · `FROZEN_METHOD_INVALID` – Das aktuelle Konto ist [eingefroren](https://core.telegram.org/api/auth.md#frozen-accounts) und kann daher die angegebene Aktion nicht ausführen.\n- 400 · `OFFSET_PEER_ID_INVALID` – Der angegebene Offset-Peer ist ungültig.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — A premium account is required to execute this action."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.searchPosts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hashtag": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "The hashtag to search, without the `#` character."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "The full text query: each user has a limited amount of free full text search slots, after which payment is required, see [here »](https://core.telegram.org/api/search.md#posts-tab) for more info on the full flow."}, "offset_rate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Initially 0, then set to the [`next_rate` parameter of messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), or if that is absent, the `date` of the last returned message."}, "offset_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "For full text post searches (`query`), allows payment of the specified amount of Stars for the search, see [here »](https://core.telegram.org/api/search.md#posts-tab) for more info on the full flow.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "additionalProperties": false, "required": ["offset_rate", "offset_peer", "offset_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hashtag` | `string` | Nein | The hashtag to search, without the `#` character. |\n| `query` | `string` | Nein | The full text query: each user has a limited amount of free full text search slots, after which payment is required, see [here »](https://core.telegram.org/api/search.md#posts-tab) for more info on the full flow. |\n| `offset_rate` | `int` | Ja | Initially 0, then set to the [`next_rate` parameter of messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), or if that is absent, the `date` of the last returned message. |\n| `offset_peer` | `InputPeer` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |\n| `allow_paid_stars` | `long` | Nein | For full text post searches (`query`), allows payment of the specified amount of Stars for the search, see [here »](https://core.telegram.org/api/search.md#posts-tab) for more info on the full flow. |"}, "x-telegram-rpc-errors": ["FROZEN_METHOD_INVALID", "OFFSET_PEER_ID_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4072993357"}}, "/catalog/channels.updatePaidMessagesPrice": {"post": {"operationId": "channels.updatePaidMessagesPrice", "tags": ["Kanäle und Supergruppen"], "summary": "Enable or disable paid messages » in this supergroup or monoforum.", "description": "Enable or disable [paid messages »](https://core.telegram.org/api/paid-messages.md) in this [supergroup](https://core.telegram.org/api/channel.md) or [monoforum](https://core.telegram.org/api/monoforum.md).\n\nAlso used to [enable or disable monoforums aka direct messages in a channel](https://core.telegram.org/api/monoforum.md).\n\nNote that passing the ID of the monoforum itself to `channel` will return a `CHANNEL_MONOFORUM_UNSUPPORTED` error: pass the ID of the associated channel to edit the settings of the associated monoforum, instead.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)", "x-tl-method": "channels.updatePaidMessagesPrice", "x-tl-id": "1259483771", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 400 · `CHAT_NOT_MODIFIED` — An den Chat-Informationen wurden keine Änderungen vorgenommen, da die neuen Informationen, die Sie übergeben haben, mit den aktuellen Informationen identisch sind.\n- 400 · `STARS_AMOUNT_INVALID` — Der angegebene Betrag in Sternen ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.updatePaidMessagesPrice"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"broadcast_messages_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Only usable for channels, enables or disables the associated [monoforum aka direct messages](https://core.telegram.org/api/monoforum.md)."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Pass the supergroup ID for supergroups and the ID of the [channel](https://core.telegram.org/api/channel.md) to modify the setting in the associated monoforum."}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Specifies the required amount of [Telegram Stars](https://core.telegram.org/api/stars.md) users must pay to send messages to the supergroup or monoforum.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["channel", "send_paid_messages_stars"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `broadcast_messages_allowed` | `true` | Nein | Only usable for channels, enables or disables the associated [monoforum aka direct messages](https://core.telegram.org/api/monoforum.md). |\n| `channel` | `InputChannel` | Ja | Pass the supergroup ID for supergroups and the ID of the [channel](https://core.telegram.org/api/channel.md) to modify the setting in the associated monoforum. |\n| `send_paid_messages_stars` | `long` | Ja | Specifies the required amount of [Telegram Stars](https://core.telegram.org/api/stars.md) users must pay to send messages to the supergroup or monoforum. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_MONOFORUM_UNSUPPORTED", "CHAT_NOT_MODIFIED", "STARS_AMOUNT_INVALID"], "x-browser-schema-id": "1259483771"}}, "/catalog/channels.toggleAutotranslation": {"post": {"operationId": "channels.toggleAutotranslation", "tags": ["Kanäle und Supergruppen"], "summary": "Toggle autotranslation in a channel, for all users: see here » for more info.", "description": "Toggle autotranslation in a channel, for all users: see [here »](https://core.telegram.org/api/translation.md#autotranslation-for-channels) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenübersetzung](https://core.telegram.org/api/translation.md)", "x-tl-method": "channels.toggleAutotranslation", "x-tl-id": "377471137", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message translation", "https://core.telegram.org/api/translation.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.toggleAutotranslation"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The channel where to toggle autotranslation."}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to enable or disable autotranslation."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | The channel where to toggle autotranslation. |\n| `enabled` | `Bool` | Ja | Whether to enable or disable autotranslation. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "377471137"}}, "/catalog/channels.getMessageAuthor": {"post": {"operationId": "channels.getMessageAuthor", "tags": ["Kanäle und Supergruppen"], "summary": "Can only be invoked by non-bot admins of a monoforum », obtains the original sender of a message sent by other monoforum admins to the monoforum, on behalf of the channel associated to the monoforum.", "description": "Can only be invoked by non-bot admins of a [monoforum »](https://core.telegram.org/api/monoforum.md), obtains the original sender of a message sent by other monoforum admins to the monoforum, on behalf of the channel associated to the monoforum.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Direktnachrichten an Kanäle](https://core.telegram.org/api/monoforum.md)", "x-tl-method": "channels.getMessageAuthor", "x-tl-id": "3974275302", "x-tl-result": "User", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Direct messages to channels", "https://core.telegram.org/api/monoforum.md"]], "responses": {"200": {"description": "MTProto result · `User`.\n\n[User](https://core.telegram.org/type/User.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.getMessageAuthor"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "ID of the monoforum."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the message sent by a monoforum admin."}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | ID of the monoforum. |\n| `id` | `int` | Ja | ID of the message sent by a monoforum admin. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "3974275302"}}, "/catalog/channels.checkSearchPostsFlood": {"post": {"operationId": "channels.checkSearchPostsFlood", "tags": ["Kanäle und Supergruppen"], "summary": "Überprüfen Sie, ob für die angegebene globale Beitragssuche » eine Zahlung erforderlich ist.", "description": "Überprüfen Sie, ob für die angegebene [globale Beitragssuche »](https://core.telegram.org/api/search.md#posts-tab)] eine Zahlung erforderlich ist.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Suche und Filter](https://core.telegram.org/api/search.md)", "x-tl-method": "channels.checkSearchPostsFlood", "x-tl-id": "576090389", "x-tl-result": "SearchPostsFlood", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Search and filters", "https://core.telegram.org/api/search.md"]], "responses": {"200": {"description": "MTProto result · `SearchPostsFlood`.\n\n[SearchPostsFlood](https://core.telegram.org/type/SearchPostsFlood.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "SearchPostsFlood", "oneOf": [{"$ref": "#/components/schemas/searchPostsFlood"}], "description": "TL Type: SearchPostsFlood."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.checkSearchPostsFlood"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "The query."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `query` | `string` | Nein | The query. |"}, "x-browser-schema-id": "576090389"}}, "/catalog/channels.setMainProfileTab": {"post": {"operationId": "channels.setMainProfileTab", "tags": ["Kanäle und Supergruppen"], "summary": "Ändert die Hauptprofilregisterkarte eines Kanals. Weitere Informationen finden Sie hier ».", "description": "Ändert die Hauptprofilregisterkarte eines Kanals. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/profile.md#tabs).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerprofile](https://core.telegram.org/api/profile.md)", "x-tl-method": "channels.setMainProfileTab", "x-tl-id": "897842353", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["User profiles", "https://core.telegram.org/api/profile.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/channels.setMainProfileTab"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Der Kanal."}, "tab": {"type": "object", "x-tl-type": "ProfileTab", "oneOf": [{"$ref": "#/components/schemas/profileTabPosts"}, {"$ref": "#/components/schemas/profileTabGifts"}, {"$ref": "#/components/schemas/profileTabMedia"}, {"$ref": "#/components/schemas/profileTabFiles"}, {"$ref": "#/components/schemas/profileTabMusic"}, {"$ref": "#/components/schemas/profileTabVoice"}, {"$ref": "#/components/schemas/profileTabLinks"}, {"$ref": "#/components/schemas/profileTabGifs"}], "description": "The tab to set as main tab."}}, "additionalProperties": false, "required": ["channel", "tab"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Der Kanal. |\n| `tab` | `ProfileTab` | Ja | The tab to set as main tab. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "897842353"}}, "/catalog/channels.editChannelNews": {"post": {"operationId": "channels.editChannelNews", "tags": ["Kanäle und Supergruppen"], "summary": "channels.editChannelNews", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "channels.editChannelNews", "x-tl-id": "3607427461", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel."}, "news": {"type": "boolean", "x-tl-type": "Bool", "description": "Wert des TL-Typs `Bool`."}}, "additionalProperties": false, "required": ["channel", "news"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | TL Type: InputChannel. |\n| `news` | `Bool` | Ja | Wert des TL-Typs `Bool`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3607427461"}}, "/catalog/bots.sendCustomRequest": {"post": {"operationId": "bots.sendCustomRequest", "tags": ["Bots"], "summary": "Sends a custom request; for bots only", "description": "Sends a custom request; for bots only\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "bots.sendCustomRequest", "x-tl-id": "2854709741", "x-tl-result": "DataJSON", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `DataJSON`.\n\n[DataJSON](https://core.telegram.org/type/DataJSON.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "TL type: DataJSON."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `DATA_JSON_INVALID` – Die bereitgestellten JSON-Daten sind ungültig.\n- 400 · `METHOD_INVALID` – Die angegebene Methode ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.sendCustomRequest"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"custom_method": {"type": "string", "x-tl-type": "string", "description": "The method name"}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "JSON-serialized method parameters"}}, "additionalProperties": false, "required": ["custom_method", "params"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `custom_method` | `string` | Ja | The method name |\n| `params` | `DataJSON` | Ja | JSON-serialized method parameters |"}, "x-telegram-rpc-errors": ["DATA_JSON_INVALID", "METHOD_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "2854709741"}}, "/catalog/bots.answerWebhookJSONQuery": {"post": {"operationId": "bots.answerWebhookJSONQuery", "tags": ["Bots"], "summary": "Answers a custom query; for bots only", "description": "Answers a custom query; for bots only\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "bots.answerWebhookJSONQuery", "x-tl-id": "3860938573", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `DATA_JSON_INVALID` – Die bereitgestellten JSON-Daten sind ungültig.\n- 400 · `QUERY_ID_INVALID` – Die Abfrage-ID ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.answerWebhookJSONQuery"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identifier of a custom query", "x-tl-type": "long"}, "data": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "JSON-serialized answer to the query"}}, "additionalProperties": false, "required": ["query_id", "data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Ja | Identifier of a custom query |\n| `data` | `DataJSON` | Ja | JSON-serialized answer to the query |"}, "x-telegram-rpc-errors": ["DATA_JSON_INVALID", "QUERY_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3860938573"}}, "/catalog/bots.setBotCommands": {"post": {"operationId": "bots.setBotCommands", "tags": ["Bots"], "summary": "Set bot command list", "description": "Set bot command list\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "bots.setBotCommands", "x-tl-id": "85399130", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_COMMAND_DESCRIPTION_INVALID` – Die angegebene Befehlsbeschreibung ist ungültig.\n- 400 · `BOT_COMMAND_INVALID` – Der angegebene Befehl ist ungültig.\n- 400 · `LANG_CODE_INVALID` – Der angegebene Sprachcode ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.setBotCommands"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"scope": {"type": "object", "x-tl-type": "BotCommandScope", "oneOf": [{"$ref": "#/components/schemas/botCommandScopeDefault"}, {"$ref": "#/components/schemas/botCommandScopeUsers"}, {"$ref": "#/components/schemas/botCommandScopeChats"}, {"$ref": "#/components/schemas/botCommandScopeChatAdmins"}, {"$ref": "#/components/schemas/botCommandScopePeer"}, {"$ref": "#/components/schemas/botCommandScopePeerAdmins"}, {"$ref": "#/components/schemas/botCommandScopePeerUser"}], "description": "Command scope"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode"}, "commands": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "oneOf": [{"$ref": "#/components/schemas/botCommand"}], "description": "TL Type: BotCommand."}, "x-tl-type": "Vector<BotCommand>", "description": "Bot commands"}}, "additionalProperties": false, "required": ["scope", "lang_code", "commands"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `scope` | `BotCommandScope` | Ja | Command scope |\n| `lang_code` | `string` | Ja | Sprachcode |\n| `commands` | `Vector<BotCommand>` | Ja | Bot commands |"}, "x-telegram-rpc-errors": ["BOT_COMMAND_DESCRIPTION_INVALID", "BOT_COMMAND_INVALID", "LANG_CODE_INVALID", "PEER_ID_INVALID", "USER_BOT_REQUIRED", "USER_ID_INVALID"], "x-browser-schema-id": "85399130"}}, "/catalog/bots.resetBotCommands": {"post": {"operationId": "bots.resetBotCommands", "tags": ["Bots"], "summary": "Clear bot commands for the specified bot scope and language code", "description": "Clear bot commands for the specified bot scope and language code\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "bots.resetBotCommands", "x-tl-id": "1032708345", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `LANG_CODE_INVALID` – Der angegebene Sprachcode ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.resetBotCommands"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"scope": {"type": "object", "x-tl-type": "BotCommandScope", "oneOf": [{"$ref": "#/components/schemas/botCommandScopeDefault"}, {"$ref": "#/components/schemas/botCommandScopeUsers"}, {"$ref": "#/components/schemas/botCommandScopeChats"}, {"$ref": "#/components/schemas/botCommandScopeChatAdmins"}, {"$ref": "#/components/schemas/botCommandScopePeer"}, {"$ref": "#/components/schemas/botCommandScopePeerAdmins"}, {"$ref": "#/components/schemas/botCommandScopePeerUser"}], "description": "Command scope"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode"}}, "additionalProperties": false, "required": ["scope", "lang_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `scope` | `BotCommandScope` | Ja | Command scope |\n| `lang_code` | `string` | Ja | Sprachcode |"}, "x-telegram-rpc-errors": ["LANG_CODE_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "1032708345"}}, "/catalog/bots.getBotCommands": {"post": {"operationId": "bots.getBotCommands", "tags": ["Bots"], "summary": "Obtain a list of bot commands for the specified bot scope and language code", "description": "Obtain a list of bot commands for the specified bot scope and language code\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "bots.getBotCommands", "x-tl-id": "3813412310", "x-tl-result": "Vector<BotCommand>", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<BotCommand>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[BotCommand](https://core.telegram.org/type/BotCommand.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "oneOf": [{"$ref": "#/components/schemas/botCommand"}], "description": "TL Type: BotCommand."}, "x-tl-type": "Vector<BotCommand>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getBotCommands"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"scope": {"type": "object", "x-tl-type": "BotCommandScope", "oneOf": [{"$ref": "#/components/schemas/botCommandScopeDefault"}, {"$ref": "#/components/schemas/botCommandScopeUsers"}, {"$ref": "#/components/schemas/botCommandScopeChats"}, {"$ref": "#/components/schemas/botCommandScopeChatAdmins"}, {"$ref": "#/components/schemas/botCommandScopePeer"}, {"$ref": "#/components/schemas/botCommandScopePeerAdmins"}, {"$ref": "#/components/schemas/botCommandScopePeerUser"}], "description": "Command scope"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode"}}, "additionalProperties": false, "required": ["scope", "lang_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `scope` | `BotCommandScope` | Ja | Command scope |\n| `lang_code` | `string` | Ja | Sprachcode |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED"], "x-browser-schema-id": "3813412310"}}, "/catalog/bots.setBotMenuButton": {"post": {"operationId": "bots.setBotMenuButton", "tags": ["Bots"], "summary": "Sets the menu button action » for a given user or for all users", "description": "Sets the [menu button action »](https://core.telegram.org/api/bots/menu.md) for a given user or for all users\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Bot-Menüschaltfläche](https://core.telegram.org/api/bots/menu.md)", "x-tl-method": "bots.setBotMenuButton", "x-tl-id": "1157944655", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Bot menu button", "https://core.telegram.org/api/bots/menu.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUTTON_INVALID` – Die angegebene Schaltfläche ist ungültig.\n- 400 · `BUTTON_TEXT_INVALID` – Der angegebene Schaltflächentext ist ungültig.\n- 400 · `BUTTON_URL_INVALID` – Schaltfläche URL ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.setBotMenuButton"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Benutzer-ID"}, "button": {"type": "object", "x-tl-type": "BotMenuButton", "oneOf": [{"$ref": "#/components/schemas/botMenuButtonDefault"}, {"$ref": "#/components/schemas/botMenuButtonCommands"}, {"$ref": "#/components/schemas/botMenuButton"}], "description": "Bot menu button action"}}, "additionalProperties": false, "required": ["user_id", "button"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | Benutzer-ID |\n| `button` | `BotMenuButton` | Ja | Bot menu button action |"}, "x-telegram-rpc-errors": ["BUTTON_INVALID", "BUTTON_TEXT_INVALID", "BUTTON_URL_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "1157944655"}}, "/catalog/bots.getBotMenuButton": {"post": {"operationId": "bots.getBotMenuButton", "tags": ["Bots"], "summary": "Gets the menu button action for a given user or for all users, previously set using bots.setBotMenuButton; users can see this information in the botInfo constructor.", "description": "Gets the menu button action for a given user or for all users, previously set using [bots.setBotMenuButton](https://core.telegram.org/method/bots.setBotMenuButton.md); users can see this information in the [botInfo](https://core.telegram.org/constructor/botInfo.md) constructor.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.", "x-tl-method": "bots.getBotMenuButton", "x-tl-id": "2623597352", "x-tl-result": "BotMenuButton", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `BotMenuButton`.\n\n[BotMenuButton](https://core.telegram.org/type/BotMenuButton.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BotMenuButton", "oneOf": [{"$ref": "#/components/schemas/botMenuButtonDefault"}, {"$ref": "#/components/schemas/botMenuButtonCommands"}, {"$ref": "#/components/schemas/botMenuButton"}], "description": "TL Type: BotMenuButton."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getBotMenuButton"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "User ID or empty for the default menu button."}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | User ID or empty for the default menu button. |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED"], "x-browser-schema-id": "2623597352"}}, "/catalog/bots.setBotBroadcastDefaultAdminRights": {"post": {"operationId": "bots.setBotBroadcastDefaultAdminRights", "tags": ["Bots"], "summary": "Set the default suggested admin rights for bots being added as admins to channels, see here for more info on how to handle them ».", "description": "Set the default [suggested admin rights](https://core.telegram.org/api/rights.md#suggested-bot-rights) for bots being added as admins to channels, see [here for more info on how to handle them »](https://core.telegram.org/api/rights.md#suggested-bot-rights).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Admin, gesperrt, Standardrechte](https://core.telegram.org/api/rights.md)", "x-tl-method": "bots.setBotBroadcastDefaultAdminRights", "x-tl-id": "2021942497", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Admin, banned, default rights", "https://core.telegram.org/api/rights.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `RIGHTS_NOT_MODIFIED` – Die neuen Administratorrechte entsprechen den alten Rechten, es wurde keine Änderung vorgenommen.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.setBotBroadcastDefaultAdminRights"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "oneOf": [{"$ref": "#/components/schemas/chatAdminRights"}], "description": "Admin-Rechte"}}, "additionalProperties": false, "required": ["admin_rights"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `admin_rights` | `ChatAdminRights` | Ja | Admin-Rechte |"}, "x-telegram-rpc-errors": ["RIGHTS_NOT_MODIFIED", "USER_BOT_REQUIRED"], "x-browser-schema-id": "2021942497"}}, "/catalog/bots.setBotGroupDefaultAdminRights": {"post": {"operationId": "bots.setBotGroupDefaultAdminRights", "tags": ["Bots"], "summary": "Set the default suggested admin rights for bots being added as admins to groups, see here for more info on how to handle them ».", "description": "Set the default [suggested admin rights](https://core.telegram.org/api/rights.md#suggested-bot-rights) for bots being added as admins to groups, see [here for more info on how to handle them »](https://core.telegram.org/api/rights.md#suggested-bot-rights).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Admin, gesperrt, Standardrechte](https://core.telegram.org/api/rights.md)", "x-tl-method": "bots.setBotGroupDefaultAdminRights", "x-tl-id": "2455685610", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Admin, banned, default rights", "https://core.telegram.org/api/rights.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `RIGHTS_NOT_MODIFIED` – Die neuen Administratorrechte entsprechen den alten Rechten, es wurde keine Änderung vorgenommen.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.setBotGroupDefaultAdminRights"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "oneOf": [{"$ref": "#/components/schemas/chatAdminRights"}], "description": "Admin-Rechte"}}, "additionalProperties": false, "required": ["admin_rights"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `admin_rights` | `ChatAdminRights` | Ja | Admin-Rechte |"}, "x-telegram-rpc-errors": ["RIGHTS_NOT_MODIFIED", "USER_BOT_REQUIRED"], "x-browser-schema-id": "2455685610"}}, "/catalog/bots.setBotInfo": {"post": {"operationId": "bots.setBotInfo", "tags": ["Bots"], "summary": "Set localized name, about text and description of a bot (or of the current account, if called by a bot).", "description": "Set localized name, about text and description of a bot (or of the current account, if called by a bot).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "bots.setBotInfo", "x-tl-id": "282013987", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `USER_BOT_INVALID` – Benutzerkonten müssen beim Aufruf dieser Methode den Methodenparameter `bot` bereitstellen. Wenn kein solcher Methodenparameter vorhanden ist, kann diese Methode nur von Bot-Konten aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.setBotInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "If called by a user, **must** contain the peer of a bot we own.", "x-tl-flag": "flags.2?InputUser"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Language code, if left empty update the fallback about text and description"}, "name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "New bot name"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "New about text"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "New description"}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Nein | If called by a user, **must** contain the peer of a bot we own. |\n| `lang_code` | `string` | Ja | Language code, if left empty update the fallback about text and description |\n| `name` | `string` | Nein | New bot name |\n| `about` | `string` | Nein | New about text |\n| `description` | `string` | Nein | New description |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_INVALID"], "x-browser-schema-id": "282013987"}}, "/catalog/bots.getBotInfo": {"post": {"operationId": "bots.getBotInfo", "tags": ["Bots"], "summary": "Get localized name, about text and description of a bot (or of the current account, if called by a bot).", "description": "Get localized name, about text and description of a bot (or of the current account, if called by a bot).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "bots.getBotInfo", "x-tl-id": "3705214205", "x-tl-result": "bots.BotInfo", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `bots.BotInfo`.\n\n[bots.BotInfo](https://core.telegram.org/type/bots.BotInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "bots.BotInfo", "oneOf": [{"$ref": "#/components/schemas/bots.botInfo"}], "description": "TL type: bots.BotInfo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `LANG_CODE_INVALID` – Der angegebene Sprachcode ist ungültig.\n- 400 · `USER_BOT_INVALID` – Benutzerkonten müssen beim Aufruf dieser Methode den Methodenparameter `bot` bereitstellen. Wenn kein solcher Methodenparameter vorhanden ist, kann diese Methode nur von Bot-Konten aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getBotInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "If called by a user, **must** contain the peer of a bot we own.", "x-tl-flag": "flags.0?InputUser"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Language code, if left empty this method will return the fallback about text and description."}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Nein | If called by a user, **must** contain the peer of a bot we own. |\n| `lang_code` | `string` | Ja | Language code, if left empty this method will return the fallback about text and description. |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "LANG_CODE_INVALID", "USER_BOT_INVALID"], "x-browser-schema-id": "3705214205"}}, "/catalog/bots.reorderUsernames": {"post": {"operationId": "bots.reorderUsernames", "tags": ["Bots"], "summary": "Reorder usernames associated to a bot we own.", "description": "Reorder usernames associated to a bot we own.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "bots.reorderUsernames", "x-tl-id": "2533994946", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `USERNAME_NOT_MODIFIED` — The username was not modified."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.reorderUsernames"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot"}, "order": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "The new order for active usernames. All active usernames must be specified."}}, "additionalProperties": false, "required": ["bot", "order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot |\n| `order` | `Vector<string>` | Ja | The new order for active usernames. All active usernames must be specified. |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "2533994946"}}, "/catalog/bots.toggleUsername": {"post": {"operationId": "bots.toggleUsername", "tags": ["Bots"], "summary": "Aktivieren oder deaktivieren Sie einen gekauften fragment.com-Benutzernamen, der einem Bot zugeordnet ist, der uns gehört.", "description": "Aktivieren oder deaktivieren Sie einen gekauften [fragment.com](https://fragment.com) Benutzernamen, der einem Bot zugeordnet ist, der uns gehört.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "bots.toggleUsername", "x-tl-id": "87861619", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `USERNAME_NOT_MODIFIED` — The username was not modified."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.toggleUsername"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot"}, "username": {"type": "string", "x-tl-type": "string", "description": "Benutzername"}, "active": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to activate or deactivate it"}}, "additionalProperties": false, "required": ["bot", "username", "active"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot |\n| `username` | `string` | Ja | Benutzername |\n| `active` | `Bool` | Ja | Whether to activate or deactivate it |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "87861619"}}, "/catalog/bots.canSendMessage": {"post": {"operationId": "bots.canSendMessage", "tags": ["Bots"], "summary": "Prüfen Sie, ob der angegebene Bot uns Nachrichten senden kann", "description": "Prüfen Sie, ob der angegebene Bot uns Nachrichten senden kann\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "bots.canSendMessage", "x-tl-id": "324662502", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.canSendMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "324662502"}}, "/catalog/bots.allowSendMessage": {"post": {"operationId": "bots.allowSendMessage", "tags": ["Bots"], "summary": "Erlauben Sie dem angegebenen Bot, uns Nachrichten zu senden", "description": "Erlauben Sie dem angegebenen Bot, uns Nachrichten zu senden\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "bots.allowSendMessage", "x-tl-id": "4046644207", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.allowSendMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "4046644207"}}, "/catalog/bots.invokeWebViewCustomMethod": {"post": {"operationId": "bots.invokeWebViewCustomMethod", "tags": ["Bots"], "summary": "Send a custom request from a mini bot app, triggered by a web\\_app\\_invoke\\_custom\\_method event ».", "description": "Send a custom request from a [mini bot app](https://core.telegram.org/api/bots/webapps.md), triggered by a [web\\_app\\_invoke\\_custom\\_method event »](https://core.telegram.org/api/web-events.md#web-app-invoke-custom-method).\n\nThe response should be sent using a [custom\\_method\\_invoked](https://core.telegram.org/api/bots/webapps.md#custom-method-invoked) event, [see here »](https://core.telegram.org/api/web-events.md#web-app-invoke-custom-method) for more info on the flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Web-Events](https://core.telegram.org/api/web-events.md)", "x-tl-method": "bots.invokeWebViewCustomMethod", "x-tl-id": "142591463", "x-tl-result": "DataJSON", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"], ["Web events", "https://core.telegram.org/api/web-events.md"]], "responses": {"200": {"description": "MTProto result · `DataJSON`.\n\n[DataJSON](https://core.telegram.org/type/DataJSON.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "TL type: DataJSON."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `DATA_JSON_INVALID` – Die bereitgestellten JSON-Daten sind ungültig.\n- 400 · `METHOD_INVALID` – Die angegebene Methode ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.invokeWebViewCustomMethod"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Identifier of the bot associated to the [mini bot app](https://core.telegram.org/api/bots/webapps.md)"}, "custom_method": {"type": "string", "x-tl-type": "string", "description": "Identifier of the custom method to invoke"}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Method parameters"}}, "additionalProperties": false, "required": ["bot", "custom_method", "params"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | Identifier of the bot associated to the [mini bot app](https://core.telegram.org/api/bots/webapps.md) |\n| `custom_method` | `string` | Ja | Identifier of the custom method to invoke |\n| `params` | `DataJSON` | Ja | Method parameters |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "DATA_JSON_INVALID", "METHOD_INVALID"], "x-browser-schema-id": "142591463"}}, "/catalog/bots.getPopularAppBots": {"post": {"operationId": "bots.getPopularAppBots", "tags": ["Bots"], "summary": "Fetch popular Main Mini Apps, to be used in the apps tab of global search ».", "description": "Fetch popular [Main Mini Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps), to be used in the [apps tab of global search »](https://core.telegram.org/api/search.md#apps-tab).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Suche und Filter](https://core.telegram.org/api/search.md)", "x-tl-method": "bots.getPopularAppBots", "x-tl-id": "3260088722", "x-tl-result": "bots.PopularAppBots", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"], ["Search and filters", "https://core.telegram.org/api/search.md"]], "responses": {"200": {"description": "MTProto result · `bots.PopularAppBots`.\n\n[bots.PopularAppBots](https://core.telegram.org/type/bots.PopularAppBots.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "bots.PopularAppBots", "oneOf": [{"$ref": "#/components/schemas/bots.popularAppBots"}], "description": "TL type: bots.PopularAppBots."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getPopularAppBots"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offset": {"type": "string", "x-tl-type": "string", "description": "Offset for [pagination](https://core.telegram.org/api/offsets.md), initially an empty string, then re-use the `next_offset` returned by the previous query."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offset` | `string` | Ja | Offset for [pagination](https://core.telegram.org/api/offsets.md), initially an empty string, then re-use the `next_offset` returned by the previous query. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "3260088722"}}, "/catalog/bots.addPreviewMedia": {"post": {"operationId": "bots.addPreviewMedia", "tags": ["Bots"], "summary": "Add a main mini app preview, see here » for more info.", "description": "Add a [main mini app preview, see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info.\n\nOnly owners of bots with a configured Main Mini App can use this method, see [see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info on how to check if you can invoke this method.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "bots.addPreviewMedia", "x-tl-id": "397326170", "x-tl-result": "BotPreviewMedia", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `BotPreviewMedia`.\n\n[BotPreviewMedia](https://core.telegram.org/type/BotPreviewMedia.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BotPreviewMedia", "oneOf": [{"$ref": "#/components/schemas/botPreviewMedia"}], "description": "TL Type: BotPreviewMedia."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.addPreviewMedia"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that owns the Main Mini App."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO 639-1 language code, indicating the localization of the preview to add."}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "The photo/video preview, uploaded using [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md)."}}, "additionalProperties": false, "required": ["bot", "lang_code", "media"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot that owns the Main Mini App. |\n| `lang_code` | `string` | Ja | ISO 639-1 language code, indicating the localization of the preview to add. |\n| `media` | `InputMedia` | Ja | The photo/video preview, uploaded using [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md). |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "397326170"}}, "/catalog/bots.editPreviewMedia": {"post": {"operationId": "bots.editPreviewMedia", "tags": ["Bots"], "summary": "Edit a main mini app preview, see here » for more info.", "description": "Edit a [main mini app preview, see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info.\n\nOnly owners of bots with a configured Main Mini App can use this method, see [see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info on how to check if you can invoke this method.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "bots.editPreviewMedia", "x-tl-id": "2233819247", "x-tl-result": "BotPreviewMedia", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `BotPreviewMedia`.\n\n[BotPreviewMedia](https://core.telegram.org/type/BotPreviewMedia.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BotPreviewMedia", "oneOf": [{"$ref": "#/components/schemas/botPreviewMedia"}], "description": "TL Type: BotPreviewMedia."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.editPreviewMedia"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that owns the Main Mini App."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO 639-1 language code, indicating the localization of the preview to edit."}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "The photo/video preview to replace, previously fetched as specified [here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews)."}, "new_media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "The new photo/video preview, uploaded using [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md)."}}, "additionalProperties": false, "required": ["bot", "lang_code", "media", "new_media"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot that owns the Main Mini App. |\n| `lang_code` | `string` | Ja | ISO 639-1 language code, indicating the localization of the preview to edit. |\n| `media` | `InputMedia` | Ja | The photo/video preview to replace, previously fetched as specified [here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews). |\n| `new_media` | `InputMedia` | Ja | The new photo/video preview, uploaded using [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md). |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2233819247"}}, "/catalog/bots.deletePreviewMedia": {"post": {"operationId": "bots.deletePreviewMedia", "tags": ["Bots"], "summary": "Delete a main mini app preview, see here » for more info.", "description": "Delete a [main mini app preview, see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info.\n\nOnly owners of bots with a configured Main Mini App can use this method, see [see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info on how to check if you can invoke this method.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "bots.deletePreviewMedia", "x-tl-id": "755054003", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.deletePreviewMedia"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that owns the Main Mini App."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO 639-1 language code, indicating the localization of the preview to delete."}, "media": {"type": "array", "items": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "TL Type: InputMedia."}, "x-tl-type": "Vector<InputMedia>", "description": "The photo/video preview to delete, previously fetched as specified [here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews)."}}, "additionalProperties": false, "required": ["bot", "lang_code", "media"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot that owns the Main Mini App. |\n| `lang_code` | `string` | Ja | ISO 639-1 language code, indicating the localization of the preview to delete. |\n| `media` | `Vector<InputMedia>` | Ja | The photo/video preview to delete, previously fetched as specified [here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews). |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "755054003"}}, "/catalog/bots.reorderPreviewMedias": {"post": {"operationId": "bots.reorderPreviewMedias", "tags": ["Bots"], "summary": "Reorder a main mini app previews, see here » for more info.", "description": "Reorder a [main mini app previews, see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info.\n\nOnly owners of bots with a configured Main Mini App can use this method, see [see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info on how to check if you can invoke this method.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "bots.reorderPreviewMedias", "x-tl-id": "3056071594", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.reorderPreviewMedias"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that owns the Main Mini App."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO 639-1 language code, indicating the localization of the previews to reorder."}, "order": {"type": "array", "items": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "TL Type: InputMedia."}, "x-tl-type": "Vector<InputMedia>", "description": "New order of the previews."}}, "additionalProperties": false, "required": ["bot", "lang_code", "order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot that owns the Main Mini App. |\n| `lang_code` | `string` | Ja | ISO 639-1 language code, indicating the localization of the previews to reorder. |\n| `order` | `Vector<InputMedia>` | Ja | New order of the previews. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "3056071594"}}, "/catalog/bots.getPreviewInfo": {"post": {"operationId": "bots.getPreviewInfo", "tags": ["Bots"], "summary": "Bot owners only, fetch main mini app preview information, see here » for more info.", "description": "Bot owners only, fetch [main mini app preview information, see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info.\n\nNote: technically non-owners may also invoke this method, but it will always behave exactly as [bots.getPreviewMedias](https://core.telegram.org/method/bots.getPreviewMedias.md), returning only previews for the current language and an empty `lang_codes` array, regardless of the passed `lang_code`, so please only use [bots.getPreviewMedias](https://core.telegram.org/method/bots.getPreviewMedias.md) if you're not the owner of the `bot`.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "bots.getPreviewInfo", "x-tl-id": "1111143341", "x-tl-result": "bots.PreviewInfo", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `bots.PreviewInfo`.\n\n[bots.PreviewInfo](https://core.telegram.org/type/bots.PreviewInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "bots.PreviewInfo", "oneOf": [{"$ref": "#/components/schemas/bots.previewInfo"}], "description": "TL type: bots.PreviewInfo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getPreviewInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that owns the Main Mini App."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Fetch previews for the specified ISO 639-1 language code."}}, "additionalProperties": false, "required": ["bot", "lang_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot that owns the Main Mini App. |\n| `lang_code` | `string` | Ja | Fetch previews for the specified ISO 639-1 language code. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "1111143341"}}, "/catalog/bots.getPreviewMedias": {"post": {"operationId": "bots.getPreviewMedias", "tags": ["Bots"], "summary": "Fetch main mini app previews, see here » for more info.", "description": "Fetch [main mini app previews, see here »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)", "x-tl-method": "bots.getPreviewMedias", "x-tl-id": "2728745293", "x-tl-result": "Vector<BotPreviewMedia>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"]], "responses": {"200": {"description": "MTProto result · `Vector<BotPreviewMedia>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[BotPreviewMedia](https://core.telegram.org/type/BotPreviewMedia.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "BotPreviewMedia", "oneOf": [{"$ref": "#/components/schemas/botPreviewMedia"}], "description": "TL Type: BotPreviewMedia."}, "x-tl-type": "Vector<BotPreviewMedia>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getPreviewMedias"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that owns the Main Mini App."}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot that owns the Main Mini App. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2728745293"}}, "/catalog/bots.updateUserEmojiStatus": {"post": {"operationId": "bots.updateUserEmojiStatus", "tags": ["Bots"], "summary": "Den Emoji-Status eines Benutzers ändern (von Bots aufgerufen, siehe hier » für weitere Informationen zum gesamten Ablauf)", "description": "Change the emoji status of a user (invoked by bots, see [here »](https://core.telegram.org/api/emoji-status.md#setting-an-emoji-status-from-a-bot) for more info on the full flow)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-tl-method": "bots.updateUserEmojiStatus", "x-tl-id": "3986632901", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Emoji status", "https://core.telegram.org/api/emoji-status.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 403 · `USER_PERMISSION_DENIED` – Der Benutzer hat dem Bot den Zugriff zum Ändern seines Emoji-Status mit [bots.toggleUserEmojiStatusPermission](https://core.telegram.org/method/bots.toggleUserEmojiStatusPermission.md)] nicht gewährt oder widerrufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.updateUserEmojiStatus"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user whose emoji status should be changed"}, "emoji_status": {"type": "object", "x-tl-type": "EmojiStatus", "oneOf": [{"$ref": "#/components/schemas/emojiStatusEmpty"}, {"$ref": "#/components/schemas/emojiStatus"}, {"$ref": "#/components/schemas/emojiStatusCollectible"}, {"$ref": "#/components/schemas/inputEmojiStatusCollectible"}], "description": "The emoji status"}}, "additionalProperties": false, "required": ["user_id", "emoji_status"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | The user whose emoji status should be changed |\n| `emoji_status` | `EmojiStatus` | Ja | The emoji status |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED", "USER_ID_INVALID", "USER_PERMISSION_DENIED"], "x-browser-schema-id": "3986632901"}}, "/catalog/bots.toggleUserEmojiStatusPermission": {"post": {"operationId": "bots.toggleUserEmojiStatusPermission", "tags": ["Bots"], "summary": "Zulassen oder verhindern, dass ein Bot unseren Emoji-Status ändert »", "description": "Zulassen oder verhindern, dass ein Bot [unseren Emoji-Status ändert »](https://core.telegram.org/api/emoji-status.md#setting-an-emoji-status-from-a-bot)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-tl-method": "bots.toggleUserEmojiStatusPermission", "x-tl-id": "115237778", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Emoji status", "https://core.telegram.org/api/emoji-status.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.toggleUserEmojiStatusPermission"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to allow or prevent the bot from changing our emoji status"}}, "additionalProperties": false, "required": ["bot", "enabled"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot |\n| `enabled` | `Bool` | Ja | Whether to allow or prevent the bot from changing our emoji status |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "115237778"}}, "/catalog/bots.checkDownloadFileParams": {"post": {"operationId": "bots.checkDownloadFileParams", "tags": ["Bots"], "summary": "Überprüfen Sie, ob eine Mini-App den Download einer bestimmten Datei anfordern kann: Wird bei der Verarbeitung von web\\_app\\_request\\_file\\_download-Ereignissen aufgerufen »", "description": "Überprüfen Sie, ob eine [Mini-App](https://core.telegram.org/api/bots/webapps.md) den Download einer bestimmten Datei anfordern kann: wird aufgerufen, wenn [web\\_app\\_request\\_file\\_download-Ereignisse verarbeitet werden »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Web-Events](https://core.telegram.org/api/web-events.md)", "x-tl-method": "bots.checkDownloadFileParams", "x-tl-id": "1342666121", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"], ["Web events", "https://core.telegram.org/api/web-events.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.checkDownloadFileParams"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that owns the [mini app](https://core.telegram.org/api/bots/webapps.md) that requested the download"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "The `filename` from the [web_app_request_file_download event »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)"}, "url": {"type": "string", "x-tl-type": "string", "description": "The `url` from the [web_app_request_file_download event »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)"}}, "additionalProperties": false, "required": ["bot", "file_name", "url"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot that owns the [mini app](https://core.telegram.org/api/bots/webapps.md) that requested the download |\n| `file_name` | `string` | Ja | The `filename` from the [web_app_request_file_download event »](https://core.telegram.org/api/web-events.md#web-app-request-file-download) |\n| `url` | `string` | Ja | The `url` from the [web_app_request_file_download event »](https://core.telegram.org/api/web-events.md#web-app-request-file-download) |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "1342666121"}}, "/catalog/bots.getAdminedBots": {"post": {"operationId": "bots.getAdminedBots", "tags": ["Bots"], "summary": "Get a list of bots owned by the current user", "description": "Get a list of bots owned by the current user", "x-tl-method": "bots.getAdminedBots", "x-tl-id": "2960203139", "x-tl-result": "Vector<User>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<User>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[User](https://core.telegram.org/type/User.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}, "x-tl-type": "Vector<User>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getAdminedBots"}, "x-browser-schema-id": "2960203139"}}, "/catalog/bots.updateStarRefProgram": {"post": {"operationId": "bots.updateStarRefProgram", "tags": ["Bots"], "summary": "Erstellen, bearbeiten oder löschen Sie das Partnerprogramm eines Bots, der uns gehört", "description": "Erstellen, bearbeiten oder löschen Sie das [Partnerprogramm](https://core.telegram.org/api/bots/referrals.md) eines Bots, der uns gehört\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Partnerprogramme](https://core.telegram.org/api/bots/referrals.md)", "x-tl-method": "bots.updateStarRefProgram", "x-tl-id": "2005621427", "x-tl-result": "StarRefProgram", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Affiliate programs", "https://core.telegram.org/api/bots/referrals.md"]], "responses": {"200": {"description": "MTProto result · `StarRefProgram`.\n\n[StarRefProgram](https://core.telegram.org/type/StarRefProgram.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StarRefProgram", "oneOf": [{"$ref": "#/components/schemas/starRefProgram"}], "description": "TL Type: StarRefProgram."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `STARREF_AWAITING_END` – Das vorherige Empfehlungsprogramm wurde vor weniger als 24 Stunden beendet: Weitere Änderungen können nach dem in userFull.starref_program.end_date angegebenen Datum vorgenommen werden.\n- 400 · `STARREF_PERMILLE_INVALID` – Die angegebene commission_permille ist ungültig: Die Mindest- und Höchstwerte für diesen Parameter sind in den Client-Konfigurationsparametern [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) und [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille)) enthalten.\n- 400 · `STARREF_PERMILLE_TOO_LOW` – Der angegebene commission_permille ist zu niedrig: Die Mindest- und Höchstwerte für diesen Parameter sind in den Client-Konfigurationsparametern [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) und [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille)) enthalten."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.updateStarRefProgram"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot"}, "commission_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The permille commission rate: it indicates the share of Telegram Stars received by affiliates for every transaction made by users they referred inside of the bot.     The minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille) client configuration parameters.    Can be `0` to terminate the affiliate program.   Both the duration and the commission may only be raised after creation of the program: to lower them, the program must first be terminated and a new one created."}, "duration_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Indicates the duration of the affiliate program; if not set, there is no expiration date."}}, "additionalProperties": false, "required": ["bot", "commission_permille"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot |\n| `commission_permille` | `int` | Ja | The permille commission rate: it indicates the share of Telegram Stars received by affiliates for every transaction made by users they referred inside of the bot.     The minimum and maximum values for this parameter are contained in the [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) and [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille) client configuration parameters.    Can be `0` to terminate the affiliate program.   Both the duration and the commission may only be raised after creation of the program: to lower them, the program must first be terminated and a new one created. |\n| `duration_months` | `int` | Nein | Indicates the duration of the affiliate program; if not set, there is no expiration date. |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "STARREF_AWAITING_END", "STARREF_PERMILLE_INVALID", "STARREF_PERMILLE_TOO_LOW"], "x-browser-schema-id": "2005621427"}}, "/catalog/bots.setCustomVerification": {"post": {"operationId": "bots.setCustomVerification", "tags": ["Bots"], "summary": "Verify a user or chat on behalf of an organization ».", "description": "Verify a user or chat [on behalf of an organization »](https://core.telegram.org/api/bots/verification.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Überprüfung durch Dritte](https://core.telegram.org/api/bots/verification.md)", "x-tl-method": "bots.setCustomVerification", "x-tl-id": "4103366487", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Third-party verification", "https://core.telegram.org/api/bots/verification.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 403 · `BOT_VERIFIER_FORBIDDEN` – Dieser Bot kann keine [Verifizierungssymbole](https://core.telegram.org/api/bots/verification.md) zuweisen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.setCustomVerification"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "If set, adds the verification; otherwise removes verification."}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Must **not** be set if invoked by a bot, **must** be set to the ID of an owned bot if invoked by a user.", "x-tl-flag": "flags.0?InputUser"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer to verify"}, "custom_description": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Benutzerdefinierte Beschreibung für die Überprüfung, die Längenbeschränkung von UTF-8 für dieses Feld ist in [bot_verification_description_length_limit »](https://core.telegram.org/api/config.md#bot-verification-description-length-limit)“ enthalten.  Wenn nicht festgelegt, wird `Was verified by organization \"organization_name\"` als Beschreibung verwendet.", "x-tl-flag": "flags.2?TextWithEntities"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `enabled` | `true` | Nein | If set, adds the verification; otherwise removes verification. |\n| `bot` | `InputUser` | Nein | Must **not** be set if invoked by a bot, **must** be set to the ID of an owned bot if invoked by a user. |\n| `peer` | `InputPeer` | Ja | The peer to verify |\n| `custom_description` | `TextWithEntities` | Nein | Benutzerdefinierte Beschreibung für die Überprüfung, die Längenbeschränkung von UTF-8 für dieses Feld ist in [bot_verification_description_length_limit »](https://core.telegram.org/api/config.md#bot-verification-description-length-limit)“ enthalten.  Wenn nicht festgelegt, wird `Was verified by organization \"organization_name\"` als Beschreibung verwendet. |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "BOT_VERIFIER_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "4103366487"}}, "/catalog/bots.getBotRecommendations": {"post": {"operationId": "bots.getBotRecommendations", "tags": ["Bots"], "summary": "Obtain a list of similarly themed bots, selected based on similarities in their subscriber bases, see here » for more info.", "description": "Obtain a list of similarly themed bots, selected based on similarities in their subscriber bases, see [here »](https://core.telegram.org/api/recommend.md) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Ähnliche Kanäle und Bots](https://core.telegram.org/api/recommend.md)", "x-tl-method": "bots.getBotRecommendations", "x-tl-id": "2713126933", "x-tl-result": "users.Users", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Similar channels and bots", "https://core.telegram.org/api/recommend.md"]], "responses": {"200": {"description": "MTProto result · `users.Users`.\n\n[users.Users](https://core.telegram.org/type/users.Users.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "users.Users", "oneOf": [{"$ref": "#/components/schemas/users.users"}, {"$ref": "#/components/schemas/users.usersSlice"}], "description": "Type TL: users.Users."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getBotRecommendations"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The method will return bots related to the passed bot."}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The method will return bots related to the passed bot. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2713126933"}}, "/catalog/bots.checkUsername": {"post": {"operationId": "bots.checkUsername", "tags": ["Bots"], "summary": "Überprüfen Sie, ob beim Erstellen eines verwalteten Bots ein Benutzername verfügbar und gültig ist ».", "description": "Überprüfen Sie, ob ein Benutzername verfügbar und gültig ist, wenn Sie [einen verwalteten Bot erstellen »](https://core.telegram.org/api/bots/managed-bots.md#creating-a-managed-bot).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Verwaltete Bots](https://core.telegram.org/api/bots/managed-bots.md)", "x-tl-method": "bots.checkUsername", "x-tl-id": "3819719777", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Managed bots", "https://core.telegram.org/api/bots/managed-bots.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USERNAME_OCCUPIED` — The provided username is already occupied.\n- 400 · `USERNAME_SUFFIX_MISSING` — The required `bot` suffix is missing from the passed username."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.checkUsername"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"additional": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "username": {"type": "string", "x-tl-type": "string", "description": "Username to check; only letters, digits and underscores are allowed, must end in `bot`, and the full username must be 5–32 characters long"}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `additional` | `true` | Nein | Wert des TL-Typs `true`. |\n| `username` | `string` | Ja | Username to check; only letters, digits and underscores are allowed, must end in `bot`, and the full username must be 5–32 characters long |"}, "x-telegram-rpc-errors": ["USERNAME_INVALID", "USERNAME_OCCUPIED", "USERNAME_SUFFIX_MISSING"], "x-browser-schema-id": "3819719777"}}, "/catalog/bots.createBot": {"post": {"operationId": "bots.createBot", "tags": ["Bots"], "summary": "Create a managed bot » owned by the current user and controlled by the specified manager bot.", "description": "Create a [managed bot »](https://core.telegram.org/api/bots/managed-bots.md#creating-a-managed-bot) owned by the current user and controlled by the specified manager bot.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Verwaltete Bots](https://core.telegram.org/api/bots/managed-bots.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "bots.createBot", "x-tl-id": "3853614891", "x-tl-result": "User", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Managed bots", "https://core.telegram.org/api/bots/managed-bots.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `User`.\n\n[User](https://core.telegram.org/type/User.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_CREATE_LIMIT_EXCEEDED` – Der aktuelle Benutzer besitzt bereits die maximal zulässige Anzahl eigener Bots, wie durch [`bots_create_limit_default` »](https://core.telegram.org/api/config.md#bots-create-limit-default) und [`bots_create_limit_premium` »](https://core.telegram.org/api/config.md#bots-create-limit-premium); Wenn der aktuelle Benutzer nicht über Telegram Premium verfügt, kann er durch ein Upgrade auf Premium weitere Bots erstellen.\n- 400 · `MANAGER_INVALID` – Der angegebene Manager-Bot ist ungültig.\n- 400 · `MANAGER_PERMISSION_MISSING` – Für den angegebenen Manager-Bot ist das Flag [user](https://core.telegram.org/constructor/user.md).`bot_can_manage_bots`] nicht gesetzt.\n- 400 · `NAME_INVALID` – Der angegebene Bot-Name ist ungültig.\n- 400 · `USERNAME_INVALID` — The provided username is not valid.\n- 400 · `USERNAME_OCCUPIED` — The provided username is already occupied.\n- 400 · `USERNAME_SUFFIX_MISSING` — The required `bot` suffix is missing from the passed username."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.createBot"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"via_deeplink": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Set only if the creation prompt was opened from a [managed bot creation request deep link »](https://core.telegram.org/api/links.md#managed-bot-creation-request-links)"}, "name": {"type": "string", "x-tl-type": "string", "description": "Display name of the bot, 1–64 characters"}, "username": {"type": "string", "x-tl-type": "string", "description": "Username for the bot, as validated by [bots.checkUsername](https://core.telegram.org/method/bots.checkUsername.md)"}, "manager_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The manager bot that will control the created bot; must have the [user](https://core.telegram.org/constructor/user.md).`bot_can_manage_bots` flag set"}}, "additionalProperties": false, "required": ["name", "username", "manager_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `via_deeplink` | `true` | Nein | Set only if the creation prompt was opened from a [managed bot creation request deep link »](https://core.telegram.org/api/links.md#managed-bot-creation-request-links) |\n| `name` | `string` | Ja | Display name of the bot, 1–64 characters |\n| `username` | `string` | Ja | Username for the bot, as validated by [bots.checkUsername](https://core.telegram.org/method/bots.checkUsername.md) |\n| `manager_id` | `InputUser` | Ja | The manager bot that will control the created bot; must have the [user](https://core.telegram.org/constructor/user.md).`bot_can_manage_bots` flag set |"}, "x-telegram-rpc-errors": ["BOT_CREATE_LIMIT_EXCEEDED", "MANAGER_INVALID", "MANAGER_PERMISSION_MISSING", "NAME_INVALID", "USERNAME_INVALID", "USERNAME_OCCUPIED", "USERNAME_SUFFIX_MISSING"], "x-browser-schema-id": "3853614891"}}, "/catalog/bots.exportBotToken": {"post": {"operationId": "bots.exportBotToken", "tags": ["Bots"], "summary": "Export the bot token of a managed bot »; can only be called by the manager bot.", "description": "Export the bot token of a [managed bot »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot); can only be called by the manager bot.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Verwaltete Bots](https://core.telegram.org/api/bots/managed-bots.md)", "x-tl-method": "bots.exportBotToken", "x-tl-id": "3171785195", "x-tl-result": "bots.ExportedBotToken", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Managed bots", "https://core.telegram.org/api/bots/managed-bots.md"]], "responses": {"200": {"description": "MTProto result · `bots.ExportedBotToken`.\n\n[bots.ExportedBotToken](https://core.telegram.org/type/bots.ExportedBotToken.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "bots.ExportedBotToken", "oneOf": [{"$ref": "#/components/schemas/bots.exportedBotToken"}], "description": "TL type: bots.ExportedBotToken."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.exportBotToken"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The managed bot to export the token for"}, "revoke": {"type": "boolean", "x-tl-type": "Bool", "description": "If [boolTrue](https://core.telegram.org/constructor/boolTrue.md), revoke the current token and generate a new one"}}, "additionalProperties": false, "required": ["bot", "revoke"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The managed bot to export the token for |\n| `revoke` | `Bool` | Ja | If [boolTrue](https://core.telegram.org/constructor/boolTrue.md), revoke the current token and generate a new one |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3171785195"}}, "/catalog/bots.requestWebViewButton": {"post": {"operationId": "bots.requestWebViewButton", "tags": ["Bots"], "summary": "Bots können diese Methode verwenden, um einen Peer-Anfrage-Button für eine Mini-App vorzubereiten. Weitere Informationen finden Sie hier ».", "description": "Bots können diese Methode verwenden, um eine Peer-Anfrageschaltfläche für eine [Mini-App](https://core.telegram.org/api/bots/webapps.md) vorzubereiten, siehe [hier »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) für weitere Informationen].\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Bot-Tasten](https://core.telegram.org/api/bots/buttons.md)", "x-tl-method": "bots.requestWebViewButton", "x-tl-id": "832742238", "x-tl-result": "bots.RequestedButton", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"], ["Bot buttons", "https://core.telegram.org/api/bots/buttons.md"]], "responses": {"200": {"description": "MTProto result · `bots.RequestedButton`.\n\n[bots.RequestedButton](https://core.telegram.org/type/bots.RequestedButton.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "bots.RequestedButton", "oneOf": [{"$ref": "#/components/schemas/bots.requestedButton"}], "description": "TL type: bots.RequestedButton."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUTTON_INVALID` – Die angegebene Schaltfläche ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.requestWebViewButton"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user that will use the prepared button in the Mini App"}, "button": {"type": "object", "x-tl-type": "KeyboardButton", "oneOf": [{"$ref": "#/components/schemas/keyboardButton"}], "description": "The button to prepare, an [inputKeyboardButtonRequestPeer](https://core.telegram.org/constructor/inputKeyboardButtonRequestPeer.md) of any [RequestPeerType](https://core.telegram.org/type/RequestPeerType.md)"}}, "additionalProperties": false, "required": ["user_id", "button"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | The user that will use the prepared button in the Mini App |\n| `button` | `KeyboardButton` | Ja | The button to prepare, an [inputKeyboardButtonRequestPeer](https://core.telegram.org/constructor/inputKeyboardButtonRequestPeer.md) of any [RequestPeerType](https://core.telegram.org/type/RequestPeerType.md) |"}, "x-telegram-rpc-errors": ["BUTTON_INVALID", "USER_BOT_REQUIRED", "USER_ID_INVALID"], "x-browser-schema-id": "832742238"}}, "/catalog/bots.getRequestedWebViewButton": {"post": {"operationId": "bots.getRequestedWebViewButton", "tags": ["Bots"], "summary": "Fetch the peer request button a bot prepared for a Mini App with bots.requestWebViewButton, invoked when the Mini App emits a `web_app_request_chat` event, see here » for more info.", "description": "Fetch the peer request button a bot prepared for a [Mini App](https://core.telegram.org/api/bots/webapps.md) with [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md), invoked when the Mini App emits a [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat) event, see [here »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Web-Events](https://core.telegram.org/api/web-events.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Bot-Tasten](https://core.telegram.org/api/bots/buttons.md)", "x-tl-method": "bots.getRequestedWebViewButton", "x-tl-id": "3206920179", "x-tl-result": "KeyboardButton", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Web events", "https://core.telegram.org/api/web-events.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"], ["Bot buttons", "https://core.telegram.org/api/bots/buttons.md"]], "responses": {"200": {"description": "MTProto result · `KeyboardButton`.\n\n[KeyboardButton](https://core.telegram.org/type/KeyboardButton.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "KeyboardButton", "oneOf": [{"$ref": "#/components/schemas/keyboardButton"}], "description": "TL Type: KeyboardButton."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_ID_INVALID` – Die angegebene Bot-ID ist ungültig.\n- 400 · `WEBAPP_REQ_ID_INVALID` – Die angegebene webapp_req_id ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getRequestedWebViewButton"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that owns the Mini App"}, "webapp_req_id": {"type": "string", "x-tl-type": "string", "description": "The Mini App request ID, taken from the [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat) event's `req_id`"}}, "additionalProperties": false, "required": ["bot", "webapp_req_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The bot that owns the Mini App |\n| `webapp_req_id` | `string` | Ja | The Mini App request ID, taken from the [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat) event's `req_id` |"}, "x-telegram-rpc-errors": ["BOT_ID_INVALID", "WEBAPP_REQ_ID_INVALID"], "x-browser-schema-id": "3206920179"}}, "/catalog/bots.getAccessSettings": {"post": {"operationId": "bots.getAccessSettings", "tags": ["Bots"], "summary": "Get the access restriction settings » of a managed bot; can only be called by the manager bot.", "description": "Get the [access restriction settings »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot) of a managed bot; can only be called by the manager bot.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Verwaltete Bots](https://core.telegram.org/api/bots/managed-bots.md)", "x-tl-method": "bots.getAccessSettings", "x-tl-id": "557339555", "x-tl-result": "bots.AccessSettings", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Managed bots", "https://core.telegram.org/api/bots/managed-bots.md"]], "responses": {"200": {"description": "MTProto result · `bots.AccessSettings`.\n\n[bots.AccessSettings](https://core.telegram.org/type/bots.AccessSettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "bots.AccessSettings", "oneOf": [{"$ref": "#/components/schemas/bots.accessSettings"}], "description": "TL type: bots.AccessSettings."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.getAccessSettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The managed bot whose access settings to retrieve"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | The managed bot whose access settings to retrieve |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "557339555"}}, "/catalog/bots.editAccessSettings": {"post": {"operationId": "bots.editAccessSettings", "tags": ["Bots"], "summary": "Edit the access restriction settings » of a managed bot; can only be called by the manager bot.", "description": "Edit the [access restriction settings »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot) of a managed bot; can only be called by the manager bot.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Verwaltete Bots](https://core.telegram.org/api/bots/managed-bots.md)", "x-tl-method": "bots.editAccessSettings", "x-tl-id": "830553304", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Managed bots", "https://core.telegram.org/api/bots/managed-bots.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOT_INVALID` – Dies ist kein gültiger Bot.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/bots.editAccessSettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"restricted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, restricts access to the managed bot to only the owner and the users in `add_users`"}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The managed bot whose access settings to edit"}, "add_users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.1?Vector<InputUser>", "description": "Zusätzliche Benutzer (maximal 10, außer dem Eigentümer) dürfen auf den verwalteten Bot zugreifen, wenn `restricted` festgelegt ist"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `restricted` | `true` | Nein | If set, restricts access to the managed bot to only the owner and the users in `add_users` |\n| `bot` | `InputUser` | Ja | The managed bot whose access settings to edit |\n| `add_users` | `Vector<InputUser>` | Nein | Zusätzliche Benutzer (maximal 10, außer dem Eigentümer) dürfen auf den verwalteten Bot zugreifen, wenn `restricted` festgelegt ist |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "830553304"}}, "/catalog/bots.setJoinChatResults": {"post": {"operationId": "bots.setJoinChatResults", "tags": ["Bots"], "summary": "bots.setJoinChatResults", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "bots.setJoinChatResults", "x-tl-id": "3877259280", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "result": {"type": "object", "x-tl-type": "JoinChatBotResult", "oneOf": [{"$ref": "#/components/schemas/joinChatBotResultApproved"}, {"$ref": "#/components/schemas/joinChatBotResultDeclined"}, {"$ref": "#/components/schemas/joinChatBotResultQueued"}, {"$ref": "#/components/schemas/joinChatBotResultWebView"}], "description": "Тип TL: JoinChatBotResult."}}, "additionalProperties": false, "required": ["query_id", "result"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `query_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `result` | `JoinChatBotResult` | Ja | Тип TL: JoinChatBotResult. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3877259280"}}, "/catalog/bots.addUsername": {"post": {"operationId": "bots.addUsername", "tags": ["Bots"], "summary": "bots.addUsername", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "bots.addUsername", "x-tl-id": "889307274", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "username": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["bot", "username"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | TL Type: InputUser. |\n| `username` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "889307274"}}, "/catalog/bots.removeUsername": {"post": {"operationId": "bots.removeUsername", "tags": ["Bots"], "summary": "bots.removeUsername", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "bots.removeUsername", "x-tl-id": "3338933373", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "username": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["bot", "username"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | TL Type: InputUser. |\n| `username` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3338933373"}}, "/catalog/bots.setBotSettings": {"post": {"operationId": "bots.setBotSettings", "tags": ["Bots"], "summary": "bots.setBotSettings", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "bots.setBotSettings", "x-tl-id": "2093007050", "x-tl-result": "User", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `User`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Type TL: User."}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser.", "x-tl-flag": "flags.0?InputUser"}, "inline_mode": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool", "description": "Wert des TL-Typs `Bool`."}, "inline_placeholder": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Wert des TL-Typs `string`."}, "inline_geo": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Wert des TL-Typs `Bool`."}, "inline_feedback": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int", "description": "Wert des TL-Typs `int`."}, "nochats": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.5?Bool", "description": "Wert des TL-Typs `Bool`."}, "chat_history": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.6?Bool", "description": "Wert des TL-Typs `Bool`."}, "business": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.7?Bool", "description": "Wert des TL-Typs `Bool`."}, "can_manage_bots": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.8?Bool", "description": "Wert des TL-Typs `Bool`."}, "guestchat": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.9?Bool", "description": "Wert des TL-Typs `Bool`."}, "guard": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.10?Bool", "description": "Wert des TL-Typs `Bool`."}, "forum_view": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.11?Bool", "description": "Wert des TL-Typs `Bool`."}, "forum_can_manage_topics": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.12?Bool", "description": "Wert des TL-Typs `Bool`."}, "forum_sidebar": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.13?Bool", "description": "Wert des TL-Typs `Bool`."}, "bot_to_bot_communication_mode": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.14?Bool", "description": "Wert des TL-Typs `Bool`."}, "callback_mode": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.15?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Nein | TL Type: InputUser. |\n| `inline_mode` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `inline_placeholder` | `string` | Nein | Wert des TL-Typs `string`. |\n| `inline_geo` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `inline_feedback` | `int` | Nein | Wert des TL-Typs `int`. |\n| `nochats` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `chat_history` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `business` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `can_manage_bots` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `guestchat` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `guard` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `forum_view` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `forum_can_manage_topics` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `forum_sidebar` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `bot_to_bot_communication_mode` | `Bool` | Nein | Wert des TL-Typs `Bool`. |\n| `callback_mode` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2093007050"}}, "/catalog/bots.getProfileWidgetQueryAnswer": {"post": {"operationId": "bots.getProfileWidgetQueryAnswer", "tags": ["Bots"], "summary": "bots.getProfileWidgetQueryAnswer", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "bots.getProfileWidgetQueryAnswer", "x-tl-id": "2239004788", "x-tl-result": "messages.BotWidgetQueryAnswer", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `messages.BotWidgetQueryAnswer`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.BotWidgetQueryAnswer", "oneOf": [{"$ref": "#/components/schemas/messages.botWidgetQueryAnswer"}], "description": "Тип TL: messages.BotWidgetQueryAnswer."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "oneOf": [{"$ref": "#/components/schemas/widgetQueryTypeData"}, {"$ref": "#/components/schemas/widgetQueryTypeSignData"}, {"$ref": "#/components/schemas/widgetQueryTypeSentTransaction"}], "description": "Тип TL: WidgetQueryType."}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}}, "additionalProperties": false, "required": ["bot", "query_type", "data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | TL Type: InputUser. |\n| `query_type` | `WidgetQueryType` | Ja | Тип TL: WidgetQueryType. |\n| `data` | `bytes` | Ja | Wert des TL-Typs `bytes`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2239004788"}}, "/catalog/bots.editProfileWidgetData": {"post": {"operationId": "bots.editProfileWidgetData", "tags": ["Bots"], "summary": "bots.editProfileWidgetData", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "bots.editProfileWidgetData", "x-tl-id": "905942386", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Wert des TL-Typs `int`."}, "public_data": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["public_data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `cache_time` | `int` | Nein | Wert des TL-Typs `int`. |\n| `public_data` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "905942386"}}, "/catalog/bots.editProfileWidgetChatData": {"post": {"operationId": "bots.editProfileWidgetChatData", "tags": ["Bots"], "summary": "bots.editProfileWidgetChatData", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "bots.editProfileWidgetChatData", "x-tl-id": "4240581465", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "chat_data": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["user_id", "chat_data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | TL Type: InputUser. |\n| `chat_data` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "4240581465"}}, "/catalog/bots.getProfileWidgetPublicData": {"post": {"operationId": "bots.getProfileWidgetPublicData", "tags": ["Bots"], "summary": "bots.getProfileWidgetPublicData", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "bots.getProfileWidgetPublicData", "x-tl-id": "1923143539", "x-tl-result": "messages.WidgetPublicData", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `messages.WidgetPublicData`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.WidgetPublicData", "oneOf": [{"$ref": "#/components/schemas/messages.widgetPublicDataNotModified"}, {"$ref": "#/components/schemas/messages.widgetPublicData"}], "description": "Тип TL: messages.WidgetPublicData."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["bot", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | Ja | TL Type: InputUser. |\n| `hash` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1923143539"}}, "/catalog/payments.getPaymentForm": {"post": {"operationId": "payments.getPaymentForm", "tags": ["Payments"], "summary": "Get a payment form", "description": "Get a payment form\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)\n- [Fehlerbehandlung](https://core.telegram.org/api/errors.md)", "x-tl-method": "payments.getPaymentForm", "x-tl-id": "924093883", "x-tl-result": "payments.PaymentForm", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"], ["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"], ["Error handling ", "https://core.telegram.org/api/errors.md"]], "responses": {"200": {"description": "MTProto result · `payments.PaymentForm`.\n\n[payments.PaymentForm](https://core.telegram.org/type/payments.PaymentForm.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.PaymentForm", "oneOf": [{"$ref": "#/components/schemas/payments.paymentForm"}, {"$ref": "#/components/schemas/payments.paymentFormStars"}, {"$ref": "#/components/schemas/payments.paymentFormStarGift"}], "description": "Type TL: payments.PaymentForm."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `API_GIFT_RESTRICTED_UPDATE_APP` – Bitte aktualisieren Sie die App, um auf das Geschenk zuzugreifen API.\n- 400 · `BOOST_PEER_INVALID` – Die angegebene `boost_peer` ist ungültig.\n- 403 · `BOT_ACCESS_FORBIDDEN` – Die angegebene Methode *kann* für einige Vorgänge über eine [Geschäftsverbindung](https://core.telegram.org/api/bots/connected-business-bots.md)] verwendet werden, aber die angegebene Abfrage hat einen Vorgang versucht, der über eine Geschäftsverbindung nicht zulässig ist.\n- 400 · `BOT_INVOICE_INVALID` — Die angegebene Rechnung ist ungültig.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `GIFT_MONTHS_INVALID` – Der in invoice.inputInvoicePremiumGiftStars.months übergebene Wert ist ungültig.\n- 400 · `GIFT_STARS_INVALID` — Die angegebene Anzahl an Sternen ist ungültig.\n- 400 · `INVOICE_INVALID` — Die angegebene Rechnung ist ungültig.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `MESSAGE_TOO_LONG` – Die bereitgestellte Nachricht ist zu lang.\n- 400 · `MONTH_INVALID` – Die in inputInvoicePremiumGiftStars.months angegebene Anzahl an Monaten ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `NO_PAYMENT_NEEDED` — Das Upgrade/die Übertragung des angegebenen Geschenks wurde bereits bezahlt oder ist kostenlos.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PREMIUM_PURPOSE_INVALID` – Der angegebene InputStorePaymentPurpose ist ungültig.\n- 400 · `SLUG_INVALID` – Der angegebene Rechnungsblock ist ungültig.\n- 400 · `STARGIFT_ALREADY_CONVERTED` — Das angegebene Sternengeschenk wurde bereits in Sterne umgewandelt.\n- 400 · `STARGIFT_ALREADY_REFUNDED` — Das angegebene Sterngeschenk wurde bereits zurückerstattet.\n- 400 · `STARGIFT_ALREADY_UPGRADED` — Das angegebene Geschenk wurde bereits zu einem Sammlergeschenk aufgewertet.\n- 406 · `STARGIFT_EXPORT_IN_PROGRESS` — A gift export is in progress, a detailed and localized description for the error will be emitted via an [updateServiceNotification as specified here&nbsp;&raquo;](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 400 · `STARGIFT_INVALID` — Das übergebene Geschenk ist ungültig.\n- 400 · `STARGIFT_MESSAGE_INVALID` – Die angegebene inputInvoiceStarGift.message ist ungültig.\n- 400 · `STARGIFT_NOT_FOUND` — Das angegebene Geschenk wurde nicht gefunden.\n- 400 · `STARGIFT_NOT_OWNER` – Sie sind nicht der Eigentümer des Geschenks, das Sie übertragen möchten.\n- 400 · `STARGIFT_NOT_UNIQUE` — Sie können ein nicht einlösbares Geschenk nicht übertragen.\n- 400 · `STARGIFT_OWNER_INVALID` – Sie können ein Geschenk, das einem anderen Benutzer gehört, nicht übertragen oder verkaufen.\n- 400 · `STARGIFT_PEER_INVALID` – Die angegebene inputSavedStarGiftChat.peer ist ungültig.\n- 400 · `STARGIFT_RESELL_CURRENCY_NOT_ALLOWED` – Sie können das Geschenk nicht in der angegebenen Währung kaufen (i.e. Sie versuchen, TON Geschenke mit Sternen zu bezahlen).\n- 400 · `STARGIFT_RESELL_TOO_EARLY_%d` — Sie können dieses Geschenk in %d Sekunden weiterverkaufen.\n- 400 · `STARGIFT_SLUG_INVALID` – Der angegebene Geschenkartikel ist ungültig.\n- 400 · `STARGIFT_TRANSFER_TOO_EARLY_%d` — Sie können dieses Geschenk noch nicht übertragen, warten Sie %d Sekunden.\n- 400 · `STARGIFT_UPGRADE_UNAVAILABLE` – Ein erhaltenes Geschenk kann nur dann zu einem Sammelgeschenk aufgewertet werden, wenn das Flag [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`can_upgrade`] gesetzt ist.\n- 406 · `STARS_FORM_AMOUNT_MISMATCH` — The form amount has changed, please fetch the new form using [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm.md) and restart the process.\n- 400 · `TO_ID_INVALID` – Die angegebene `to_id` des übergebenen inputInvoiceStarGiftResale oder inputInvoiceStarGiftTransfer ist ungültig.\n- 400 · `UNTIL_DATE_INVALID` – Ungültig bis zum angegebenen Datum.\n- 403 · `USER_DISALLOWED_STARGIFTS` – Der Empfängerbenutzer hat Einschränkungen konfiguriert, welche Kategorien von Stargeschenken er annehmen möchte (einzigartig, begrenzt oder unbegrenzt): Der Absender hat versucht, ein Zahlungsformular für ein Geschenk zu erhalten, das in eine Kategorie fällt, die der Empfänger blockiert hat."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getPaymentForm"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"invoice": {"type": "object", "x-tl-type": "InputInvoice", "oneOf": [{"$ref": "#/components/schemas/inputInvoiceMessage"}, {"$ref": "#/components/schemas/inputInvoiceSlug"}, {"$ref": "#/components/schemas/inputInvoicePremiumGiftCode"}, {"$ref": "#/components/schemas/inputInvoiceStars"}, {"$ref": "#/components/schemas/inputInvoiceChatInviteSubscription"}, {"$ref": "#/components/schemas/inputInvoiceStarGift"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftUpgrade"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftTransfer"}, {"$ref": "#/components/schemas/inputInvoicePremiumGiftStars"}, {"$ref": "#/components/schemas/inputInvoiceBusinessBotTransferStars"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftResale"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftPrepaidUpgrade"}, {"$ref": "#/components/schemas/inputInvoicePremiumAuthCode"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftDropOriginalDetails"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftAuctionBid"}], "description": "Rechnung"}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.0?DataJSON"}}, "additionalProperties": false, "required": ["invoice"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `invoice` | `InputInvoice` | Ja | Rechnung |\n| `theme_params` | `DataJSON` | Nein | [Theme parameters »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |"}, "x-telegram-rpc-errors": ["API_GIFT_RESTRICTED_UPDATE_APP", "BOOST_PEER_INVALID", "BOT_ACCESS_FORBIDDEN", "BOT_INVOICE_INVALID", "BUSINESS_CONNECTION_INVALID", "GIFT_MONTHS_INVALID", "GIFT_STARS_INVALID", "INVOICE_INVALID", "MESSAGE_ID_INVALID", "MESSAGE_TOO_LONG", "MONTH_INVALID", "MSG_ID_INVALID", "NO_PAYMENT_NEEDED", "PEER_ID_INVALID", "PREMIUM_PURPOSE_INVALID", "SLUG_INVALID", "STARGIFT_ALREADY_CONVERTED", "STARGIFT_ALREADY_REFUNDED", "STARGIFT_ALREADY_UPGRADED", "STARGIFT_EXPORT_IN_PROGRESS", "STARGIFT_INVALID", "STARGIFT_MESSAGE_INVALID", "STARGIFT_NOT_FOUND", "STARGIFT_NOT_OWNER", "STARGIFT_NOT_UNIQUE", "STARGIFT_OWNER_INVALID", "STARGIFT_PEER_INVALID", "STARGIFT_RESELL_CURRENCY_NOT_ALLOWED", "STARGIFT_RESELL_TOO_EARLY_%d", "STARGIFT_SLUG_INVALID", "STARGIFT_TRANSFER_TOO_EARLY_%d", "STARGIFT_UPGRADE_UNAVAILABLE", "STARS_FORM_AMOUNT_MISMATCH", "TO_ID_INVALID", "UNTIL_DATE_INVALID", "USER_DISALLOWED_STARGIFTS"], "x-browser-schema-id": "924093883"}}, "/catalog/payments.getPaymentReceipt": {"post": {"operationId": "payments.getPaymentReceipt", "tags": ["Payments"], "summary": "Get payment receipt", "description": "Get payment receipt\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "payments.getPaymentReceipt", "x-tl-id": "611897804", "x-tl-result": "payments.PaymentReceipt", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `payments.PaymentReceipt`.\n\n[payments.PaymentReceipt](https://core.telegram.org/type/payments.PaymentReceipt.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.PaymentReceipt", "oneOf": [{"$ref": "#/components/schemas/payments.paymentReceipt"}, {"$ref": "#/components/schemas/payments.paymentReceiptStars"}], "description": "Type TL: payments.PaymentReceipt."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getPaymentReceipt"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer where the payment receipt was sent"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Message ID of receipt"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer where the payment receipt was sent |\n| `msg_id` | `int` | Ja | Message ID of receipt |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID"], "x-browser-schema-id": "611897804"}}, "/catalog/payments.validateRequestedInfo": {"post": {"operationId": "payments.validateRequestedInfo", "tags": ["Payments"], "summary": "Submit requested order information for validation", "description": "Submit requested order information for validation\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "payments.validateRequestedInfo", "x-tl-id": "3066622251", "x-tl-result": "payments.ValidatedRequestedInfo", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `payments.ValidatedRequestedInfo`.\n\n[payments.ValidatedRequestedInfo](https://core.telegram.org/type/payments.ValidatedRequestedInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ValidatedRequestedInfo", "oneOf": [{"$ref": "#/components/schemas/payments.validatedRequestedInfo"}], "description": "TL type: payments.ValidatedRequestedInfo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.validateRequestedInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"save": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Save order information to re-use it for future orders"}, "invoice": {"type": "object", "x-tl-type": "InputInvoice", "oneOf": [{"$ref": "#/components/schemas/inputInvoiceMessage"}, {"$ref": "#/components/schemas/inputInvoiceSlug"}, {"$ref": "#/components/schemas/inputInvoicePremiumGiftCode"}, {"$ref": "#/components/schemas/inputInvoiceStars"}, {"$ref": "#/components/schemas/inputInvoiceChatInviteSubscription"}, {"$ref": "#/components/schemas/inputInvoiceStarGift"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftUpgrade"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftTransfer"}, {"$ref": "#/components/schemas/inputInvoicePremiumGiftStars"}, {"$ref": "#/components/schemas/inputInvoiceBusinessBotTransferStars"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftResale"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftPrepaidUpgrade"}, {"$ref": "#/components/schemas/inputInvoicePremiumAuthCode"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftDropOriginalDetails"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftAuctionBid"}], "description": "Rechnung"}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "oneOf": [{"$ref": "#/components/schemas/paymentRequestedInfo"}], "description": "Requested order information"}}, "additionalProperties": false, "required": ["invoice", "info"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `save` | `true` | Nein | Save order information to re-use it for future orders |\n| `invoice` | `InputInvoice` | Ja | Rechnung |\n| `info` | `PaymentRequestedInfo` | Ja | Requested order information |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3066622251"}}, "/catalog/payments.sendPaymentForm": {"post": {"operationId": "payments.sendPaymentForm", "tags": ["Payments"], "summary": "Send compiled payment form", "description": "Send compiled payment form\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "payments.sendPaymentForm", "x-tl-id": "755192367", "x-tl-result": "payments.PaymentResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `payments.PaymentResult`.\n\n[payments.PaymentResult](https://core.telegram.org/type/payments.PaymentResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.PaymentResult", "oneOf": [{"$ref": "#/components/schemas/payments.paymentResult"}, {"$ref": "#/components/schemas/payments.paymentVerificationNeeded"}], "description": "Type TL: payments.PaymentResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FORM_UNSUPPORTED` – Bitte aktualisieren Sie Ihren Client.\n- 400 · `INVOICE_INVALID` — Die angegebene Rechnung ist ungültig.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PAYMENT_CREDENTIALS_INVALID` — Die angegebenen Zahlungsdaten sind ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `TMP_PASSWORD_INVALID` – Die übergebene tmp_password ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.sendPaymentForm"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Formular-ID", "x-tl-type": "long"}, "invoice": {"type": "object", "x-tl-type": "InputInvoice", "oneOf": [{"$ref": "#/components/schemas/inputInvoiceMessage"}, {"$ref": "#/components/schemas/inputInvoiceSlug"}, {"$ref": "#/components/schemas/inputInvoicePremiumGiftCode"}, {"$ref": "#/components/schemas/inputInvoiceStars"}, {"$ref": "#/components/schemas/inputInvoiceChatInviteSubscription"}, {"$ref": "#/components/schemas/inputInvoiceStarGift"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftUpgrade"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftTransfer"}, {"$ref": "#/components/schemas/inputInvoicePremiumGiftStars"}, {"$ref": "#/components/schemas/inputInvoiceBusinessBotTransferStars"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftResale"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftPrepaidUpgrade"}, {"$ref": "#/components/schemas/inputInvoicePremiumAuthCode"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftDropOriginalDetails"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftAuctionBid"}], "description": "Rechnung"}, "requested_info_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "ID of saved and validated [order info](https://core.telegram.org/constructor/payments.validatedRequestedInfo.md)"}, "shipping_option_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Chosen shipping option ID"}, "credentials": {"type": "object", "x-tl-type": "InputPaymentCredentials", "oneOf": [{"$ref": "#/components/schemas/inputPaymentCredentialsSaved"}, {"$ref": "#/components/schemas/inputPaymentCredentials"}, {"$ref": "#/components/schemas/inputPaymentCredentialsApplePay"}, {"$ref": "#/components/schemas/inputPaymentCredentialsGooglePay"}], "description": "Zahlungsinformationen"}, "tip_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Tip, 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).", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "additionalProperties": false, "required": ["form_id", "invoice", "credentials"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `form_id` | `long` | Ja | Formular-ID |\n| `invoice` | `InputInvoice` | Ja | Rechnung |\n| `requested_info_id` | `string` | Nein | ID of saved and validated [order info](https://core.telegram.org/constructor/payments.validatedRequestedInfo.md) |\n| `shipping_option_id` | `string` | Nein | Chosen shipping option ID |\n| `credentials` | `InputPaymentCredentials` | Ja | Zahlungsinformationen |\n| `tip_amount` | `long` | Nein | Tip, 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). |"}, "x-telegram-rpc-errors": ["FORM_UNSUPPORTED", "INVOICE_INVALID", "MESSAGE_ID_INVALID", "PAYMENT_CREDENTIALS_INVALID", "PEER_ID_INVALID", "TMP_PASSWORD_INVALID"], "x-browser-schema-id": "755192367"}}, "/catalog/payments.getSavedInfo": {"post": {"operationId": "payments.getSavedInfo", "tags": ["Payments"], "summary": "Get saved payment information", "description": "Get saved payment information", "x-tl-method": "payments.getSavedInfo", "x-tl-id": "578650699", "x-tl-result": "payments.SavedInfo", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `payments.SavedInfo`.\n\n[payments.SavedInfo](https://core.telegram.org/type/payments.SavedInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.SavedInfo", "oneOf": [{"$ref": "#/components/schemas/payments.savedInfo"}], "description": "Type TL: payments.SavedInfo."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getSavedInfo"}, "x-browser-schema-id": "578650699"}}, "/catalog/payments.clearSavedInfo": {"post": {"operationId": "payments.clearSavedInfo", "tags": ["Payments"], "summary": "Clear saved payment information", "description": "Clear saved payment information", "x-tl-method": "payments.clearSavedInfo", "x-tl-id": "3627905217", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.clearSavedInfo"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"credentials": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Remove saved payment credentials"}, "info": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Clear the last order settings saved by the user"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `credentials` | `true` | Nein | Remove saved payment credentials |\n| `info` | `true` | Nein | Clear the last order settings saved by the user |"}, "x-browser-schema-id": "3627905217"}}, "/catalog/payments.getBankCardData": {"post": {"operationId": "payments.getBankCardData", "tags": ["Payments"], "summary": "Get info about a credit card", "description": "Get info about a credit card\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "payments.getBankCardData", "x-tl-id": "779736953", "x-tl-result": "payments.BankCardData", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `payments.BankCardData`.\n\n[payments.BankCardData](https://core.telegram.org/type/payments.BankCardData.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.BankCardData", "oneOf": [{"$ref": "#/components/schemas/payments.bankCardData"}], "description": "TL type: payments.BankCardData."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BANK_CARD_NUMBER_INVALID` — Die angegebene Kartennummer ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getBankCardData"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"number": {"type": "string", "x-tl-type": "string", "description": "Kreditkartennummer"}}, "additionalProperties": false, "required": ["number"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `number` | `string` | Ja | Kreditkartennummer |"}, "x-telegram-rpc-errors": ["BANK_CARD_NUMBER_INVALID"], "x-browser-schema-id": "779736953"}}, "/catalog/payments.exportInvoice": {"post": {"operationId": "payments.exportInvoice", "tags": ["Payments"], "summary": "Generate an invoice deep link", "description": "Generate an [invoice deep link](https://core.telegram.org/api/links.md#invoice-links)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "payments.exportInvoice", "x-tl-id": "261206117", "x-tl-result": "payments.ExportedInvoice", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `payments.ExportedInvoice`.\n\n[payments.ExportedInvoice](https://core.telegram.org/type/payments.ExportedInvoice.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ExportedInvoice", "oneOf": [{"$ref": "#/components/schemas/payments.exportedInvoice"}], "description": "Type TL: payments.ExportedInvoice."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `CURRENCY_TOTAL_AMOUNT_INVALID` — Der Gesamtbetrag aller Preise ist ungültig.\n- 400 · `INVOICE_PAYLOAD_INVALID` – Die angegebene Rechnungsnutzlast ist ungültig.\n- 400 · `MEDIA_INVALID` – Medien ungültig.\n- 400 · `PAYMENT_PROVIDER_INVALID` – Der angegebene Zahlungsanbieter ist ungültig.\n- 400 · `STARS_INVOICE_INVALID` – Die angegebene Telegram Star-Rechnung ist ungültig.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden.\n- 400 · `WEBDOCUMENT_MIME_INVALID` – Ungültiger Webdokument-MIME-Typ angegeben.\n- 400 · `WEBDOCUMENT_URL_EMPTY` – Das übergebene Webdokument URL ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.exportInvoice"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"invoice_media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "Rechnung"}}, "additionalProperties": false, "required": ["invoice_media"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `invoice_media` | `InputMedia` | Ja | Rechnung |"}, "x-telegram-rpc-errors": ["BUSINESS_CONNECTION_INVALID", "CURRENCY_TOTAL_AMOUNT_INVALID", "INVOICE_PAYLOAD_INVALID", "MEDIA_INVALID", "PAYMENT_PROVIDER_INVALID", "STARS_INVOICE_INVALID", "USER_BOT_REQUIRED", "WEBDOCUMENT_MIME_INVALID", "WEBDOCUMENT_URL_EMPTY"], "x-browser-schema-id": "261206117"}}, "/catalog/payments.assignAppStoreTransaction": {"post": {"operationId": "payments.assignAppStoreTransaction", "tags": ["Payments"], "summary": "Informs server about a purchase made through the App Store: for official applications only.", "description": "Informs server about a purchase made through the App Store: for official applications only.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "payments.assignAppStoreTransaction", "x-tl-id": "2163045501", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `INPUT_PURPOSE_INVALID` — Der angegebene Zahlungszweck ist ungültig.\n- 400 · `RECEIPT_EMPTY` – Der angegebene Bon ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.assignAppStoreTransaction"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"receipt": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Quittung"}, "purpose": {"type": "object", "x-tl-type": "InputStorePaymentPurpose", "oneOf": [{"$ref": "#/components/schemas/inputStorePaymentPremiumSubscription"}, {"$ref": "#/components/schemas/inputStorePaymentGiftPremium"}, {"$ref": "#/components/schemas/inputStorePaymentPremiumGiftCode"}, {"$ref": "#/components/schemas/inputStorePaymentPremiumGiveaway"}, {"$ref": "#/components/schemas/inputStorePaymentStarsTopup"}, {"$ref": "#/components/schemas/inputStorePaymentStarsGift"}, {"$ref": "#/components/schemas/inputStorePaymentStarsGiveaway"}, {"$ref": "#/components/schemas/inputStorePaymentAuthCode"}], "description": "Payment purpose"}}, "additionalProperties": false, "required": ["receipt", "purpose"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `receipt` | `bytes` | Ja | Quittung |\n| `purpose` | `InputStorePaymentPurpose` | Ja | Payment purpose |"}, "x-telegram-rpc-errors": ["INPUT_PURPOSE_INVALID", "RECEIPT_EMPTY"], "x-browser-schema-id": "2163045501"}}, "/catalog/payments.assignPlayMarketTransaction": {"post": {"operationId": "payments.assignPlayMarketTransaction", "tags": ["Payments"], "summary": "Informs server about a purchase made through the Play Store: for official applications only.", "description": "Informs server about a purchase made through the Play Store: for official applications only.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "payments.assignPlayMarketTransaction", "x-tl-id": "3757920467", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `DATA_JSON_INVALID` – Die bereitgestellten JSON-Daten sind ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.assignPlayMarketTransaction"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"receipt": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Quittung"}, "purpose": {"type": "object", "x-tl-type": "InputStorePaymentPurpose", "oneOf": [{"$ref": "#/components/schemas/inputStorePaymentPremiumSubscription"}, {"$ref": "#/components/schemas/inputStorePaymentGiftPremium"}, {"$ref": "#/components/schemas/inputStorePaymentPremiumGiftCode"}, {"$ref": "#/components/schemas/inputStorePaymentPremiumGiveaway"}, {"$ref": "#/components/schemas/inputStorePaymentStarsTopup"}, {"$ref": "#/components/schemas/inputStorePaymentStarsGift"}, {"$ref": "#/components/schemas/inputStorePaymentStarsGiveaway"}, {"$ref": "#/components/schemas/inputStorePaymentAuthCode"}], "description": "Payment purpose"}}, "additionalProperties": false, "required": ["receipt", "purpose"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `receipt` | `DataJSON` | Ja | Quittung |\n| `purpose` | `InputStorePaymentPurpose` | Ja | Payment purpose |"}, "x-telegram-rpc-errors": ["DATA_JSON_INVALID"], "x-browser-schema-id": "3757920467"}}, "/catalog/payments.getPremiumGiftCodeOptions": {"post": {"operationId": "payments.getPremiumGiftCodeOptions", "tags": ["Payments"], "summary": "Obtain a list of Telegram Premium giveaway/gift code » options.", "description": "Obtain a list of Telegram Premium [giveaway/gift code »](https://core.telegram.org/api/giveaways.md) options.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Giveaways und Geschenke](https://core.telegram.org/api/giveaways.md)", "x-tl-method": "payments.getPremiumGiftCodeOptions", "x-tl-id": "660060756", "x-tl-result": "Vector<PremiumGiftCodeOption>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Giveaways and gifts", "https://core.telegram.org/api/giveaways.md"]], "responses": {"200": {"description": "MTProto result · `Vector<PremiumGiftCodeOption>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[PremiumGiftCodeOption](https://core.telegram.org/type/PremiumGiftCodeOption.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "PremiumGiftCodeOption", "oneOf": [{"$ref": "#/components/schemas/premiumGiftCodeOption"}], "description": "TL Type: PremiumGiftCodeOption."}, "x-tl-type": "Vector<PremiumGiftCodeOption>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getPremiumGiftCodeOptions"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"boost_peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The channel that will start the giveaway", "x-tl-flag": "flags.0?InputPeer"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `boost_peer` | `InputPeer` | Nein | The channel that will start the giveaway |"}, "x-browser-schema-id": "660060756"}}, "/catalog/payments.checkGiftCode": {"post": {"operationId": "payments.checkGiftCode", "tags": ["Payments"], "summary": "Obtain information about a Telegram Premium giftcode »", "description": "Obtain information about a [Telegram Premium giftcode »](https://core.telegram.org/api/giveaways.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Giveaways und Geschenke](https://core.telegram.org/api/giveaways.md)", "x-tl-method": "payments.checkGiftCode", "x-tl-id": "2387719361", "x-tl-result": "payments.CheckedGiftCode", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Giveaways and gifts", "https://core.telegram.org/api/giveaways.md"]], "responses": {"200": {"description": "MTProto result · `payments.CheckedGiftCode`.\n\n[payments.CheckedGiftCode](https://core.telegram.org/type/payments.CheckedGiftCode.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.CheckedGiftCode", "oneOf": [{"$ref": "#/components/schemas/payments.checkedGiftCode"}], "description": "TL type: payments.CheckedGiftCode."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GIFT_SLUG_EXPIRED` – Der angegebene Geschenkartikel ist abgelaufen.\n- 400 · `GIFT_SLUG_INVALID` – Der angegebene Slug ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.checkGiftCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "The giftcode to check"}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | The giftcode to check |"}, "x-telegram-rpc-errors": ["GIFT_SLUG_EXPIRED", "GIFT_SLUG_INVALID"], "x-browser-schema-id": "2387719361"}}, "/catalog/payments.applyGiftCode": {"post": {"operationId": "payments.applyGiftCode", "tags": ["Payments"], "summary": "Apply a Telegram Premium giftcode »", "description": "Apply a [Telegram Premium giftcode »](https://core.telegram.org/api/giveaways.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Giveaways und Geschenke](https://core.telegram.org/api/giveaways.md)", "x-tl-method": "payments.applyGiftCode", "x-tl-id": "4142032980", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Giveaways and gifts", "https://core.telegram.org/api/giveaways.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GIFT_SLUG_EXPIRED` – Der angegebene Geschenkartikel ist abgelaufen.\n- 400 · `GIFT_SLUG_INVALID` – Der angegebene Slug ist ungültig.\n- 420 · `PREMIUM_SUB_ACTIVE_UNTIL_%d` — Sie haben bereits ein Premium-Abonnement, das bis Unixzeit %d aktiv ist."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.applyGiftCode"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "The code to apply"}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | The code to apply |"}, "x-telegram-rpc-errors": ["GIFT_SLUG_EXPIRED", "GIFT_SLUG_INVALID", "PREMIUM_SUB_ACTIVE_UNTIL_%d"], "x-browser-schema-id": "4142032980"}}, "/catalog/payments.getGiveawayInfo": {"post": {"operationId": "payments.getGiveawayInfo", "tags": ["Payments"], "summary": "Obtain information about a Telegram Premium giveaway ».", "description": "Obtain information about a [Telegram Premium giveaway »](https://core.telegram.org/api/giveaways.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Giveaways und Geschenke](https://core.telegram.org/api/giveaways.md)", "x-tl-method": "payments.getGiveawayInfo", "x-tl-id": "4095972389", "x-tl-result": "payments.GiveawayInfo", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Giveaways and gifts", "https://core.telegram.org/api/giveaways.md"]], "responses": {"200": {"description": "MTProto result · `payments.GiveawayInfo`.\n\n[payments.GiveawayInfo](https://core.telegram.org/type/payments.GiveawayInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.GiveawayInfo", "oneOf": [{"$ref": "#/components/schemas/payments.giveawayInfo"}, {"$ref": "#/components/schemas/payments.giveawayInfoResults"}], "description": "Type TL: payments.GiveawayInfo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getGiveawayInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer where the giveaway was posted."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Message ID of the [messageActionGiveawayLaunch](https://core.telegram.org/constructor/messageActionGiveawayLaunch.md) service message"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer where the giveaway was posted. |\n| `msg_id` | `int` | Ja | Message ID of the [messageActionGiveawayLaunch](https://core.telegram.org/constructor/messageActionGiveawayLaunch.md) service message |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4095972389"}}, "/catalog/payments.launchPrepaidGiveaway": {"post": {"operationId": "payments.launchPrepaidGiveaway", "tags": ["Payments"], "summary": "Launch a prepaid giveaway ».", "description": "Launch a [prepaid giveaway »](https://core.telegram.org/api/giveaways.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Giveaways und Geschenke](https://core.telegram.org/api/giveaways.md)", "x-tl-method": "payments.launchPrepaidGiveaway", "x-tl-id": "1609928480", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Giveaways and gifts", "https://core.telegram.org/api/giveaways.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.launchPrepaidGiveaway"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer where to launch the giveaway."}, "giveaway_id": {"type": "string", "pattern": "^-?\\d+$", "description": "The prepaid giveaway ID.", "x-tl-type": "long"}, "purpose": {"type": "object", "x-tl-type": "InputStorePaymentPurpose", "oneOf": [{"$ref": "#/components/schemas/inputStorePaymentPremiumSubscription"}, {"$ref": "#/components/schemas/inputStorePaymentGiftPremium"}, {"$ref": "#/components/schemas/inputStorePaymentPremiumGiftCode"}, {"$ref": "#/components/schemas/inputStorePaymentPremiumGiveaway"}, {"$ref": "#/components/schemas/inputStorePaymentStarsTopup"}, {"$ref": "#/components/schemas/inputStorePaymentStarsGift"}, {"$ref": "#/components/schemas/inputStorePaymentStarsGiveaway"}, {"$ref": "#/components/schemas/inputStorePaymentAuthCode"}], "description": "Giveway parameters"}}, "additionalProperties": false, "required": ["peer", "giveaway_id", "purpose"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer where to launch the giveaway. |\n| `giveaway_id` | `long` | Ja | The prepaid giveaway ID. |\n| `purpose` | `InputStorePaymentPurpose` | Ja | Giveway parameters |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1609928480"}}, "/catalog/payments.getStarsTopupOptions": {"post": {"operationId": "payments.getStarsTopupOptions", "tags": ["Payments"], "summary": "Obtain a list of Telegram Stars topup options » as starsTopupOption constructors.", "description": "Obtain a list of [Telegram Stars topup options »](https://core.telegram.org/api/stars.md#buying-or-gifting-stars) as [starsTopupOption](https://core.telegram.org/constructor/starsTopupOption.md) constructors.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)", "x-tl-method": "payments.getStarsTopupOptions", "x-tl-id": "3222194131", "x-tl-result": "Vector<StarsTopupOption>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"]], "responses": {"200": {"description": "MTProto Result · `Vector<StarsTopupOption>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[StarsTopupOption](https://core.telegram.org/type/StarsTopupOption.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsTopupOption", "oneOf": [{"$ref": "#/components/schemas/starsTopupOption"}], "description": "TL Type: StarsTopupOption."}, "x-tl-type": "Vector<StarsTopupOption>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsTopupOptions"}, "x-browser-schema-id": "3222194131"}}, "/catalog/payments.getStarsStatus": {"post": {"operationId": "payments.getStarsStatus", "tags": ["Payments"], "summary": "Get the current Telegram Stars balance of the current account (with peer=inputPeerSelf), or the stars balance of the bot or channel specified in `peer`.", "description": "Get the current [Telegram Stars balance](https://core.telegram.org/api/stars.md) of the current account (with peer=[inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)), or the stars balance of the bot or channel specified in `peer`.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "payments.getStarsStatus", "x-tl-id": "1319744447", "x-tl-result": "payments.StarsStatus", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarsStatus`.\n\n[payments.StarsStatus](https://core.telegram.org/type/payments.StarsStatus.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarsStatus", "oneOf": [{"$ref": "#/components/schemas/payments.starsStatus"}], "description": "TL type: payments.StarsStatus."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `BOT_ACCESS_FORBIDDEN` – Die angegebene Methode *kann* für einige Vorgänge über eine [Geschäftsverbindung](https://core.telegram.org/api/bots/connected-business-bots.md)] verwendet werden, aber die angegebene Abfrage hat einen Vorgang versucht, der über eine Geschäftsverbindung nicht zulässig ist.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsStatus"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, returns the channel/ad revenue balance in nanograms."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer of which to get the balance."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `ton` | `true` | Nein | If set, returns the channel/ad revenue balance in nanograms. |\n| `peer` | `InputPeer` | Ja | Peer of which to get the balance. |"}, "x-telegram-rpc-errors": ["BOT_ACCESS_FORBIDDEN", "BUSINESS_CONNECTION_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1319744447"}}, "/catalog/payments.getStarsTransactions": {"post": {"operationId": "payments.getStarsTransactions", "tags": ["Payments"], "summary": "Fetch Telegram Stars transactions.", "description": "Fetch [Telegram Stars transactions](https://core.telegram.org/api/stars.md#balance-and-transaction-history).\n\nThe `inbound` and `outbound` flags are mutually exclusive: if none of the two are set, both incoming and outgoing transactions are fetched.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "payments.getStarsTransactions", "x-tl-id": "1775912279", "x-tl-result": "payments.StarsStatus", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarsStatus`.\n\n[payments.StarsStatus](https://core.telegram.org/type/payments.StarsStatus.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarsStatus", "oneOf": [{"$ref": "#/components/schemas/payments.starsStatus"}], "description": "TL type: payments.StarsStatus."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `SUBSCRIPTION_ID_INVALID` – Die angegebene subscription_id ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsTransactions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"inbound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, fetches only incoming transactions."}, "outbound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "If set, fetches only outgoing transactions."}, "ascending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Return transactions in ascending order by date (instead of descending order by date)."}, "ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "If set, returns the channel/ad revenue transactions in nanograms, instead."}, "subscription_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "If set, fetches only transactions for the specified [Telegram Star subscription »](https://core.telegram.org/api/stars.md#star-subscriptions)."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Fetch the transaction history of the peer ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) or a bot we own)."}, "offset": {"type": "string", "x-tl-type": "string", "description": "[Offset for pagination, obtained from the returned `next_offset`, initially an empty string »](https://core.telegram.org/api/offsets.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `inbound` | `true` | Nein | If set, fetches only incoming transactions. |\n| `outbound` | `true` | Nein | If set, fetches only outgoing transactions. |\n| `ascending` | `true` | Nein | Return transactions in ascending order by date (instead of descending order by date). |\n| `ton` | `true` | Nein | If set, returns the channel/ad revenue transactions in nanograms, instead. |\n| `subscription_id` | `string` | Nein | If set, fetches only transactions for the specified [Telegram Star subscription »](https://core.telegram.org/api/stars.md#star-subscriptions). |\n| `peer` | `InputPeer` | Ja | Fetch the transaction history of the peer ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) or a bot we own). |\n| `offset` | `string` | Ja | [Offset for pagination, obtained from the returned `next_offset`, initially an empty string »](https://core.telegram.org/api/offsets.md). |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID", "SUBSCRIPTION_ID_INVALID"], "x-browser-schema-id": "1775912279"}}, "/catalog/payments.sendStarsForm": {"post": {"operationId": "payments.sendStarsForm", "tags": ["Payments"], "summary": "Make a payment using Telegram Stars, see here » for more info.", "description": "Make a payment using [Telegram Stars, see here »](https://core.telegram.org/api/stars.md#using-stars) for more info.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)\n- [Fehlerbehandlung](https://core.telegram.org/api/errors.md)", "x-tl-method": "payments.sendStarsForm", "x-tl-id": "2040056084", "x-tl-result": "payments.PaymentResult", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"], ["Error handling ", "https://core.telegram.org/api/errors.md"]], "responses": {"200": {"description": "MTProto result · `payments.PaymentResult`.\n\n[payments.PaymentResult](https://core.telegram.org/type/payments.PaymentResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.PaymentResult", "oneOf": [{"$ref": "#/components/schemas/payments.paymentResult"}, {"$ref": "#/components/schemas/payments.paymentVerificationNeeded"}], "description": "Type TL: payments.PaymentResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 406 · `API_GIFT_RESTRICTED_UPDATE_APP` – Bitte aktualisieren Sie die App, um auf das Geschenk zuzugreifen API.\n- 400 · `BALANCE_TOO_LOW` – Die Transaktion kann nicht abgeschlossen werden, da das aktuelle [Telegram Stars-Guthaben](https://core.telegram.org/api/stars.md) zu niedrig ist.\n- 403 · `BOT_ACCESS_FORBIDDEN` – Die angegebene Methode *kann* für einige Vorgänge über eine [Geschäftsverbindung](https://core.telegram.org/api/bots/connected-business-bots.md)] verwendet werden, aber die angegebene Abfrage hat einen Vorgang versucht, der über eine Geschäftsverbindung nicht zulässig ist.\n- 400 · `BOT_INVOICE_INVALID` — Die angegebene Rechnung ist ungültig.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `FORM_EXPIRED` – Das Formular wurde vor mehr als 10 Minuten generiert und ist abgelaufen. Bitte generieren Sie es mit [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm.md) neu und übergeben Sie das neue `form_id`.\n- 400 · `FORM_ID_EMPTY` – Die angegebene Formular-ID ist leer.\n- 400 · `FORM_SUBMIT_DUPLICATE` — Das gleiche Zahlungsformular wurde bereits übermittelt.  .\n- 400 · `FORM_UNSUPPORTED` – Bitte aktualisieren Sie Ihren Client.\n- 400 · `GIFT_STARS_INVALID` — Die angegebene Anzahl an Sternen ist ungültig.\n- 400 · `MEDIA_ALREADY_PAID` – Sie haben bereits für die angegebenen Medien bezahlt.\n- 400 · `MONTH_INVALID` – Die in inputInvoicePremiumGiftStars.months angegebene Anzahl an Monaten ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 406 · `PRECHECKOUT_FAILED` — Precheckout failed, a detailed and localized description for the error will be emitted via an [updateServiceNotification as specified here&nbsp;&raquo;](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 400 · `PURPOSE_INVALID` — Der angegebene Zahlungszweck ist ungültig.\n- 400 · `STARGIFT_ALREADY_UPGRADED` — Das angegebene Geschenk wurde bereits zu einem Sammlergeschenk aufgewertet.\n- 400 · `STARGIFT_NOT_FOUND` — Das angegebene Geschenk wurde nicht gefunden.\n- 400 · `STARGIFT_OWNER_INVALID` – Sie können ein Geschenk, das einem anderen Benutzer gehört, nicht übertragen oder verkaufen.\n- 400 · `STARGIFT_SLUG_INVALID` – Der angegebene Geschenkartikel ist ungültig.\n- 400 · `STARGIFT_USAGE_LIMITED` — Das Geschenk ist ausverkauft.\n- 400 · `STARGIFT_USER_USAGE_LIMITED` – Sie haben das Limit von starGift.limited_per_user erreicht, Sie können keine Geschenke dieser Art mehr kaufen.\n- 406 · `STARS_FORM_AMOUNT_MISMATCH` — The form amount has changed, please fetch the new form using [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm.md) and restart the process.\n- 400 · `TO_ID_INVALID` – Die angegebene `to_id` des übergebenen inputInvoiceStarGiftResale oder inputInvoiceStarGiftTransfer ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.sendStarsForm"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Payment form ID", "x-tl-type": "long"}, "invoice": {"type": "object", "x-tl-type": "InputInvoice", "oneOf": [{"$ref": "#/components/schemas/inputInvoiceMessage"}, {"$ref": "#/components/schemas/inputInvoiceSlug"}, {"$ref": "#/components/schemas/inputInvoicePremiumGiftCode"}, {"$ref": "#/components/schemas/inputInvoiceStars"}, {"$ref": "#/components/schemas/inputInvoiceChatInviteSubscription"}, {"$ref": "#/components/schemas/inputInvoiceStarGift"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftUpgrade"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftTransfer"}, {"$ref": "#/components/schemas/inputInvoicePremiumGiftStars"}, {"$ref": "#/components/schemas/inputInvoiceBusinessBotTransferStars"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftResale"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftPrepaidUpgrade"}, {"$ref": "#/components/schemas/inputInvoicePremiumAuthCode"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftDropOriginalDetails"}, {"$ref": "#/components/schemas/inputInvoiceStarGiftAuctionBid"}], "description": "Rechnung"}}, "additionalProperties": false, "required": ["form_id", "invoice"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `form_id` | `long` | Ja | Payment form ID |\n| `invoice` | `InputInvoice` | Ja | Rechnung |"}, "x-telegram-rpc-errors": ["API_GIFT_RESTRICTED_UPDATE_APP", "BALANCE_TOO_LOW", "BOT_ACCESS_FORBIDDEN", "BOT_INVOICE_INVALID", "BUSINESS_CONNECTION_INVALID", "FORM_EXPIRED", "FORM_ID_EMPTY", "FORM_SUBMIT_DUPLICATE", "FORM_UNSUPPORTED", "GIFT_STARS_INVALID", "MEDIA_ALREADY_PAID", "MONTH_INVALID", "PEER_ID_INVALID", "PRECHECKOUT_FAILED", "PURPOSE_INVALID", "STARGIFT_ALREADY_UPGRADED", "STARGIFT_NOT_FOUND", "STARGIFT_OWNER_INVALID", "STARGIFT_SLUG_INVALID", "STARGIFT_USAGE_LIMITED", "STARGIFT_USER_USAGE_LIMITED", "STARS_FORM_AMOUNT_MISMATCH", "TO_ID_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "2040056084"}}, "/catalog/payments.refundStarsCharge": {"post": {"operationId": "payments.refundStarsCharge", "tags": ["Payments"], "summary": "Refund a Telegram Stars transaction, see here » for more info.", "description": "Refund a [Telegram Stars](https://core.telegram.org/api/stars.md) transaction, see [here »](https://core.telegram.org/api/payments.md#6-refunds) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Bots.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Zahlungen API](https://core.telegram.org/api/payments.md)", "x-tl-method": "payments.refundStarsCharge", "x-tl-id": "632196938", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "bot", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Payments API", "https://core.telegram.org/api/payments.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHARGE_ALREADY_REFUNDED` — Die Transaktion wurde bereits erstattet.\n- 400 · `CHARGE_ID_EMPTY` – Die angegebene charge_id ist leer.\n- 400 · `USER_BOT_REQUIRED` — Diese Methode kann nur von einem Bot aufgerufen werden.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.refundStarsCharge"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "User to refund."}, "charge_id": {"type": "string", "x-tl-type": "string", "description": "Transaktions-ID."}}, "additionalProperties": false, "required": ["user_id", "charge_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Ja | User to refund. |\n| `charge_id` | `string` | Ja | Transaktions-ID. |"}, "x-telegram-rpc-errors": ["CHARGE_ALREADY_REFUNDED", "CHARGE_ID_EMPTY", "USER_BOT_REQUIRED", "USER_ID_INVALID"], "x-browser-schema-id": "632196938"}}, "/catalog/payments.getStarsRevenueStats": {"post": {"operationId": "payments.getStarsRevenueStats", "tags": ["Payments"], "summary": "Get Telegram Star revenue statistics ».", "description": "Get [Telegram Star revenue statistics »](https://core.telegram.org/api/stars.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)", "x-tl-method": "payments.getStarsRevenueStats", "x-tl-id": "3642751702", "x-tl-result": "payments.StarsRevenueStats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarsRevenueStats`.\n\n[payments.StarsRevenueStats](https://core.telegram.org/type/payments.StarsRevenueStats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarsRevenueStats", "oneOf": [{"$ref": "#/components/schemas/payments.starsRevenueStats"}], "description": "TL type: payments.StarsRevenueStats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsRevenueStats"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to enable dark theme for graph colors"}, "ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "If set, fetches channel/bot ad revenue statistics in TON."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Get statistics for the specified bot, channel or ourselves ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md))."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dark` | `true` | Nein | Whether to enable dark theme for graph colors |\n| `ton` | `true` | Nein | If set, fetches channel/bot ad revenue statistics in TON. |\n| `peer` | `InputPeer` | Ja | Get statistics for the specified bot, channel or ourselves ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)). |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "PEER_ID_INVALID"], "x-browser-schema-id": "3642751702"}}, "/catalog/payments.getStarsRevenueWithdrawalUrl": {"post": {"operationId": "payments.getStarsRevenueWithdrawalUrl", "tags": ["Payments"], "summary": "Withdraw funds from a channel or bot's star balance ».", "description": "Withdraw funds from a channel or bot's [star balance »](https://core.telegram.org/api/stars.md#withdrawing-revenue).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)", "x-tl-method": "payments.getStarsRevenueWithdrawalUrl", "x-tl-id": "607378578", "x-tl-result": "payments.StarsRevenueWithdrawalUrl", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarsRevenueWithdrawalUrl`.\n\n[payments.StarsRevenueWithdrawalUrl](https://core.telegram.org/type/payments.StarsRevenueWithdrawalUrl.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarsRevenueWithdrawalUrl", "oneOf": [{"$ref": "#/components/schemas/payments.starsRevenueWithdrawalUrl"}], "description": "TL type: payments.StarsRevenueWithdrawalUrl."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID` – Der bereitgestellte Passwort-Hash ist ungültig.\n- 400 · `PASSWORD_MISSING` – Sie müssen [2FA](https://core.telegram.org/api/srp.md) aktivieren, bevor Sie diesen Vorgang ausführen.\n- 400 · `PASSWORD_TOO_FRESH_%d` – Das Passwort wurde vor weniger als 24 Stunden geändert. Versuchen Sie es in %d Sekunden erneut.\n- 400 · `SESSION_TOO_FRESH_%d` – Diese Sitzung wurde vor weniger als 24 Stunden erstellt. Versuchen Sie es in %d Sekunden erneut."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsRevenueWithdrawalUrl"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, withdraws channel/ad revenue in TON."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Kanal oder Bot, von dem Geld abgehoben werden kann."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "The amount of stars or nanograms to withdraw.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "2FA password, see [here »](https://core.telegram.org/api/srp.md#using-the-2fa-password) for more info."}}, "additionalProperties": false, "required": ["peer", "password"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `ton` | `true` | Nein | If set, withdraws channel/ad revenue in TON. |\n| `peer` | `InputPeer` | Ja | Kanal oder Bot, von dem Geld abgehoben werden kann. |\n| `amount` | `long` | Nein | The amount of stars or nanograms to withdraw. |\n| `password` | `InputCheckPasswordSRP` | Ja | 2FA password, see [here »](https://core.telegram.org/api/srp.md#using-the-2fa-password) for more info. |"}, "x-telegram-rpc-errors": ["PASSWORD_HASH_INVALID", "PASSWORD_MISSING", "PASSWORD_TOO_FRESH_%d", "SESSION_TOO_FRESH_%d"], "x-browser-schema-id": "607378578"}}, "/catalog/payments.getStarsRevenueAdsAccountUrl": {"post": {"operationId": "payments.getStarsRevenueAdsAccountUrl", "tags": ["Payments"], "summary": "Returns a URL for a Telegram Ad platform account that can be used to set up advertisements for channel/bot in `peer`, paid using the Telegram Stars owned by the specified `peer`, see here » for more info.", "description": "Returns a URL for a Telegram Ad platform account that can be used to set up advertisements for channel/bot in `peer`, paid using the Telegram Stars owned by the specified `peer`, see [here »](https://core.telegram.org/api/stars.md#paying-for-ads) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)", "x-tl-method": "payments.getStarsRevenueAdsAccountUrl", "x-tl-id": "3520589765", "x-tl-result": "payments.StarsRevenueAdsAccountUrl", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarsRevenueAdsAccountUrl`.\n\n[payments.StarsRevenueAdsAccountUrl](https://core.telegram.org/type/payments.StarsRevenueAdsAccountUrl.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarsRevenueAdsAccountUrl", "oneOf": [{"$ref": "#/components/schemas/payments.starsRevenueAdsAccountUrl"}], "description": "TL type: payments.StarsRevenueAdsAccountUrl."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsRevenueAdsAccountUrl"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Kanal oder Bot, dem die Stars gehören."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Kanal oder Bot, dem die Stars gehören. |"}, "x-telegram-rpc-errors": ["CHAT_WRITE_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "3520589765"}}, "/catalog/payments.getStarsTransactionsByID": {"post": {"operationId": "payments.getStarsTransactionsByID", "tags": ["Payments"], "summary": "Obtain info about Telegram Star transactions » using specific transaction IDs.", "description": "Obtain info about [Telegram Star transactions »](https://core.telegram.org/api/stars.md#balance-and-transaction-history) using specific transaction IDs.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)", "x-tl-method": "payments.getStarsTransactionsByID", "x-tl-id": "768218808", "x-tl-result": "payments.StarsStatus", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarsStatus`.\n\n[payments.StarsStatus](https://core.telegram.org/type/payments.StarsStatus.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarsStatus", "oneOf": [{"$ref": "#/components/schemas/payments.starsStatus"}], "description": "TL type: payments.StarsStatus."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `TRANSACTION_ID_INVALID` – Die angegebene Transaktions-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsTransactionsByID"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, returns channel/bot ad revenue transactions in nanograms."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Kanal oder Bot."}, "id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputStarsTransaction", "oneOf": [{"$ref": "#/components/schemas/inputStarsTransaction"}], "description": "TL Type: InputStarsTransaction."}, "x-tl-type": "Vector<InputStarsTransaction>", "description": "Transaction IDs."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `ton` | `true` | Nein | If set, returns channel/bot ad revenue transactions in nanograms. |\n| `peer` | `InputPeer` | Ja | Kanal oder Bot. |\n| `id` | `Vector<InputStarsTransaction>` | Ja | Transaction IDs. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "TRANSACTION_ID_INVALID"], "x-browser-schema-id": "768218808"}}, "/catalog/payments.getStarsGiftOptions": {"post": {"operationId": "payments.getStarsGiftOptions", "tags": ["Payments"], "summary": "Obtain a list of Telegram Stars gift options » as starsGiftOption constructors.", "description": "Obtain a list of [Telegram Stars gift options »](https://core.telegram.org/api/stars.md#buying-or-gifting-stars) as [starsGiftOption](https://core.telegram.org/constructor/starsGiftOption.md) constructors.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "payments.getStarsGiftOptions", "x-tl-id": "3553192904", "x-tl-result": "Vector<StarsGiftOption>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto Result · `Vector<StarsGiftOption>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[StarsGiftOption](https://core.telegram.org/type/StarsGiftOption.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsGiftOption", "oneOf": [{"$ref": "#/components/schemas/starsGiftOption"}], "description": "TL Type: StarsGiftOption."}, "x-tl-type": "Vector<StarsGiftOption>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `USER_GIFT_UNAVAILABLE` – Geschenke sind in der aktuellen Region nicht verfügbar ([stars_gifts_enabled](https://core.telegram.org/api/config.md#stars-gifts-enabled) ist gleich falsch).\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsGiftOptions"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Receiver of the gift (optional).", "x-tl-flag": "flags.0?InputUser"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | Nein | Receiver of the gift (optional). |"}, "x-telegram-rpc-errors": ["INPUT_USER_DEACTIVATED", "USER_GIFT_UNAVAILABLE", "USER_ID_INVALID"], "x-browser-schema-id": "3553192904"}}, "/catalog/payments.getStarsSubscriptions": {"post": {"operationId": "payments.getStarsSubscriptions", "tags": ["Payments"], "summary": "Obtain a list of active, expired or cancelled Telegram Star subscriptions ».", "description": "Obtain a list of active, expired or cancelled [Telegram Star subscriptions »](https://core.telegram.org/api/invites.md#paid-invite-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Einladungslinks](https://core.telegram.org/api/invites.md)", "x-tl-method": "payments.getStarsSubscriptions", "x-tl-id": "52761285", "x-tl-result": "payments.StarsStatus", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Invite links", "https://core.telegram.org/api/invites.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarsStatus`.\n\n[payments.StarsStatus](https://core.telegram.org/type/payments.StarsStatus.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarsStatus", "oneOf": [{"$ref": "#/components/schemas/payments.starsStatus"}], "description": "TL type: payments.StarsStatus."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsSubscriptions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"missing_balance": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to return only subscriptions expired due to an excessively low Telegram Star balance."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Always pass [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for pagination, taken from [payments.starsStatus](https://core.telegram.org/constructor/payments.starsStatus.md).`subscriptions_next_offset`."}}, "additionalProperties": false, "required": ["peer", "offset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `missing_balance` | `true` | Nein | Whether to return only subscriptions expired due to an excessively low Telegram Star balance. |\n| `peer` | `InputPeer` | Ja | Always pass [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |\n| `offset` | `string` | Ja | Offset for pagination, taken from [payments.starsStatus](https://core.telegram.org/constructor/payments.starsStatus.md).`subscriptions_next_offset`. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "52761285"}}, "/catalog/payments.changeStarsSubscription": {"post": {"operationId": "payments.changeStarsSubscription", "tags": ["Payments"], "summary": "Aktivieren oder deaktivieren Sie ein Telegram Star-Abonnement ».", "description": "Aktivieren oder deaktivieren Sie ein [Telegram Star-Abonnement »](https://core.telegram.org/api/invites.md#paid-invite-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Einladungslinks](https://core.telegram.org/api/invites.md)", "x-tl-method": "payments.changeStarsSubscription", "x-tl-id": "3346466936", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Invite links", "https://core.telegram.org/api/invites.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.changeStarsSubscription"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Always pass [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)."}, "subscription_id": {"type": "string", "x-tl-type": "string", "description": "ID of the subscription."}, "canceled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Whether to cancel or reactivate the subscription."}}, "additionalProperties": false, "required": ["peer", "subscription_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Always pass [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |\n| `subscription_id` | `string` | Ja | ID of the subscription. |\n| `canceled` | `Bool` | Nein | Whether to cancel or reactivate the subscription. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3346466936"}}, "/catalog/payments.fulfillStarsSubscription": {"post": {"operationId": "payments.fulfillStarsSubscription", "tags": ["Payments"], "summary": "Re-join a private channel associated to an active Telegram Star subscription ».", "description": "Re-join a private channel associated to an active [Telegram Star subscription »](https://core.telegram.org/api/invites.md#paid-invite-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Einladungslinks](https://core.telegram.org/api/invites.md)", "x-tl-method": "payments.fulfillStarsSubscription", "x-tl-id": "3428576179", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Invite links", "https://core.telegram.org/api/invites.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.fulfillStarsSubscription"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Always pass [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)."}, "subscription_id": {"type": "string", "x-tl-type": "string", "description": "ID of the subscription."}}, "additionalProperties": false, "required": ["peer", "subscription_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Always pass [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |\n| `subscription_id` | `string` | Ja | ID of the subscription. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3428576179"}}, "/catalog/payments.getStarsGiveawayOptions": {"post": {"operationId": "payments.getStarsGiveawayOptions", "tags": ["Payments"], "summary": "Fetch a list of star giveaway options ».", "description": "Fetch a list of [star giveaway options »](https://core.telegram.org/api/giveaways.md#star-giveaways).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Giveaways und Geschenke](https://core.telegram.org/api/giveaways.md)", "x-tl-method": "payments.getStarsGiveawayOptions", "x-tl-id": "3172924734", "x-tl-result": "Vector<StarsGiveawayOption>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Giveaways and gifts", "https://core.telegram.org/api/giveaways.md"]], "responses": {"200": {"description": "MTProto result · `Vector<StarsGiveawayOption>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[StarsGiveawayOption](https://core.telegram.org/type/StarsGiveawayOption.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsGiveawayOption", "oneOf": [{"$ref": "#/components/schemas/starsGiveawayOption"}], "description": "TL Type: StarsGiveawayOption."}, "x-tl-type": "Vector<StarsGiveawayOption>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarsGiveawayOptions"}, "x-browser-schema-id": "3172924734"}}, "/catalog/payments.getStarGifts": {"post": {"operationId": "payments.getStarGifts", "tags": ["Payments"], "summary": "Get a list of available gifts, see here » for more info.", "description": "Get a list of available [gifts, see here »](https://core.telegram.org/api/gifts.md) for more info.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.getStarGifts", "x-tl-id": "3293984144", "x-tl-result": "payments.StarGifts", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarGifts`.\n\n[payments.StarGifts](https://core.telegram.org/type/payments.StarGifts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGifts", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftsNotModified"}, {"$ref": "#/components/schemas/payments.starGifts"}], "description": "TL type: payments.StarGifts."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarGifts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). The hash may be generated locally by using the `id`s of the returned or stored sticker [starGift](https://core.telegram.org/constructor/starGift.md)s."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `int` | Ja | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). The hash may be generated locally by using the `id`s of the returned or stored sticker [starGift](https://core.telegram.org/constructor/starGift.md)s. |"}, "x-browser-schema-id": "3293984144"}}, "/catalog/payments.saveStarGift": {"post": {"operationId": "payments.saveStarGift", "tags": ["Payments"], "summary": "Display or remove a received or hosted gift » from our profile.", "description": "Display or remove a [received or hosted gift »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) from our profile.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.saveStarGift", "x-tl-id": "707422588", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `SAVED_ID_EMPTY` – Das übergebene inputSavedStarGiftChat.saved_id ist leer.\n- 400 · `STARGIFT_OBJECT_INVALID` – Das angegebene Sterngeschenkobjekt ist ungültig.\n- 400 · `STARGIFT_OWNER_INVALID` – Sie können ein Geschenk, das einem anderen Benutzer gehört, nicht übertragen oder verkaufen.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.saveStarGift"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"unsave": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, hides the gift from our profile."}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "The gift to display or remove. A [hosted collectible gift »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) may be used by its host or owner."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `unsave` | `true` | Nein | If set, hides the gift from our profile. |\n| `stargift` | `InputSavedStarGift` | Ja | The gift to display or remove. A [hosted collectible gift »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) may be used by its host or owner. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "SAVED_ID_EMPTY", "STARGIFT_OBJECT_INVALID", "STARGIFT_OWNER_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "707422588"}}, "/catalog/payments.convertStarGift": {"post": {"operationId": "payments.convertStarGift", "tags": ["Payments"], "summary": "Convert a received gift » into Telegram Stars: this will permanently destroy the gift, converting it into starGift.`convert_stars` Telegram Stars, added to the user's balance.", "description": "Convert a [received gift »](https://core.telegram.org/api/gifts.md) into Telegram Stars: this will permanently destroy the gift, converting it into [starGift](https://core.telegram.org/constructor/starGift.md).`convert_stars` [Telegram Stars](https://core.telegram.org/api/stars.md), added to the user's balance.\n\nNote that [starGift](https://core.telegram.org/constructor/starGift.md).`convert_stars` will be less than the buying price ([starGift](https://core.telegram.org/constructor/starGift.md).`stars`) of the gift if it was originally bought using Telegram Stars bought a long time ago.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "payments.convertStarGift", "x-tl-id": "1958676331", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `SAVED_ID_EMPTY` – Das übergebene inputSavedStarGiftChat.saved_id ist leer.\n- 400 · `STARGIFT_PEER_INVALID` – Die angegebene inputSavedStarGiftChat.peer ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.convertStarGift"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "The gift to convert."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Ja | The gift to convert. |"}, "x-telegram-rpc-errors": ["BUSINESS_CONNECTION_INVALID", "MESSAGE_ID_INVALID", "SAVED_ID_EMPTY", "STARGIFT_PEER_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "1958676331"}}, "/catalog/payments.botCancelStarsSubscription": {"post": {"operationId": "payments.botCancelStarsSubscription", "tags": ["Payments"], "summary": "Cancel a bot subscription", "description": "Cancel a [bot subscription](https://core.telegram.org/api/subscriptions.md#bot-subscriptions)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Star-Abonnements](https://core.telegram.org/api/subscriptions.md)", "x-tl-method": "payments.botCancelStarsSubscription", "x-tl-id": "1845102114", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Star subscriptions", "https://core.telegram.org/api/subscriptions.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHARGE_ID_INVALID` – Die angegebene charge_id ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.botCancelStarsSubscription"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"restore": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If **not** set, disables autorenewal of the subscriptions, and prevents the user from reactivating the subscription once the current period expires: a subscription cancelled by the bot will have the [starsSubscription](https://core.telegram.org/constructor/starsSubscription.md).`bot_canceled` flag set.   The bot can can partially undo this operation by setting this flag: this will allow the user to reactivate the subscription."}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The ID of the user whose subscription should be (un)cancelled"}, "charge_id": {"type": "string", "x-tl-type": "string", "description": "The `provider_charge_id` from the [messageActionPaymentSentMe](https://core.telegram.org/constructor/messageActionPaymentSentMe.md) service message sent to the bot for the first subscription payment."}}, "additionalProperties": false, "required": ["user_id", "charge_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `restore` | `true` | Nein | If **not** set, disables autorenewal of the subscriptions, and prevents the user from reactivating the subscription once the current period expires: a subscription cancelled by the bot will have the [starsSubscription](https://core.telegram.org/constructor/starsSubscription.md).`bot_canceled` flag set.   The bot can can partially undo this operation by setting this flag: this will allow the user to reactivate the subscription. |\n| `user_id` | `InputUser` | Ja | The ID of the user whose subscription should be (un)cancelled |\n| `charge_id` | `string` | Ja | The `provider_charge_id` from the [messageActionPaymentSentMe](https://core.telegram.org/constructor/messageActionPaymentSentMe.md) service message sent to the bot for the first subscription payment. |"}, "x-telegram-rpc-errors": ["CHARGE_ID_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "1845102114"}}, "/catalog/payments.getConnectedStarRefBots": {"post": {"operationId": "payments.getConnectedStarRefBots", "tags": ["Payments"], "summary": "Fetch all affiliations we have created for a certain peer", "description": "Fetch all affiliations we have created for a certain peer\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "payments.getConnectedStarRefBots", "x-tl-id": "1483318611", "x-tl-result": "payments.ConnectedStarRefBots", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `payments.ConnectedStarRefBots`.\n\n[payments.ConnectedStarRefBots](https://core.telegram.org/type/payments.ConnectedStarRefBots.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ConnectedStarRefBots", "oneOf": [{"$ref": "#/components/schemas/payments.connectedStarRefBots"}], "description": "Type TL: payments.ConnectedStarRefBots."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getConnectedStarRefBots"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The affiliated peer"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "If set, returns only results older than the specified unixtime"}, "offset_link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Offset for [pagination](https://core.telegram.org/api/offsets.md), taken from the last returned [connectedBotStarRef](https://core.telegram.org/constructor/connectedBotStarRef.md).`url` (initially empty)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The affiliated peer |\n| `offset_date` | `int` | Nein | If set, returns only results older than the specified unixtime |\n| `offset_link` | `string` | Nein | Offset for [pagination](https://core.telegram.org/api/offsets.md), taken from the last returned [connectedBotStarRef](https://core.telegram.org/constructor/connectedBotStarRef.md).`url` (initially empty) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "1483318611"}}, "/catalog/payments.getConnectedStarRefBot": {"post": {"operationId": "payments.getConnectedStarRefBot", "tags": ["Payments"], "summary": "Fetch info about a specific bot affiliation »", "description": "Fetch info about a specific [bot affiliation »](https://core.telegram.org/api/bots/referrals.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Partnerprogramme](https://core.telegram.org/api/bots/referrals.md)", "x-tl-method": "payments.getConnectedStarRefBot", "x-tl-id": "3084490992", "x-tl-result": "payments.ConnectedStarRefBots", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Affiliate programs", "https://core.telegram.org/api/bots/referrals.md"]], "responses": {"200": {"description": "MTProto result · `payments.ConnectedStarRefBots`.\n\n[payments.ConnectedStarRefBots](https://core.telegram.org/type/payments.ConnectedStarRefBots.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ConnectedStarRefBots", "oneOf": [{"$ref": "#/components/schemas/payments.connectedStarRefBots"}], "description": "Type TL: payments.ConnectedStarRefBots."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getConnectedStarRefBot"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The affiliated peer"}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that offers the affiliate program"}}, "additionalProperties": false, "required": ["peer", "bot"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The affiliated peer |\n| `bot` | `InputUser` | Ja | The bot that offers the affiliate program |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3084490992"}}, "/catalog/payments.getSuggestedStarRefBots": {"post": {"operationId": "payments.getSuggestedStarRefBots", "tags": ["Payments"], "summary": "Obtain a list of suggested mini apps with available affiliate programs", "description": "Obtain a list of suggested [mini apps](https://core.telegram.org/api/bots/webapps.md) with available [affiliate programs](https://core.telegram.org/api/bots/referrals.md)\n\n`order_by_revenue` and `order_by_date` are mutually exclusive: if neither is set, results are sorted by profitability.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Mini-Apps auf Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Partnerprogramme](https://core.telegram.org/api/bots/referrals.md)", "x-tl-method": "payments.getSuggestedStarRefBots", "x-tl-id": "225134839", "x-tl-result": "payments.SuggestedStarRefBots", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Mini Apps on Telegram", "https://core.telegram.org/api/bots/webapps.md"], ["Affiliate programs", "https://core.telegram.org/api/bots/referrals.md"]], "responses": {"200": {"description": "MTProto result · `payments.SuggestedStarRefBots`.\n\n[payments.SuggestedStarRefBots](https://core.telegram.org/type/payments.SuggestedStarRefBots.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.SuggestedStarRefBots", "oneOf": [{"$ref": "#/components/schemas/payments.suggestedStarRefBots"}], "description": "TL type: payments.SuggestedStarRefBots."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `PEER_ID_INVALID` — The provided peer id is invalid."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getSuggestedStarRefBots"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"order_by_revenue": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, orders results by the expected revenue"}, "order_by_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "If set, orders results by the creation date of the affiliate program"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer that will become the affiliate: star commissions will be transferred to this peer's star balance."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for pagination, taken from [payments.suggestedStarRefBots](https://core.telegram.org/constructor/payments.suggestedStarRefBots.md).`next_offset`, initially empty."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `order_by_revenue` | `true` | Nein | If set, orders results by the expected revenue |\n| `order_by_date` | `true` | Nein | If set, orders results by the creation date of the affiliate program |\n| `peer` | `InputPeer` | Ja | The peer that will become the affiliate: star commissions will be transferred to this peer's star balance. |\n| `offset` | `string` | Ja | Offset for pagination, taken from [payments.suggestedStarRefBots](https://core.telegram.org/constructor/payments.suggestedStarRefBots.md).`next_offset`, initially empty. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "225134839"}}, "/catalog/payments.connectStarRefBot": {"post": {"operationId": "payments.connectStarRefBot", "tags": ["Payments"], "summary": "Join a bot's affiliate program, becoming an affiliate »", "description": "Join a bot's [affiliate program, becoming an affiliate »](https://core.telegram.org/api/bots/referrals.md#becoming-an-affiliate)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Partnerprogramme](https://core.telegram.org/api/bots/referrals.md)", "x-tl-method": "payments.connectStarRefBot", "x-tl-id": "2127901834", "x-tl-result": "payments.ConnectedStarRefBots", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Affiliate programs", "https://core.telegram.org/api/bots/referrals.md"]], "responses": {"200": {"description": "MTProto result · `payments.ConnectedStarRefBots`.\n\n[payments.ConnectedStarRefBots](https://core.telegram.org/type/payments.ConnectedStarRefBots.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ConnectedStarRefBots", "oneOf": [{"$ref": "#/components/schemas/payments.connectedStarRefBots"}], "description": "Type TL: payments.ConnectedStarRefBots."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.connectStarRefBot"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer that will become the affiliate: star commissions will be transferred to this peer's star balance."}, "bot": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The bot that offers the affiliate program"}}, "additionalProperties": false, "required": ["peer", "bot"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer that will become the affiliate: star commissions will be transferred to this peer's star balance. |\n| `bot` | `InputUser` | Ja | The bot that offers the affiliate program |"}, "x-browser-schema-id": "2127901834"}}, "/catalog/payments.editConnectedStarRefBot": {"post": {"operationId": "payments.editConnectedStarRefBot", "tags": ["Payments"], "summary": "Leave a bot's affiliate program »", "description": "Leave a bot's [affiliate program »](https://core.telegram.org/api/bots/referrals.md#becoming-an-affiliate)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Partnerprogramme](https://core.telegram.org/api/bots/referrals.md)", "x-tl-method": "payments.editConnectedStarRefBot", "x-tl-id": "3841762467", "x-tl-result": "payments.ConnectedStarRefBots", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Affiliate programs", "https://core.telegram.org/api/bots/referrals.md"]], "responses": {"200": {"description": "MTProto result · `payments.ConnectedStarRefBots`.\n\n[payments.ConnectedStarRefBots](https://core.telegram.org/type/payments.ConnectedStarRefBots.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ConnectedStarRefBots", "oneOf": [{"$ref": "#/components/schemas/payments.connectedStarRefBots"}], "description": "Type TL: payments.ConnectedStarRefBots."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARREF_HASH_REVOKED` — Der angegebene Affiliate-Link wurde bereits widerrufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.editConnectedStarRefBot"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"revoked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, leaves the bot's affiliate program"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer that was affiliated"}, "link": {"type": "string", "x-tl-type": "string", "description": "The affiliate link to revoke"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `revoked` | `true` | Nein | If set, leaves the bot's affiliate program |\n| `peer` | `InputPeer` | Ja | The peer that was affiliated |\n| `link` | `string` | Ja | The affiliate link to revoke |"}, "x-telegram-rpc-errors": ["STARREF_HASH_REVOKED"], "x-browser-schema-id": "3841762467"}}, "/catalog/payments.getStarGiftUpgradePreview": {"post": {"operationId": "payments.getStarGiftUpgradePreview", "tags": ["Payments"], "summary": "Obtain a preview of the possible attributes (chosen randomly) a gift » can receive after upgrading it to a collectible gift », see here » for more info.", "description": "Obtain a preview of the possible attributes (chosen randomly) a [gift »](https://core.telegram.org/api/gifts.md) can receive after upgrading it to a [collectible gift »](https://core.telegram.org/api/gifts.md#collectible-gifts), see [here »](https://core.telegram.org/api/gifts.md#collectible-gifts) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.getStarGiftUpgradePreview", "x-tl-id": "2627386545", "x-tl-result": "payments.StarGiftUpgradePreview", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarGiftUpgradePreview`.\n\n[payments.StarGiftUpgradePreview](https://core.telegram.org/type/payments.StarGiftUpgradePreview.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftUpgradePreview", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftUpgradePreview"}], "description": "TL type: payments.StarGiftUpgradePreview."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARGIFT_INVALID` — Das übergebene Geschenk ist ungültig.\n- 400 · `STARGIFT_UPGRADE_UNAVAILABLE` – Ein erhaltenes Geschenk kann nur dann zu einem Sammelgeschenk aufgewertet werden, wenn das Flag [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`can_upgrade`] gesetzt ist."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarGiftUpgradePreview"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "The gift to upgrade.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Ja | The gift to upgrade. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID", "STARGIFT_UPGRADE_UNAVAILABLE"], "x-browser-schema-id": "2627386545"}}, "/catalog/payments.upgradeStarGift": {"post": {"operationId": "payments.upgradeStarGift", "tags": ["Payments"], "summary": "Upgrade a gift to a collectible gift: can only be used if the upgrade was already paid by the gift sender; see here » for more info on the full flow (including the different flow to use in case the upgrade was not paid by the gift sender).", "description": "Upgrade a [gift](https://core.telegram.org/api/gifts.md) to a [collectible gift](https://core.telegram.org/api/gifts.md#collectible-gifts): can only be used if the upgrade was already paid by the gift sender; see [here »](https://core.telegram.org/api/gifts.md#upgrade-a-gift-to-a-collectible-gift) for more info on the full flow (including the different flow to use in case the upgrade was not paid by the gift sender).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "payments.upgradeStarGift", "x-tl-id": "2933318901", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PAYMENT_REQUIRED` – Für diese Aktion ist eine Zahlung erforderlich, weitere Informationen finden Sie [hier »](https://core.telegram.org/api/gifts.md)“.\n- 400 · `SAVED_ID_EMPTY` – Das übergebene inputSavedStarGiftChat.saved_id ist leer.\n- 400 · `STARGIFT_ALREADY_CONVERTED` — Das angegebene Sternengeschenk wurde bereits in Sterne umgewandelt.\n- 400 · `STARGIFT_ALREADY_UPGRADED` — Das angegebene Geschenk wurde bereits zu einem Sammlergeschenk aufgewertet.\n- 400 · `STARGIFT_UPGRADE_UNAVAILABLE` – Ein erhaltenes Geschenk kann nur dann zu einem Sammelgeschenk aufgewertet werden, wenn das Flag [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`can_upgrade`] gesetzt ist."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.upgradeStarGift"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"keep_original_details": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Setzen Sie dieses Flag, um den ursprünglichen Geschenktext, Absender und Empfänger im aktualisierten Geschenk als [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md)-Attribut] beizubehalten."}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "The gift to upgrade"}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `keep_original_details` | `true` | Nein | Setzen Sie dieses Flag, um den ursprünglichen Geschenktext, Absender und Empfänger im aktualisierten Geschenk als [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md)-Attribut] beizubehalten. |\n| `stargift` | `InputSavedStarGift` | Ja | The gift to upgrade |"}, "x-telegram-rpc-errors": ["BUSINESS_CONNECTION_INVALID", "MESSAGE_ID_INVALID", "PAYMENT_REQUIRED", "SAVED_ID_EMPTY", "STARGIFT_ALREADY_CONVERTED", "STARGIFT_ALREADY_UPGRADED", "STARGIFT_UPGRADE_UNAVAILABLE"], "x-browser-schema-id": "2933318901"}}, "/catalog/payments.transferStarGift": {"post": {"operationId": "payments.transferStarGift", "tags": ["Payments"], "summary": "Transfer a collectible gift to another user or channel: can only be used if transfer is free (i.e. messageActionStarGiftUnique.`transfer_stars` is not set); see here » for more info on the full flow (including the different flow to use in case the transfer isn't free).", "description": "Transfer a [collectible gift](https://core.telegram.org/api/gifts.md#collectible-gifts) to another user or channel: can only be used if transfer is free (i.e. [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md).`transfer_stars` is not set); see [here »](https://core.telegram.org/api/gifts.md#transferring-collectible-gifts) for more info on the full flow (including the different flow to use in case the transfer isn't free).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "payments.transferStarGift", "x-tl-id": "2132285290", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PAYMENT_REQUIRED` – Für diese Aktion ist eine Zahlung erforderlich, weitere Informationen finden Sie [hier »](https://core.telegram.org/api/gifts.md)“.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `SAVED_ID_EMPTY` – Das übergebene inputSavedStarGiftChat.saved_id ist leer.\n- 400 · `STARGIFT_NOT_FOUND` — Das angegebene Geschenk wurde nicht gefunden.\n- 400 · `STARGIFT_NOT_OWNER` – Sie sind nicht der Eigentümer des Geschenks, das Sie übertragen möchten.\n- 400 · `STARGIFT_NOT_UNIQUE` — Sie können ein nicht einlösbares Geschenk nicht übertragen.\n- 400 · `STARGIFT_OWNER_INVALID` – Sie können ein Geschenk, das einem anderen Benutzer gehört, nicht übertragen oder verkaufen.\n- 400 · `STARGIFT_PEER_INVALID` – Die angegebene inputSavedStarGiftChat.peer ist ungültig.\n- 400 · `STARGIFT_TRANSFER_TOO_EARLY_%d` — Sie können dieses Geschenk noch nicht übertragen, warten Sie %d Sekunden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.transferStarGift"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "The gift to transfer."}, "to_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Destination peer."}}, "additionalProperties": false, "required": ["stargift", "to_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Ja | The gift to transfer. |\n| `to_id` | `InputPeer` | Ja | Destination peer. |"}, "x-telegram-rpc-errors": ["BUSINESS_CONNECTION_INVALID", "MESSAGE_ID_INVALID", "PAYMENT_REQUIRED", "PEER_ID_INVALID", "SAVED_ID_EMPTY", "STARGIFT_NOT_FOUND", "STARGIFT_NOT_OWNER", "STARGIFT_NOT_UNIQUE", "STARGIFT_OWNER_INVALID", "STARGIFT_PEER_INVALID", "STARGIFT_TRANSFER_TOO_EARLY_%d"], "x-browser-schema-id": "2132285290"}}, "/catalog/payments.getUniqueStarGift": {"post": {"operationId": "payments.getUniqueStarGift", "tags": ["Payments"], "summary": "Obtain info about a collectible gift » using a slug obtained from a collectible gift link ».", "description": "Obtain info about a [collectible gift »](https://core.telegram.org/api/gifts.md#collectible-gifts) using a slug obtained from a [collectible gift link »](https://core.telegram.org/api/links.md#collectible-gift-link).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "payments.getUniqueStarGift", "x-tl-id": "2711047538", "x-tl-result": "payments.UniqueStarGift", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"], ["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `payments.UniqueStarGift`.\n\n[payments.UniqueStarGift](https://core.telegram.org/type/payments.UniqueStarGift.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.UniqueStarGift", "oneOf": [{"$ref": "#/components/schemas/payments.uniqueStarGift"}], "description": "TL type: payments.UniqueStarGift."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARGIFT_SLUG_INVALID` – Der angegebene Geschenkartikel ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getUniqueStarGift"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "The slug."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | The slug. |"}, "x-telegram-rpc-errors": ["STARGIFT_SLUG_INVALID"], "x-browser-schema-id": "2711047538"}}, "/catalog/payments.getSavedStarGifts": {"post": {"operationId": "payments.getSavedStarGifts", "tags": ["Payments"], "summary": "Fetch the full list of gifts » owned, received or hosted » by a peer.", "description": "Fetch the full list of [gifts »](https://core.telegram.org/api/gifts.md#list-all-received-gifts) owned, received or [hosted »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) by a peer.\n\nNote that unlike what the name suggests, the method can be used to fetch both \"saved\" and \"unsaved\" gifts (aka gifts both pinned and not pinned) to the profile, depending on the passed flags.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)\n- [Akzentfarben](https://core.telegram.org/api/colors.md)\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "payments.getSavedStarGifts", "x-tl-id": "2736383337", "x-tl-result": "payments.SavedStarGifts", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"], ["Accent colors", "https://core.telegram.org/api/colors.md"], ["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `payments.SavedStarGifts`.\n\n[payments.SavedStarGifts](https://core.telegram.org/type/payments.SavedStarGifts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.SavedStarGifts", "oneOf": [{"$ref": "#/components/schemas/payments.savedStarGifts"}], "description": "Type TL: payments.SavedStarGifts."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `COLLECTION_ID_INVALID` – Die angegebene Sammlungs-ID ist ungültig.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getSavedStarGifts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"exclude_unsaved": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Exclude gifts not pinned on the profile."}, "exclude_saved": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Exclude gifts pinned on the profile."}, "exclude_unlimited": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Exclude gifts that do not have the [starGift](https://core.telegram.org/constructor/starGift.md).`limited` flag set."}, "exclude_unique": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Exclude [collectible gifts »](https://core.telegram.org/api/gifts.md#collectible-gifts)."}, "sort_by_value": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "If set, sorts the gifts by price instead of reception date."}, "exclude_upgradable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Exclude gifts that can be [upgraded to collectible gifts »](https://core.telegram.org/api/gifts.md#collectible-gifts)."}, "exclude_unupgradable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Exclude gifts that cannot be [upgraded to collectible gifts »](https://core.telegram.org/api/gifts.md#collectible-gifts)."}, "peer_color_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true", "description": "If set, only returns [collectible gifts](https://core.telegram.org/api/gifts.md#collectible-gifts) whose palette can be used as a [collectible message palette »](https://core.telegram.org/api/colors.md#collectible-message-palettes)."}, "exclude_hosted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true", "description": "If set, excludes [hosted collectible gifts »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts), returning only gifts owned or received by `peer`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Fetch only gifts owned, received or [hosted »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) by the specified peer, such as: a user, with peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md); a channel, with peer=[inputPeerChannel](https://core.telegram.org/constructor/inputPeerChannel.md); a [connected business user »](https://core.telegram.org/api/bots/connected-business-bots.md) (when executing the method as a bot, over the business connection), with peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md)."}, "collection_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.6?int", "description": "Only returns gifts within the specified [collection »](https://core.telegram.org/api/gifts.md#gift-collections)."}, "offset": {"type": "string", "x-tl-type": "string", "description": "[Offset for pagination](https://core.telegram.org/api/offsets.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `exclude_unsaved` | `true` | Nein | Exclude gifts not pinned on the profile. |\n| `exclude_saved` | `true` | Nein | Exclude gifts pinned on the profile. |\n| `exclude_unlimited` | `true` | Nein | Exclude gifts that do not have the [starGift](https://core.telegram.org/constructor/starGift.md).`limited` flag set. |\n| `exclude_unique` | `true` | Nein | Exclude [collectible gifts »](https://core.telegram.org/api/gifts.md#collectible-gifts). |\n| `sort_by_value` | `true` | Nein | If set, sorts the gifts by price instead of reception date. |\n| `exclude_upgradable` | `true` | Nein | Exclude gifts that can be [upgraded to collectible gifts »](https://core.telegram.org/api/gifts.md#collectible-gifts). |\n| `exclude_unupgradable` | `true` | Nein | Exclude gifts that cannot be [upgraded to collectible gifts »](https://core.telegram.org/api/gifts.md#collectible-gifts). |\n| `peer_color_available` | `true` | Nein | If set, only returns [collectible gifts](https://core.telegram.org/api/gifts.md#collectible-gifts) whose palette can be used as a [collectible message palette »](https://core.telegram.org/api/colors.md#collectible-message-palettes). |\n| `exclude_hosted` | `true` | Nein | If set, excludes [hosted collectible gifts »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts), returning only gifts owned or received by `peer`. |\n| `peer` | `InputPeer` | Ja | Fetch only gifts owned, received or [hosted »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) by the specified peer, such as: a user, with peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md); a channel, with peer=[inputPeerChannel](https://core.telegram.org/constructor/inputPeerChannel.md); a [connected business user »](https://core.telegram.org/api/bots/connected-business-bots.md) (when executing the method as a bot, over the business connection), with peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md). |\n| `collection_id` | `int` | Nein | Only returns gifts within the specified [collection »](https://core.telegram.org/api/gifts.md#gift-collections). |\n| `offset` | `string` | Ja | [Offset for pagination](https://core.telegram.org/api/offsets.md). |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["BUSINESS_CONNECTION_INVALID", "COLLECTION_ID_INVALID", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "2736383337"}}, "/catalog/payments.getSavedStarGift": {"post": {"operationId": "payments.getSavedStarGift", "tags": ["Payments"], "summary": "Fetch info about specific gifts owned by a peer we control.", "description": "Fetch info about specific [gifts](https://core.telegram.org/api/gifts.md) owned by a peer we control.\n\nNote that unlike what the name suggests, the method can be used to fetch both \"saved\" and \"unsaved\" gifts (aka gifts both pinned and not pinned to the profile).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.getSavedStarGift", "x-tl-id": "3025510662", "x-tl-result": "payments.SavedStarGifts", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `payments.SavedStarGifts`.\n\n[payments.SavedStarGifts](https://core.telegram.org/type/payments.SavedStarGifts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.SavedStarGifts", "oneOf": [{"$ref": "#/components/schemas/payments.savedStarGifts"}], "description": "Type TL: payments.SavedStarGifts."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SAVED_ID_EMPTY` – Das übergebene inputSavedStarGiftChat.saved_id ist leer.\n- 400 · `STARGIFT_OWNER_INVALID` – Sie können ein Geschenk, das einem anderen Benutzer gehört, nicht übertragen oder verkaufen.\n- 400 · `STARGIFT_SLUG_INVALID` – Der angegebene Geschenkartikel ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getSavedStarGift"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stargift": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "TL Type: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "List of gifts to fetch info about."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stargift` | `Vector<InputSavedStarGift>` | Ja | List of gifts to fetch info about. |"}, "x-telegram-rpc-errors": ["SAVED_ID_EMPTY", "STARGIFT_OWNER_INVALID", "STARGIFT_SLUG_INVALID"], "x-browser-schema-id": "3025510662"}}, "/catalog/payments.getStarGiftWithdrawalUrl": {"post": {"operationId": "payments.getStarGiftWithdrawalUrl", "tags": ["Payments"], "summary": "Convert a collectible gift » to an NFT on the TON blockchain.", "description": "Convert a [collectible gift »](https://core.telegram.org/api/gifts.md) to an NFT on the TON blockchain.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md)\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.getStarGiftWithdrawalUrl", "x-tl-id": "3368714619", "x-tl-result": "payments.StarGiftWithdrawalUrl", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Two-factor authentication", "https://core.telegram.org/api/srp.md"], ["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarGiftWithdrawalUrl`.\n\n[payments.StarGiftWithdrawalUrl](https://core.telegram.org/type/payments.StarGiftWithdrawalUrl.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftWithdrawalUrl", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftWithdrawalUrl"}], "description": "TL type: payments.StarGiftWithdrawalUrl."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID` – Der bereitgestellte Passwort-Hash ist ungültig.\n- 400 · `PASSWORD_TOO_FRESH_%d` – Das Passwort wurde vor weniger als 24 Stunden geändert. Versuchen Sie es in %d Sekunden erneut.\n- 400 · `SESSION_TOO_FRESH_%d` – Diese Sitzung wurde vor weniger als 24 Stunden erstellt. Versuchen Sie es in %d Sekunden erneut."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarGiftWithdrawalUrl"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "The collectible gift to export."}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}}, "additionalProperties": false, "required": ["stargift", "tmp_password"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Ja | The collectible gift to export. |\n| `tmp_password` | `bytes` | Ja | Wert des TL-Typs `bytes`. |"}, "x-telegram-rpc-errors": ["PASSWORD_HASH_INVALID", "PASSWORD_TOO_FRESH_%d", "SESSION_TOO_FRESH_%d"], "x-browser-schema-id": "3368714619"}}, "/catalog/payments.toggleChatStarGiftNotifications": {"post": {"operationId": "payments.toggleChatStarGiftNotifications", "tags": ["Payments"], "summary": "Enables or disables the reception of notifications every time a gift » is received by the specified channel, can only be invoked by admins with `post_messages` admin rights.", "description": "Enables or disables the reception of notifications every time a [gift »](https://core.telegram.org/api/gifts.md) is received by the specified channel, can only be invoked by admins with `post_messages` [admin rights](https://core.telegram.org/constructor/chatAdminRights.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.toggleChatStarGiftNotifications", "x-tl-id": "1626009505", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.toggleChatStarGiftNotifications"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to enable or disable reception of notifications in the form of [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md) and [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) service messages from the channel."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The channel for which to receive or not receive notifications."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `enabled` | `true` | Nein | Whether to enable or disable reception of notifications in the form of [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md) and [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) service messages from the channel. |\n| `peer` | `InputPeer` | Ja | The channel for which to receive or not receive notifications. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1626009505"}}, "/catalog/payments.toggleStarGiftsPinnedToTop": {"post": {"operationId": "payments.toggleStarGiftsPinnedToTop", "tags": ["Payments"], "summary": "Pins a received gift on top of the profile of the user or owned channels by using payments.toggleStarGiftsPinnedToTop.", "description": "Pins a received gift on top of the profile of the user or owned channels by using [payments.toggleStarGiftsPinnedToTop](https://core.telegram.org/method/payments.toggleStarGiftsPinnedToTop.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "payments.toggleStarGiftsPinnedToTop", "x-tl-id": "353626032", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.toggleStarGiftsPinnedToTop"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer where to pin the gift."}, "stargift": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "TL Type: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "The gift to pin."}}, "additionalProperties": false, "required": ["peer", "stargift"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer where to pin the gift. |\n| `stargift` | `Vector<InputSavedStarGift>` | Ja | The gift to pin. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "353626032"}}, "/catalog/payments.canPurchaseStore": {"post": {"operationId": "payments.canPurchaseStore", "tags": ["Payments"], "summary": "Checks whether a purchase is possible. Must be called before in-store purchase, official apps only.", "description": "Checks whether a purchase is possible. Must be called before in-store purchase, official apps only.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "payments.canPurchaseStore", "x-tl-id": "1339842215", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `INPUT_PURPOSE_INVALID` — Der angegebene Zahlungszweck ist ungültig.\n- 406 · `PREMIUM_CURRENTLY_UNAVAILABLE` — You cannot currently purchase a Premium subscription."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.canPurchaseStore"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"purpose": {"type": "object", "x-tl-type": "InputStorePaymentPurpose", "oneOf": [{"$ref": "#/components/schemas/inputStorePaymentPremiumSubscription"}, {"$ref": "#/components/schemas/inputStorePaymentGiftPremium"}, {"$ref": "#/components/schemas/inputStorePaymentPremiumGiftCode"}, {"$ref": "#/components/schemas/inputStorePaymentPremiumGiveaway"}, {"$ref": "#/components/schemas/inputStorePaymentStarsTopup"}, {"$ref": "#/components/schemas/inputStorePaymentStarsGift"}, {"$ref": "#/components/schemas/inputStorePaymentStarsGiveaway"}, {"$ref": "#/components/schemas/inputStorePaymentAuthCode"}], "description": "Payment purpose."}}, "additionalProperties": false, "required": ["purpose"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `purpose` | `InputStorePaymentPurpose` | Ja | Payment purpose. |"}, "x-telegram-rpc-errors": ["INPUT_PURPOSE_INVALID", "PREMIUM_CURRENTLY_UNAVAILABLE"], "x-browser-schema-id": "1339842215"}}, "/catalog/payments.getResaleStarGifts": {"post": {"operationId": "payments.getResaleStarGifts", "tags": ["Payments"], "summary": "Get collectible gifts of a specific type currently on resale, see here » for more info.", "description": "Get [collectible gifts](https://core.telegram.org/api/gifts.md#collectible-gifts) of a specific type currently on resale, see [here »](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts) for more info.\n\n`sort_by_price` and `sort_by_num` are mutually exclusive, if neither are set results are sorted by the unixtime (descending) when their resell price was last changed.\n\nSee [here »](https://core.telegram.org/api/gifts.md#sending-gifts) for detailed documentation on this method.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "payments.getResaleStarGifts", "x-tl-id": "2053087798", "x-tl-result": "payments.ResaleStarGifts", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `payments.ResaleStarGifts`.\n\n[payments.ResaleStarGifts](https://core.telegram.org/type/payments.ResaleStarGifts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ResaleStarGifts", "oneOf": [{"$ref": "#/components/schemas/payments.resaleStarGifts"}], "description": "Type TL: payments.ResaleStarGifts."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARGIFT_ATTRIBUTE_INVALID` – Eines der angegebenen Sterngeschenkattribute ist ungültig.\n- 400 · `STARGIFT_INVALID` — Das übergebene Geschenk ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getResaleStarGifts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"sort_by_price": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Sort gifts by price (ascending)."}, "sort_by_num": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Sort gifts by number (ascending)."}, "for_craft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Only return collectible gifts that can be bought and used for [crafting »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts); render each returned gift's [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`craft_chance_permille` as its crafting success contribution."}, "stars_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Only return gifts that can be bought using [Stars](https://core.telegram.org/api/stars.md)."}, "ton_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Wert des TL-Typs `true`."}, "fragment_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Wert des TL-Typs `true`."}, "attributes_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "If a previous call to the method was made and [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` was set, pass it here to avoid returning any results if they haven't changed.  Otherwise, set this flag and pass `0` to return [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` and [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes`, **these two fields will not be set** if this flag is not set.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Mandatory identifier of the base gift from which the collectible gift was upgraded.", "x-tl-type": "long"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAttributeId", "oneOf": [{"$ref": "#/components/schemas/starGiftAttributeIdModel"}, {"$ref": "#/components/schemas/starGiftAttributeIdPattern"}, {"$ref": "#/components/schemas/starGiftAttributeIdBackdrop"}], "description": "TL Type: StarGiftAttributeId."}, "x-tl-type": "Vector<StarGiftAttributeId>", "x-tl-flag": "flags.3?Vector<StarGiftAttributeId>", "description": "Optionally filter gifts with the specified attributes. If no attributes of a specific type are specified, all attributes of that type are allowed."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for pagination. If not equal to an empty string, [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`counters` will not be set to avoid returning the counters every time a new page is fetched."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["gift_id", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `sort_by_price` | `true` | Nein | Sort gifts by price (ascending). |\n| `sort_by_num` | `true` | Nein | Sort gifts by number (ascending). |\n| `for_craft` | `true` | Nein | Only return collectible gifts that can be bought and used for [crafting »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts); render each returned gift's [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`craft_chance_permille` as its crafting success contribution. |\n| `stars_only` | `true` | Nein | Only return gifts that can be bought using [Stars](https://core.telegram.org/api/stars.md). |\n| `ton_only` | `true` | Nein | Wert des TL-Typs `true`. |\n| `fragment_only` | `true` | Nein | Wert des TL-Typs `true`. |\n| `attributes_hash` | `long` | Nein | If a previous call to the method was made and [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` was set, pass it here to avoid returning any results if they haven't changed.  Otherwise, set this flag and pass `0` to return [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` and [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes`, **these two fields will not be set** if this flag is not set. |\n| `gift_id` | `long` | Ja | Mandatory identifier of the base gift from which the collectible gift was upgraded. |\n| `attributes` | `Vector<StarGiftAttributeId>` | Nein | Optionally filter gifts with the specified attributes. If no attributes of a specific type are specified, all attributes of that type are allowed. |\n| `offset` | `string` | Ja | Offset for pagination. If not equal to an empty string, [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`counters` will not be set to avoid returning the counters every time a new page is fetched. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["STARGIFT_ATTRIBUTE_INVALID", "STARGIFT_INVALID"], "x-browser-schema-id": "2053087798"}}, "/catalog/payments.updateStarGiftPrice": {"post": {"operationId": "payments.updateStarGiftPrice", "tags": ["Payments"], "summary": "Ein Sammlergeschenk, das wir besitzen » kann mit dieser Methode auf dem Geschenkemarktplatz zum Verkauf angeboten werden. Weitere Informationen finden Sie hier ».", "description": "A [collectible gift we own »](https://core.telegram.org/api/gifts.md#collectible-gifts) can be put up for sale on the [gift marketplace »](https://telegram.org/blog/gift-marketplace-and-more) with this method, see [here »](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.updateStarGiftPrice", "x-tl-id": "3988679883", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SAVED_ID_EMPTY` – Das übergebene inputSavedStarGiftChat.saved_id ist leer.\n- 400 · `STARGIFT_NOT_FOUND` — Das angegebene Geschenk wurde nicht gefunden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.updateStarGiftPrice"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "The gift to resell."}, "resell_amount": {"type": "object", "x-tl-type": "StarsAmount", "oneOf": [{"$ref": "#/components/schemas/starsAmount"}, {"$ref": "#/components/schemas/starsTonAmount"}], "description": "Resale price of the gift."}}, "additionalProperties": false, "required": ["stargift", "resell_amount"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Ja | The gift to resell. |\n| `resell_amount` | `StarsAmount` | Ja | Resale price of the gift. |"}, "x-telegram-rpc-errors": ["SAVED_ID_EMPTY", "STARGIFT_NOT_FOUND"], "x-browser-schema-id": "3988679883"}}, "/catalog/payments.createStarGiftCollection": {"post": {"operationId": "payments.createStarGiftCollection", "tags": ["Payments"], "summary": "Erstellen Sie eine Star-Geschenkkollektion ».", "description": "Create a [star gift collection »](https://core.telegram.org/api/gifts.md#gift-collections).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.createStarGiftCollection", "x-tl-id": "524947079", "x-tl-result": "StarGiftCollection", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `StarGiftCollection`.\n\n[StarGiftCollection](https://core.telegram.org/type/StarGiftCollection.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StarGiftCollection", "oneOf": [{"$ref": "#/components/schemas/starGiftCollection"}], "description": "TL Type: StarGiftCollection."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.createStarGiftCollection"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where to create the collection."}, "title": {"type": "string", "x-tl-type": "string", "description": "Titel der Sammlung."}, "stargift": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "TL Type: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "Gifts added to the collection."}}, "additionalProperties": false, "required": ["peer", "title", "stargift"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where to create the collection. |\n| `title` | `string` | Ja | Titel der Sammlung. |\n| `stargift` | `Vector<InputSavedStarGift>` | Ja | Gifts added to the collection. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "524947079"}}, "/catalog/payments.updateStarGiftCollection": {"post": {"operationId": "payments.updateStarGiftCollection", "tags": ["Payments"], "summary": "Add or remove gifts from a star gift collection », or rename the collection.", "description": "Add or remove gifts from a [star gift collection »](https://core.telegram.org/api/gifts.md#gift-collections), or rename the collection.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.updateStarGiftCollection", "x-tl-id": "1339932391", "x-tl-result": "StarGiftCollection", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `StarGiftCollection`.\n\n[StarGiftCollection](https://core.telegram.org/type/StarGiftCollection.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StarGiftCollection", "oneOf": [{"$ref": "#/components/schemas/starGiftCollection"}], "description": "TL Type: StarGiftCollection."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.updateStarGiftCollection"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer that owns the collection."}, "collection_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Collection ID."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Title of the collection, to rename the collection."}, "delete_stargift": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "TL Type: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "x-tl-flag": "flags.1?Vector<InputSavedStarGift>", "description": "Can contain a list of gifts to remove from the collection."}, "add_stargift": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "TL Type: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "x-tl-flag": "flags.2?Vector<InputSavedStarGift>", "description": "Can contain a list of gifts to add to the collection."}, "order": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "TL Type: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "x-tl-flag": "flags.3?Vector<InputSavedStarGift>", "description": "Can contain the new gift order."}}, "additionalProperties": false, "required": ["peer", "collection_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer that owns the collection. |\n| `collection_id` | `int` | Ja | Collection ID. |\n| `title` | `string` | Nein | Title of the collection, to rename the collection. |\n| `delete_stargift` | `Vector<InputSavedStarGift>` | Nein | Can contain a list of gifts to remove from the collection. |\n| `add_stargift` | `Vector<InputSavedStarGift>` | Nein | Can contain a list of gifts to add to the collection. |\n| `order` | `Vector<InputSavedStarGift>` | Nein | Can contain the new gift order. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1339932391"}}, "/catalog/payments.reorderStarGiftCollections": {"post": {"operationId": "payments.reorderStarGiftCollections", "tags": ["Payments"], "summary": "Reorder the star gift collections » on an owned peer's profile.", "description": "Reorder the [star gift collections »](https://core.telegram.org/api/gifts.md#gift-collections) on an owned peer's profile.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.reorderStarGiftCollections", "x-tl-id": "3274372300", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.reorderStarGiftCollections"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The owned peer."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "New collection order."}}, "additionalProperties": false, "required": ["peer", "order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The owned peer. |\n| `order` | `Vector<int>` | Ja | New collection order. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3274372300"}}, "/catalog/payments.deleteStarGiftCollection": {"post": {"operationId": "payments.deleteStarGiftCollection", "tags": ["Payments"], "summary": "Delete a star gift collection ».", "description": "Delete a [star gift collection »](https://core.telegram.org/api/gifts.md#gift-collections).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.deleteStarGiftCollection", "x-tl-id": "2908113128", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.deleteStarGiftCollection"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer that owns the collection."}, "collection_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the collection."}}, "additionalProperties": false, "required": ["peer", "collection_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer that owns the collection. |\n| `collection_id` | `int` | Ja | ID of the collection. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2908113128"}}, "/catalog/payments.getStarGiftCollections": {"post": {"operationId": "payments.getStarGiftCollections", "tags": ["Payments"], "summary": "Fetches all star gift collections » of a peer.", "description": "Fetches all [star gift collections »](https://core.telegram.org/api/gifts.md#gift-collections) of a peer.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.getStarGiftCollections", "x-tl-id": "2551943645", "x-tl-result": "payments.StarGiftCollections", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarGiftCollections`.\n\n[payments.StarGiftCollections](https://core.telegram.org/type/payments.StarGiftCollections.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftCollections", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftCollectionsNotModified"}, {"$ref": "#/components/schemas/payments.starGiftCollections"}], "description": "TL type: payments.StarGiftCollections."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarGiftCollections"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash ([generated as specified here »](https://core.telegram.org/api/offsets.md#hash-generation)) using the [starGiftCollection](https://core.telegram.org/constructor/starGiftCollection.md).`hash` field (**not** the `collection_id` field) of all collections returned by a previous method call, to avoid refetching the result if it hasn't changed.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer. |\n| `hash` | `long` | Ja | Hash ([generated as specified here »](https://core.telegram.org/api/offsets.md#hash-generation)) using the [starGiftCollection](https://core.telegram.org/constructor/starGiftCollection.md).`hash` field (**not** the `collection_id` field) of all collections returned by a previous method call, to avoid refetching the result if it hasn't changed. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2551943645"}}, "/catalog/payments.getUniqueStarGiftValueInfo": {"post": {"operationId": "payments.getUniqueStarGiftValueInfo", "tags": ["Payments"], "summary": "Get information about the value of a collectible gift ».", "description": "Get information about the value of a [collectible gift »](https://core.telegram.org/api/gifts.md#collectible-gifts).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.getUniqueStarGiftValueInfo", "x-tl-id": "1130737515", "x-tl-result": "payments.UniqueStarGiftValueInfo", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto Result · `payments.UniqueStarGiftValueInfo`.\n\n[payments.UniqueStarGiftValueInfo](https://core.telegram.org/type/payments.UniqueStarGiftValueInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.UniqueStarGiftValueInfo", "oneOf": [{"$ref": "#/components/schemas/payments.uniqueStarGiftValueInfo"}], "description": "TL type: payments.UniqueStarGiftValueInfo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARGIFT_SLUG_INVALID` – Der angegebene Geschenkartikel ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getUniqueStarGiftValueInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "`slug` from a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md)."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | `slug` from a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md). |"}, "x-telegram-rpc-errors": ["STARGIFT_SLUG_INVALID"], "x-browser-schema-id": "1130737515"}}, "/catalog/payments.checkCanSendGift": {"post": {"operationId": "payments.checkCanSendGift", "tags": ["Payments"], "summary": "Prüfen Sie, ob das angegebene Geschenk » versendet werden kann.", "description": "Prüfen Sie, ob das angegebene [Geschenk »](https://core.telegram.org/api/gifts.md)] versendet werden kann.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.checkCanSendGift", "x-tl-id": "3234131401", "x-tl-result": "payments.CheckCanSendGiftResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `payments.CheckCanSendGiftResult`.\n\n[payments.CheckCanSendGiftResult](https://core.telegram.org/type/payments.CheckCanSendGiftResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.CheckCanSendGiftResult", "oneOf": [{"$ref": "#/components/schemas/payments.checkCanSendGiftResultOk"}, {"$ref": "#/components/schemas/payments.checkCanSendGiftResultFail"}], "description": "Type TL: payments.CheckCanSendGiftResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARGIFT_INVALID` — Das übergebene Geschenk ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.checkCanSendGift"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Gift ID.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Ja | Gift ID. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "3234131401"}}, "/catalog/payments.getStarGiftAuctionState": {"post": {"operationId": "payments.getStarGiftAuctionState", "tags": ["Payments"], "summary": "Returns info about a collectible gift auction »; also subscribes the user to auction updates, see here » for more info on the full flow.", "description": "Returns info about a [collectible gift auction »](https://core.telegram.org/api/auctions.md); also subscribes the user to auction updates, see [here »](https://core.telegram.org/api/auctions.md) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Sammlergeschenkauktionen](https://core.telegram.org/api/auctions.md)", "x-tl-method": "payments.getStarGiftAuctionState", "x-tl-id": "1553986774", "x-tl-result": "payments.StarGiftAuctionState", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Collectible gift auctions", "https://core.telegram.org/api/auctions.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarGiftAuctionState`.\n\n[payments.StarGiftAuctionState](https://core.telegram.org/type/payments.StarGiftAuctionState.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftAuctionState", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftAuctionState"}], "description": "Type TL: payments.StarGiftAuctionState."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARGIFT_INVALID` — Das übergebene Geschenk ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarGiftAuctionState"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"auction": {"type": "object", "x-tl-type": "InputStarGiftAuction", "oneOf": [{"$ref": "#/components/schemas/inputStarGiftAuction"}, {"$ref": "#/components/schemas/inputStarGiftAuctionSlug"}], "description": "Either the ID of the gift linked to the auction, or an [auction deep link slug »](https://core.telegram.org/api/links.md#auction-links)."}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Initially `0`, then set to the returned [starGiftAuctionState](https://core.telegram.org/constructor/starGiftAuctionState.md).`version`, to avoid refetching results if they haven't changed."}}, "additionalProperties": false, "required": ["auction", "version"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `auction` | `InputStarGiftAuction` | Ja | Either the ID of the gift linked to the auction, or an [auction deep link slug »](https://core.telegram.org/api/links.md#auction-links). |\n| `version` | `int` | Ja | Initially `0`, then set to the returned [starGiftAuctionState](https://core.telegram.org/constructor/starGiftAuctionState.md).`version`, to avoid refetching results if they haven't changed. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "1553986774"}}, "/catalog/payments.getStarGiftAuctionAcquiredGifts": {"post": {"operationId": "payments.getStarGiftAuctionAcquiredGifts", "tags": ["Payments"], "summary": "Fetches all the gifts that the current user won in an auction.", "description": "Fetches all the gifts that the current user won in an [auction](https://core.telegram.org/api/auctions.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Sammlergeschenkauktionen](https://core.telegram.org/api/auctions.md)", "x-tl-method": "payments.getStarGiftAuctionAcquiredGifts", "x-tl-id": "1805831148", "x-tl-result": "payments.StarGiftAuctionAcquiredGifts", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Collectible gift auctions", "https://core.telegram.org/api/auctions.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarGiftAuctionAcquiredGifts`.\n\n[payments.StarGiftAuctionAcquiredGifts](https://core.telegram.org/type/payments.StarGiftAuctionAcquiredGifts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftAuctionAcquiredGifts", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftAuctionAcquiredGifts"}], "description": "Type TL: payments.StarGiftAuctionAcquiredGifts."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARGIFT_INVALID` — Das übergebene Geschenk ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarGiftAuctionAcquiredGifts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "The gift ID linked to the auction.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Ja | The gift ID linked to the auction. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "1805831148"}}, "/catalog/payments.getStarGiftActiveAuctions": {"post": {"operationId": "payments.getStarGiftActiveAuctions", "tags": ["Payments"], "summary": "Fetches all currently active gift auctions **the user has ever bid on** (including auctions where the user was outbid and their bid was returned), as long as the auction hasn't ended yet.", "description": "Fetches all currently active [gift auctions](https://core.telegram.org/api/auctions.md) **the user has ever bid on** (including auctions where the user was outbid and their bid was returned), as long as the auction hasn't ended yet.\n\nThis method is primarily used to display an auction badge in the chat list immediately on app startup, without waiting for real-time [updateStarGiftAuctionState](https://core.telegram.org/constructor/updateStarGiftAuctionState.md) updates to arrive: the client calls it to discover which auctions the user is participating in and show the badge proactively.\n\nTo instead fetch the full state of a single auction, subscribe to its real-time updates and render the detailed auction UI (typically when the user opens a specific auction), use [payments.getStarGiftAuctionState](https://core.telegram.org/method/payments.getStarGiftAuctionState.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Sammlergeschenkauktionen](https://core.telegram.org/api/auctions.md)", "x-tl-method": "payments.getStarGiftActiveAuctions", "x-tl-id": "2781892941", "x-tl-result": "payments.StarGiftActiveAuctions", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Collectible gift auctions", "https://core.telegram.org/api/auctions.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarGiftActiveAuctions`.\n\n[payments.StarGiftActiveAuctions](https://core.telegram.org/type/payments.StarGiftActiveAuctions.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftActiveAuctions", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftActiveAuctionsNotModified"}, {"$ref": "#/components/schemas/payments.starGiftActiveAuctions"}], "description": "Type TL: payments.StarGiftActiveAuctions."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarGiftActiveAuctions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash generated [as specified here »](https://core.telegram.org/api/auctions.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | Hash generated [as specified here »](https://core.telegram.org/api/auctions.md) |"}, "x-browser-schema-id": "2781892941"}}, "/catalog/payments.resolveStarGiftOffer": {"post": {"operationId": "payments.resolveStarGiftOffer", "tags": ["Payments"], "summary": "Nehmen Sie ein zuvor erhaltenes Angebot zum Kauf eines Sammlergeschenks an oder lehnen Sie es ab », den vollständigen Ablauf finden Sie hier ».", "description": "Nehmen Sie ein zuvor erhaltenes [Sammelgeschenk-Kaufangebot »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) an oder lehnen Sie es ab, den vollständigen Ablauf finden Sie [hier »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers)].\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.resolveStarGiftOffer", "x-tl-id": "3922622492", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.resolveStarGiftOffer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"decline": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, declines the offer; otherwise, accepts it."}, "offer_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identifier of the [messageActionStarGiftPurchaseOffer](https://core.telegram.org/constructor/messageActionStarGiftPurchaseOffer.md) service message describing the offer to act upon."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `decline` | `true` | Nein | If set, declines the offer; otherwise, accepts it. |\n| `offer_msg_id` | `int` | Ja | Identifier of the [messageActionStarGiftPurchaseOffer](https://core.telegram.org/constructor/messageActionStarGiftPurchaseOffer.md) service message describing the offer to act upon. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID"], "x-browser-schema-id": "3922622492"}}, "/catalog/payments.sendStarGiftOffer": {"post": {"operationId": "payments.sendStarGiftOffer", "tags": ["Payments"], "summary": "Send an offer to purchase a collectible gift », see here » for the full flow.", "description": "Send an offer to purchase a [collectible gift »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers), see [here »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) for the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Bezahlte Nachrichten](https://core.telegram.org/api/paid-messages.md)\n- [Telegrammsterne](https://core.telegram.org/api/stars.md)\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.sendStarGiftOffer", "x-tl-id": "2411227969", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Paid messages", "https://core.telegram.org/api/paid-messages.md"], ["Telegram Stars", "https://core.telegram.org/api/stars.md"], ["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `INPUT_STARS_AMOUNT_INVALID` – Der angegebene Angebotsbetrag in Sternen ist ungültig, siehe [hier »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) für den zulässigen Bereich.\n- 400 · `INPUT_STARS_NANOS_INVALID` – Die angegebene Angebotsmenge in Nanotonnen ist ungültig, siehe [hier »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) für den zulässigen Bereich.\n- 400 · `INVOICE_INVALID` — Die angegebene Rechnung ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `RESELL_STARS_TOO_FEW` — Der angebotene Preis ist zu niedrig.\n- 400 · `RESELL_STARS_TOO_MUCH` — Der angebotene Preis ist zu hoch.\n- 400 · `STARGIFT_OFFER_INVALID` — Der angegebene Angebotsbetrag ist ungültig.\n- 400 · `STARGIFT_OFFER_NOT_ALLOWED` — Sie können für dieses Geschenk kein Kaufangebot senden.\n- 400 · `STARGIFT_SLUG_INVALID` – Der angegebene Geschenkartikel ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.sendStarGiftOffer"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Owner of the collectible gift: equal to [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`owner_id`."}, "slug": {"type": "string", "x-tl-type": "string", "description": "Identifier of the collectible gift: equal to [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`slug`."}, "price": {"type": "object", "x-tl-type": "StarsAmount", "oneOf": [{"$ref": "#/components/schemas/starsAmount"}, {"$ref": "#/components/schemas/starsTonAmount"}], "description": "Offer price, in stars or TON."}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duration of the offer, in seconds: must be one of `21600`, `43200`, `86400`, `129600`, `172800`, or `259200`; can also be `120` in test mode."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Random 64-bit identifier used to avoid sending the same offer twice in case of network issues. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "If the destination peer has [paid messages »](https://core.telegram.org/api/paid-messages.md) enabled, specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the sending user has agreed to pay in order to send the offer (in addition to the amount for the offer itself, contained in `price`).", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["peer", "slug", "price", "duration", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Owner of the collectible gift: equal to [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`owner_id`. |\n| `slug` | `string` | Ja | Identifier of the collectible gift: equal to [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`slug`. |\n| `price` | `StarsAmount` | Ja | Offer price, in stars or TON. |\n| `duration` | `int` | Ja | Duration of the offer, in seconds: must be one of `21600`, `43200`, `86400`, `129600`, `172800`, or `259200`; can also be `120` in test mode. |\n| `random_id` | `long` | Ja | Random 64-bit identifier used to avoid sending the same offer twice in case of network issues. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `allow_paid_stars` | `long` | Nein | If the destination peer has [paid messages »](https://core.telegram.org/api/paid-messages.md) enabled, specifies the amount of [Telegram Stars](https://core.telegram.org/api/stars.md) the sending user has agreed to pay in order to send the offer (in addition to the amount for the offer itself, contained in `price`). |"}, "x-telegram-rpc-errors": ["INPUT_STARS_AMOUNT_INVALID", "INPUT_STARS_NANOS_INVALID", "INVOICE_INVALID", "PEER_ID_INVALID", "RESELL_STARS_TOO_FEW", "RESELL_STARS_TOO_MUCH", "STARGIFT_OFFER_INVALID", "STARGIFT_OFFER_NOT_ALLOWED", "STARGIFT_SLUG_INVALID"], "x-browser-schema-id": "2411227969"}}, "/catalog/payments.getStarGiftUpgradeAttributes": {"post": {"operationId": "payments.getStarGiftUpgradeAttributes", "tags": ["Payments"], "summary": "Obtains the **full** list of just the collectible attributes that may appear for a gift type once it's upgraded to a collectible gift ».", "description": "Obtains the **full** list of just the collectible attributes that may appear for a gift type once it's upgraded to a [collectible gift »](https://core.telegram.org/api/gifts.md#collectible-gifts).\n\nThe result may also include [starGiftAttributeModel](https://core.telegram.org/constructor/starGiftAttributeModel.md) constructors with the `crafted` flag set: these models are reserved for [crafting »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts) and should be filtered out from regular upgrade previews (and vice versa).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.getStarGiftUpgradeAttributes", "x-tl-id": "1828948824", "x-tl-result": "payments.StarGiftUpgradeAttributes", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `payments.StarGiftUpgradeAttributes`.\n\n[payments.StarGiftUpgradeAttributes](https://core.telegram.org/type/payments.StarGiftUpgradeAttributes.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftUpgradeAttributes", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftUpgradeAttributes"}], "description": "TL type: payments.StarGiftUpgradeAttributes."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARGIFT_INVALID` — Das übergebene Geschenk ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getStarGiftUpgradeAttributes"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Non-collectible base gift ID, from [starGift](https://core.telegram.org/constructor/starGift.md).`id`", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Ja | Non-collectible base gift ID, from [starGift](https://core.telegram.org/constructor/starGift.md).`id` |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "1828948824"}}, "/catalog/payments.getCraftStarGifts": {"post": {"operationId": "payments.getCraftStarGifts", "tags": ["Payments"], "summary": "Obtain owned collectible gifts » of a specific type that can be used for crafting ».", "description": "Obtain owned [collectible gifts »](https://core.telegram.org/api/gifts.md#collectible-gifts) of a specific type that can be used for [crafting »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.getCraftStarGifts", "x-tl-id": "4245019904", "x-tl-result": "payments.SavedStarGifts", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `payments.SavedStarGifts`.\n\n[payments.SavedStarGifts](https://core.telegram.org/type/payments.SavedStarGifts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.SavedStarGifts", "oneOf": [{"$ref": "#/components/schemas/payments.savedStarGifts"}], "description": "Type TL: payments.SavedStarGifts."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STARGIFT_INVALID` — Das übergebene Geschenk ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.getCraftStarGifts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identifier of the base gift type, equal to [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`gift_id` of the first selected gift.", "x-tl-type": "long"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for pagination."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["gift_id", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | Ja | Identifier of the base gift type, equal to [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`gift_id` of the first selected gift. |\n| `offset` | `string` | Ja | Offset for pagination. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "4245019904"}}, "/catalog/payments.craftStarGift": {"post": {"operationId": "payments.craftStarGift", "tags": ["Payments"], "summary": "Craft a new collectible gift » by combining 1 to 4 owned collectible gifts of the same base gift type.", "description": "Craft a new [collectible gift »](https://core.telegram.org/api/gifts.md#collectible-gifts) by combining 1 to 4 owned collectible gifts of the same base gift type.\n\nThe passed gifts must all have the same [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`gift_id`, must be usable for crafting, and must not be blocked by a future `can_craft_at` timestamp.\n\nThe first passed gift must not be [located on the TON blockchain](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschenke](https://core.telegram.org/api/gifts.md)", "x-tl-method": "payments.craftStarGift", "x-tl-id": "2969135183", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Gifts", "https://core.telegram.org/api/gifts.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SAVED_ID_EMPTY` – Das übergebene inputSavedStarGiftChat.saved_id ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/payments.craftStarGift"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stargift": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "TL Type: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "1 to 4 owned collectible gifts of the same type to use for [crafting »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts). The first gift's ID is reused if crafting succeeds."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stargift` | `Vector<InputSavedStarGift>` | Ja | 1 to 4 owned collectible gifts of the same type to use for [crafting »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts). The first gift's ID is reused if crafting succeeds. |"}, "x-telegram-rpc-errors": ["SAVED_ID_EMPTY"], "x-browser-schema-id": "2969135183"}}, "/catalog/payments.getCurrencyRates": {"post": {"operationId": "payments.getCurrencyRates", "tags": ["Payments"], "summary": "payments.getCurrencyRates", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.getCurrencyRates", "x-tl-id": "3545859048", "x-tl-result": "payments.CurrencyRates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `payments.CurrencyRates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.CurrencyRates", "oneOf": [{"$ref": "#/components/schemas/payments.currencyRates"}], "description": "Тип TL: payments.CurrencyRates."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3545859048"}}, "/catalog/payments.getOnrampProviders": {"post": {"operationId": "payments.getOnrampProviders", "tags": ["Payments"], "summary": "payments.getOnrampProviders", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.getOnrampProviders", "x-tl-id": "1061028060", "x-tl-result": "Vector<OnrampProviderInfo>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `Vector<OnrampProviderInfo>`.", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "OnrampProviderInfo", "oneOf": [{"$ref": "#/components/schemas/onrampProviderInfo"}], "description": "Тип TL: OnrampProviderInfo."}, "x-tl-type": "Vector<OnrampProviderInfo>"}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"crypto_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `crypto_currency` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1061028060"}}, "/catalog/payments.getOnrampBaseCurrencies": {"post": {"operationId": "payments.getOnrampBaseCurrencies", "tags": ["Payments"], "summary": "payments.getOnrampBaseCurrencies", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.getOnrampBaseCurrencies", "x-tl-id": "478932467", "x-tl-result": "Vector<string>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `Vector<string>`.", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"provider": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `provider` | `string` | Ja | Wert des TL-Typs `string`. |\n| `crypto_currency` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "478932467"}}, "/catalog/payments.getOnrampAvailability": {"post": {"operationId": "payments.getOnrampAvailability", "tags": ["Payments"], "summary": "payments.getOnrampAvailability", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.getOnrampAvailability", "x-tl-id": "784505169", "x-tl-result": "OnrampAvailability", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `OnrampAvailability`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "OnrampAvailability", "oneOf": [{"$ref": "#/components/schemas/onrampAvailability"}], "description": "Тип TL: OnrampAvailability."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"provider": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `provider` | `string` | Ja | Wert des TL-Typs `string`. |\n| `crypto_currency` | `string` | Ja | Wert des TL-Typs `string`. |\n| `base_currency` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "784505169"}}, "/catalog/payments.getOnrampLimits": {"post": {"operationId": "payments.getOnrampLimits", "tags": ["Payments"], "summary": "payments.getOnrampLimits", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.getOnrampLimits", "x-tl-id": "2162708989", "x-tl-result": "OnrampLimits", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `OnrampLimits`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "OnrampLimits", "oneOf": [{"$ref": "#/components/schemas/onrampLimits"}], "description": "Тип TL: OnrampLimits."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"provider": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "payment_method": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency", "base_currency"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `provider` | `string` | Ja | Wert des TL-Typs `string`. |\n| `crypto_currency` | `string` | Ja | Wert des TL-Typs `string`. |\n| `base_currency` | `string` | Ja | Wert des TL-Typs `string`. |\n| `payment_method` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2162708989"}}, "/catalog/payments.getOnrampQuote": {"post": {"operationId": "payments.getOnrampQuote", "tags": ["Payments"], "summary": "payments.getOnrampQuote", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.getOnrampQuote", "x-tl-id": "3764798970", "x-tl-result": "OnrampQuote", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `OnrampQuote`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "OnrampQuote", "oneOf": [{"$ref": "#/components/schemas/onrampQuote"}], "description": "Тип TL: OnrampQuote."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"provider": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "base_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}, "crypto_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Wert des TL-Typs `string`."}, "payment_method": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency", "base_currency"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `provider` | `string` | Ja | Wert des TL-Typs `string`. |\n| `crypto_currency` | `string` | Ja | Wert des TL-Typs `string`. |\n| `base_currency` | `string` | Ja | Wert des TL-Typs `string`. |\n| `base_amount` | `string` | Nein | Wert des TL-Typs `string`. |\n| `crypto_amount` | `string` | Nein | Wert des TL-Typs `string`. |\n| `payment_method` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3764798970"}}, "/catalog/payments.createOnrampSession": {"post": {"operationId": "payments.createOnrampSession", "tags": ["Payments"], "summary": "payments.createOnrampSession", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.createOnrampSession", "x-tl-id": "2719579382", "x-tl-result": "OnrampSession", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `OnrampSession`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "OnrampSession", "oneOf": [{"$ref": "#/components/schemas/onrampSession"}], "description": "Тип TL: OnrampSession."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"provider": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "address": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "payment_method": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Wert des TL-Typs `string`."}, "base_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Wert des TL-Typs `string`."}, "memo": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Wert des TL-Typs `string`."}, "theme": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Wert des TL-Typs `string`."}, "success_return_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string", "description": "Wert des TL-Typs `string`."}, "fail_return_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.6?string", "description": "Wert des TL-Typs `string`."}, "crypto_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.7?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency", "address"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `provider` | `string` | Ja | Wert des TL-Typs `string`. |\n| `crypto_currency` | `string` | Ja | Wert des TL-Typs `string`. |\n| `address` | `string` | Ja | Wert des TL-Typs `string`. |\n| `payment_method` | `string` | Nein | Wert des TL-Typs `string`. |\n| `base_currency` | `string` | Nein | Wert des TL-Typs `string`. |\n| `base_amount` | `string` | Nein | Wert des TL-Typs `string`. |\n| `memo` | `string` | Nein | Wert des TL-Typs `string`. |\n| `theme` | `string` | Nein | Wert des TL-Typs `string`. |\n| `success_return_url` | `string` | Nein | Wert des TL-Typs `string`. |\n| `fail_return_url` | `string` | Nein | Wert des TL-Typs `string`. |\n| `crypto_amount` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2719579382"}}, "/catalog/payments.withdrawStarGift": {"post": {"operationId": "payments.withdrawStarGift", "tags": ["Payments"], "summary": "payments.withdrawStarGift", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.withdrawStarGift", "x-tl-id": "3961532590", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"keep_on_profile": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "TL Type: InputSavedStarGift."}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}}, "additionalProperties": false, "required": ["stargift", "tmp_password"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `keep_on_profile` | `true` | Nein | Wert des TL-Typs `true`. |\n| `stargift` | `InputSavedStarGift` | Ja | TL Type: InputSavedStarGift. |\n| `tmp_password` | `bytes` | Ja | Wert des TL-Typs `bytes`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3961532590"}}, "/catalog/payments.depositStarGift": {"post": {"operationId": "payments.depositStarGift", "tags": ["Payments"], "summary": "payments.depositStarGift", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.depositStarGift", "x-tl-id": "3231902367", "x-tl-result": "payments.StarGiftDepositPayload", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `payments.StarGiftDepositPayload`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftDepositPayload", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftDepositPayload"}], "description": "Тип TL: payments.StarGiftDepositPayload."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hide_sender": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "slug": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["peer", "slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hide_sender` | `true` | Nein | Wert des TL-Typs `true`. |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `slug` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3231902367"}}, "/catalog/payments.displayStarGift": {"post": {"operationId": "payments.displayStarGift", "tags": ["Payments"], "summary": "payments.displayStarGift", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.displayStarGift", "x-tl-id": "1252389118", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer.", "x-tl-flag": "flags.0?InputPeer"}, "slug": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Nein | TL Type: InputPeer. |\n| `slug` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1252389118"}}, "/catalog/payments.deleteStarGift": {"post": {"operationId": "payments.deleteStarGift", "tags": ["Payments"], "summary": "payments.deleteStarGift", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.deleteStarGift", "x-tl-id": "1020983466", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "TL Type: InputSavedStarGift."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | Ja | TL Type: InputSavedStarGift. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1020983466"}}, "/catalog/payments.withdrawStarsRevenueToWallet": {"post": {"operationId": "payments.withdrawStarsRevenueToWallet", "tags": ["Payments"], "summary": "payments.withdrawStarsRevenueToWallet", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.withdrawStarsRevenueToWallet", "x-tl-id": "1461184265", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}}, "additionalProperties": false, "required": ["peer", "tmp_password"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `ton` | `true` | Nein | Wert des TL-Typs `true`. |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `amount` | `long` | Nein | 64-битное целое в десятичной записи. |\n| `tmp_password` | `bytes` | Ja | Wert des TL-Typs `bytes`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1461184265"}}, "/catalog/payments.buyStarGiftOnchain": {"post": {"operationId": "payments.buyStarGiftOnchain", "tags": ["Payments"], "summary": "payments.buyStarGiftOnchain", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.buyStarGiftOnchain", "x-tl-id": "1551278953", "x-tl-result": "payments.StarGiftOnchainSalePayload", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `payments.StarGiftOnchainSalePayload`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftOnchainSalePayload", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftOnchainSalePayload"}, {"$ref": "#/components/schemas/payments.starGiftOnchainFixedSalePayload"}], "description": "Тип TL: payments.StarGiftOnchainSalePayload."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"show_name": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Wert des TL-Typs `true`."}, "slug": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "expected_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer.", "x-tl-flag": "flags.0?InputPeer"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}}, "additionalProperties": false, "required": ["slug", "expected_amount"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `show_name` | `true` | Nein | Wert des TL-Typs `true`. |\n| `slug` | `string` | Ja | Wert des TL-Typs `string`. |\n| `expected_amount` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `peer` | `InputPeer` | Nein | TL Type: InputPeer. |\n| `message` | `TextWithEntities` | Nein | TL Type: TextWithEntities. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1551278953"}}, "/catalog/payments.updateStarGiftOnchainPrice": {"post": {"operationId": "payments.updateStarGiftOnchainPrice", "tags": ["Payments"], "summary": "payments.updateStarGiftOnchainPrice", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.updateStarGiftOnchainPrice", "x-tl-id": "3259032527", "x-tl-result": "payments.StarGiftOnchainSalePayload", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `payments.StarGiftOnchainSalePayload`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftOnchainSalePayload", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftOnchainSalePayload"}, {"$ref": "#/components/schemas/payments.starGiftOnchainFixedSalePayload"}], "description": "Тип TL: payments.StarGiftOnchainSalePayload."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["slug", "amount"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | Wert des TL-Typs `string`. |\n| `amount` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3259032527"}}, "/catalog/payments.cancelStarGiftOnchainSale": {"post": {"operationId": "payments.cancelStarGiftOnchainSale", "tags": ["Payments"], "summary": "payments.cancelStarGiftOnchainSale", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.cancelStarGiftOnchainSale", "x-tl-id": "2723105082", "x-tl-result": "payments.StarGiftOnchainSalePayload", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `payments.StarGiftOnchainSalePayload`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftOnchainSalePayload", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftOnchainSalePayload"}, {"$ref": "#/components/schemas/payments.starGiftOnchainFixedSalePayload"}], "description": "Тип TL: payments.StarGiftOnchainSalePayload."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2723105082"}}, "/catalog/payments.sendStarGiftOnchainOffer": {"post": {"operationId": "payments.sendStarGiftOnchainOffer", "tags": ["Payments"], "summary": "payments.sendStarGiftOnchainOffer", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.sendStarGiftOnchainOffer", "x-tl-id": "3044905022", "x-tl-result": "payments.StarGiftOnchainOfferTx", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `payments.StarGiftOnchainOfferTx`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTx", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftOnchainOfferTx"}], "description": "Тип TL: payments.StarGiftOnchainOfferTx."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["slug", "amount", "duration", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | Wert des TL-Typs `string`. |\n| `amount` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `duration` | `int` | Ja | Wert des TL-Typs `int`. |\n| `random_id` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3044905022"}}, "/catalog/payments.acceptStarGiftOnchainOffer": {"post": {"operationId": "payments.acceptStarGiftOnchainOffer", "tags": ["Payments"], "summary": "payments.acceptStarGiftOnchainOffer", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.acceptStarGiftOnchainOffer", "x-tl-id": "4223311582", "x-tl-result": "payments.StarGiftOnchainOfferTx", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `payments.StarGiftOnchainOfferTx`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTx", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftOnchainOfferTx"}], "description": "Тип TL: payments.StarGiftOnchainOfferTx."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offer_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offer_msg_id` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "4223311582"}}, "/catalog/payments.declineStarGiftOnchainOffer": {"post": {"operationId": "payments.declineStarGiftOnchainOffer", "tags": ["Payments"], "summary": "payments.declineStarGiftOnchainOffer", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.declineStarGiftOnchainOffer", "x-tl-id": "1511098022", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offer_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offer_msg_id` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1511098022"}}, "/catalog/payments.cancelStarGiftOnchainOffer": {"post": {"operationId": "payments.cancelStarGiftOnchainOffer", "tags": ["Payments"], "summary": "payments.cancelStarGiftOnchainOffer", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.cancelStarGiftOnchainOffer", "x-tl-id": "470989500", "x-tl-result": "payments.StarGiftOnchainOfferTx", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `payments.StarGiftOnchainOfferTx`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTx", "oneOf": [{"$ref": "#/components/schemas/payments.starGiftOnchainOfferTx"}], "description": "Тип TL: payments.StarGiftOnchainOfferTx."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offer_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offer_msg_id` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "470989500"}}, "/catalog/payments.getResaleStarGiftsMerged": {"post": {"operationId": "payments.getResaleStarGiftsMerged", "tags": ["Payments"], "summary": "payments.getResaleStarGiftsMerged", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "payments.getResaleStarGiftsMerged", "x-tl-id": "1831727789", "x-tl-result": "payments.ResaleStarGifts", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `payments.ResaleStarGifts`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ResaleStarGifts", "oneOf": [{"$ref": "#/components/schemas/payments.resaleStarGifts"}], "description": "Type TL: payments.ResaleStarGifts."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"sort_by_price": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}, "sort_by_num": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Wert des TL-Typs `true`."}, "sort_desc": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Wert des TL-Typs `true`."}, "stars_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Wert des TL-Typs `true`."}, "ton_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Wert des TL-Typs `true`."}, "attributes_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "gift_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Wert des TL-Typs `Vector<long>`."}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAttributeId", "oneOf": [{"$ref": "#/components/schemas/starGiftAttributeIdModel"}, {"$ref": "#/components/schemas/starGiftAttributeIdPattern"}, {"$ref": "#/components/schemas/starGiftAttributeIdBackdrop"}], "description": "TL Type: StarGiftAttributeId."}, "x-tl-type": "Vector<StarGiftAttributeId>", "x-tl-flag": "flags.3?Vector<StarGiftAttributeId>", "description": "Wert des TL-Typs `Vector<StarGiftAttributeId>`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.7?string", "description": "Wert des TL-Typs `string`."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["gift_ids", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `sort_by_price` | `true` | Nein | Wert des TL-Typs `true`. |\n| `sort_by_num` | `true` | Nein | Wert des TL-Typs `true`. |\n| `sort_desc` | `true` | Nein | Wert des TL-Typs `true`. |\n| `stars_only` | `true` | Nein | Wert des TL-Typs `true`. |\n| `ton_only` | `true` | Nein | Wert des TL-Typs `true`. |\n| `attributes_hash` | `long` | Nein | 64-битное целое в десятичной записи. |\n| `gift_ids` | `Vector<long>` | Ja | Wert des TL-Typs `Vector<long>`. |\n| `attributes` | `Vector<StarGiftAttributeId>` | Nein | Wert des TL-Typs `Vector<StarGiftAttributeId>`. |\n| `query` | `string` | Nein | Wert des TL-Typs `string`. |\n| `offset` | `string` | Ja | Wert des TL-Typs `string`. |\n| `limit` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1831727789"}}, "/catalog/stickers.createStickerSet": {"post": {"operationId": "stickers.createStickerSet", "tags": ["Stickers"], "summary": "Erstellen Sie ein Aufkleberset.", "description": "Erstellen Sie ein Aufkleberset.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "stickers.createStickerSet", "x-tl-id": "2418125671", "x-tl-result": "messages.StickerSet", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `messages.StickerSet`.\n\n[messages.StickerSet](https://core.telegram.org/type/messages.StickerSet.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSet", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSet"}, {"$ref": "#/components/schemas/messages.stickerSetNotModified"}], "description": "TL type: messages.StickerSet."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PACK_SHORT_NAME_INVALID` – Kurzer Paketname ungültig.\n- 400 · `PACK_SHORT_NAME_OCCUPIED` — Ein Stickerpack mit diesem Namen existiert bereits.\n- 400 · `PACK_TITLE_INVALID` – Der Stickerpack-Titel ist ungültig.\n- 400 · `PACK_TYPE_INVALID` – Die Masken- und Emojis-Flaggen schließen sich gegenseitig aus.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STICKERS_EMPTY` – Kein Aufkleber im Lieferumfang enthalten.\n- 400 · `STICKER_EMOJI_INVALID` – Aufkleber-Emoji ungültig.\n- 400 · `STICKER_FILE_INVALID` – Aufkleberdatei ungültig.\n- 400 · `STICKER_GIF_DIMENSIONS` – Der angegebene Videoaufkleber hat ungültige Abmessungen.\n- 400 · `STICKER_PNG_DIMENSIONS` – Aufkleber-PNG-Abmessungen ungültig.\n- 400 · `STICKER_PNG_NOPNG` – Einer der angegebenen Aufkleber ist keine gültige PNG-Datei.\n- 400 · `STICKER_TGS_NODOC` — Sie müssen den animierten Aufkleber als Dokument senden.\n- 400 · `STICKER_TGS_NOTGS` – Ungültiger TGS-Aufkleber vorhanden.\n- 400 · `STICKER_THUMB_PNG_NOPNG` – Falsche Stickerset-Thumb-Datei bereitgestellt, PNG / WEBP erwartet.\n- 400 · `STICKER_THUMB_TGS_NOTGS` – Falscher Stickersatz TGS Miniaturdatei bereitgestellt.\n- 400 · `STICKER_VIDEO_BIG` – Der angegebene Videoaufkleber ist zu groß.\n- 400 · `STICKER_VIDEO_NODOC` — Sie müssen den Videoaufkleber als Dokument senden.\n- 400 · `STICKER_VIDEO_NOWEBM` – Der angegebene Videoaufkleber ist nicht im WebM-Format.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.createStickerSet"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether this is a mask stickerset"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Whether this is a [custom emoji](https://core.telegram.org/api/custom-emoji.md) stickerset."}, "text_color": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Whether the color of TGS custom emojis contained in this set should be changed to the text color 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 stickersets only."}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Stickerset owner"}, "title": {"type": "string", "x-tl-type": "string", "description": "Stickerset name, `1-64` chars"}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Short name of sticker set, to be used in [sticker deep links »](https://core.telegram.org/api/links.md#stickerset-links). Can contain only english letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and, **if called by a bot**, must end in `\"_by_<bot_username>\"`. `<bot_username>` is case insensitive. 1-64 characters."}, "thumb": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Thumbnail", "x-tl-flag": "flags.2?InputDocument"}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputStickerSetItem", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetItem"}], "description": "TL Type: InputStickerSetItem."}, "x-tl-type": "Vector<InputStickerSetItem>", "description": "Aufkleber"}, "software": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Used when [importing stickers using the sticker import SDKs](https://core.telegram.org/import-stickers.md), specifies the name of the software that created the stickers"}}, "additionalProperties": false, "required": ["user_id", "title", "short_name", "stickers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `masks` | `true` | Nein | Whether this is a mask stickerset |\n| `emojis` | `true` | Nein | Whether this is a [custom emoji](https://core.telegram.org/api/custom-emoji.md) stickerset. |\n| `text_color` | `true` | Nein | Whether the color of TGS custom emojis contained in this set should be changed to the text color 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 stickersets only. |\n| `user_id` | `InputUser` | Ja | Stickerset owner |\n| `title` | `string` | Ja | Stickerset name, `1-64` chars |\n| `short_name` | `string` | Ja | Short name of sticker set, to be used in [sticker deep links »](https://core.telegram.org/api/links.md#stickerset-links). Can contain only english letters, digits and underscores. Must begin with a letter, can't contain consecutive underscores and, **if called by a bot**, must end in `\"_by_<bot_username>\"`. `<bot_username>` is case insensitive. 1-64 characters. |\n| `thumb` | `InputDocument` | Nein | Thumbnail |\n| `stickers` | `Vector<InputStickerSetItem>` | Ja | Aufkleber |\n| `software` | `string` | Nein | Used when [importing stickers using the sticker import SDKs](https://core.telegram.org/import-stickers.md), specifies the name of the software that created the stickers |"}, "x-telegram-rpc-errors": ["PACK_SHORT_NAME_INVALID", "PACK_SHORT_NAME_OCCUPIED", "PACK_TITLE_INVALID", "PACK_TYPE_INVALID", "PEER_ID_INVALID", "STICKERS_EMPTY", "STICKER_EMOJI_INVALID", "STICKER_FILE_INVALID", "STICKER_GIF_DIMENSIONS", "STICKER_PNG_DIMENSIONS", "STICKER_PNG_NOPNG", "STICKER_TGS_NODOC", "STICKER_TGS_NOTGS", "STICKER_THUMB_PNG_NOPNG", "STICKER_THUMB_TGS_NOTGS", "STICKER_VIDEO_BIG", "STICKER_VIDEO_NODOC", "STICKER_VIDEO_NOWEBM", "USER_ID_INVALID"], "x-browser-schema-id": "2418125671"}}, "/catalog/stickers.removeStickerFromSet": {"post": {"operationId": "stickers.removeStickerFromSet", "tags": ["Stickers"], "summary": "Remove a sticker from the set where it belongs. The sticker set must have been created by the current user/bot.", "description": "Remove a sticker from the set where it belongs. The sticker set must have been created by the current user/bot.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "stickers.removeStickerFromSet", "x-tl-id": "4151709521", "x-tl-result": "messages.StickerSet", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.StickerSet`.\n\n[messages.StickerSet](https://core.telegram.org/type/messages.StickerSet.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSet", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSet"}, {"$ref": "#/components/schemas/messages.stickerSetNotModified"}], "description": "TL type: messages.StickerSet."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKER_INVALID` – Der bereitgestellte Aufkleber ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.removeStickerFromSet"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"sticker": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "The sticker to remove"}}, "additionalProperties": false, "required": ["sticker"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | Ja | The sticker to remove |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "4151709521"}}, "/catalog/stickers.changeStickerPosition": {"post": {"operationId": "stickers.changeStickerPosition", "tags": ["Stickers"], "summary": "Ändert die absolute Position eines Aufklebers in dem Satz, zu dem er gehört. Der Aufklebersatz muss vom aktuellen Benutzer/Bot erstellt worden sein.", "description": "Ändert die absolute Position eines Aufklebers in dem Satz, zu dem er gehört. Der Aufklebersatz muss vom aktuellen Benutzer/Bot erstellt worden sein.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "stickers.changeStickerPosition", "x-tl-id": "4290172106", "x-tl-result": "messages.StickerSet", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.StickerSet`.\n\n[messages.StickerSet](https://core.telegram.org/type/messages.StickerSet.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSet", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSet"}, {"$ref": "#/components/schemas/messages.stickerSetNotModified"}], "description": "TL type: messages.StickerSet."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKER_INVALID` – Der bereitgestellte Aufkleber ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.changeStickerPosition"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"sticker": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Der Aufkleber"}, "position": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The new position of the sticker, zero-based"}}, "additionalProperties": false, "required": ["sticker", "position"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | Ja | Der Aufkleber |\n| `position` | `int` | Ja | The new position of the sticker, zero-based |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "4290172106"}}, "/catalog/stickers.addStickerToSet": {"post": {"operationId": "stickers.addStickerToSet", "tags": ["Stickers"], "summary": "Add a sticker to a stickerset. The sticker set must have been created by the current user/bot.", "description": "Add a sticker to a stickerset. The sticker set must have been created by the current user/bot.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "stickers.addStickerToSet", "x-tl-id": "2253651646", "x-tl-result": "messages.StickerSet", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.StickerSet`.\n\n[messages.StickerSet](https://core.telegram.org/type/messages.StickerSet.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSet", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSet"}, {"$ref": "#/components/schemas/messages.stickerSetNotModified"}], "description": "TL type: messages.StickerSet."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKERPACK_STICKERS_TOO_MUCH` — Dieses Stickerpaket enthält zu viele Aufkleber, Sie können keine weiteren hinzufügen.\n- 406 · `STICKERSET_INVALID` — The provided sticker set is invalid.\n- 400 · `STICKERS_TOO_MUCH` — Dieses Stickerpaket enthält zu viele Aufkleber, Sie können keine weiteren hinzufügen.\n- 400 · `STICKER_PNG_NOPNG` – Einer der angegebenen Aufkleber ist keine gültige PNG-Datei.\n- 400 · `STICKER_TGS_NOTGS` – Ungültiger TGS-Aufkleber vorhanden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.addStickerToSet"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "Das Aufkleberset"}, "sticker": {"type": "object", "x-tl-type": "InputStickerSetItem", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetItem"}], "description": "Der Aufkleber"}}, "additionalProperties": false, "required": ["stickerset", "sticker"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Ja | Das Aufkleberset |\n| `sticker` | `InputStickerSetItem` | Ja | Der Aufkleber |"}, "x-telegram-rpc-errors": ["STICKERPACK_STICKERS_TOO_MUCH", "STICKERSET_INVALID", "STICKERS_TOO_MUCH", "STICKER_PNG_NOPNG", "STICKER_TGS_NOTGS"], "x-browser-schema-id": "2253651646"}}, "/catalog/stickers.setStickerSetThumb": {"post": {"operationId": "stickers.setStickerSetThumb", "tags": ["Stickers"], "summary": "Set stickerset thumbnail", "description": "Set stickerset thumbnail\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)", "x-tl-method": "stickers.setStickerSetThumb", "x-tl-id": "2808763282", "x-tl-result": "messages.StickerSet", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"]], "responses": {"200": {"description": "MTProto result · `messages.StickerSet`.\n\n[messages.StickerSet](https://core.telegram.org/type/messages.StickerSet.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSet", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSet"}, {"$ref": "#/components/schemas/messages.stickerSetNotModified"}], "description": "TL type: messages.StickerSet."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKERSET_INVALID` – Der bereitgestellte Aufklebersatz ist ungültig.\n- 400 · `STICKER_THUMB_PNG_NOPNG` – Falsche Stickerset-Thumb-Datei bereitgestellt, PNG / WEBP erwartet.\n- 400 · `STICKER_THUMB_TGS_NOTGS` – Falscher Stickersatz TGS Miniaturdatei bereitgestellt."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.setStickerSetThumb"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "Aufkleberset"}, "thumb": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Thumbnail (only for normal stickersets, not custom emoji stickersets).", "x-tl-flag": "flags.0?InputDocument"}, "thumb_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Only for [custom emoji stickersets](https://core.telegram.org/api/custom-emoji.md), ID of a custom emoji present in the set to use as thumbnail; pass 0 to fallback to the first custom emoji of the set.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "additionalProperties": false, "required": ["stickerset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Ja | Aufkleberset |\n| `thumb` | `InputDocument` | Nein | Thumbnail (only for normal stickersets, not custom emoji stickersets). |\n| `thumb_document_id` | `long` | Nein | Only for [custom emoji stickersets](https://core.telegram.org/api/custom-emoji.md), ID of a custom emoji present in the set to use as thumbnail; pass 0 to fallback to the first custom emoji of the set. |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID", "STICKER_THUMB_PNG_NOPNG", "STICKER_THUMB_TGS_NOTGS"], "x-browser-schema-id": "2808763282"}}, "/catalog/stickers.checkShortName": {"post": {"operationId": "stickers.checkShortName", "tags": ["Stickers"], "summary": "Prüfen Sie, ob der angegebene Kurzname verfügbar ist", "description": "Prüfen Sie, ob der angegebene Kurzname verfügbar ist\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "stickers.checkShortName", "x-tl-id": "676017721", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SHORT_NAME_INVALID` – Der angegebene Kurzname ist ungültig.\n- 400 · `SHORT_NAME_OCCUPIED` – Der angegebene Kurzname wird bereits verwendet."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.checkShortName"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"short_name": {"type": "string", "x-tl-type": "string", "description": "Short name"}}, "additionalProperties": false, "required": ["short_name"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `short_name` | `string` | Ja | Short name |"}, "x-telegram-rpc-errors": ["SHORT_NAME_INVALID", "SHORT_NAME_OCCUPIED"], "x-browser-schema-id": "676017721"}}, "/catalog/stickers.suggestShortName": {"post": {"operationId": "stickers.suggestShortName", "tags": ["Stickers"], "summary": "Suggests a short name for a given stickerpack name", "description": "Suggests a short name for a given stickerpack name\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "stickers.suggestShortName", "x-tl-id": "1303364867", "x-tl-result": "stickers.SuggestedShortName", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `stickers.SuggestedShortName`.\n\n[stickers.SuggestedShortName](https://core.telegram.org/type/stickers.SuggestedShortName.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stickers.SuggestedShortName", "oneOf": [{"$ref": "#/components/schemas/stickers.suggestedShortName"}], "description": "Type TL: stickers.SuggestedShortName."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `TITLE_INVALID` – Der angegebene Stickerpack-Titel ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.suggestShortName"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"title": {"type": "string", "x-tl-type": "string", "description": "Sticker pack name"}}, "additionalProperties": false, "required": ["title"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `title` | `string` | Ja | Sticker pack name |"}, "x-telegram-rpc-errors": ["TITLE_INVALID"], "x-browser-schema-id": "1303364867"}}, "/catalog/stickers.changeSticker": {"post": {"operationId": "stickers.changeSticker", "tags": ["Stickers"], "summary": "Update the keywords, emojis or mask coordinates of a sticker.", "description": "Update the keywords, emojis or [mask coordinates](https://core.telegram.org/api/stickers.md#mask-stickers) of a sticker.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Aufkleber und Masken](https://core.telegram.org/api/stickers.md)", "x-tl-method": "stickers.changeSticker", "x-tl-id": "4115889852", "x-tl-result": "messages.StickerSet", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Stickers and masks", "https://core.telegram.org/api/stickers.md"]], "responses": {"200": {"description": "MTProto result · `messages.StickerSet`.\n\n[messages.StickerSet](https://core.telegram.org/type/messages.StickerSet.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSet", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSet"}, {"$ref": "#/components/schemas/messages.stickerSetNotModified"}], "description": "TL type: messages.StickerSet."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKER_INVALID` – Der bereitgestellte Aufkleber ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.changeSticker"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"sticker": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Der Aufkleber"}, "emoji": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "If set, updates the emoji list associated to the sticker"}, "mask_coords": {"type": "object", "x-tl-type": "MaskCoords", "oneOf": [{"$ref": "#/components/schemas/maskCoords"}], "description": "If set, updates the [mask coordinates](https://core.telegram.org/api/stickers.md#mask-stickers)", "x-tl-flag": "flags.1?MaskCoords"}, "keywords": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "If set, updates the sticker keywords (separated by commas). Can't be provided for mask stickers."}}, "additionalProperties": false, "required": ["sticker"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | Ja | Der Aufkleber |\n| `emoji` | `string` | Nein | If set, updates the emoji list associated to the sticker |\n| `mask_coords` | `MaskCoords` | Nein | If set, updates the [mask coordinates](https://core.telegram.org/api/stickers.md#mask-stickers) |\n| `keywords` | `string` | Nein | If set, updates the sticker keywords (separated by commas). Can't be provided for mask stickers. |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "4115889852"}}, "/catalog/stickers.renameStickerSet": {"post": {"operationId": "stickers.renameStickerSet", "tags": ["Stickers"], "summary": "Renames a stickerset.", "description": "Renames a stickerset.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "stickers.renameStickerSet", "x-tl-id": "306912256", "x-tl-result": "messages.StickerSet", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.StickerSet`.\n\n[messages.StickerSet](https://core.telegram.org/type/messages.StickerSet.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSet", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSet"}, {"$ref": "#/components/schemas/messages.stickerSetNotModified"}], "description": "TL type: messages.StickerSet."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKERSET_INVALID` – Der bereitgestellte Aufklebersatz ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.renameStickerSet"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "Stickerset to rename"}, "title": {"type": "string", "x-tl-type": "string", "description": "New stickerset title"}}, "additionalProperties": false, "required": ["stickerset", "title"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Ja | Stickerset to rename |\n| `title` | `string` | Ja | New stickerset title |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "306912256"}}, "/catalog/stickers.deleteStickerSet": {"post": {"operationId": "stickers.deleteStickerSet", "tags": ["Stickers"], "summary": "Löscht ein von uns erstelltes Stickerset.", "description": "Löscht ein von uns erstelltes Stickerset.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "stickers.deleteStickerSet", "x-tl-id": "2272281492", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKERSET_INVALID` – Der bereitgestellte Aufklebersatz ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.deleteStickerSet"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetEmpty"}, {"$ref": "#/components/schemas/inputStickerSetID"}, {"$ref": "#/components/schemas/inputStickerSetShortName"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmoji"}, {"$ref": "#/components/schemas/inputStickerSetDice"}, {"$ref": "#/components/schemas/inputStickerSetAnimatedEmojiAnimations"}, {"$ref": "#/components/schemas/inputStickerSetPremiumGifts"}, {"$ref": "#/components/schemas/inputStickerSetEmojiGenericAnimations"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetEmojiDefaultTopicIcons"}, {"$ref": "#/components/schemas/inputStickerSetEmojiChannelDefaultStatuses"}, {"$ref": "#/components/schemas/inputStickerSetTonGifts"}], "description": "Stickerset to delete"}}, "additionalProperties": false, "required": ["stickerset"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | Ja | Stickerset to delete |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "2272281492"}}, "/catalog/stickers.replaceSticker": {"post": {"operationId": "stickers.replaceSticker", "tags": ["Stickers"], "summary": "Replace a sticker in a stickerset ».", "description": "Replace a sticker in a [stickerset »](https://core.telegram.org/api/stickers.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Aufkleber und Masken](https://core.telegram.org/api/stickers.md)", "x-tl-method": "stickers.replaceSticker", "x-tl-id": "1184253338", "x-tl-result": "messages.StickerSet", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Stickers and masks", "https://core.telegram.org/api/stickers.md"]], "responses": {"200": {"description": "MTProto result · `messages.StickerSet`.\n\n[messages.StickerSet](https://core.telegram.org/type/messages.StickerSet.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.StickerSet", "oneOf": [{"$ref": "#/components/schemas/messages.stickerSet"}, {"$ref": "#/components/schemas/messages.stickerSetNotModified"}], "description": "TL type: messages.StickerSet."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `STICKER_INVALID` – Der bereitgestellte Aufkleber ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stickers.replaceSticker"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"sticker": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Old sticker document."}, "new_sticker": {"type": "object", "x-tl-type": "InputStickerSetItem", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetItem"}], "description": "New sticker."}}, "additionalProperties": false, "required": ["sticker", "new_sticker"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | Ja | Old sticker document. |\n| `new_sticker` | `InputStickerSetItem` | Ja | New sticker. |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "1184253338"}}, "/catalog/phone.getCallConfig": {"post": {"operationId": "phone.getCallConfig", "tags": ["Calls"], "summary": "DEPRECATED: Ruft die Telefonanrufkonfiguration ab, die an die freigegebene Konfiguration von libtgvoip (veraltet) übergeben werden soll.", "description": "DEPRECATED: Ruft die Telefonanrufkonfiguration ab, die an die freigegebene Konfiguration von libtgvoip (veraltet) übergeben werden soll.", "x-tl-method": "phone.getCallConfig", "x-tl-id": "1430593449", "x-tl-result": "DataJSON", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `DataJSON`.\n\n[DataJSON](https://core.telegram.org/type/DataJSON.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "TL type: DataJSON."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.getCallConfig"}, "x-browser-schema-id": "1430593449"}}, "/catalog/phone.requestCall": {"post": {"operationId": "phone.requestCall", "tags": ["Calls"], "summary": "Start a telegram phone call, see here » for more info on the full flow.", "description": "Start a telegram phone call, see [here »](https://core.telegram.org/api/calls.md#one-to-one-calls) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Ende-zu-Ende-verschlüsselte Sprachanrufe](https://core.telegram.org/api/end-to-end/voice-calls.md)\n- [Telefonanrufe](https://core.telegram.org/api/calls.md)", "x-tl-method": "phone.requestCall", "x-tl-id": "1124046573", "x-tl-result": "phone.PhoneCall", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["End-to-End Encrypted Voice Calls", "https://core.telegram.org/api/end-to-end/voice-calls.md"], ["Phone calls", "https://core.telegram.org/api/calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.PhoneCall`.\n\n[phone.PhoneCall](https://core.telegram.org/type/phone.PhoneCall.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.PhoneCall", "oneOf": [{"$ref": "#/components/schemas/phone.phoneCall"}], "description": "TL type: phone.PhoneCall."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CALL_PROTOCOL_FLAGS_INVALID` – Anrufprotokoll-Flags ungültig.\n- 400 · `CALL_PROTOCOL_LAYER_INVALID` – Der angegebene Versionsbereich der Protokollschicht ist ungültig.\n- 400 · `INPUT_USER_DEACTIVATED` – Der angegebene Benutzer wurde gelöscht.\n- 400 · `PARTICIPANT_VERSION_OUTDATED` — Der andere Teilnehmer nutzt keinen aktuellen Telegram-Client mit Unterstützung für Anrufe.\n- 500 · `RANDOM_ID_DUPLICATE` – Sie haben eine zufällige ID angegeben, die bereits verwendet wurde.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 403 · `USER_IS_BLOCKED` — Sie wurden von diesem Benutzer blockiert.\n- 403 · `USER_PRIVACY_RESTRICTED` – Die Datenschutzeinstellungen des Benutzers erlauben dies nicht."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.requestCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to start a video call"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Destination of the phone call"}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Random ID to avoid resending the same object. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping."}, "g_a_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls.md)"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "oneOf": [{"$ref": "#/components/schemas/phoneCallProtocol"}], "description": "Phone call settings"}}, "additionalProperties": false, "required": ["user_id", "random_id", "g_a_hash", "protocol"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `video` | `true` | Nein | Whether to start a video call |\n| `user_id` | `InputUser` | Ja | Destination of the phone call |\n| `random_id` | `int` | Ja | Random ID to avoid resending the same object. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `g_a_hash` | `bytes` | Ja | [Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls.md) |\n| `protocol` | `PhoneCallProtocol` | Ja | Phone call settings |"}, "x-telegram-rpc-errors": ["CALL_PROTOCOL_FLAGS_INVALID", "CALL_PROTOCOL_LAYER_INVALID", "INPUT_USER_DEACTIVATED", "PARTICIPANT_VERSION_OUTDATED", "RANDOM_ID_DUPLICATE", "USER_ID_INVALID", "USER_IS_BLOCKED", "USER_PRIVACY_RESTRICTED"], "x-browser-schema-id": "1124046573"}}, "/catalog/phone.acceptCall": {"post": {"operationId": "phone.acceptCall", "tags": ["Calls"], "summary": "Eingehenden Anruf annehmen. Weitere Informationen zum gesamten Ablauf finden Sie hier ».", "description": "Eingehenden Anruf annehmen, siehe [hier »](https://core.telegram.org/api/calls.md#one-to-one-calls)] für weitere Informationen zum gesamten Ablauf.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Ende-zu-Ende-verschlüsselte Sprachanrufe](https://core.telegram.org/api/end-to-end/voice-calls.md)\n- [Telefonanrufe](https://core.telegram.org/api/calls.md)", "x-tl-method": "phone.acceptCall", "x-tl-id": "1003664544", "x-tl-result": "phone.PhoneCall", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["End-to-End Encrypted Voice Calls", "https://core.telegram.org/api/end-to-end/voice-calls.md"], ["Phone calls", "https://core.telegram.org/api/calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.PhoneCall`.\n\n[phone.PhoneCall](https://core.telegram.org/type/phone.PhoneCall.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.PhoneCall", "oneOf": [{"$ref": "#/components/schemas/phone.phoneCall"}], "description": "TL type: phone.PhoneCall."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CALL_ALREADY_ACCEPTED` — Der Anruf wurde bereits angenommen.\n- 400 · `CALL_ALREADY_DECLINED` — Der Anruf wurde bereits abgelehnt.\n- 500 · `CALL_OCCUPY_FAILED` – Der Anruf ist fehlgeschlagen, da der Benutzer bereits einen anderen Anruf tätigt.\n- 400 · `CALL_PEER_INVALID` – Das bereitgestellte Call-Peer-Objekt ist ungültig.\n- 406 · `CALL_PROTOCOL_COMPAT_LAYER_INVALID` – Die andere Seite des Anrufs unterstützt keines der vom lokalen Client unterstützten VoIP-Protokolle, wie in den Feldern `protocol.layer` und `protocol.library_versions` angegeben.\n- 400 · `CALL_PROTOCOL_FLAGS_INVALID` – Anrufprotokoll-Flags ungültig.\n- 400 · `CALL_PROTOCOL_LAYER_INVALID` – Der angegebene Versionsbereich der Protokollschicht ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.acceptCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "The call to accept"}, "g_b": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls.md)"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "oneOf": [{"$ref": "#/components/schemas/phoneCallProtocol"}], "description": "Phone call settings"}}, "additionalProperties": false, "required": ["peer", "g_b", "protocol"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Ja | The call to accept |\n| `g_b` | `bytes` | Ja | [Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls.md) |\n| `protocol` | `PhoneCallProtocol` | Ja | Phone call settings |"}, "x-telegram-rpc-errors": ["CALL_ALREADY_ACCEPTED", "CALL_ALREADY_DECLINED", "CALL_OCCUPY_FAILED", "CALL_PEER_INVALID", "CALL_PROTOCOL_COMPAT_LAYER_INVALID", "CALL_PROTOCOL_FLAGS_INVALID", "CALL_PROTOCOL_LAYER_INVALID"], "x-browser-schema-id": "1003664544"}}, "/catalog/phone.confirmCall": {"post": {"operationId": "phone.confirmCall", "tags": ["Calls"], "summary": "Complete phone call E2E encryption key exchange », see here » for more info on the full flow.", "description": "[Complete phone call E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls.md), see [here »](https://core.telegram.org/api/calls.md#one-to-one-calls) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Ende-zu-Ende-verschlüsselte Sprachanrufe](https://core.telegram.org/api/end-to-end/voice-calls.md)\n- [Telefonanrufe](https://core.telegram.org/api/calls.md)", "x-tl-method": "phone.confirmCall", "x-tl-id": "788404002", "x-tl-result": "phone.PhoneCall", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["End-to-End Encrypted Voice Calls", "https://core.telegram.org/api/end-to-end/voice-calls.md"], ["Phone calls", "https://core.telegram.org/api/calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.PhoneCall`.\n\n[phone.PhoneCall](https://core.telegram.org/type/phone.PhoneCall.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.PhoneCall", "oneOf": [{"$ref": "#/components/schemas/phone.phoneCall"}], "description": "TL type: phone.PhoneCall."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CALL_ALREADY_DECLINED` — Der Anruf wurde bereits abgelehnt.\n- 400 · `CALL_PEER_INVALID` – Das bereitgestellte Call-Peer-Objekt ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.confirmCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "The phone call"}, "g_a": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls.md)"}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "Key fingerprint", "x-tl-type": "long"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "oneOf": [{"$ref": "#/components/schemas/phoneCallProtocol"}], "description": "Phone call settings"}}, "additionalProperties": false, "required": ["peer", "g_a", "key_fingerprint", "protocol"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Ja | The phone call |\n| `g_a` | `bytes` | Ja | [Parameter for E2E encryption key exchange »](https://core.telegram.org/api/end-to-end/voice-calls.md) |\n| `key_fingerprint` | `long` | Ja | Key fingerprint |\n| `protocol` | `PhoneCallProtocol` | Ja | Phone call settings |"}, "x-telegram-rpc-errors": ["CALL_ALREADY_DECLINED", "CALL_PEER_INVALID"], "x-browser-schema-id": "788404002"}}, "/catalog/phone.receivedCall": {"post": {"operationId": "phone.receivedCall", "tags": ["Calls"], "summary": "Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended, see here » for more info on the full flow.", "description": "Optional: notify the server that the user is currently busy in a call: this will automatically refuse all incoming phone calls until the current phone call is ended, see [here »](https://core.telegram.org/api/calls.md#one-to-one-calls) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telefonanrufe](https://core.telegram.org/api/calls.md)", "x-tl-method": "phone.receivedCall", "x-tl-id": "399855457", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Phone calls", "https://core.telegram.org/api/calls.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CALL_ALREADY_DECLINED` — Der Anruf wurde bereits abgelehnt.\n- 400 · `CALL_PEER_INVALID` – Das bereitgestellte Call-Peer-Objekt ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.receivedCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "The phone call we're currently in"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Ja | The phone call we're currently in |"}, "x-telegram-rpc-errors": ["CALL_ALREADY_DECLINED", "CALL_PEER_INVALID"], "x-browser-schema-id": "399855457"}}, "/catalog/phone.discardCall": {"post": {"operationId": "phone.discardCall", "tags": ["Calls"], "summary": "Refuse or end running call, see here » for more info on the full flow.", "description": "Refuse or end running call, see [here »](https://core.telegram.org/api/calls.md#one-to-one-calls) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telefonanrufe](https://core.telegram.org/api/calls.md)", "x-tl-method": "phone.discardCall", "x-tl-id": "2999697856", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Phone calls", "https://core.telegram.org/api/calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CALL_ALREADY_ACCEPTED` — Der Anruf wurde bereits angenommen.\n- 500 · `CALL_OCCUPY_FAILED` – Der Anruf ist fehlgeschlagen, da der Benutzer bereits einen anderen Anruf tätigt.\n- 400 · `CALL_PEER_INVALID` – Das bereitgestellte Call-Peer-Objekt ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.discardCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether this is a video call"}, "peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "The phone call"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Call duration"}, "reason": {"type": "object", "x-tl-type": "PhoneCallDiscardReason", "oneOf": [{"$ref": "#/components/schemas/phoneCallDiscardReasonMissed"}, {"$ref": "#/components/schemas/phoneCallDiscardReasonDisconnect"}, {"$ref": "#/components/schemas/phoneCallDiscardReasonHangup"}, {"$ref": "#/components/schemas/phoneCallDiscardReasonBusy"}, {"$ref": "#/components/schemas/phoneCallDiscardReasonMigrateConferenceCall"}], "description": "Why was the call discarded"}, "connection_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Preferred libtgvoip relay ID", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "duration", "reason", "connection_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `video` | `true` | Nein | Whether this is a video call |\n| `peer` | `InputPhoneCall` | Ja | The phone call |\n| `duration` | `int` | Ja | Call duration |\n| `reason` | `PhoneCallDiscardReason` | Ja | Why was the call discarded |\n| `connection_id` | `long` | Ja | Preferred libtgvoip relay ID |"}, "x-telegram-rpc-errors": ["CALL_ALREADY_ACCEPTED", "CALL_OCCUPY_FAILED", "CALL_PEER_INVALID"], "x-browser-schema-id": "2999697856"}}, "/catalog/phone.setCallRating": {"post": {"operationId": "phone.setCallRating", "tags": ["Calls"], "summary": "Rate a call, returns info about the rating message sent to the official VoIP bot, see here » for more info on the full flow.", "description": "Rate a call, returns info about the rating message sent to the official VoIP bot, see [here »](https://core.telegram.org/api/calls.md#call-rating) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telefonanrufe](https://core.telegram.org/api/calls.md)", "x-tl-method": "phone.setCallRating", "x-tl-id": "1508562471", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Phone calls", "https://core.telegram.org/api/calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CALL_PEER_INVALID` – Das bereitgestellte Call-Peer-Objekt ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.setCallRating"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"user_initiative": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether the user decided on their own initiative to rate the call, must NOT be set if rating was requested by the server with [phoneCallDiscarded](https://core.telegram.org/constructor/phoneCallDiscarded.md).`need_rating`."}, "peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "The call to rate"}, "rating": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Rating in `1-5` stars"}, "comment": {"type": "string", "x-tl-type": "string", "description": "An additional comment with problem hashtags, see [here »](https://core.telegram.org/api/calls.md#call-rating) for more info on the full flow."}}, "additionalProperties": false, "required": ["peer", "rating", "comment"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `user_initiative` | `true` | Nein | Whether the user decided on their own initiative to rate the call, must NOT be set if rating was requested by the server with [phoneCallDiscarded](https://core.telegram.org/constructor/phoneCallDiscarded.md).`need_rating`. |\n| `peer` | `InputPhoneCall` | Ja | The call to rate |\n| `rating` | `int` | Ja | Rating in `1-5` stars |\n| `comment` | `string` | Ja | An additional comment with problem hashtags, see [here »](https://core.telegram.org/api/calls.md#call-rating) for more info on the full flow. |"}, "x-telegram-rpc-errors": ["CALL_PEER_INVALID"], "x-browser-schema-id": "1508562471"}}, "/catalog/phone.saveCallDebug": {"post": {"operationId": "phone.saveCallDebug", "tags": ["Calls"], "summary": "Send phone call debug data to server.", "description": "Send [phone call](https://core.telegram.org/api/calls.md#call-debug) debug data to server.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telefonanrufe](https://core.telegram.org/api/calls.md)", "x-tl-method": "phone.saveCallDebug", "x-tl-id": "662363518", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Phone calls", "https://core.telegram.org/api/calls.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CALL_PEER_INVALID` – Das bereitgestellte Call-Peer-Objekt ist ungültig.\n- 400 · `DATA_JSON_INVALID` – Die bereitgestellten JSON-Daten sind ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.saveCallDebug"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "Phone call"}, "debug": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Von tgcalls erhaltene Debug-Statistiken"}}, "additionalProperties": false, "required": ["peer", "debug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Ja | Phone call |\n| `debug` | `DataJSON` | Ja | Von tgcalls erhaltene Debug-Statistiken |"}, "x-telegram-rpc-errors": ["CALL_PEER_INVALID", "DATA_JSON_INVALID"], "x-browser-schema-id": "662363518"}}, "/catalog/phone.sendSignalingData": {"post": {"operationId": "phone.sendSignalingData", "tags": ["Calls"], "summary": "Send VoIP signaling data for an ongoing phone call.", "description": "Send VoIP [signaling data](https://core.telegram.org/api/calls.md#signaling-data) for an ongoing phone call.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telefonanrufe](https://core.telegram.org/api/calls.md)", "x-tl-method": "phone.sendSignalingData", "x-tl-id": "4286223235", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Phone calls", "https://core.telegram.org/api/calls.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CALL_NOT_ACTIVE` – Der angegebene Anruf ist nicht aktiv.\n- 400 · `CALL_PEER_INVALID` – Das bereitgestellte Call-Peer-Objekt ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.sendSignalingData"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "Phone call"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Signaling payload"}}, "additionalProperties": false, "required": ["peer", "data"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Ja | Phone call |\n| `data` | `bytes` | Ja | Signaling payload |"}, "x-telegram-rpc-errors": ["CALL_NOT_ACTIVE", "CALL_PEER_INVALID"], "x-browser-schema-id": "4286223235"}}, "/catalog/phone.createGroupCall": {"post": {"operationId": "phone.createGroupCall", "tags": ["Calls"], "summary": "Erstellen Sie einen Video-Chat oder Livestream. Den vollständigen Ablauf finden Sie hier ».", "description": "Erstellen Sie einen Video-Chat oder Livestream. Den vollständigen Ablauf finden Sie [hier »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams)].\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)", "x-tl-method": "phone.createGroupCall", "x-tl-id": "1221445336", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Working with Updates", "https://core.telegram.org/api/updates.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `CREATE_CALL_FAILED` – Beim Erstellen des Anrufs ist ein Fehler aufgetreten.\n- 400 · `GROUPCALL_ALREADY_DISCARDED` — Der Gruppenanruf wurde bereits verworfen.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `SCHEDULE_DATE_INVALID` – Ungültiges Zeitplandatum angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.createGroupCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"rtmp_stream": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Erstellen Sie den Anruf im [RTMP Livestream-Modus »](https://core.telegram.org/api/group-calls.md#stream-mode), in dem ein externer Streamer alle Audio- und Videodaten veröffentlicht"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Associate the group call or livestream to the provided [group/supergroup/channel](https://core.telegram.org/api/channel.md)"}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Unique client message ID required to prevent creation of duplicate group calls. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Call title, if not set defaults to the group/channel's name."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Schedule date, at least 10 seconds and at most 8 days in the future; the call must still be manually started using [phone.startScheduledGroupCall](https://core.telegram.org/method/phone.startScheduledGroupCall.md)"}}, "additionalProperties": false, "required": ["peer", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `rtmp_stream` | `true` | Nein | Erstellen Sie den Anruf im [RTMP Livestream-Modus »](https://core.telegram.org/api/group-calls.md#stream-mode), in dem ein externer Streamer alle Audio- und Videodaten veröffentlicht |\n| `peer` | `InputPeer` | Ja | Associate the group call or livestream to the provided [group/supergroup/channel](https://core.telegram.org/api/channel.md) |\n| `random_id` | `int` | Ja | Unique client message ID required to prevent creation of duplicate group calls. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `title` | `string` | Nein | Call title, if not set defaults to the group/channel's name. |\n| `schedule_date` | `int` | Nein | Schedule date, at least 10 seconds and at most 8 days in the future; the call must still be manually started using [phone.startScheduledGroupCall](https://core.telegram.org/method/phone.startScheduledGroupCall.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED", "CREATE_CALL_FAILED", "GROUPCALL_ALREADY_DISCARDED", "PEER_ID_INVALID", "SCHEDULE_DATE_INVALID"], "x-browser-schema-id": "1221445336"}}, "/catalog/phone.joinGroupCall": {"post": {"operationId": "phone.joinGroupCall", "tags": ["Calls"], "summary": "Join any group call type ». Conference calls additionally require the E2E joining flow ».", "description": "Join any [group call type »](https://core.telegram.org/api/group-calls.md#group-call-types). Conference calls additionally require the [E2E joining flow »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call).\n\nThe `params` field must contain a join payload generated by the local tgcalls group-call engine. It contains a random non-zero audio `ssrc`, ICE `ufrag` and `pwd`, DTLS `fingerprints`, and, when publishing video, `ssrc-groups`.\n\nFor example, a join payload without published video has the following shape:\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [E2E Gruppenanrufe](https://core.telegram.org/api/end-to-end/group-calls.md)", "x-tl-method": "phone.joinGroupCall", "x-tl-id": "2411016279", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"], ["Deep links", "https://core.telegram.org/api/links.md"], ["E2E Group Calls", "https://core.telegram.org/api/end-to-end/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 403 · `CHAT_WRITE_FORBIDDEN` — Sie können in diesem Chat nicht schreiben.\n- 400 · `DATA_JSON_INVALID` – Die bereitgestellten JSON-Daten sind ungültig.\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 400 · `GROUPCALL_SSRC_DUPLICATE_MUCH` – Die App muss erneut versuchen, dem Gruppenanruf mit einem neuen SSRC-Wert beizutreten.\n- 400 · `JOIN_AS_PEER_INVALID` – Der angegebene Peer kann nicht für die Teilnahme an einem Gruppenanruf verwendet werden.\n- 400 · `PUBLIC_KEY_INVALID` – Der angegebene öffentliche E2E-Schlüssel ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.joinGroupCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Join muted; required for live story listeners and RTMP-mode viewers"}, "video_stopped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Join with video disabled; required for live story listeners and RTMP-mode viewers"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Group call to join"}, "join_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Join the group call, presenting yourself as the specified user/channel; this peer is also used as the author of in-call messages in normal video chats/livestreams. Only video chats/livestreams may use another peer; this field must be equal to [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) when joining [live stories »](https://core.telegram.org/api/group-calls.md#live-stories) or [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls)."}, "invite_hash": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "The invitation hash from the [invite link »](https://core.telegram.org/api/links.md#video-chat-livestream-links), if provided allows speaking in a livestream or muted group call ([video chats/livestreams »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) only, cannot be used by [live stories »](https://core.telegram.org/api/group-calls.md#live-stories) or [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls))."}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "int256", "x-tl-flag": "flags.3?int256", "description": "For [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls) only, your public key."}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.3?bytes", "description": "The [main-chain block that adds the joining user »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call), only for [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls)."}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Join payload generated by the local tgcalls group-call engine, as described above"}}, "additionalProperties": false, "required": ["call", "join_as", "params"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `muted` | `true` | Nein | Join muted; required for live story listeners and RTMP-mode viewers |\n| `video_stopped` | `true` | Nein | Join with video disabled; required for live story listeners and RTMP-mode viewers |\n| `call` | `InputGroupCall` | Ja | Group call to join |\n| `join_as` | `InputPeer` | Ja | Join the group call, presenting yourself as the specified user/channel; this peer is also used as the author of in-call messages in normal video chats/livestreams. Only video chats/livestreams may use another peer; this field must be equal to [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) when joining [live stories »](https://core.telegram.org/api/group-calls.md#live-stories) or [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls). |\n| `invite_hash` | `string` | Nein | The invitation hash from the [invite link »](https://core.telegram.org/api/links.md#video-chat-livestream-links), if provided allows speaking in a livestream or muted group call ([video chats/livestreams »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) only, cannot be used by [live stories »](https://core.telegram.org/api/group-calls.md#live-stories) or [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls)). |\n| `public_key` | `int256` | Nein | For [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls) only, your public key. |\n| `block` | `bytes` | Nein | The [main-chain block that adds the joining user »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call), only for [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls). |\n| `params` | `DataJSON` | Ja | Join payload generated by the local tgcalls group-call engine, as described above |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "CHAT_WRITE_FORBIDDEN", "DATA_JSON_INVALID", "GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID", "GROUPCALL_SSRC_DUPLICATE_MUCH", "JOIN_AS_PEER_INVALID", "PUBLIC_KEY_INVALID"], "x-browser-schema-id": "2411016279"}}, "/catalog/phone.leaveGroupCall": {"post": {"operationId": "phone.leaveGroupCall", "tags": ["Calls"], "summary": "Leave a group call without ending it for other participants. This method can be used with all group call types, see here » for more info.", "description": "Leave a group call without ending it for other participants. This method can be used with all group call types, see [here »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.leaveGroupCall", "x-tl-id": "1342404601", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.leaveGroupCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Group call to leave"}, "source": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Source ID of the main group call stream"}}, "additionalProperties": false, "required": ["call", "source"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Group call to leave |\n| `source` | `int` | Ja | Source ID of the main group call stream |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "1342404601"}}, "/catalog/phone.inviteToGroupCall": {"post": {"operationId": "phone.inviteToGroupCall", "tags": ["Calls"], "summary": "Invite a set of users to a video chat/livestream »; cannot be used for live stories » or conference calls ».", "description": "Invite a set of users to a [video chat/livestream »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams); cannot be used for [live stories »](https://core.telegram.org/api/group-calls.md#live-stories) or [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.inviteToGroupCall", "x-tl-id": "2067345760", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `CHAT_TYPE_INVALID` – Der angegebene Benutzertyp ist ungültig.\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 400 · `INVITE_FORBIDDEN_WITH_JOINAS` – Wenn der Benutzer einem Gruppenanruf anonym als Kanal beigetreten ist, kann er keine anderen Benutzer zum Gruppenanruf einladen, da dies zu einer Deanonymisierung führen würde, da die Einladung unter Verwendung der ursprünglichen Benutzer-ID und nicht der anonymisierten Kanal-ID gesendet würde.\n- 400 · `USER_ALREADY_INVITED` — You have already invited this user.\n- 403 · `USER_NOT_PARTICIPANT` — Du bist kein Mitglied dieser Supergruppe/diesem Kanals."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.inviteToGroupCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "The [video chat/livestream »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams)"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "The users to invite."}}, "additionalProperties": false, "required": ["call", "users"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | The [video chat/livestream »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) |\n| `users` | `Vector<InputUser>` | Ja | The users to invite. |"}, "x-telegram-rpc-errors": ["CHAT_TYPE_INVALID", "GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID", "INVITE_FORBIDDEN_WITH_JOINAS", "USER_ALREADY_INVITED", "USER_NOT_PARTICIPANT"], "x-browser-schema-id": "2067345760"}}, "/catalog/phone.discardGroupCall": {"post": {"operationId": "phone.discardGroupCall", "tags": ["Calls"], "summary": "Terminate a group call, ending the room for all participants. This method can be used with all group call types, see here » for more info.", "description": "Terminate a group call, ending the room for all participants. This method can be used with all group call types, see [here »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.discardGroupCall", "x-tl-id": "2054648117", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_ALREADY_DISCARDED` — Der Gruppenanruf wurde bereits verworfen.\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.discardGroupCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "The group call to terminate"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | The group call to terminate |"}, "x-telegram-rpc-errors": ["GROUPCALL_ALREADY_DISCARDED", "GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "2054648117"}}, "/catalog/phone.toggleGroupCallSettings": {"post": {"operationId": "phone.toggleGroupCallSettings", "tags": ["Calls"], "summary": "Change group call settings. Each setting supports different group call types, see here » for more info.", "description": "Change group call settings. Each setting supports different group call types, see [here »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.toggleGroupCallSettings", "x-tl-id": "2537788146", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `GROUPCALL_CHANGE_FORBIDDEN` — Sie können diese Gruppenanrufeinstellung nicht ändern.\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 400 · `GROUPCALL_NOT_MODIFIED` – Gruppenanrufeinstellungen wurden nicht geändert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.toggleGroupCallSettings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"reset_invite_hash": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Invalidate existing invite links for video chats, livestreams and conferences"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Group call whose settings should be changed"}, "join_muted": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Whether users joining a non-RTMP video chat/livestream should be muted by default"}, "messages_enabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Enable or disable the in-call message overlay in video chats/livestreams, conferences and live stories, including in RTMP mode"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Set the minimum Telegram Stars donation required from users other than the live story owner for each comment; the owner may always comment without donating, and `0` allows free comments for everyone", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `reset_invite_hash` | `true` | Nein | Invalidate existing invite links for video chats, livestreams and conferences |\n| `call` | `InputGroupCall` | Ja | Group call whose settings should be changed |\n| `join_muted` | `Bool` | Nein | Whether users joining a non-RTMP video chat/livestream should be muted by default |\n| `messages_enabled` | `Bool` | Nein | Enable or disable the in-call message overlay in video chats/livestreams, conferences and live stories, including in RTMP mode |\n| `send_paid_messages_stars` | `long` | Nein | Set the minimum Telegram Stars donation required from users other than the live story owner for each comment; the owner may always comment without donating, and `0` allows free comments for everyone |"}, "x-telegram-rpc-errors": ["GROUPCALL_CHANGE_FORBIDDEN", "GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID", "GROUPCALL_NOT_MODIFIED"], "x-browser-schema-id": "2537788146"}}, "/catalog/phone.getGroupCall": {"post": {"operationId": "phone.getGroupCall", "tags": ["Calls"], "summary": "Get info about a group call and its participants.", "description": "Get info about a [group call](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) and its participants.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.getGroupCall", "x-tl-id": "68699611", "x-tl-result": "phone.GroupCall", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.GroupCall`.\n\n[phone.GroupCall](https://core.telegram.org/type/phone.GroupCall.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.GroupCall", "oneOf": [{"$ref": "#/components/schemas/phone.groupCall"}], "description": "TL type: phone.GroupCall."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.getGroupCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Group call of any type to fetch"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of participants to return in this call (0 to return a server-defined amount).  If the number of returned participants is less than [groupCall](https://core.telegram.org/constructor/groupCall.md).`participants_count`, paginate through the remaining participants using [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), passing to `offset` the [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md).`participants_next_offset` returned by this call.  This parameter behaves in a different way compared to the `limit` of [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), see [here »](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) for more info."}}, "additionalProperties": false, "required": ["call", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Group call of any type to fetch |\n| `limit` | `int` | Ja | Maximum number of participants to return in this call (0 to return a server-defined amount).  If the number of returned participants is less than [groupCall](https://core.telegram.org/constructor/groupCall.md).`participants_count`, paginate through the remaining participants using [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), passing to `offset` the [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md).`participants_next_offset` returned by this call.  This parameter behaves in a different way compared to the `limit` of [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), see [here »](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) for more info. |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "68699611"}}, "/catalog/phone.getGroupParticipants": {"post": {"operationId": "phone.getGroupParticipants", "tags": ["Calls"], "summary": "Get group call participants.", "description": "Get [group call](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) participants.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.getGroupParticipants", "x-tl-id": "3310934187", "x-tl-result": "phone.GroupParticipants", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.GroupParticipants`.\n\n[phone.GroupParticipants](https://core.telegram.org/type/phone.GroupParticipants.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.GroupParticipants", "oneOf": [{"$ref": "#/components/schemas/phone.groupParticipants"}], "description": "Type TL: phone.GroupParticipants."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.getGroupParticipants"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Group call whose participants should be fetched"}, "ids": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "If specified, will fetch group participant info about the specified peers"}, "sources": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "If specified, will fetch group participant info about the specified WebRTC source IDs"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for results, taken from the `next_offset` field of [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) or the `participants_next_offset` field of [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md), initially an empty string.  Note: if no more results are available, the method call will return an empty `next_offset`; thus, avoid providing the `next_offset` returned in [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) if it is empty, to avoid an infinite loop."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["call", "ids", "sources", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Group call whose participants should be fetched |\n| `ids` | `Vector<InputPeer>` | Ja | If specified, will fetch group participant info about the specified peers |\n| `sources` | `Vector<int>` | Ja | If specified, will fetch group participant info about the specified WebRTC source IDs |\n| `offset` | `string` | Ja | Offset for results, taken from the `next_offset` field of [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) or the `participants_next_offset` field of [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md), initially an empty string.  Note: if no more results are available, the method call will return an empty `next_offset`; thus, avoid providing the `next_offset` returned in [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) if it is empty, to avoid an infinite loop. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "3310934187"}}, "/catalog/phone.checkGroupCall": {"post": {"operationId": "phone.checkGroupCall", "tags": ["Calls"], "summary": "Prüfen Sie, welche der angegebenen Quell-IDs der Server noch als einem Gruppenanruf beigetreten erkennt. Diese Methode kann bei allen Gruppenruftypen verwendet werden, weitere Informationen finden Sie hier ».", "description": "Prüfen Sie, welche der angegebenen Quell-IDs der Server noch als einem Gruppenanruf beigetreten erkennt. Diese Methode kann mit allen Gruppenruftypen verwendet werden, siehe [hier »](https://core.telegram.org/api/group-calls.md#maintaining-group-call-connections) für weitere Informationen“.\n\nNachdem Sie der Hauptverbindung mit [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md) beigetreten sind, übergeben Sie regelmäßig die SSRC/Quellen-ID ungleich Null an diese Methode. Wenn auch eine Präsentationsverbindung aktiv ist, schließen Sie die separate Quelle ein, die mit [phone.joinGroupCallPresentation](https://core.telegram.org/method/phone.joinGroupCallPresentation.md) registriert wurde.\n\nThe method returns the subset of the supplied sources that are still joined. A missing source means that the corresponding connection must be recreated and joined again; it does not indicate whether media packets are currently flowing. If the method returns `GROUPCALL_JOIN_MISSING`, the main connection must be rejoined.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.checkGroupCall", "x-tl-id": "3046963575", "x-tl-result": "Vector<int>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[int](https://core.telegram.org/type/int.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 400 · `GROUPCALL_JOIN_MISSING` — Sie sind diesem Gruppenanruf nicht beigetreten."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.checkGroupCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Group call whose WebRTC connections should be checked"}, "sources": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Non-zero SSRC/source IDs of the caller's main and presentation connections"}}, "additionalProperties": false, "required": ["call", "sources"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Group call whose WebRTC connections should be checked |\n| `sources` | `Vector<int>` | Ja | Non-zero SSRC/source IDs of the caller's main and presentation connections |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "GROUPCALL_JOIN_MISSING"], "x-browser-schema-id": "3046963575"}}, "/catalog/phone.toggleGroupCallRecord": {"post": {"operationId": "phone.toggleGroupCallRecord", "tags": ["Calls"], "summary": "Start or stop recording a video chat/livestream, see here » for more info. The recorded audio and video streams will be automatically sent to Saved Messages (the chat with ourselves).", "description": "Start or stop recording a video chat/livestream, see [here »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) for more info. The recorded audio and video streams will be automatically sent to Saved Messages (the chat with ourselves).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.toggleGroupCallRecord", "x-tl-id": "4045981448", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 400 · `GROUPCALL_NOT_MODIFIED` – Gruppenanrufeinstellungen wurden nicht geändert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.toggleGroupCallRecord"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"start": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to start or stop recording"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether to also record video streams"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Video chat/livestream to record"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Recording title"}, "video_portrait": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "If video stream recording is enabled, whether to record in portrait or landscape mode"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `start` | `true` | Nein | Whether to start or stop recording |\n| `video` | `true` | Nein | Whether to also record video streams |\n| `call` | `InputGroupCall` | Ja | Video chat/livestream to record |\n| `title` | `string` | Nein | Recording title |\n| `video_portrait` | `Bool` | Nein | If video stream recording is enabled, whether to record in portrait or landscape mode |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID", "GROUPCALL_NOT_MODIFIED"], "x-browser-schema-id": "4045981448"}}, "/catalog/phone.editGroupCallParticipant": {"post": {"operationId": "phone.editGroupCallParticipant", "tags": ["Calls"], "summary": "Edit information about a participant of a non-RTMP video chat/livestream or conference. The `raise_hand` field is only supported in video chats/livestreams, see here » for more info.", "description": "Edit information about a participant of a non-RTMP video chat/livestream or conference. The `raise_hand` field is only supported in video chats/livestreams, see [here »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) for more info.\n\nNote: [flags](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields).N?[Bool](https://core.telegram.org/type/Bool.md) parameters can have three possible values:\n\n- Wenn das [TL-Flag](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields) nicht gesetzt ist, wird der vorherige Wert nicht geändert.\n- Wenn das [TL-Flag](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields) gesetzt ist und einen [boolTrue](https://core.telegram.org/constructor/boolTrue.md)] enthält, wird der vorherige Wert mit `true` überschrieben.\n- Wenn das [TL-Flag](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields) gesetzt ist und ein [boolFalse](https://core.telegram.org/constructor/boolFalse.md)] enthält, wird der vorherige Wert mit `false` überschrieben.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.editGroupCallParticipant", "x-tl-id": "2770811583", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 400 · `PARTICIPANT_JOIN_MISSING` – Es wird versucht, eine Präsentation zu aktivieren, wenn der Benutzer nicht mit [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md)] dem Video-Chat beigetreten ist.\n- 400 · `RAISE_HAND_FORBIDDEN` — Du kannst deine Hand nicht heben.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig.\n- 400 · `USER_VOLUME_INVALID` – Das angegebene Benutzervolumen ist ungültig.\n- 400 · `VIDEO_PAUSE_FORBIDDEN` – Sie können den Videostream nicht anhalten.\n- 400 · `VIDEO_STOP_FORBIDDEN` – Sie können den Videostream nicht stoppen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.editGroupCallParticipant"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Non-RTMP video chat/livestream or conference"}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The group call participant (can also be the user itself)"}, "muted": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Ändern Sie den Stummschaltungsstatus des Teilnehmers. Wenn Sie einem erzwungen stummgeschalteten Teilnehmer erlauben, die Stummschaltung selbst aufzuheben, wird die Stummschaltung nicht sofort aufgehoben"}, "volume": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "New volume, between `1` and `20000`; `10000` represents 100%. Without moderation rights, changing another participant's volume affects only local playback"}, "raise_hand": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Raise or lower hand; only supported in video chats/livestreams"}, "video_stopped": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Start or stop the current user's video stream"}, "video_paused": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.4?Bool", "description": "Pause or resume the current user's video stream"}, "presentation_paused": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.5?Bool", "description": "Pause or resume the current user's presentation stream"}}, "additionalProperties": false, "required": ["call", "participant"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Non-RTMP video chat/livestream or conference |\n| `participant` | `InputPeer` | Ja | The group call participant (can also be the user itself) |\n| `muted` | `Bool` | Nein | Ändern Sie den Stummschaltungsstatus des Teilnehmers. Wenn Sie einem erzwungen stummgeschalteten Teilnehmer erlauben, die Stummschaltung selbst aufzuheben, wird die Stummschaltung nicht sofort aufgehoben |\n| `volume` | `int` | Nein | New volume, between `1` and `20000`; `10000` represents 100%. Without moderation rights, changing another participant's volume affects only local playback |\n| `raise_hand` | `Bool` | Nein | Raise or lower hand; only supported in video chats/livestreams |\n| `video_stopped` | `Bool` | Nein | Start or stop the current user's video stream |\n| `video_paused` | `Bool` | Nein | Pause or resume the current user's video stream |\n| `presentation_paused` | `Bool` | Nein | Pause or resume the current user's presentation stream |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID", "PARTICIPANT_JOIN_MISSING", "RAISE_HAND_FORBIDDEN", "USER_ID_INVALID", "USER_VOLUME_INVALID", "VIDEO_PAUSE_FORBIDDEN", "VIDEO_STOP_FORBIDDEN"], "x-browser-schema-id": "2770811583"}}, "/catalog/phone.editGroupCallTitle": {"post": {"operationId": "phone.editGroupCallTitle", "tags": ["Calls"], "summary": "Edit the title of a video chat or livestream. This method cannot be used with live stories or conferences, see here » for more info.", "description": "Edit the title of a video chat or livestream. This method cannot be used with live stories or conferences, see [here »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.editGroupCallTitle", "x-tl-id": "480685066", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.editGroupCallTitle"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Video chat or livestream whose title should be changed"}, "title": {"type": "string", "x-tl-type": "string", "description": "New title"}}, "additionalProperties": false, "required": ["call", "title"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Video chat or livestream whose title should be changed |\n| `title` | `string` | Ja | New title |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "480685066"}}, "/catalog/phone.getGroupCallJoinAs": {"post": {"operationId": "phone.getGroupCallJoinAs", "tags": ["Calls"], "summary": "Get a list of peers that can be used to join a video chat or livestream », presenting yourself as a specific user/channel.", "description": "Get a list of peers that can be used to join a [video chat or livestream »](https://core.telegram.org/api/group-calls.md#joining-a-group-call-on-behalf-of-owned-channels), presenting yourself as a specific user/channel.\n\nThis method cannot be used for live stories or conference calls. To comment or react in a live story as another peer, use [channels.getSendAs](https://core.telegram.org/method/channels.getSendAs.md) with `for_live_stories` set and pass one of the returned peers to [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as`.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.getGroupCallJoinAs", "x-tl-id": "4017889594", "x-tl-result": "phone.JoinAsPeers", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.JoinAsPeers`.\n\n[phone.JoinAsPeers](https://core.telegram.org/type/phone.JoinAsPeers.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.JoinAsPeers", "oneOf": [{"$ref": "#/components/schemas/phone.joinAsPeers"}], "description": "Type TL: phone.JoinAsPeers."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.getGroupCallJoinAs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The basic group, supergroup or channel whose video chat/livestream we're trying to join; cannot target a live story."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The basic group, supergroup or channel whose video chat/livestream we're trying to join; cannot target a live story. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4017889594"}}, "/catalog/phone.exportGroupCallInvite": {"post": {"operationId": "phone.exportGroupCallInvite", "tags": ["Calls"], "summary": "Get an invite link for a public video chat/livestream ».", "description": "Get an invite link for a public [video chat/livestream »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams).\n\nNon-admin members or subscribers may export a link with `can_self_unmute` omitted. Only group call admins may set `can_self_unmute` to export a link that allows users to speak.\n\nCannot be used for video chats/livestreams associated with private groups/channels, [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls) or [live stories »](https://core.telegram.org/api/group-calls.md#live-stories).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.exportGroupCallInvite", "x-tl-id": "3869926527", "x-tl-result": "phone.ExportedGroupCallInvite", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.ExportedGroupCallInvite`.\n\n[phone.ExportedGroupCallInvite](https://core.telegram.org/type/phone.ExportedGroupCallInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.ExportedGroupCallInvite", "oneOf": [{"$ref": "#/components/schemas/phone.exportedGroupCallInvite"}], "description": "Type TL: phone.ExportedGroupCallInvite."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 403 · `PUBLIC_CHANNEL_MISSING` — You can only export group call invite links for public chats or channels."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.exportGroupCallInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"can_self_unmute": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "For public video chats/livestreams, group call admins only: allow users that join using this link to speak without explicitly requesting permission, for example by raising their hand."}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "The public [video chat/livestream »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams)"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `can_self_unmute` | `true` | Nein | For public video chats/livestreams, group call admins only: allow users that join using this link to speak without explicitly requesting permission, for example by raising their hand. |\n| `call` | `InputGroupCall` | Ja | The public [video chat/livestream »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "PUBLIC_CHANNEL_MISSING"], "x-browser-schema-id": "3869926527"}}, "/catalog/phone.toggleGroupCallStartSubscription": {"post": {"operationId": "phone.toggleGroupCallStartSubscription", "tags": ["Calls"], "summary": "Subscribe or unsubscribe to a scheduled group call.", "description": "Subscribe or unsubscribe to a scheduled [group call](https://core.telegram.org/api/group-calls.md#video-chats-livestreams).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.toggleGroupCallStartSubscription", "x-tl-id": "563885286", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `GROUPCALL_ALREADY_STARTED` — Der Gruppenanruf hat bereits begonnen, Sie können direkt mit [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md)] beitreten.\n- 403 · `GROUPCALL_FORBIDDEN` – Der angegebene Gruppenruf kann in diesem Kontext nicht verwendet werden.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.toggleGroupCallStartSubscription"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Scheduled video chat/livestream that has not started yet"}, "subscribed": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to receive a service-notification message when the call starts"}}, "additionalProperties": false, "required": ["call", "subscribed"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Scheduled video chat/livestream that has not started yet |\n| `subscribed` | `Bool` | Ja | Whether to receive a service-notification message when the call starts |"}, "x-telegram-rpc-errors": ["GROUPCALL_ALREADY_STARTED", "GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "563885286"}}, "/catalog/phone.startScheduledGroupCall": {"post": {"operationId": "phone.startScheduledGroupCall", "tags": ["Calls"], "summary": "Start a scheduled group call.", "description": "Start a scheduled [group call](https://core.telegram.org/api/group-calls.md#video-chats-livestreams).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.startScheduledGroupCall", "x-tl-id": "1451287362", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `GROUPCALL_ALREADY_STARTED` — Der Gruppenanruf hat bereits begonnen, Sie können direkt mit [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md)] beitreten.\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.startScheduledGroupCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Scheduled video chat/livestream to start, before or after its scheduled date"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Scheduled video chat/livestream to start, before or after its scheduled date |"}, "x-telegram-rpc-errors": ["GROUPCALL_ALREADY_STARTED", "GROUPCALL_INVALID"], "x-browser-schema-id": "1451287362"}}, "/catalog/phone.saveDefaultGroupCallJoinAs": {"post": {"operationId": "phone.saveDefaultGroupCallJoinAs", "tags": ["Calls"], "summary": "Set the default peer used to join a video chat/livestream » associated with a specific dialog.", "description": "Set the default peer used to join a [video chat/livestream »](https://core.telegram.org/api/group-calls.md#joining-a-group-call-on-behalf-of-owned-channels) associated with a specific dialog.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.saveDefaultGroupCallJoinAs", "x-tl-id": "1465786252", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `JOIN_AS_PEER_INVALID` – Der angegebene Peer kann nicht für die Teilnahme an einem Gruppenanruf verwendet werden.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.saveDefaultGroupCallJoinAs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Basic group, supergroup or channel whose video chat/livestream default should be changed"}, "join_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Eligible peer to use by default when joining the dialog's video chats/livestreams, selected from [phone.getGroupCallJoinAs](https://core.telegram.org/method/phone.getGroupCallJoinAs.md)"}}, "additionalProperties": false, "required": ["peer", "join_as"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Basic group, supergroup or channel whose video chat/livestream default should be changed |\n| `join_as` | `InputPeer` | Ja | Eligible peer to use by default when joining the dialog's video chats/livestreams, selected from [phone.getGroupCallJoinAs](https://core.telegram.org/method/phone.getGroupCallJoinAs.md) |"}, "x-telegram-rpc-errors": ["JOIN_AS_PEER_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1465786252"}}, "/catalog/phone.joinGroupCallPresentation": {"post": {"operationId": "phone.joinGroupCallPresentation", "tags": ["Calls"], "summary": "Start screen sharing in a non-RTMP video chat/livestream or conference. Presentations are not supported in live stories or RTMP-mode video chats/livestreams, see here » for more info.", "description": "Start screen sharing in a non-RTMP video chat/livestream or conference. Presentations are not supported in live stories or RTMP-mode video chats/livestreams, see [here »](https://core.telegram.org/api/group-calls.md#presentations) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.joinGroupCallPresentation", "x-tl-id": "3421137860", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 403 · `PARTICIPANT_JOIN_MISSING` — Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md)."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.joinGroupCallPresentation"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Joined non-RTMP video chat/livestream or conference in which to start presenting"}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Join payload generated by a separate local call-engine instance for the presentation"}}, "additionalProperties": false, "required": ["call", "params"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Joined non-RTMP video chat/livestream or conference in which to start presenting |\n| `params` | `DataJSON` | Ja | Join payload generated by a separate local call-engine instance for the presentation |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "PARTICIPANT_JOIN_MISSING"], "x-browser-schema-id": "3421137860"}}, "/catalog/phone.leaveGroupCallPresentation": {"post": {"operationId": "phone.leaveGroupCallPresentation", "tags": ["Calls"], "summary": "Stop screen sharing in a non-RTMP video chat/livestream or conference. Presentations are not supported in live stories or RTMP-mode video chats/livestreams, see here » for more info.", "description": "Stop screen sharing in a non-RTMP video chat/livestream or conference. Presentations are not supported in live stories or RTMP-mode video chats/livestreams, see [here »](https://core.telegram.org/api/group-calls.md#presentations) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.leaveGroupCallPresentation", "x-tl-id": "475058500", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.leaveGroupCallPresentation"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Group call whose presentation connection should be stopped"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Group call whose presentation connection should be stopped |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "475058500"}}, "/catalog/phone.getGroupCallStreamChannels": {"post": {"operationId": "phone.getGroupCallStreamChannels", "tags": ["Calls"], "summary": "Get the available stream channels and current playback timestamp of an RTMP-mode video chat, livestream or live story, see here » for the full flow.  ", "description": "Get the available stream channels and current playback timestamp of an RTMP-mode video chat, livestream or live story, see [here »](https://core.telegram.org/api/group-calls.md#rtmp-mode) for the full flow.  \nThe group call must be joined before invoking this method. Send the request to the media DC specified by [groupCall](https://core.telegram.org/constructor/groupCall.md).`stream_dc_id`.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.getGroupCallStreamChannels", "x-tl-id": "447879488", "x-tl-result": "phone.GroupCallStreamChannels", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.GroupCallStreamChannels`.\n\n[phone.GroupCallStreamChannels](https://core.telegram.org/type/phone.GroupCallStreamChannels.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.GroupCallStreamChannels", "oneOf": [{"$ref": "#/components/schemas/phone.groupCallStreamChannels"}], "description": "Type TL: phone.GroupCallStreamChannels."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 400 · `GROUPCALL_JOIN_MISSING` — Sie sind diesem Gruppenanruf nicht beigetreten."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.getGroupCallStreamChannels"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "RTMP-mode video chat, livestream or live story"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | RTMP-mode video chat, livestream or live story |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "GROUPCALL_JOIN_MISSING"], "x-browser-schema-id": "447879488"}}, "/catalog/phone.getGroupCallStreamRtmpUrl": {"post": {"operationId": "phone.getGroupCallStreamRtmpUrl", "tags": ["Calls"], "summary": "Get the RTMP URL and stream key used by the single external streamer that publishes all audio and video for an RTMP-mode video chat, livestream or live story.", "description": "Get the RTMP URL and stream key used by the single external streamer that publishes all audio and video for an RTMP-mode video chat, livestream or live story.\n\nSee [here »](https://core.telegram.org/api/group-calls.md#creating-and-publishing-an-rtmp-livestream) for the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.getGroupCallStreamRtmpUrl", "x-tl-id": "1525991226", "x-tl-result": "phone.GroupCallStreamRtmpUrl", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.GroupCallStreamRtmpUrl`.\n\n[phone.GroupCallStreamRtmpUrl](https://core.telegram.org/type/phone.GroupCallStreamRtmpUrl.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.GroupCallStreamRtmpUrl", "oneOf": [{"$ref": "#/components/schemas/phone.groupCallStreamRtmpUrl"}], "description": "Type TL: phone.GroupCallStreamRtmpUrl."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.getGroupCallStreamRtmpUrl"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"live_story": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Obtain credentials for an RTMP live story instead of a video chat/livestream"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer that will host the RTMP video chat, livestream or live story"}, "revoke": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to invalidate the previous stream key and generate a new one, instead of returning the existing key"}}, "additionalProperties": false, "required": ["peer", "revoke"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `live_story` | `true` | Nein | Obtain credentials for an RTMP live story instead of a video chat/livestream |\n| `peer` | `InputPeer` | Ja | Peer that will host the RTMP video chat, livestream or live story |\n| `revoke` | `Bool` | Ja | Whether to invalidate the previous stream key and generate a new one, instead of returning the existing key |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID"], "x-browser-schema-id": "1525991226"}}, "/catalog/phone.saveCallLog": {"post": {"operationId": "phone.saveCallLog", "tags": ["Calls"], "summary": "Deprecated: send libtgvoip phone call debug information", "description": "Deprecated: send libtgvoip phone call debug information\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "phone.saveCallLog", "x-tl-id": "1092913030", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CALL_PEER_INVALID` – Das bereitgestellte Call-Peer-Objekt ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.saveCallLog"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "Phone call"}, "file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Libtgvoip logs"}}, "additionalProperties": false, "required": ["peer", "file"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | Ja | Phone call |\n| `file` | `InputFile` | Ja | Libtgvoip logs |"}, "x-telegram-rpc-errors": ["CALL_PEER_INVALID"], "x-browser-schema-id": "1092913030"}}, "/catalog/phone.createConferenceCall": {"post": {"operationId": "phone.createConferenceCall", "tags": ["Calls"], "summary": "Erstellen Sie eine neue Telefonkonferenz und nehmen Sie optional daran teil ».", "description": "Erstellen Sie eine neue [Telefonkonferenz »](https://core.telegram.org/api/group-calls.md#conference-calls) und nehmen Sie optional daran teil.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.createConferenceCall", "x-tl-id": "2097431739", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.createConferenceCall"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, mute our microphone when joining the call (can only be used if `join` is set)."}, "video_stopped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "If set, our video stream is disabled (can only be used if `join` is set)."}, "join": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "If set, also join the call, otherwise just create the call link."}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Unique client message ID required to prevent creation of duplicate group calls. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping."}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "int256", "x-tl-flag": "flags.3?int256", "description": "Fresh E2E public key for the creator (can only be used if `join` is set)."}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.3?bytes", "description": "Initial main-chain block for subchain `0` (can only be used if `join` is set)."}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Join payload generated by the local call engine (can only be used if `join` is set).", "x-tl-flag": "flags.3?DataJSON"}}, "additionalProperties": false, "required": ["random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `muted` | `true` | Nein | If set, mute our microphone when joining the call (can only be used if `join` is set). |\n| `video_stopped` | `true` | Nein | If set, our video stream is disabled (can only be used if `join` is set). |\n| `join` | `true` | Nein | If set, also join the call, otherwise just create the call link. |\n| `random_id` | `int` | Ja | Unique client message ID required to prevent creation of duplicate group calls. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `public_key` | `int256` | Nein | Fresh E2E public key for the creator (can only be used if `join` is set). |\n| `block` | `bytes` | Nein | Initial main-chain block for subchain `0` (can only be used if `join` is set). |\n| `params` | `DataJSON` | Nein | Join payload generated by the local call engine (can only be used if `join` is set). |"}, "x-browser-schema-id": "2097431739"}}, "/catalog/phone.deleteConferenceCallParticipants": {"post": {"operationId": "phone.deleteConferenceCallParticipants", "tags": ["Calls"], "summary": "Remove participants from a conference call ».", "description": "Remove participants from a [conference call »](https://core.telegram.org/api/end-to-end/group-calls.md#removing-a-participant).\n\nExactly one of the `only_left` and `kick` flags must be set.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [E2E Gruppenanrufe](https://core.telegram.org/api/end-to-end/group-calls.md)", "x-tl-method": "phone.deleteConferenceCallParticipants", "x-tl-id": "2359690533", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["E2E Group Calls", "https://core.telegram.org/api/end-to-end/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.deleteConferenceCallParticipants"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"only_left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether this is a removal of members that already left the conference call."}, "kick": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether this is a forced removal of active members in a conference call."}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Conference from which to remove participants"}, "ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "User IDs to remove from the conference and E2E blockchain"}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Main-chain block removing the specified users and establishing a new shared key, see [removing a participant »](https://core.telegram.org/api/end-to-end/group-calls.md#removing-a-participant)"}}, "additionalProperties": false, "required": ["call", "ids", "block"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `only_left` | `true` | Nein | Whether this is a removal of members that already left the conference call. |\n| `kick` | `true` | Nein | Whether this is a forced removal of active members in a conference call. |\n| `call` | `InputGroupCall` | Ja | Conference from which to remove participants |\n| `ids` | `Vector<long>` | Ja | User IDs to remove from the conference and E2E blockchain |\n| `block` | `bytes` | Ja | Main-chain block removing the specified users and establishing a new shared key, see [removing a participant »](https://core.telegram.org/api/end-to-end/group-calls.md#removing-a-participant) |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "2359690533"}}, "/catalog/phone.sendConferenceCallBroadcast": {"post": {"operationId": "phone.sendConferenceCallBroadcast", "tags": ["Calls"], "summary": "Submit a verification message to conference call subchain `1`, see subchains ».", "description": "Submit a verification message to conference call subchain `1`, see [subchains »](https://core.telegram.org/api/end-to-end/group-calls.md#subchains).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [E2E Gruppenanrufe](https://core.telegram.org/api/end-to-end/group-calls.md)", "x-tl-method": "phone.sendConferenceCallBroadcast", "x-tl-id": "3329235200", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["E2E Group Calls", "https://core.telegram.org/api/end-to-end/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.sendConferenceCallBroadcast"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Conference whose verification subchain should receive the message"}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Serialized `e2e.chain.GroupBroadcast` verification message."}}, "additionalProperties": false, "required": ["call", "block"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Conference whose verification subchain should receive the message |\n| `block` | `bytes` | Ja | Serialized `e2e.chain.GroupBroadcast` verification message. |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "3329235200"}}, "/catalog/phone.inviteConferenceCallParticipant": {"post": {"operationId": "phone.inviteConferenceCallParticipant", "tags": ["Calls"], "summary": "Invite a user to a conference call.", "description": "Invite a user to a [conference call](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.inviteConferenceCallParticipant", "x-tl-id": "3169986181", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.inviteConferenceCallParticipant"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether this is a video conference invitation"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "The conference call."}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "The user to invite."}}, "additionalProperties": false, "required": ["call", "user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `video` | `true` | Nein | Whether this is a video conference invitation |\n| `call` | `InputGroupCall` | Ja | The conference call. |\n| `user_id` | `InputUser` | Ja | The user to invite. |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "3169986181"}}, "/catalog/phone.declineConferenceCallInvite": {"post": {"operationId": "phone.declineConferenceCallInvite", "tags": ["Calls"], "summary": "Eine Einladung zu einer Telefonkonferenz ablehnen.", "description": "Lehnen Sie eine Einladung zu einer [Konferenzanruf](https://core.telegram.org/api/group-calls.md#conference-calls)] ab.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.declineConferenceCallInvite", "x-tl-id": "1011325297", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.declineConferenceCallInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "The ID of the [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md) to decline."}}, "additionalProperties": false, "required": ["msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `msg_id` | `int` | Ja | The ID of the [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md) to decline. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID"], "x-browser-schema-id": "1011325297"}}, "/catalog/phone.getGroupCallChainBlocks": {"post": {"operationId": "phone.getGroupCallChainBlocks", "tags": ["Calls"], "summary": "Fetch blocks from a conference call subchain »; handle the returned updateGroupCallChainBlocks as specified here ».", "description": "Fetch blocks from a conference call [subchain »](https://core.telegram.org/api/end-to-end/group-calls.md#subchains); handle the returned [updateGroupCallChainBlocks](https://core.telegram.org/constructor/updateGroupCallChainBlocks.md) as [specified here »](https://core.telegram.org/api/end-to-end/group-calls.md#handling-updates).\n\nIf the number of blocks returned by *any* call to this method is equal to `limit`, this method must be re-invoked immediately after processing the returned [updateGroupCallChainBlocks](https://core.telegram.org/constructor/updateGroupCallChainBlocks.md), with the newly committed `offset` (usually equal to the returned `next_offset`).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [E2E Gruppenanrufe](https://core.telegram.org/api/end-to-end/group-calls.md)", "x-tl-method": "phone.getGroupCallChainBlocks", "x-tl-id": "4003432614", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["E2E Group Calls", "https://core.telegram.org/api/end-to-end/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.getGroupCallChainBlocks"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Conference whose subchain blocks should be fetched"}, "sub_chain_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "`0` for the main state blockchain, `1` for the call verification subchain"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fetch blocks starting from this height; pass `-1` to fetch the latest block"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of blocks to return in this call, [see pagination](https://core.telegram.org/api/offsets.md), max 100."}}, "additionalProperties": false, "required": ["call", "sub_chain_id", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Conference whose subchain blocks should be fetched |\n| `sub_chain_id` | `int` | Ja | `0` for the main state blockchain, `1` for the call verification subchain |\n| `offset` | `int` | Ja | Fetch blocks starting from this height; pass `-1` to fetch the latest block |\n| `limit` | `int` | Ja | Maximum number of blocks to return in this call, [see pagination](https://core.telegram.org/api/offsets.md), max 100. |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "4003432614"}}, "/catalog/phone.sendGroupCallMessage": {"post": {"operationId": "phone.sendGroupCallMessage", "tags": ["Calls"], "summary": "Send an in-call message to all participants of a video chat/livestream or live story, including in RTMP mode, see here » for more info.", "description": "Send an in-call message to all participants of a video chat/livestream or live story, including in RTMP mode, see [here »](https://core.telegram.org/api/group-calls.md#in-call-messages) for more info.\n\nThe `send_as` field can only be populated for live stories, where it optionally selects the displayed author. If omitted, the server automatically selects the appropriate author. Do not populate it for video chats/livestreams.\n\nVideo chats/livestreams and live stories support [animated emoji reactions »](https://core.telegram.org/api/group-calls.md#in-call-reactions), encoded as messages containing only a standard available reaction emoji or a single custom emoji entity.\n\nFor a paid live story comment, pass the user-confirmed donation amount in `allow_paid_stars`. For commenters other than the live story owner, this amount must be at least the current [groupCall](https://core.telegram.org/constructor/groupCall.md).`send_paid_messages_stars` minimum. A higher amount may be donated to highlight the comment. The live story owner may comment without populating `allow_paid_stars`. To send a standalone paid live story donation, pass a positive `allow_paid_stars` value and an empty `message`, see [here »](https://core.telegram.org/api/group-calls.md#paid-live-story-donations) for the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.sendGroupCallMessage", "x-tl-id": "2983269392", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig.\n- 400 · `GROUPCALL_JOIN_MISSING` — Sie sind diesem Gruppenanruf nicht beigetreten."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.sendGroupCallMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Video chat/livestream or live story that should receive the message, reaction or donation"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Fresh client-generated random ID used to deduplicate the message or donation. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Message text or emoji reaction; pass an empty value when sending a standalone paid live story donation"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "User-confirmed number of Telegram Stars to donate with a live story comment or standalone donation", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Optional peer to display as the author of a live story message or reaction; can only be used for live stories", "x-tl-flag": "flags.1?InputPeer"}}, "additionalProperties": false, "required": ["call", "random_id", "message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Video chat/livestream or live story that should receive the message, reaction or donation |\n| `random_id` | `long` | Ja | Fresh client-generated random ID used to deduplicate the message or donation. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `message` | `TextWithEntities` | Ja | Message text or emoji reaction; pass an empty value when sending a standalone paid live story donation |\n| `allow_paid_stars` | `long` | Nein | User-confirmed number of Telegram Stars to donate with a live story comment or standalone donation |\n| `send_as` | `InputPeer` | Nein | Optional peer to display as the author of a live story message or reaction; can only be used for live stories |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "GROUPCALL_JOIN_MISSING"], "x-browser-schema-id": "2983269392"}}, "/catalog/phone.sendGroupCallEncryptedMessage": {"post": {"operationId": "phone.sendGroupCallEncryptedMessage", "tags": ["Calls"], "summary": "Send an E2E-encrypted message or emoji reaction to all participants of a conference call. This method can only be used with conferences; see here » for the serialization and encryption process.", "description": "Send an E2E-encrypted message or emoji reaction to all participants of a conference call. This method can only be used with conferences; see [here »](https://core.telegram.org/api/end-to-end/group-calls.md#conference-in-call-messages) for the serialization and encryption process.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [E2E Gruppenanrufe](https://core.telegram.org/api/end-to-end/group-calls.md)", "x-tl-method": "phone.sendGroupCallEncryptedMessage", "x-tl-id": "3853493613", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["E2E Group Calls", "https://core.telegram.org/api/end-to-end/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.sendGroupCallEncryptedMessage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Conference call that should receive the encrypted message or reaction"}, "encrypted_message": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Complete encrypted message or reaction packet produced as specified [here »](https://core.telegram.org/api/end-to-end/group-calls.md#encrypting-and-sending-a-message)"}}, "additionalProperties": false, "required": ["call", "encrypted_message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Conference call that should receive the encrypted message or reaction |\n| `encrypted_message` | `bytes` | Ja | Complete encrypted message or reaction packet produced as specified [here »](https://core.telegram.org/api/end-to-end/group-calls.md#encrypting-and-sending-a-message) |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "3853493613"}}, "/catalog/phone.deleteGroupCallMessages": {"post": {"operationId": "phone.deleteGroupCallMessages", "tags": ["Calls"], "summary": "Löschen Sie bestimmte Nachrichten aus der In-Call-Nachrichtenüberlagerung » eines Video-Chats/Livestreams oder einer Live-Story, auch im RTMP-Modus.", "description": "Löschen Sie bestimmte Nachrichten aus dem [In-Call-Nachrichten-Overlay »](https://core.telegram.org/api/group-calls.md#in-call-messages) eines Video-Chats/Livestreams oder einer Live-Story, auch im RTMP-Modus.\n\nNon-admin participants may delete messages they sent; admins may delete any message.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.deleteGroupCallMessages", "x-tl-id": "4132394231", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.deleteGroupCallMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"report_spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "When moderating another participant's messages, also report them as spam"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Video chat/livestream or live story containing the messages"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of the messages to delete"}}, "additionalProperties": false, "required": ["call", "messages"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `report_spam` | `true` | Nein | When moderating another participant's messages, also report them as spam |\n| `call` | `InputGroupCall` | Ja | Video chat/livestream or live story containing the messages |\n| `messages` | `Vector<int>` | Ja | IDs of the messages to delete |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "4132394231"}}, "/catalog/phone.deleteGroupCallParticipantMessages": {"post": {"operationId": "phone.deleteGroupCallParticipantMessages", "tags": ["Calls"], "summary": "As an admin, delete all messages from a specific participant in the in-call message overlay » of a video chat/livestream or live story, including in RTMP mode.", "description": "As an admin, delete all messages from a specific participant in the [in-call message overlay »](https://core.telegram.org/api/group-calls.md#in-call-messages) of a video chat/livestream or live story, including in RTMP mode.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.deleteGroupCallParticipantMessages", "x-tl-id": "499117216", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.deleteGroupCallParticipantMessages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"report_spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Melden Sie auch die Nachrichten des Teilnehmers als Spam"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Video chat/livestream or live story containing the messages"}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The participant whose messages should be deleted"}}, "additionalProperties": false, "required": ["call", "participant"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `report_spam` | `true` | Nein | Melden Sie auch die Nachrichten des Teilnehmers als Spam |\n| `call` | `InputGroupCall` | Ja | Video chat/livestream or live story containing the messages |\n| `participant` | `InputPeer` | Ja | The participant whose messages should be deleted |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "499117216"}}, "/catalog/phone.getGroupCallStars": {"post": {"operationId": "phone.getGroupCallStars", "tags": ["Calls"], "summary": "Fetch a live story's total donations and top donors, see paid live story donations ».", "description": "Fetch a live story's total donations and top donors, see [paid live story donations »](https://core.telegram.org/api/group-calls.md#paid-live-story-donations).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.getGroupCallStars", "x-tl-id": "1868784386", "x-tl-result": "phone.GroupCallStars", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `phone.GroupCallStars`.\n\n[phone.GroupCallStars](https://core.telegram.org/type/phone.GroupCallStars.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "phone.GroupCallStars", "oneOf": [{"$ref": "#/components/schemas/phone.groupCallStars"}], "description": "Type TL: phone.GroupCallStars."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.getGroupCallStars"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Live story group call"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Live story group call |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "1868784386"}}, "/catalog/phone.saveDefaultSendAs": {"post": {"operationId": "phone.saveDefaultSendAs", "tags": ["Calls"], "summary": "Save the default peer displayed as the author of live story comments and reactions, see in-call messages ».", "description": "Save the default peer displayed as the author of live story comments and reactions, see [in-call messages »](https://core.telegram.org/api/group-calls.md#in-call-messages).\n\nIt cannot be used for normal video chats/livestreams, where in-call messages are sent as the peer used to join the call (`join_as`).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)", "x-tl-method": "phone.saveDefaultSendAs", "x-tl-id": "1097313745", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GROUPCALL_INVALID` – Der angegebene Gruppenanruf ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/phone.saveDefaultSendAs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Live story group call"}, "send_as": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer to display as the author of subsequent comments and reactions"}}, "additionalProperties": false, "required": ["call", "send_as"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | Ja | Live story group call |\n| `send_as` | `InputPeer` | Ja | Peer to display as the author of subsequent comments and reactions |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "1097313745"}}, "/catalog/langpack.getLangPack": {"post": {"operationId": "langpack.getLangPack", "tags": ["Translations"], "summary": "Get localization pack strings", "description": "Get localization pack strings\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "langpack.getLangPack", "x-tl-id": "4075959050", "x-tl-result": "LangPackDifference", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `LangPackDifference`.\n\n[LangPackDifference](https://core.telegram.org/type/LangPackDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "LangPackDifference", "oneOf": [{"$ref": "#/components/schemas/langPackDifference"}], "description": "TL Type: LangPackDifference."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `LANGUAGE_INVALID` – Die angegebene lang_code ist ungültig.\n- 400 · `LANG_CODE_NOT_SUPPORTED` – Der angegebene Sprachcode wird nicht unterstützt.\n- 400 · `LANG_PACK_INVALID` – Das bereitgestellte Sprachpaket ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/langpack.getLangPack"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_pack": {"type": "string", "x-tl-type": "string", "description": "Platform identifier (i.e. `android`, `tdesktop`, etc)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links)."}}, "additionalProperties": false, "required": ["lang_pack", "lang_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Ja | Platform identifier (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Ja | Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links). |"}, "x-telegram-rpc-errors": ["LANGUAGE_INVALID", "LANG_CODE_NOT_SUPPORTED", "LANG_PACK_INVALID"], "x-browser-schema-id": "4075959050"}}, "/catalog/langpack.getStrings": {"post": {"operationId": "langpack.getStrings", "tags": ["Translations"], "summary": "Get strings from a language pack", "description": "Get strings from a language pack\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "langpack.getStrings", "x-tl-id": "4025104387", "x-tl-result": "Vector<LangPackString>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `Vector<LangPackString>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[LangPackString](https://core.telegram.org/type/LangPackString.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "LangPackString", "oneOf": [{"$ref": "#/components/schemas/langPackString"}, {"$ref": "#/components/schemas/langPackStringPluralized"}, {"$ref": "#/components/schemas/langPackStringDeleted"}], "description": "TL Type: LangPackString."}, "x-tl-type": "Vector<LangPackString>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `LANG_CODE_NOT_SUPPORTED` – Der angegebene Sprachcode wird nicht unterstützt.\n- 400 · `LANG_PACK_INVALID` – Das bereitgestellte Sprachpaket ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/langpack.getStrings"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_pack": {"type": "string", "x-tl-type": "string", "description": "Platform identifier (i.e. `android`, `tdesktop`, etc)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links)."}, "keys": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Strings to get"}}, "additionalProperties": false, "required": ["lang_pack", "lang_code", "keys"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Ja | Platform identifier (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Ja | Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links). |\n| `keys` | `Vector<string>` | Ja | Strings to get |"}, "x-telegram-rpc-errors": ["LANG_CODE_NOT_SUPPORTED", "LANG_PACK_INVALID"], "x-browser-schema-id": "4025104387"}}, "/catalog/langpack.getDifference": {"post": {"operationId": "langpack.getDifference", "tags": ["Translations"], "summary": "Get new strings in language pack", "description": "Get new strings in language pack\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "langpack.getDifference", "x-tl-id": "3449309861", "x-tl-result": "LangPackDifference", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `LangPackDifference`.\n\n[LangPackDifference](https://core.telegram.org/type/LangPackDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "LangPackDifference", "oneOf": [{"$ref": "#/components/schemas/langPackDifference"}], "description": "TL Type: LangPackDifference."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `LANG_PACK_INVALID` – Das bereitgestellte Sprachpaket ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/langpack.getDifference"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_pack": {"type": "string", "x-tl-type": "string", "description": "Platform identifier (i.e. `android`, `tdesktop`, etc)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links)."}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Previous localization pack version"}}, "additionalProperties": false, "required": ["lang_pack", "lang_code", "from_version"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Ja | Platform identifier (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Ja | Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links). |\n| `from_version` | `int` | Ja | Previous localization pack version |"}, "x-telegram-rpc-errors": ["LANG_PACK_INVALID"], "x-browser-schema-id": "3449309861"}}, "/catalog/langpack.getLanguages": {"post": {"operationId": "langpack.getLanguages", "tags": ["Translations"], "summary": "Get information about all languages in a localization pack", "description": "Get information about all languages in a localization pack\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "langpack.getLanguages", "x-tl-id": "1120311183", "x-tl-result": "Vector<LangPackLanguage>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<LangPackLanguage>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[LangPackLanguage](https://core.telegram.org/type/LangPackLanguage.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "LangPackLanguage", "oneOf": [{"$ref": "#/components/schemas/langPackLanguage"}], "description": "TL Type: LangPackLanguage."}, "x-tl-type": "Vector<LangPackLanguage>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `LANG_PACK_INVALID` – Das bereitgestellte Sprachpaket ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/langpack.getLanguages"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_pack": {"type": "string", "x-tl-type": "string", "description": "Platform identifier (i.e. `android`, `tdesktop`, etc)."}}, "additionalProperties": false, "required": ["lang_pack"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Ja | Platform identifier (i.e. `android`, `tdesktop`, etc). |"}, "x-telegram-rpc-errors": ["LANG_PACK_INVALID"], "x-browser-schema-id": "1120311183"}}, "/catalog/langpack.getLanguage": {"post": {"operationId": "langpack.getLanguage", "tags": ["Translations"], "summary": "Get information about a language in a localization pack", "description": "Get information about a language in a localization pack\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "langpack.getLanguage", "x-tl-id": "1784243458", "x-tl-result": "LangPackLanguage", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `LangPackLanguage`.\n\n[LangPackLanguage](https://core.telegram.org/type/LangPackLanguage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "LangPackLanguage", "oneOf": [{"$ref": "#/components/schemas/langPackLanguage"}], "description": "TL Type: LangPackLanguage."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `LANG_CODE_NOT_SUPPORTED` – Der angegebene Sprachcode wird nicht unterstützt.\n- 400 · `LANG_PACK_INVALID` – Das bereitgestellte Sprachpaket ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/langpack.getLanguage"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"lang_pack": {"type": "string", "x-tl-type": "string", "description": "Platform identifier (i.e. `android`, `tdesktop`, etc)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links)."}}, "additionalProperties": false, "required": ["lang_pack", "lang_code"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | Ja | Platform identifier (i.e. `android`, `tdesktop`, etc). |\n| `lang_code` | `string` | Ja | Either an ISO 639-1 language code or a language pack name obtained from a [language pack link](https://core.telegram.org/api/links.md#language-pack-links). |"}, "x-telegram-rpc-errors": ["LANG_CODE_NOT_SUPPORTED", "LANG_PACK_INVALID"], "x-browser-schema-id": "1784243458"}}, "/catalog/folders.editPeerFolders": {"post": {"operationId": "folders.editPeerFolders", "tags": ["Folders"], "summary": "Edit peers in peer folder", "description": "Edit peers in [peer folder](https://core.telegram.org/api/folders.md#peer-folders)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)", "x-tl-method": "folders.editPeerFolders", "x-tl-id": "1749536939", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHAT_ID_INVALID` – Die angegebene Chat-ID ist ungültig.\n- 400 · `FOLDER_ID_INVALID` – Ungültige Ordner-ID."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/folders.editPeerFolders"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"folder_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputFolderPeer", "oneOf": [{"$ref": "#/components/schemas/inputFolderPeer"}], "description": "TL Type: InputFolderPeer."}, "x-tl-type": "Vector<InputFolderPeer>", "description": "New peer list"}}, "additionalProperties": false, "required": ["folder_peers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `folder_peers` | `Vector<InputFolderPeer>` | Ja | New peer list |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ID_INVALID", "FOLDER_ID_INVALID"], "x-browser-schema-id": "1749536939"}}, "/catalog/stats.getBroadcastStats": {"post": {"operationId": "stats.getBroadcastStats", "tags": ["Statistics"], "summary": "Get channel statistics", "description": "Get [channel statistics](https://core.telegram.org/api/stats.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanalstatistiken](https://core.telegram.org/api/stats.md)", "x-tl-method": "stats.getBroadcastStats", "x-tl-id": "2873246746", "x-tl-result": "stats.BroadcastStats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel statistics", "https://core.telegram.org/api/stats.md"]], "responses": {"200": {"description": "MTProto result · `stats.BroadcastStats`.\n\n[stats.BroadcastStats](https://core.telegram.org/type/stats.BroadcastStats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stats.BroadcastStats", "oneOf": [{"$ref": "#/components/schemas/stats.broadcastStats"}], "description": "Type TL: stats.BroadcastStats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BROADCAST_REQUIRED` – Diese Methode kann nur auf einem Kanal aufgerufen werden, bitte verwenden Sie stats.getMegagroupStats für Supergruppen.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stats.getBroadcastStats"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to enable dark theme for graph colors"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "The channel"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dark` | `true` | Nein | Whether to enable dark theme for graph colors |\n| `channel` | `InputChannel` | Ja | The channel |"}, "x-telegram-rpc-errors": ["BROADCAST_REQUIRED", "CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_ADMIN_REQUIRED"], "x-browser-schema-id": "2873246746"}}, "/catalog/stats.loadAsyncGraph": {"post": {"operationId": "stats.loadAsyncGraph", "tags": ["Statistics"], "summary": "Load channel statistics graph asynchronously", "description": "Load [channel statistics graph](https://core.telegram.org/api/stats.md) asynchronously\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanalstatistiken](https://core.telegram.org/api/stats.md)", "x-tl-method": "stats.loadAsyncGraph", "x-tl-id": "1646092192", "x-tl-result": "StatsGraph", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel statistics", "https://core.telegram.org/api/stats.md"]], "responses": {"200": {"description": "MTProto result · `StatsGraph`.\n\n[StatsGraph](https://core.telegram.org/type/StatsGraph.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StatsGraph", "oneOf": [{"$ref": "#/components/schemas/statsGraphAsync"}, {"$ref": "#/components/schemas/statsGraphError"}, {"$ref": "#/components/schemas/statsGraph"}], "description": "TL Type: StatsGraph."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `GRAPH_EXPIRED_RELOAD` — Dieser Graph ist abgelaufen, bitte besorgen Sie sich einen neuen Graph-Token.\n- 400 · `GRAPH_INVALID_RELOAD` – Ungültiges Diagramm-Token bereitgestellt. Bitte laden Sie die Statistiken neu und geben Sie das aktualisierte Token an.\n- 400 · `GRAPH_OUTDATED_RELOAD` – Das Diagramm ist veraltet. Bitte besorgen Sie sich mit stats.getBroadcastStats ein neues asynchrones Token."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stats.loadAsyncGraph"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"token": {"type": "string", "x-tl-type": "string", "description": "Graph token from [statsGraphAsync](https://core.telegram.org/constructor/statsGraphAsync.md) constructor"}, "x": {"type": "string", "pattern": "^-?\\d+$", "description": "Zoom value, if required", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `token` | `string` | Ja | Graph token from [statsGraphAsync](https://core.telegram.org/constructor/statsGraphAsync.md) constructor |\n| `x` | `long` | Nein | Zoom value, if required |"}, "x-telegram-rpc-errors": ["GRAPH_EXPIRED_RELOAD", "GRAPH_INVALID_RELOAD", "GRAPH_OUTDATED_RELOAD"], "x-browser-schema-id": "1646092192"}}, "/catalog/stats.getMegagroupStats": {"post": {"operationId": "stats.getMegagroupStats", "tags": ["Statistics"], "summary": "Get supergroup statistics", "description": "Get [supergroup statistics](https://core.telegram.org/api/stats.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Kanalstatistiken](https://core.telegram.org/api/stats.md)", "x-tl-method": "stats.getMegagroupStats", "x-tl-id": "3705636359", "x-tl-result": "stats.MegagroupStats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Channel statistics", "https://core.telegram.org/api/stats.md"]], "responses": {"200": {"description": "MTProto result · `stats.MegagroupStats`.\n\n[stats.MegagroupStats](https://core.telegram.org/type/stats.MegagroupStats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stats.MegagroupStats", "oneOf": [{"$ref": "#/components/schemas/stats.megagroupStats"}], "description": "Type TL: stats.MegagroupStats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 403 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `MEGAGROUP_REQUIRED` – Sie können diese Methode nur für eine Supergruppe verwenden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stats.getMegagroupStats"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to enable dark theme for graph colors"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Supergroup ID](https://core.telegram.org/api/channel.md)"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dark` | `true` | Nein | Whether to enable dark theme for graph colors |\n| `channel` | `InputChannel` | Ja | [Supergroup ID](https://core.telegram.org/api/channel.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "MEGAGROUP_REQUIRED"], "x-browser-schema-id": "3705636359"}}, "/catalog/stats.getMessagePublicForwards": {"post": {"operationId": "stats.getMessagePublicForwards", "tags": ["Statistics"], "summary": "Obtains a list of messages, indicating to which other public channels was a channel message forwarded.  ", "description": "Obtains a list of messages, indicating to which other public channels was a channel message forwarded.  \nWill return a list of [messages](https://core.telegram.org/constructor/message.md) with `peer_id` equal to the public channel to which this message was forwarded.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "stats.getMessagePublicForwards", "x-tl-id": "1595212100", "x-tl-result": "stats.PublicForwards", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `stats.PublicForwards`.\n\n[stats.PublicForwards](https://core.telegram.org/type/stats.PublicForwards.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stats.PublicForwards", "oneOf": [{"$ref": "#/components/schemas/stats.publicForwards"}], "description": "Type TL: stats.PublicForwards."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stats.getMessagePublicForwards"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Source channel"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Source message ID"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for [pagination](https://core.telegram.org/api/offsets.md), empty string on first call, then use the `next_offset` field of the returned constructor (if present, otherwise no more results are available)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["channel", "msg_id", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | Ja | Source channel |\n| `msg_id` | `int` | Ja | Source message ID |\n| `offset` | `string` | Ja | Offset for [pagination](https://core.telegram.org/api/offsets.md), empty string on first call, then use the `next_offset` field of the returned constructor (if present, otherwise no more results are available). |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1595212100"}}, "/catalog/stats.getMessageStats": {"post": {"operationId": "stats.getMessageStats", "tags": ["Statistics"], "summary": "Get message statistics", "description": "Get [message statistics](https://core.telegram.org/api/stats.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanalstatistiken](https://core.telegram.org/api/stats.md)", "x-tl-method": "stats.getMessageStats", "x-tl-id": "3068175349", "x-tl-result": "stats.MessageStats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel statistics", "https://core.telegram.org/api/stats.md"]], "responses": {"200": {"description": "MTProto result · `stats.MessageStats`.\n\n[stats.MessageStats](https://core.telegram.org/type/stats.MessageStats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stats.MessageStats", "oneOf": [{"$ref": "#/components/schemas/stats.messageStats"}], "description": "Type TL: stats.MessageStats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `MESSAGE_ID_INVALID` – Die angegebene Nachrichten-ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stats.getMessageStats"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to enable dark theme for graph colors"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Kanal-ID"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID"}}, "additionalProperties": false, "required": ["channel", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dark` | `true` | Nein | Whether to enable dark theme for graph colors |\n| `channel` | `InputChannel` | Ja | Kanal-ID |\n| `msg_id` | `int` | Ja | Nachrichten-ID |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3068175349"}}, "/catalog/stats.getStoryStats": {"post": {"operationId": "stats.getStoryStats", "tags": ["Statistics"], "summary": "Get statistics for a certain story.", "description": "Get [statistics](https://core.telegram.org/api/stats.md) for a certain [story](https://core.telegram.org/api/stories.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanalstatistiken](https://core.telegram.org/api/stats.md)\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stats.getStoryStats", "x-tl-id": "927985472", "x-tl-result": "stats.StoryStats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel statistics", "https://core.telegram.org/api/stats.md"], ["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `stats.StoryStats`.\n\n[stats.StoryStats](https://core.telegram.org/type/stats.StoryStats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stats.StoryStats", "oneOf": [{"$ref": "#/components/schemas/stats.storyStats"}], "description": "Type TL: stats.StoryStats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORIES_NEVER_CREATED` — Dieser Peer hat noch nie Geschichten gepostet."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stats.getStoryStats"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to enable the dark theme for graph colors"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer that posted the story"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Story-ID"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dark` | `true` | Nein | Whether to enable the dark theme for graph colors |\n| `peer` | `InputPeer` | Ja | The peer that posted the story |\n| `id` | `int` | Ja | Story-ID |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "PEER_ID_INVALID", "STORIES_NEVER_CREATED"], "x-browser-schema-id": "927985472"}}, "/catalog/stats.getStoryPublicForwards": {"post": {"operationId": "stats.getStoryPublicForwards", "tags": ["Statistics"], "summary": "Obtain forwards of a story as a message to public chats and reposts by public channels.", "description": "Obtain forwards of a [story](https://core.telegram.org/api/stories.md) as a message to public chats and reposts by public channels.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "stats.getStoryPublicForwards", "x-tl-id": "2789441270", "x-tl-result": "stats.PublicForwards", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `stats.PublicForwards`.\n\n[stats.PublicForwards](https://core.telegram.org/type/stats.PublicForwards.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stats.PublicForwards", "oneOf": [{"$ref": "#/components/schemas/stats.publicForwards"}], "description": "Type TL: stats.PublicForwards."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stats.getStoryPublicForwards"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the story was originally posted"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Story](https://core.telegram.org/api/stories.md) ID"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for pagination, from [stats.PublicForwards](https://core.telegram.org/constructor/stats.publicForwards.md).`next_offset`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the story was originally posted |\n| `id` | `int` | Ja | [Story](https://core.telegram.org/api/stories.md) ID |\n| `offset` | `string` | Ja | Offset for pagination, from [stats.PublicForwards](https://core.telegram.org/constructor/stats.publicForwards.md).`next_offset`. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2789441270"}}, "/catalog/stats.getPollStats": {"post": {"operationId": "stats.getPollStats", "tags": ["Statistics"], "summary": "Get statistics for a poll sent in a message.", "description": "Get [statistics](https://core.telegram.org/api/stats.md#poll-statistics) for a poll sent in a message.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanalstatistiken](https://core.telegram.org/api/stats.md)", "x-tl-method": "stats.getPollStats", "x-tl-id": "3263036008", "x-tl-result": "stats.PollStats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel statistics", "https://core.telegram.org/api/stats.md"]], "responses": {"200": {"description": "MTProto result · `stats.PollStats`.\n\n[stats.PollStats](https://core.telegram.org/type/stats.PollStats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stats.PollStats", "oneOf": [{"$ref": "#/components/schemas/stats.pollStats"}], "description": "Type TL: stats.PollStats."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stats.getPollStats"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to enable dark theme for graph colors"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer where the poll was sent"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the message containing the poll"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dark` | `true` | Nein | Whether to enable dark theme for graph colors |\n| `peer` | `InputPeer` | Ja | The peer where the poll was sent |\n| `msg_id` | `int` | Ja | ID of the message containing the poll |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3263036008"}}, "/catalog/chatlists.exportChatlistInvite": {"post": {"operationId": "chatlists.exportChatlistInvite", "tags": ["Chat-Ordner"], "summary": "Export a folder », creating a chat folder deep link ».", "description": "Export a [folder »](https://core.telegram.org/api/folders.md), creating a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)\n- [Dialogordner](https://core.telegram.org/api/folders.md)\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "chatlists.exportChatlistInvite", "x-tl-id": "2222081934", "x-tl-result": "chatlists.ExportedChatlistInvite", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"], ["Dialog folders", "https://core.telegram.org/api/folders.md"], ["Deep links", "https://core.telegram.org/api/links.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto Result · `chatlists.ExportedChatlistInvite`.\n\n[chatlists.ExportedChatlistInvite](https://core.telegram.org/type/chatlists.ExportedChatlistInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "chatlists.ExportedChatlistInvite", "oneOf": [{"$ref": "#/components/schemas/chatlists.exportedChatlistInvite"}], "description": "Type TL: chatlists.ExportedChatlistInvite."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `CHATLISTS_TOO_MUCH` – Sie haben zu viele Ordnerverknüpfungen erstellt und erreichen die `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [Grenzwerte »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default).\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig.\n- 400 · `FILTER_NOT_SUPPORTED` – Der angegebene Filter kann in diesem Kontext nicht verwendet werden.\n- 400 · `INVITES_TOO_MUCH` – Die durch die `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [Client-Konfigurationsparameter »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default) angegebene maximale Anzahl von Einladungen pro Ordner wurde erreicht.\n- 400 · `PEERS_LIST_EMPTY` – Die angegebene Liste der Peers ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.exportChatlistInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chatlist": {"type": "object", "x-tl-type": "InputChatlist", "oneOf": [{"$ref": "#/components/schemas/inputChatlistDialogFilter"}], "description": "The folder to export"}, "title": {"type": "string", "x-tl-type": "string", "description": "An optional name for the link"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "The list of channels, group and supergroups to share with the link. Basic groups will automatically be [converted to supergroups](https://core.telegram.org/api/channel.md#migration) when invoking the method."}}, "additionalProperties": false, "required": ["chatlist", "title", "peers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Ja | The folder to export |\n| `title` | `string` | Ja | An optional name for the link |\n| `peers` | `Vector<InputPeer>` | Ja | The list of channels, group and supergroups to share with the link. Basic groups will automatically be [converted to supergroups](https://core.telegram.org/api/channel.md#migration) when invoking the method. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHATLISTS_TOO_MUCH", "CHAT_ADMIN_REQUIRED", "FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED", "INVITES_TOO_MUCH", "PEERS_LIST_EMPTY"], "x-browser-schema-id": "2222081934"}}, "/catalog/chatlists.deleteExportedInvite": {"post": {"operationId": "chatlists.deleteExportedInvite", "tags": ["Chat-Ordner"], "summary": "Delete a previously created chat folder deep link ».", "description": "Delete a previously created [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "chatlists.deleteExportedInvite", "x-tl-id": "1906072670", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig.\n- 400 · `FILTER_NOT_SUPPORTED` – Der angegebene Filter kann in diesem Kontext nicht verwendet werden.\n- 400 · `INVITE_SLUG_EXPIRED` – Der angegebene Chat-Ordner-Link ist abgelaufen.\n- 400 · `INVITE_SLUG_INVALID` – Der angegebene Einladungs-Slug ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.deleteExportedInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chatlist": {"type": "object", "x-tl-type": "InputChatlist", "oneOf": [{"$ref": "#/components/schemas/inputChatlistDialogFilter"}], "description": "The related folder"}, "slug": {"type": "string", "x-tl-type": "string", "description": "`slug` obtained from the [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links)."}}, "additionalProperties": false, "required": ["chatlist", "slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Ja | The related folder |\n| `slug` | `string` | Ja | `slug` obtained from the [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links). |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED", "INVITE_SLUG_EXPIRED", "INVITE_SLUG_INVALID"], "x-browser-schema-id": "1906072670"}}, "/catalog/chatlists.editExportedInvite": {"post": {"operationId": "chatlists.editExportedInvite", "tags": ["Chat-Ordner"], "summary": "Edit a chat folder deep link ».", "description": "Edit a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "chatlists.editExportedInvite", "x-tl-id": "1698543165", "x-tl-result": "ExportedChatlistInvite", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `ExportedChatlistInvite`.\n\n[ExportedChatlistInvite](https://core.telegram.org/type/ExportedChatlistInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedChatlistInvite", "oneOf": [{"$ref": "#/components/schemas/exportedChatlistInvite"}], "description": "TL Type: ExportedChatlistInvite."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig.\n- 400 · `FILTER_NOT_SUPPORTED` – Der angegebene Filter kann in diesem Kontext nicht verwendet werden.\n- 400 · `INVITE_SLUG_EMPTY` – Der angegebene Einladungs-Slug ist leer.\n- 400 · `INVITE_SLUG_EXPIRED` – Der angegebene Chat-Ordner-Link ist abgelaufen.\n- 400 · `PEERS_LIST_EMPTY` – Die angegebene Liste der Peers ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.editExportedInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chatlist": {"type": "object", "x-tl-type": "InputChatlist", "oneOf": [{"$ref": "#/components/schemas/inputChatlistDialogFilter"}], "description": "Ordner-ID"}, "slug": {"type": "string", "x-tl-type": "string", "description": "`slug` obtained from the [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links)."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "If set, sets a new name for the link"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "x-tl-flag": "flags.2?Vector<InputPeer>", "description": "If set, changes the list of peers shared with the link"}}, "additionalProperties": false, "required": ["chatlist", "slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Ja | Ordner-ID |\n| `slug` | `string` | Ja | `slug` obtained from the [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links). |\n| `title` | `string` | Nein | If set, sets a new name for the link |\n| `peers` | `Vector<InputPeer>` | Nein | If set, changes the list of peers shared with the link |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED", "INVITE_SLUG_EMPTY", "INVITE_SLUG_EXPIRED", "PEERS_LIST_EMPTY"], "x-browser-schema-id": "1698543165"}}, "/catalog/chatlists.getExportedInvites": {"post": {"operationId": "chatlists.getExportedInvites", "tags": ["Chat-Ordner"], "summary": "List all chat folder deep links » associated to a folder", "description": "List all [chat folder deep links »](https://core.telegram.org/api/links.md#chat-folder-links) associated to a folder\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "chatlists.getExportedInvites", "x-tl-id": "3456359043", "x-tl-result": "chatlists.ExportedInvites", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `chatlists.ExportedInvites`.\n\n[chatlists.ExportedInvites](https://core.telegram.org/type/chatlists.ExportedInvites.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "chatlists.ExportedInvites", "oneOf": [{"$ref": "#/components/schemas/chatlists.exportedInvites"}], "description": "TL type: chatlists.ExportedInvites."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.getExportedInvites"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chatlist": {"type": "object", "x-tl-type": "InputChatlist", "oneOf": [{"$ref": "#/components/schemas/inputChatlistDialogFilter"}], "description": "The folder"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Ja | The folder |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID"], "x-browser-schema-id": "3456359043"}}, "/catalog/chatlists.checkChatlistInvite": {"post": {"operationId": "chatlists.checkChatlistInvite", "tags": ["Chat-Ordner"], "summary": "Obtain information about a chat folder deep link ».", "description": "Obtain information about a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "chatlists.checkChatlistInvite", "x-tl-id": "1103171583", "x-tl-result": "chatlists.ChatlistInvite", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto Result · `chatlists.ChatlistInvite`.\n\n[chatlists.ChatlistInvite](https://core.telegram.org/type/chatlists.ChatlistInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "chatlists.ChatlistInvite", "oneOf": [{"$ref": "#/components/schemas/chatlists.chatlistInviteAlready"}, {"$ref": "#/components/schemas/chatlists.chatlistInvite"}], "description": "TL type: chatlists.ChatlistInvite."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `INVITE_SLUG_EMPTY` – Der angegebene Einladungs-Slug ist leer.\n- 400 · `INVITE_SLUG_EXPIRED` – Der angegebene Chat-Ordner-Link ist abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.checkChatlistInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "`slug` obtained from the [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links)"}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | `slug` obtained from the [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links) |"}, "x-telegram-rpc-errors": ["INVITE_SLUG_EMPTY", "INVITE_SLUG_EXPIRED"], "x-browser-schema-id": "1103171583"}}, "/catalog/chatlists.joinChatlistInvite": {"post": {"operationId": "chatlists.joinChatlistInvite", "tags": ["Chat-Ordner"], "summary": "Import a chat folder deep link », joining some or all the chats in the folder.", "description": "Import a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links), joining some or all the chats in the folder.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Dialogordner](https://core.telegram.org/api/folders.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "chatlists.joinChatlistInvite", "x-tl-id": "2796675994", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Dialog folders", "https://core.telegram.org/api/folders.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` – Du bist zu vielen Kanälen/Supergruppen beigetreten.\n- 400 · `CHATLISTS_TOO_MUCH` – Sie haben zu viele Ordnerverknüpfungen erstellt und erreichen die `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [Grenzwerte »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default).\n- 400 · `FILTER_INCLUDE_EMPTY` – Der include_peers-Vektor des Filters ist leer.\n- 400 · `INVITE_SLUG_EMPTY` – Der angegebene Einladungs-Slug ist leer.\n- 400 · `INVITE_SLUG_EXPIRED` – Der angegebene Chat-Ordner-Link ist abgelaufen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.joinChatlistInvite"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slug": {"type": "string", "x-tl-type": "string", "description": "`slug` obtained from a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links)."}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "List of new chats to join, fetched using [chatlists.checkChatlistInvite](https://core.telegram.org/method/chatlists.checkChatlistInvite.md) and filtered as specified in the [documentation »](https://core.telegram.org/api/folders.md#shared-folders)."}}, "additionalProperties": false, "required": ["slug", "peers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slug` | `string` | Ja | `slug` obtained from a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links). |\n| `peers` | `Vector<InputPeer>` | Ja | List of new chats to join, fetched using [chatlists.checkChatlistInvite](https://core.telegram.org/method/chatlists.checkChatlistInvite.md) and filtered as specified in the [documentation »](https://core.telegram.org/api/folders.md#shared-folders). |"}, "x-telegram-rpc-errors": ["CHANNELS_TOO_MUCH", "CHATLISTS_TOO_MUCH", "FILTER_INCLUDE_EMPTY", "INVITE_SLUG_EMPTY", "INVITE_SLUG_EXPIRED"], "x-browser-schema-id": "2796675994"}}, "/catalog/chatlists.getChatlistUpdates": {"post": {"operationId": "chatlists.getChatlistUpdates", "tags": ["Chat-Ordner"], "summary": "Fetch new chats associated with an imported chat folder deep link ». Must be invoked at most every `chatlist_update_period` seconds (as per the related client configuration parameter »).", "description": "Fetch new chats associated with an imported [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links). Must be invoked at most every `chatlist_update_period` seconds (as per the related [client configuration parameter »](https://core.telegram.org/api/config.md#chatlist-update-period)).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "chatlists.getChatlistUpdates", "x-tl-id": "2302776609", "x-tl-result": "chatlists.ChatlistUpdates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `chatlists.ChatlistUpdates`.\n\n[chatlists.ChatlistUpdates](https://core.telegram.org/type/chatlists.ChatlistUpdates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "chatlists.ChatlistUpdates", "oneOf": [{"$ref": "#/components/schemas/chatlists.chatlistUpdates"}], "description": "TL type: chatlists.ChatlistUpdates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig.\n- 400 · `FILTER_NOT_SUPPORTED` – Der angegebene Filter kann in diesem Kontext nicht verwendet werden.\n- 400 · `INPUT_CHATLIST_INVALID` – Der angegebene Ordner ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.getChatlistUpdates"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chatlist": {"type": "object", "x-tl-type": "InputChatlist", "oneOf": [{"$ref": "#/components/schemas/inputChatlistDialogFilter"}], "description": "The folder"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Ja | The folder |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED", "INPUT_CHATLIST_INVALID"], "x-browser-schema-id": "2302776609"}}, "/catalog/chatlists.joinChatlistUpdates": {"post": {"operationId": "chatlists.joinChatlistUpdates", "tags": ["Chat-Ordner"], "summary": "Join channels and supergroups recently added to a chat folder deep link ».", "description": "Join channels and supergroups recently added to a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Dialogordner](https://core.telegram.org/api/folders.md)\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "chatlists.joinChatlistUpdates", "x-tl-id": "3767138549", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Dialog folders", "https://core.telegram.org/api/folders.md"], ["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig.\n- 400 · `FILTER_INCLUDE_EMPTY` – Der include_peers-Vektor des Filters ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.joinChatlistUpdates"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chatlist": {"type": "object", "x-tl-type": "InputChatlist", "oneOf": [{"$ref": "#/components/schemas/inputChatlistDialogFilter"}], "description": "The folder"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "List of new chats to join, fetched using [chatlists.getChatlistUpdates](https://core.telegram.org/method/chatlists.getChatlistUpdates.md) and filtered as specified in the [documentation »](https://core.telegram.org/api/folders.md#shared-folders)."}}, "additionalProperties": false, "required": ["chatlist", "peers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Ja | The folder |\n| `peers` | `Vector<InputPeer>` | Ja | List of new chats to join, fetched using [chatlists.getChatlistUpdates](https://core.telegram.org/method/chatlists.getChatlistUpdates.md) and filtered as specified in the [documentation »](https://core.telegram.org/api/folders.md#shared-folders). |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID", "FILTER_INCLUDE_EMPTY"], "x-browser-schema-id": "3767138549"}}, "/catalog/chatlists.hideChatlistUpdates": {"post": {"operationId": "chatlists.hideChatlistUpdates", "tags": ["Chat-Ordner"], "summary": "Dismiss new pending peers recently added to a chat folder deep link ».", "description": "Dismiss new pending peers recently added to a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "chatlists.hideChatlistUpdates", "x-tl-id": "1726252795", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig.\n- 400 · `FILTER_NOT_SUPPORTED` – Der angegebene Filter kann in diesem Kontext nicht verwendet werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.hideChatlistUpdates"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chatlist": {"type": "object", "x-tl-type": "InputChatlist", "oneOf": [{"$ref": "#/components/schemas/inputChatlistDialogFilter"}], "description": "The folder"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Ja | The folder |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED"], "x-browser-schema-id": "1726252795"}}, "/catalog/chatlists.getLeaveChatlistSuggestions": {"post": {"operationId": "chatlists.getLeaveChatlistSuggestions", "tags": ["Chat-Ordner"], "summary": "Returns identifiers of pinned or always included chats from a chat folder imported using a chat folder deep link », which are suggested to be left when the chat folder is deleted.", "description": "Returns identifiers of pinned or always included chats from a chat folder imported using a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links), which are suggested to be left when the chat folder is deleted.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "chatlists.getLeaveChatlistSuggestions", "x-tl-id": "4257011476", "x-tl-result": "Vector<Peer>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `Vector<Peer>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[Peer](https://core.telegram.org/type/Peer.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "oneOf": [{"$ref": "#/components/schemas/peerUser"}, {"$ref": "#/components/schemas/peerChat"}, {"$ref": "#/components/schemas/peerChannel"}], "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig.\n- 400 · `FILTER_NOT_SUPPORTED` – Der angegebene Filter kann in diesem Kontext nicht verwendet werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.getLeaveChatlistSuggestions"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chatlist": {"type": "object", "x-tl-type": "InputChatlist", "oneOf": [{"$ref": "#/components/schemas/inputChatlistDialogFilter"}], "description": "Ordner-ID"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Ja | Ordner-ID |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED"], "x-browser-schema-id": "4257011476"}}, "/catalog/chatlists.leaveChatlist": {"post": {"operationId": "chatlists.leaveChatlist", "tags": ["Chat-Ordner"], "summary": "Delete a folder imported using a chat folder deep link »", "description": "Delete a folder imported using a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "chatlists.leaveChatlist", "x-tl-id": "1962598714", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `FILTER_ID_INVALID` – Die angegebene Filter-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/chatlists.leaveChatlist"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"chatlist": {"type": "object", "x-tl-type": "InputChatlist", "oneOf": [{"$ref": "#/components/schemas/inputChatlistDialogFilter"}], "description": "Ordner-ID"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Verlassen Sie auch die angegebenen Kanäle und Gruppen"}}, "additionalProperties": false, "required": ["chatlist", "peers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | Ja | Ordner-ID |\n| `peers` | `Vector<InputPeer>` | Ja | Verlassen Sie auch die angegebenen Kanäle und Gruppen |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID"], "x-browser-schema-id": "1962598714"}}, "/catalog/stories.canSendStory": {"post": {"operationId": "stories.canSendStory", "tags": ["Stories"], "summary": "Überprüfen Sie, ob wir als angegebener Peer Geschichten veröffentlichen können.", "description": "Überprüfen Sie, ob wir als angegebener Peer Geschichten veröffentlichen können.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanal- und Supergruppen-Boosts](https://core.telegram.org/api/boost.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)", "x-tl-method": "stories.canSendStory", "x-tl-id": "820732912", "x-tl-result": "stories.CanSendStoryCount", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel and supergroup boosts", "https://core.telegram.org/api/boost.md"], ["Client configuration", "https://core.telegram.org/api/config.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"]], "responses": {"200": {"description": "MTProto result · `stories.CanSendStoryCount`.\n\n[stories.CanSendStoryCount](https://core.telegram.org/type/stories.CanSendStoryCount.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.CanSendStoryCount", "oneOf": [{"$ref": "#/components/schemas/stories.canSendStoryCount"}], "description": "Type TL: stories.CanSendStoryCount."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOOSTS_REQUIRED` – Der angegebene Kanal muss zuerst [von seinen Benutzern geboostet werden](https://core.telegram.org/api/boost.md), um diese Aktion auszuführen.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PREMIUM_ACCOUNT_REQUIRED` — Zum Ausführen dieser Aktion ist ein Premium-Konto erforderlich.\n- 400 · `STORIES_TOO_MUCH` – Sie haben die maximale Anzahl aktiver Storys erreicht, die in den [`story_expiring_limit_*` Client-Konfigurationsparametern](https://core.telegram.org/api/config.md#story-expiring-limit-default) festgelegt ist: Sie sollten ein [Premium](https://core.telegram.org/api/premium.md)-Abonnement kaufen, eine aktive Story löschen oder warten, bis die älteste Story abläuft.\n- 400 · `STORY_SEND_FLOOD_MONTHLY_%d` – Sie haben das monatliche Story-Limit erreicht, das in den [`stories_sent_monthly_limit_*` Client-Konfigurationsparametern](https://core.telegram.org/api/config.md#stories-sent-monthly-limit-default) festgelegt ist: Warten Sie %d Sekunden, bevor Sie eine neue Story veröffentlichen.\n- 400 · `STORY_SEND_FLOOD_WEEKLY_%d` – Sie haben das wöchentliche Story-Limit erreicht, das in den [`stories_sent_weekly_limit_*` Client-Konfigurationsparametern](https://core.telegram.org/api/config.md#stories-sent-weekly-limit-default) festgelegt ist: Warten Sie %d Sekunden, bevor Sie eine neue Story veröffentlichen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.canSendStory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer from which we wish to post stories."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer from which we wish to post stories. |"}, "x-telegram-rpc-errors": ["BOOSTS_REQUIRED", "CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID", "PREMIUM_ACCOUNT_REQUIRED", "STORIES_TOO_MUCH", "STORY_SEND_FLOOD_MONTHLY_%d", "STORY_SEND_FLOOD_WEEKLY_%d"], "x-browser-schema-id": "820732912"}}, "/catalog/stories.sendStory": {"post": {"operationId": "stories.sendStory", "tags": ["Stories"], "summary": "Uploads a Telegram Story.", "description": "Uploads a [Telegram Story](https://core.telegram.org/api/stories.md).\n\nMay also be used in a [business connection](https://core.telegram.org/api/bots/connected-business-bots.md), *not* by wrapping the query in [invokeWithBusinessConnection »](https://core.telegram.org/method/invokeWithBusinessConnection.md), but rather by specifying the ID of a controlled business user in `peer`.\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Datenschutzeinstellungen](https://core.telegram.org/api/privacy.md)\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Kanal- und Supergruppen-Boosts](https://core.telegram.org/api/boost.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)", "x-tl-method": "stories.sendStory", "x-tl-id": "2409523352", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"], ["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["Client configuration", "https://core.telegram.org/api/config.md"], ["Privacy settings", "https://core.telegram.org/api/privacy.md"], ["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Channel and supergroup boosts", "https://core.telegram.org/api/boost.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOOSTS_REQUIRED` – Der angegebene Kanal muss zuerst [von seinen Benutzern geboostet werden](https://core.telegram.org/api/boost.md), um diese Aktion auszuführen.\n- 403 · `BOT_ACCESS_FORBIDDEN` – Die angegebene Methode *kann* für einige Vorgänge über eine [Geschäftsverbindung](https://core.telegram.org/api/bots/connected-business-bots.md)] verwendet werden, aber die angegebene Abfrage hat einen Vorgang versucht, der über eine Geschäftsverbindung nicht zulässig ist.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `IMAGE_PROCESS_FAILED` – Fehler bei der Bildverarbeitung.\n- 400 · `MEDIA_CAPTION_TOO_LONG` – Die Beschriftung ist zu lang.\n- 400 · `MEDIA_EMPTY` – Das bereitgestellte Medienobjekt ist ungültig.\n- 400 · `MEDIA_FILE_INVALID` – Die angegebene Mediendatei ist ungültig.\n- 400 · `MEDIA_TYPE_INVALID` – Der angegebene Medientyp kann nicht in Storys verwendet werden.\n- 400 · `MEDIA_VIDEO_STORY_MISSING` – Ein Nicht-Story-Video kann nicht als Story erneut veröffentlicht werden (wird ausgegeben, wenn versucht wird, ein Nicht-Story-Video mithilfe von inputDocument erneut als Story zu senden).\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `PHOTO_INVALID_DIMENSIONS` – Die Fotoabmessungen sind ungültig.\n- 400 · `PREMIUM_ACCOUNT_REQUIRED` — Zum Ausführen dieser Aktion ist ein Premium-Konto erforderlich.\n- 400 · `REACTION_INVALID` — Die angegebene Reaktion ist ungültig.\n- 400 · `STORIES_TOO_MUCH` – Sie haben die maximale Anzahl aktiver Storys erreicht, die in den [`story_expiring_limit_*` Client-Konfigurationsparametern](https://core.telegram.org/api/config.md#story-expiring-limit-default) festgelegt ist: Sie sollten ein [Premium](https://core.telegram.org/api/premium.md)-Abonnement kaufen, eine aktive Story löschen oder warten, bis die älteste Story abläuft.\n- 400 · `STORY_PERIOD_INVALID` — Der angegebene Story-Zeitraum ist für dieses Konto ungültig.\n- 400 · `VENUE_ID_INVALID` – Die angegebene Veranstaltungsort-ID ist ungültig.\n- 400 · `VIDEO_DURATION_INVALID` – Die Dauer des angegebenen Videos ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.sendStory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether to add the story to the profile automatically upon expiration. If not set, the story will only be added to the archive, see [here »](https://core.telegram.org/api/stories.md) for more info."}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "If set, disables forwards, screenshots, and downloads."}, "fwd_modified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Set this flag when reposting stories with `fwd_from_id`+`fwd_from_story`, if the `media` was modified before reposting."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer to send the story as."}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "The story media."}, "media_areas": {"type": "array", "items": {"type": "object", "x-tl-type": "MediaArea", "oneOf": [{"$ref": "#/components/schemas/mediaAreaVenue"}, {"$ref": "#/components/schemas/inputMediaAreaVenue"}, {"$ref": "#/components/schemas/mediaAreaGeoPoint"}, {"$ref": "#/components/schemas/mediaAreaSuggestedReaction"}, {"$ref": "#/components/schemas/mediaAreaChannelPost"}, {"$ref": "#/components/schemas/inputMediaAreaChannelPost"}, {"$ref": "#/components/schemas/mediaAreaUrl"}, {"$ref": "#/components/schemas/mediaAreaWeather"}, {"$ref": "#/components/schemas/mediaAreaStarGift"}], "description": "TL Type: MediaArea."}, "x-tl-type": "Vector<MediaArea>", "x-tl-flag": "flags.5?Vector<MediaArea>", "description": "[Media areas](https://core.telegram.org/api/stories.md#media-areas) associated to the story, see [here »](https://core.telegram.org/api/stories.md#media-areas) for more info."}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Story caption."}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "[Message entities for styled text](https://core.telegram.org/api/entities.md), if allowed by the [`stories_entities` client configuration parameter »](https://core.telegram.org/api/config.md#stories-entities)."}, "privacy_rules": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPrivacyRule", "oneOf": [{"$ref": "#/components/schemas/inputPrivacyValueAllowContacts"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowAll"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowUsers"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowContacts"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowAll"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowUsers"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowChatParticipants"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowChatParticipants"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowCloseFriends"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowPremium"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowBots"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowBots"}], "description": "TL Type: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "description": "[Privacy rules](https://core.telegram.org/api/privacy.md) for the story, indicating who can or can't view the story."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Unique client message ID required to prevent message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int", "description": "Period after which the story is moved to archive (and to the profile if `pinned` is set), in seconds; must be one of `6 * 3600`, `12 * 3600`, `86400`, or `2 * 86400` for Telegram Premium users, and `86400` otherwise."}, "fwd_from_id": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, indicates that this story is a repost of story with ID `fwd_from_story` posted by the peer in `fwd_from_id`.", "x-tl-flag": "flags.6?InputPeer"}, "fwd_from_story": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.6?int", "description": "If set, indicates that this story is a repost of story with ID `fwd_from_story` posted by the peer in `fwd_from_id`."}, "albums": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.8?Vector<int>", "description": "If set, adds the story to the specified albums."}, "music": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "If set, the audio track to play as background music for the story.", "x-tl-flag": "flags.9?InputDocument"}}, "additionalProperties": false, "required": ["peer", "media", "privacy_rules", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `pinned` | `true` | Nein | Whether to add the story to the profile automatically upon expiration. If not set, the story will only be added to the archive, see [here »](https://core.telegram.org/api/stories.md) for more info. |\n| `noforwards` | `true` | Nein | If set, disables forwards, screenshots, and downloads. |\n| `fwd_modified` | `true` | Nein | Set this flag when reposting stories with `fwd_from_id`+`fwd_from_story`, if the `media` was modified before reposting. |\n| `peer` | `InputPeer` | Ja | The peer to send the story as. |\n| `media` | `InputMedia` | Ja | The story media. |\n| `media_areas` | `Vector<MediaArea>` | Nein | [Media areas](https://core.telegram.org/api/stories.md#media-areas) associated to the story, see [here »](https://core.telegram.org/api/stories.md#media-areas) for more info. |\n| `caption` | `string` | Nein | Story caption. |\n| `entities` | `Vector<MessageEntity>` | Nein | [Message entities for styled text](https://core.telegram.org/api/entities.md), if allowed by the [`stories_entities` client configuration parameter »](https://core.telegram.org/api/config.md#stories-entities). |\n| `privacy_rules` | `Vector<InputPrivacyRule>` | Ja | [Privacy rules](https://core.telegram.org/api/privacy.md) for the story, indicating who can or can't view the story. |\n| `random_id` | `long` | Ja | Unique client message ID required to prevent message resending. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `period` | `int` | Nein | Period after which the story is moved to archive (and to the profile if `pinned` is set), in seconds; must be one of `6 * 3600`, `12 * 3600`, `86400`, or `2 * 86400` for Telegram Premium users, and `86400` otherwise. |\n| `fwd_from_id` | `InputPeer` | Nein | If set, indicates that this story is a repost of story with ID `fwd_from_story` posted by the peer in `fwd_from_id`. |\n| `fwd_from_story` | `int` | Nein | If set, indicates that this story is a repost of story with ID `fwd_from_story` posted by the peer in `fwd_from_id`. |\n| `albums` | `Vector<int>` | Nein | If set, adds the story to the specified albums. |\n| `music` | `InputDocument` | Nein | If set, the audio track to play as background music for the story. |"}, "x-telegram-rpc-errors": ["BOOSTS_REQUIRED", "BOT_ACCESS_FORBIDDEN", "CHANNEL_INVALID", "CHAT_ADMIN_REQUIRED", "IMAGE_PROCESS_FAILED", "MEDIA_CAPTION_TOO_LONG", "MEDIA_EMPTY", "MEDIA_FILE_INVALID", "MEDIA_TYPE_INVALID", "MEDIA_VIDEO_STORY_MISSING", "PEER_ID_INVALID", "PHOTO_INVALID_DIMENSIONS", "PREMIUM_ACCOUNT_REQUIRED", "REACTION_INVALID", "STORIES_TOO_MUCH", "STORY_PERIOD_INVALID", "VENUE_ID_INVALID", "VIDEO_DURATION_INVALID"], "x-browser-schema-id": "2409523352"}}, "/catalog/stories.editStory": {"post": {"operationId": "stories.editStory", "tags": ["Stories"], "summary": "Edit an uploaded story", "description": "Edit an uploaded [story](https://core.telegram.org/api/stories.md)\n\nMay also be used in a [business connection](https://core.telegram.org/api/bots/connected-business-bots.md), *not* by wrapping the query in [invokeWithBusinessConnection »](https://core.telegram.org/method/invokeWithBusinessConnection.md), but rather by specifying the ID of a controlled business user in `peer`: in this context, the method can only be used to edit stories posted by the same business bot on behalf of the user with [stories.sendStory](https://core.telegram.org/method/stories.sendStory.md).\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Datenschutzeinstellungen](https://core.telegram.org/api/privacy.md)\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)", "x-tl-method": "stories.editStory", "x-tl-id": "744728363", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"], ["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["Client configuration", "https://core.telegram.org/api/config.md"], ["Privacy settings", "https://core.telegram.org/api/privacy.md"], ["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORY_NOT_MODIFIED` — Die neuen Story-Informationen, die Sie übergeben haben, stimmen mit den vorherigen Story-Informationen überein und wurden daher nicht geändert."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.editStory"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the story was posted."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of story to edit."}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "If specified, replaces the story media.", "x-tl-flag": "flags.0?InputMedia"}, "media_areas": {"type": "array", "items": {"type": "object", "x-tl-type": "MediaArea", "oneOf": [{"$ref": "#/components/schemas/mediaAreaVenue"}, {"$ref": "#/components/schemas/inputMediaAreaVenue"}, {"$ref": "#/components/schemas/mediaAreaGeoPoint"}, {"$ref": "#/components/schemas/mediaAreaSuggestedReaction"}, {"$ref": "#/components/schemas/mediaAreaChannelPost"}, {"$ref": "#/components/schemas/inputMediaAreaChannelPost"}, {"$ref": "#/components/schemas/mediaAreaUrl"}, {"$ref": "#/components/schemas/mediaAreaWeather"}, {"$ref": "#/components/schemas/mediaAreaStarGift"}], "description": "TL Type: MediaArea."}, "x-tl-type": "Vector<MediaArea>", "x-tl-flag": "flags.3?Vector<MediaArea>", "description": "[Media areas](https://core.telegram.org/api/stories.md#media-areas) associated to the story, see [here »](https://core.telegram.org/api/stories.md#media-areas) for more info."}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "If specified, replaces the story caption."}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "[Message entities for styled text in the caption](https://core.telegram.org/api/entities.md), if allowed by the [`stories_entities` client configuration parameter »](https://core.telegram.org/api/config.md#stories-entities)."}, "privacy_rules": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPrivacyRule", "oneOf": [{"$ref": "#/components/schemas/inputPrivacyValueAllowContacts"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowAll"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowUsers"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowContacts"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowAll"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowUsers"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowChatParticipants"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowChatParticipants"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowCloseFriends"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowPremium"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowBots"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowBots"}], "description": "TL Type: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "x-tl-flag": "flags.2?Vector<InputPrivacyRule>", "description": "If specified, alters the [privacy settings »](https://core.telegram.org/api/privacy.md) of the story, changing who can or can't view the story."}, "music": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "If set, the new audio track to play as background music for the story.", "x-tl-flag": "flags.4?InputDocument"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the story was posted. |\n| `id` | `int` | Ja | ID of story to edit. |\n| `media` | `InputMedia` | Nein | If specified, replaces the story media. |\n| `media_areas` | `Vector<MediaArea>` | Nein | [Media areas](https://core.telegram.org/api/stories.md#media-areas) associated to the story, see [here »](https://core.telegram.org/api/stories.md#media-areas) for more info. |\n| `caption` | `string` | Nein | If specified, replaces the story caption. |\n| `entities` | `Vector<MessageEntity>` | Nein | [Message entities for styled text in the caption](https://core.telegram.org/api/entities.md), if allowed by the [`stories_entities` client configuration parameter »](https://core.telegram.org/api/config.md#stories-entities). |\n| `privacy_rules` | `Vector<InputPrivacyRule>` | Nein | If specified, alters the [privacy settings »](https://core.telegram.org/api/privacy.md) of the story, changing who can or can't view the story. |\n| `music` | `InputDocument` | Nein | If set, the new audio track to play as background music for the story. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "STORY_NOT_MODIFIED"], "x-browser-schema-id": "744728363"}}, "/catalog/stories.deleteStories": {"post": {"operationId": "stories.deleteStories", "tags": ["Stories"], "summary": "Deletes some posted stories.", "description": "Deletes some posted [stories](https://core.telegram.org/api/stories.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)\n- [Vernetzte Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Telegrammgeschäft](https://core.telegram.org/api/business.md)", "x-tl-method": "stories.deleteStories", "x-tl-id": "2925124447", "x-tl-result": "Vector<int>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"], ["Connected business bots", "https://core.telegram.org/api/bots/connected-business-bots.md"], ["Telegram Business", "https://core.telegram.org/api/business.md"]], "responses": {"200": {"description": "MTProto result · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[int](https://core.telegram.org/type/int.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `BOT_ACCESS_FORBIDDEN` – Die angegebene Methode *kann* für einige Vorgänge über eine [Geschäftsverbindung](https://core.telegram.org/api/bots/connected-business-bots.md)] verwendet werden, aber die angegebene Abfrage hat einen Vorgang versucht, der über eine Geschäftsverbindung nicht zulässig ist.\n- 400 · `BUSINESS_CONNECTION_INVALID` – Die an den Wrapping-Aufruf [invokeWithBusinessConnection](https://core.telegram.org/api/business.md)] übergebene `connection_id` ist ungültig.\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORY_ID_EMPTY` – Sie haben keine Story-IDs angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.deleteStories"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Kanal/Benutzer, von dem aus Storys gelöscht werden sollen."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of stories to delete."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Kanal/Benutzer, von dem aus Storys gelöscht werden sollen. |\n| `id` | `Vector<int>` | Ja | IDs of stories to delete. |"}, "x-telegram-rpc-errors": ["BOT_ACCESS_FORBIDDEN", "BUSINESS_CONNECTION_INVALID", "CHANNEL_INVALID", "PEER_ID_INVALID", "STORY_ID_EMPTY"], "x-browser-schema-id": "2925124447"}}, "/catalog/stories.togglePinned": {"post": {"operationId": "stories.togglePinned", "tags": ["Stories"], "summary": "Pin or unpin one or more stories", "description": "Pin or unpin one or more stories\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "stories.togglePinned", "x-tl-id": "2591400431", "x-tl-result": "Vector<int>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[int](https://core.telegram.org/type/int.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.togglePinned"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where to pin or unpin stories"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of stories to pin or unpin"}, "pinned": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to pin or unpin the stories"}}, "additionalProperties": false, "required": ["peer", "id", "pinned"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where to pin or unpin stories |\n| `id` | `Vector<int>` | Ja | IDs of stories to pin or unpin |\n| `pinned` | `Bool` | Ja | Whether to pin or unpin the stories |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2591400431"}}, "/catalog/stories.getAllStories": {"post": {"operationId": "stories.getAllStories", "tags": ["Stories"], "summary": "Fetch the List of active (or active and hidden) stories, see here » for more info on watching stories.", "description": "Fetch the List of active (or active and hidden) stories, see [here »](https://core.telegram.org/api/stories.md#watching-stories) for more info on watching stories.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getAllStories", "x-tl-id": "4004566565", "x-tl-result": "stories.AllStories", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `stories.AllStories`.\n\n[stories.AllStories](https://core.telegram.org/type/stories.AllStories.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.AllStories", "oneOf": [{"$ref": "#/components/schemas/stories.allStoriesNotModified"}, {"$ref": "#/components/schemas/stories.allStories"}], "description": "Type TL: stories.AllStories."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getAllStories"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"next": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "If `next` and `state` are both set, uses the passed `state` to paginate to the next results; if neither `state` nor `next` are set, fetches the initial page; if `state` is set and `next` is not set, check for changes in the active/hidden peerset, see [here »](https://core.telegram.org/api/stories.md#watching-stories) for more info on the full flow."}, "hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "If set, fetches the hidden active story list, otherwise fetches the active story list, see [here »](https://core.telegram.org/api/stories.md#watching-stories) for more info on the full flow."}, "state": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "If `next` and `state` are both set, uses the passed `state` to paginate to the next results; if neither `state` nor `next` are set, fetches the initial page; if `state` is set and `next` is not set, check for changes in the active/hidden peerset, see [here »](https://core.telegram.org/api/stories.md#watching-stories) for more info on the full flow."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `next` | `true` | Nein | If `next` and `state` are both set, uses the passed `state` to paginate to the next results; if neither `state` nor `next` are set, fetches the initial page; if `state` is set and `next` is not set, check for changes in the active/hidden peerset, see [here »](https://core.telegram.org/api/stories.md#watching-stories) for more info on the full flow. |\n| `hidden` | `true` | Nein | If set, fetches the hidden active story list, otherwise fetches the active story list, see [here »](https://core.telegram.org/api/stories.md#watching-stories) for more info on the full flow. |\n| `state` | `string` | Nein | If `next` and `state` are both set, uses the passed `state` to paginate to the next results; if neither `state` nor `next` are set, fetches the initial page; if `state` is set and `next` is not set, check for changes in the active/hidden peerset, see [here »](https://core.telegram.org/api/stories.md#watching-stories) for more info on the full flow. |"}, "x-browser-schema-id": "4004566565"}}, "/catalog/stories.getPinnedStories": {"post": {"operationId": "stories.getPinnedStories", "tags": ["Stories"], "summary": "Fetch the stories pinned on a peer's profile.", "description": "Fetch the [stories](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) pinned on a peer's profile.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getPinnedStories", "x-tl-id": "1478600156", "x-tl-result": "stories.Stories", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto Result · `stories.Stories`.\n\n[stories.Stories](https://core.telegram.org/type/stories.Stories.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.Stories", "oneOf": [{"$ref": "#/components/schemas/stories.stories"}], "description": "TL Type: stories.Stories."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `USER_ID_INVALID` – Die angegebene Benutzer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getPinnedStories"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer whose pinned stories should be fetched"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer whose pinned stories should be fetched |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "PEER_ID_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "1478600156"}}, "/catalog/stories.getStoriesArchive": {"post": {"operationId": "stories.getStoriesArchive", "tags": ["Stories"], "summary": "Fetch the story archive » of a peer we control.", "description": "Fetch the [story archive »](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) of a peer we control.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getStoriesArchive", "x-tl-id": "3023380502", "x-tl-result": "stories.Stories", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto Result · `stories.Stories`.\n\n[stories.Stories](https://core.telegram.org/type/stories.Stories.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.Stories", "oneOf": [{"$ref": "#/components/schemas/stories.stories"}], "description": "TL Type: stories.Stories."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getStoriesArchive"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer whose archived stories should be fetched"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer whose archived stories should be fetched |\n| `offset_id` | `int` | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID"], "x-browser-schema-id": "3023380502"}}, "/catalog/stories.getStoriesByID": {"post": {"operationId": "stories.getStoriesByID", "tags": ["Stories"], "summary": "Obtain full info about a set of stories by their IDs.", "description": "Obtain full info about a set of [stories](https://core.telegram.org/api/stories.md) by their IDs.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getStoriesByID", "x-tl-id": "1467271796", "x-tl-result": "stories.Stories", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto Result · `stories.Stories`.\n\n[stories.Stories](https://core.telegram.org/type/stories.Stories.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.Stories", "oneOf": [{"$ref": "#/components/schemas/stories.stories"}], "description": "TL Type: stories.Stories."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORIES_NEVER_CREATED` — Dieser Peer hat noch nie Geschichten gepostet.\n- 400 · `STORY_ID_EMPTY` – Sie haben keine Story-IDs angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getStoriesByID"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the stories were posted"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Story IDs"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the stories were posted |\n| `id` | `Vector<int>` | Ja | Story IDs |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "PEER_ID_INVALID", "STORIES_NEVER_CREATED", "STORY_ID_EMPTY"], "x-browser-schema-id": "1467271796"}}, "/catalog/stories.toggleAllStoriesHidden": {"post": {"operationId": "stories.toggleAllStoriesHidden", "tags": ["Stories"], "summary": "Hide the active stories of a specific peer, preventing them from being displayed on the action bar on the homescreen.", "description": "Hide the active stories of a specific peer, preventing them from being displayed on the action bar on the homescreen.", "x-tl-method": "stories.toggleAllStoriesHidden", "x-tl-id": "2082822084", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.toggleAllStoriesHidden"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hidden": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to hide or unhide all active stories of the peer"}}, "additionalProperties": false, "required": ["hidden"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hidden` | `Bool` | Ja | Whether to hide or unhide all active stories of the peer |"}, "x-browser-schema-id": "2082822084"}}, "/catalog/stories.readStories": {"post": {"operationId": "stories.readStories", "tags": ["Stories"], "summary": "Mark all stories up to a certain ID as read, for a given peer; will emit an updateReadStories update to all logged-in sessions.", "description": "Mark all stories up to a certain ID as read, for a given peer; will emit an [updateReadStories](https://core.telegram.org/constructor/updateReadStories.md) update to all logged-in sessions.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "stories.readStories", "x-tl-id": "2773932744", "x-tl-result": "Vector<int>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[int](https://core.telegram.org/type/int.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `MAX_ID_INVALID` – Die angegebene maximale ID ist ungültig.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORIES_NEVER_CREATED` — Dieser Peer hat noch nie Geschichten gepostet."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.readStories"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer whose stories should be marked as read."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Mark all stories up to and including this ID as read"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer whose stories should be marked as read. |\n| `max_id` | `int` | Ja | Mark all stories up to and including this ID as read |"}, "x-telegram-rpc-errors": ["MAX_ID_INVALID", "PEER_ID_INVALID", "STORIES_NEVER_CREATED"], "x-browser-schema-id": "2773932744"}}, "/catalog/stories.incrementStoryViews": {"post": {"operationId": "stories.incrementStoryViews", "tags": ["Stories"], "summary": "Increment the view counter of one or more stories.", "description": "Increment the view counter of one or more stories.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "stories.incrementStoryViews", "x-tl-id": "2986511099", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORY_ID_EMPTY` – Sie haben keine Story-IDs angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.incrementStoryViews"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the stories were posted."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of the stories (maximum 200 at a time)."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the stories were posted. |\n| `id` | `Vector<int>` | Ja | IDs of the stories (maximum 200 at a time). |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "STORY_ID_EMPTY"], "x-browser-schema-id": "2986511099"}}, "/catalog/stories.getStoryViewsList": {"post": {"operationId": "stories.getStoryViewsList", "tags": ["Stories"], "summary": "Obtain the list of users that have viewed a specific story we posted", "description": "Obtain the list of users that have viewed a specific [story we posted](https://core.telegram.org/api/stories.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kontaktliste](https://core.telegram.org/api/contacts.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getStoryViewsList", "x-tl-id": "2127707223", "x-tl-result": "stories.StoryViewsList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Contact list", "https://core.telegram.org/api/contacts.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `stories.StoryViewsList`.\n\n[stories.StoryViewsList](https://core.telegram.org/type/stories.StoryViewsList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.StoryViewsList", "oneOf": [{"$ref": "#/components/schemas/stories.storyViewsList"}], "description": "TL Type: stories.StoryViewsList."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORY_ID_INVALID` – Die angegebene Story-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getStoryViewsList"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"just_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to only fetch view reaction/views made by our [contacts](https://core.telegram.org/api/contacts.md)"}, "reactions_first": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether to return [storyView](https://core.telegram.org/constructor/storyView.md) info about users that reacted to the story (i.e. if set, the server will first sort results by view date as usual, and then also additionally sort the list by putting [storyView](https://core.telegram.org/constructor/storyView.md)s with an associated reaction first in the list). Ignored if `forwards_first` is set."}, "forwards_first": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "If set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Schauen Sie nach, wo die Geschichte gepostet wurde"}, "q": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Search for specific peers"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Story-ID"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for pagination, obtained from [stories.storyViewsList](https://core.telegram.org/constructor/stories.storyViewsList.md).`next_offset`"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `just_contacts` | `true` | Nein | Whether to only fetch view reaction/views made by our [contacts](https://core.telegram.org/api/contacts.md) |\n| `reactions_first` | `true` | Nein | Whether to return [storyView](https://core.telegram.org/constructor/storyView.md) info about users that reacted to the story (i.e. if set, the server will first sort results by view date as usual, and then also additionally sort the list by putting [storyView](https://core.telegram.org/constructor/storyView.md)s with an associated reaction first in the list). Ignored if `forwards_first` is set. |\n| `forwards_first` | `true` | Nein | If set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date. |\n| `peer` | `InputPeer` | Ja | Schauen Sie nach, wo die Geschichte gepostet wurde |\n| `q` | `string` | Nein | Search for specific peers |\n| `id` | `int` | Ja | Story-ID |\n| `offset` | `string` | Ja | Offset for pagination, obtained from [stories.storyViewsList](https://core.telegram.org/constructor/stories.storyViewsList.md).`next_offset` |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "STORY_ID_INVALID"], "x-browser-schema-id": "2127707223"}}, "/catalog/stories.getStoriesViews": {"post": {"operationId": "stories.getStoriesViews", "tags": ["Stories"], "summary": "Obtain info about the view count, forward count, reactions and recent viewers of one or more stories.", "description": "Obtain info about the view count, forward count, reactions and recent viewers of one or more [stories](https://core.telegram.org/api/stories.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getStoriesViews", "x-tl-id": "685862088", "x-tl-result": "stories.StoryViews", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `stories.StoryViews`.\n\n[stories.StoryViews](https://core.telegram.org/type/stories.StoryViews.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.StoryViews", "oneOf": [{"$ref": "#/components/schemas/stories.storyViews"}], "description": "Type TL: stories.StoryViews."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORY_ID_EMPTY` – Sie haben keine Story-IDs angegeben."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getStoriesViews"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer whose stories should be fetched"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Story IDs"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer whose stories should be fetched |\n| `id` | `Vector<int>` | Ja | Story IDs |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "PEER_ID_INVALID", "STORY_ID_EMPTY"], "x-browser-schema-id": "685862088"}}, "/catalog/stories.exportStoryLink": {"post": {"operationId": "stories.exportStoryLink", "tags": ["Stories"], "summary": "Generate a story deep link for a specific story", "description": "Generate a [story deep link](https://core.telegram.org/api/links.md#story-links) for a specific story\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Deep-Links](https://core.telegram.org/api/links.md)", "x-tl-method": "stories.exportStoryLink", "x-tl-id": "2072899360", "x-tl-result": "ExportedStoryLink", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Deep links", "https://core.telegram.org/api/links.md"]], "responses": {"200": {"description": "MTProto result · `ExportedStoryLink`.\n\n[ExportedStoryLink](https://core.telegram.org/type/ExportedStoryLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedStoryLink", "oneOf": [{"$ref": "#/components/schemas/exportedStoryLink"}], "description": "TL Type: ExportedStoryLink."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORY_ID_EMPTY` – Sie haben keine Story-IDs angegeben.\n- 400 · `USER_PUBLIC_MISSING` – Es kann kein Link zu Geschichten generiert werden, die von einem Peer ohne Benutzernamen gepostet wurden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.exportStoryLink"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Schauen Sie nach, wo die Geschichte gepostet wurde"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Story-ID"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Schauen Sie nach, wo die Geschichte gepostet wurde |\n| `id` | `int` | Ja | Story-ID |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "STORY_ID_EMPTY", "USER_PUBLIC_MISSING"], "x-browser-schema-id": "2072899360"}}, "/catalog/stories.report": {"post": {"operationId": "stories.report", "tags": ["Stories"], "summary": "Report a story.", "description": "Report a story.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "stories.report", "x-tl-id": "433646405", "x-tl-result": "ReportResult", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `ReportResult`.\n\n[ReportResult](https://core.telegram.org/type/ReportResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ReportResult", "oneOf": [{"$ref": "#/components/schemas/reportResultChooseOption"}, {"$ref": "#/components/schemas/reportResultAddComment"}, {"$ref": "#/components/schemas/reportResultReported"}], "description": "TL Type: ReportResult."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.report"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer that uploaded the story."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of the stories to report."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Menu option, intially empty"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comment for report moderation"}}, "additionalProperties": false, "required": ["peer", "id", "option", "message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer that uploaded the story. |\n| `id` | `Vector<int>` | Ja | IDs of the stories to report. |\n| `option` | `bytes` | Ja | Menu option, intially empty |\n| `message` | `string` | Ja | Comment for report moderation |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "433646405"}}, "/catalog/stories.activateStealthMode": {"post": {"operationId": "stories.activateStealthMode", "tags": ["Stories"], "summary": "Activates stories stealth mode, see here » for more info.", "description": "Activates [stories stealth mode](https://core.telegram.org/api/stories.md#stealth-mode), see [here »](https://core.telegram.org/api/stories.md#stealth-mode) for more info.\n\nWill return an [updateStoriesStealthMode](https://core.telegram.org/constructor/updateStoriesStealthMode.md).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.activateStealthMode", "x-tl-id": "1471926630", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PREMIUM_ACCOUNT_REQUIRED` — Zum Ausführen dieser Aktion ist ein Premium-Konto erforderlich."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.activateStealthMode"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"past": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to erase views from any stories opened in the past [`stories_stealth_past_period` seconds »](https://core.telegram.org/api/config.md#stories-stealth-past-period), as specified by the [client configuration](https://core.telegram.org/api/config.md#client-configuration)."}, "future": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Whether to hide future story views for the next [`stories_stealth_future_period` seconds »](https://core.telegram.org/api/config.md#stories-stealth-future-period), as specified by the [client configuration](https://core.telegram.org/api/config.md#client-configuration)."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `past` | `true` | Nein | Whether to erase views from any stories opened in the past [`stories_stealth_past_period` seconds »](https://core.telegram.org/api/config.md#stories-stealth-past-period), as specified by the [client configuration](https://core.telegram.org/api/config.md#client-configuration). |\n| `future` | `true` | Nein | Whether to hide future story views for the next [`stories_stealth_future_period` seconds »](https://core.telegram.org/api/config.md#stories-stealth-future-period), as specified by the [client configuration](https://core.telegram.org/api/config.md#client-configuration). |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1471926630"}}, "/catalog/stories.sendReaction": {"post": {"operationId": "stories.sendReaction", "tags": ["Stories"], "summary": "React to a story.", "description": "React to a story.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "stories.sendReaction", "x-tl-id": "2144810674", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `REACTION_INVALID` — Die angegebene Reaktion ist ungültig.\n- 400 · `STORIES_NEVER_CREATED` — Dieser Peer hat noch nie Geschichten gepostet.\n- 400 · `STORY_ID_EMPTY` – Sie haben keine Story-IDs angegeben.\n- 400 · `STORY_ID_INVALID` – Die angegebene Story-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.sendReaction"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"add_to_recent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to add this reaction to the [recent reactions list »](https://core.telegram.org/api/reactions.md#recent-reactions)."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer that sent the story"}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the story to react to"}, "reaction": {"type": "object", "x-tl-type": "Reaction", "oneOf": [{"$ref": "#/components/schemas/reactionEmpty"}, {"$ref": "#/components/schemas/reactionEmoji"}, {"$ref": "#/components/schemas/reactionCustomEmoji"}, {"$ref": "#/components/schemas/reactionPaid"}], "description": "Reaction"}}, "additionalProperties": false, "required": ["peer", "story_id", "reaction"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `add_to_recent` | `true` | Nein | Whether to add this reaction to the [recent reactions list »](https://core.telegram.org/api/reactions.md#recent-reactions). |\n| `peer` | `InputPeer` | Ja | The peer that sent the story |\n| `story_id` | `int` | Ja | ID of the story to react to |\n| `reaction` | `Reaction` | Ja | Reaction |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "REACTION_INVALID", "STORIES_NEVER_CREATED", "STORY_ID_EMPTY", "STORY_ID_INVALID"], "x-browser-schema-id": "2144810674"}}, "/catalog/stories.getPeerStories": {"post": {"operationId": "stories.getPeerStories", "tags": ["Stories"], "summary": "Fetch the full active story list of a specific peer.", "description": "Fetch the full active [story list](https://core.telegram.org/api/stories.md#watching-stories) of a specific peer.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getPeerStories", "x-tl-id": "743103056", "x-tl-result": "stories.PeerStories", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `stories.PeerStories`.\n\n[stories.PeerStories](https://core.telegram.org/type/stories.PeerStories.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.PeerStories", "oneOf": [{"$ref": "#/components/schemas/stories.peerStories"}], "description": "TL Type: stories.PeerStories."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `MSG_ID_INVALID` – Ungültige Nachrichten-ID angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getPeerStories"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer whose stories should be fetched"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer whose stories should be fetched |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "743103056"}}, "/catalog/stories.getAllReadPeerStories": {"post": {"operationId": "stories.getAllReadPeerStories", "tags": ["Stories"], "summary": "Obtain the latest read story ID for all peers when first logging in, returned as a list of updateReadStories updates, see here » for more info.", "description": "Obtain the latest read story ID for all peers when first logging in, returned as a list of [updateReadStories](https://core.telegram.org/constructor/updateReadStories.md) updates, see [here »](https://core.telegram.org/api/stories.md#watching-stories) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getAllReadPeerStories", "x-tl-id": "2606426105", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getAllReadPeerStories"}, "x-browser-schema-id": "2606426105"}}, "/catalog/stories.getPeerMaxIDs": {"post": {"operationId": "stories.getPeerMaxIDs", "tags": ["Stories"], "summary": "Get compact active story summaries » for a set of peers.", "description": "Get compact [active story summaries »](https://core.telegram.org/api/stories.md#recent-story-summaries) for a set of peers.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getPeerMaxIDs", "x-tl-id": "2018087280", "x-tl-result": "Vector<RecentStory>", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `Vector<RecentStory>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)&lt;[RecentStory](https://core.telegram.org/type/RecentStory.md)&gt;", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "RecentStory", "oneOf": [{"$ref": "#/components/schemas/recentStory"}], "description": "TL Type: RecentStory."}, "x-tl-type": "Vector<RecentStory>"}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getPeerMaxIDs"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Peers whose [active story summaries »](https://core.telegram.org/api/stories.md#recent-story-summaries) should be fetched."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputPeer>` | Ja | Peers whose [active story summaries »](https://core.telegram.org/api/stories.md#recent-story-summaries) should be fetched. |"}, "x-browser-schema-id": "2018087280"}}, "/catalog/stories.getChatsToSend": {"post": {"operationId": "stories.getChatsToSend", "tags": ["Stories"], "summary": "Obtain a list of channels where the user can post stories", "description": "Obtain a list of channels where the user can post [stories](https://core.telegram.org/api/stories.md)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getChatsToSend", "x-tl-id": "2775223136", "x-tl-result": "messages.Chats", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `messages.Chats`.\n\n[messages.Chats](https://core.telegram.org/type/messages.Chats.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Chats", "oneOf": [{"$ref": "#/components/schemas/messages.chats"}, {"$ref": "#/components/schemas/messages.chatsSlice"}], "description": "TL type: messages.Chats."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getChatsToSend"}, "x-browser-schema-id": "2775223136"}}, "/catalog/stories.togglePeerStoriesHidden": {"post": {"operationId": "stories.togglePeerStoriesHidden", "tags": ["Stories"], "summary": "Hide the active stories of a user, preventing them from being displayed on the action bar on the homescreen, see here » for more info.", "description": "Hide the active stories of a user, preventing them from being displayed on the action bar on the homescreen, see [here »](https://core.telegram.org/api/stories.md#hiding-stories-of-other-users) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.togglePeerStoriesHidden", "x-tl-id": "3171161540", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.togglePeerStoriesHidden"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer whose stories should be (un)hidden."}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "description": "Whether to hide or unhide stories."}}, "additionalProperties": false, "required": ["peer", "hidden"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer whose stories should be (un)hidden. |\n| `hidden` | `Bool` | Ja | Whether to hide or unhide stories. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3171161540"}}, "/catalog/stories.getStoryReactionsList": {"post": {"operationId": "stories.getStoryReactionsList", "tags": ["Stories"], "summary": "Get the reaction and interaction list of a story posted to a channel, along with the sender of each reaction.", "description": "Get the [reaction](https://core.telegram.org/api/reactions.md) and interaction list of a [story](https://core.telegram.org/api/stories.md) posted to a channel, along with the sender of each reaction.\n\nCan only be used by channel admins.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "x-tl-method": "stories.getStoryReactionsList", "x-tl-id": "3115485215", "x-tl-result": "stories.StoryReactionsList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Message reactions", "https://core.telegram.org/api/reactions.md"]], "responses": {"200": {"description": "MTProto result · `stories.StoryReactionsList`.\n\n[stories.StoryReactionsList](https://core.telegram.org/type/stories.StoryReactionsList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.StoryReactionsList", "oneOf": [{"$ref": "#/components/schemas/stories.storyReactionsList"}], "description": "TL Type: stories.StoryReactionsList."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getStoryReactionsList"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"forwards_first": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "If set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Kanal"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Story](https://core.telegram.org/api/stories.md) ID"}, "reaction": {"type": "object", "x-tl-type": "Reaction", "oneOf": [{"$ref": "#/components/schemas/reactionEmpty"}, {"$ref": "#/components/schemas/reactionEmoji"}, {"$ref": "#/components/schemas/reactionCustomEmoji"}, {"$ref": "#/components/schemas/reactionPaid"}], "description": "Get only reactions of this type", "x-tl-flag": "flags.0?Reaction"}, "offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Offset for pagination (taken from the `next_offset` field of the returned [stories.StoryReactionsList](https://core.telegram.org/type/stories.StoryReactionsList.md)); empty in the first request."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `forwards_first` | `true` | Nein | If set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date. |\n| `peer` | `InputPeer` | Ja | Kanal |\n| `id` | `int` | Ja | [Story](https://core.telegram.org/api/stories.md) ID |\n| `reaction` | `Reaction` | Nein | Get only reactions of this type |\n| `offset` | `string` | Nein | Offset for pagination (taken from the `next_offset` field of the returned [stories.StoryReactionsList](https://core.telegram.org/type/stories.StoryReactionsList.md)); empty in the first request. |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3115485215"}}, "/catalog/stories.togglePinnedToTop": {"post": {"operationId": "stories.togglePinnedToTop", "tags": ["Stories"], "summary": "Pin some stories to the top of the profile, see here » for more info.", "description": "Pin some stories to the top of the profile, see [here »](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) for more info.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.togglePinnedToTop", "x-tl-id": "187268763", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORY_ID_INVALID` – Die angegebene Story-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.togglePinnedToTop"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where to pin stories."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs of the stories to pin (max [stories_pinned_to_top_count_max](https://core.telegram.org/api/config.md#stories-pinned-to-top-count-max))."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where to pin stories. |\n| `id` | `Vector<int>` | Ja | IDs of the stories to pin (max [stories_pinned_to_top_count_max](https://core.telegram.org/api/config.md#stories-pinned-to-top-count-max)). |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "STORY_ID_INVALID"], "x-browser-schema-id": "187268763"}}, "/catalog/stories.searchPosts": {"post": {"operationId": "stories.searchPosts", "tags": ["Stories"], "summary": "Globally search for stories using a hashtag or a location media area, see here » for more info on the full flow.", "description": "Globally search for [stories](https://core.telegram.org/api/stories.md) using a hashtag or a [location media area](https://core.telegram.org/api/stories.md#location-tags), see [here »](https://core.telegram.org/api/stories.md#searching-stories) for more info on the full flow.\n\nEither `hashtag` **or** `area` **must** be set when invoking the method.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.searchPosts", "x-tl-id": "3514894599", "x-tl-result": "stories.FoundStories", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto Result · `stories.FoundStories`.\n\n[stories.FoundStories](https://core.telegram.org/type/stories.FoundStories.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.FoundStories", "oneOf": [{"$ref": "#/components/schemas/stories.foundStories"}], "description": "TL Type: stories.FoundStories."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `HASHTAG_INVALID` – Der angegebene Hashtag ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.searchPosts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hashtag": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Hashtag (without the `#`)"}, "area": {"type": "object", "x-tl-type": "MediaArea", "oneOf": [{"$ref": "#/components/schemas/mediaAreaVenue"}, {"$ref": "#/components/schemas/inputMediaAreaVenue"}, {"$ref": "#/components/schemas/mediaAreaGeoPoint"}, {"$ref": "#/components/schemas/mediaAreaSuggestedReaction"}, {"$ref": "#/components/schemas/mediaAreaChannelPost"}, {"$ref": "#/components/schemas/inputMediaAreaChannelPost"}, {"$ref": "#/components/schemas/mediaAreaUrl"}, {"$ref": "#/components/schemas/mediaAreaWeather"}, {"$ref": "#/components/schemas/mediaAreaStarGift"}], "description": "Ein [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) oder ein [mediaAreaVenue](https://core.telegram.org/constructor/mediaAreaVenue.md).   Hinweis: [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md)-Gebiete können nur durchsucht werden, wenn ihnen ein `address` zugeordnet ist.", "x-tl-flag": "flags.1?MediaArea"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "If set, returns only stories posted by this peer.", "x-tl-flag": "flags.2?InputPeer"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for [pagination](https://core.telegram.org/api/offsets.md): initially an empty string, then the `next_offset` from the previously returned [stories.foundStories](https://core.telegram.org/constructor/stories.foundStories.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hashtag` | `string` | Nein | Hashtag (without the `#`) |\n| `area` | `MediaArea` | Nein | Ein [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) oder ein [mediaAreaVenue](https://core.telegram.org/constructor/mediaAreaVenue.md).   Hinweis: [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md)-Gebiete können nur durchsucht werden, wenn ihnen ein `address` zugeordnet ist. |\n| `peer` | `InputPeer` | Nein | If set, returns only stories posted by this peer. |\n| `offset` | `string` | Ja | Offset for [pagination](https://core.telegram.org/api/offsets.md): initially an empty string, then the `next_offset` from the previously returned [stories.foundStories](https://core.telegram.org/constructor/stories.foundStories.md). |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["HASHTAG_INVALID"], "x-browser-schema-id": "3514894599"}}, "/catalog/stories.createAlbum": {"post": {"operationId": "stories.createAlbum", "tags": ["Stories"], "summary": "Erstellt ein Story-Album.", "description": "Erstellt ein [Story-Album](https://core.telegram.org/api/stories.md#story-albums).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.createAlbum", "x-tl-id": "2741212901", "x-tl-result": "StoryAlbum", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `StoryAlbum`.\n\n[StoryAlbum](https://core.telegram.org/type/StoryAlbum.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StoryAlbum", "oneOf": [{"$ref": "#/components/schemas/storyAlbum"}], "description": "Type TL: StoryAlbum."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.createAlbum"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The owned peer where to create the album."}, "title": {"type": "string", "x-tl-type": "string", "description": "Albumname."}, "stories": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Stories to add to the album."}}, "additionalProperties": false, "required": ["peer", "title", "stories"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The owned peer where to create the album. |\n| `title` | `string` | Ja | Albumname. |\n| `stories` | `Vector<int>` | Ja | Stories to add to the album. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2741212901"}}, "/catalog/stories.updateAlbum": {"post": {"operationId": "stories.updateAlbum", "tags": ["Stories"], "summary": "Rename a story albums », or add, delete or reorder stories in it.", "description": "Rename a [story albums »](https://core.telegram.org/api/stories.md#story-albums), or add, delete or reorder stories in it.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.updateAlbum", "x-tl-id": "1582455222", "x-tl-result": "StoryAlbum", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `StoryAlbum`.\n\n[StoryAlbum](https://core.telegram.org/type/StoryAlbum.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StoryAlbum", "oneOf": [{"$ref": "#/components/schemas/storyAlbum"}], "description": "Type TL: StoryAlbum."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.updateAlbum"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the album is posted."}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Album-ID."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "New album title."}, "delete_stories": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.1?Vector<int>", "description": "If set, deletes the specified stories from the album."}, "add_stories": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.2?Vector<int>", "description": "If set, adds the specified stories to the album."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.3?Vector<int>", "description": "If set, reorders the stories in the album by their IDs."}}, "additionalProperties": false, "required": ["peer", "album_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the album is posted. |\n| `album_id` | `int` | Ja | Album-ID. |\n| `title` | `string` | Nein | New album title. |\n| `delete_stories` | `Vector<int>` | Nein | If set, deletes the specified stories from the album. |\n| `add_stories` | `Vector<int>` | Nein | If set, adds the specified stories to the album. |\n| `order` | `Vector<int>` | Nein | If set, reorders the stories in the album by their IDs. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1582455222"}}, "/catalog/stories.reorderAlbums": {"post": {"operationId": "stories.reorderAlbums", "tags": ["Stories"], "summary": "Reorder story albums on a profile ».", "description": "Reorder [story albums on a profile »](https://core.telegram.org/api/stories.md#story-albums).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.reorderAlbums", "x-tl-id": "2234907609", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.reorderAlbums"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the albums are located."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "New order of the albums."}}, "additionalProperties": false, "required": ["peer", "order"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the albums are located. |\n| `order` | `Vector<int>` | Ja | New order of the albums. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2234907609"}}, "/catalog/stories.deleteAlbum": {"post": {"operationId": "stories.deleteAlbum", "tags": ["Stories"], "summary": "Delete a story album.", "description": "Delete a [story album](https://core.telegram.org/api/stories.md#story-albums).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.deleteAlbum", "x-tl-id": "2369017552", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.deleteAlbum"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Owned peer where the album is located."}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID of the album to delete."}}, "additionalProperties": false, "required": ["peer", "album_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Owned peer where the album is located. |\n| `album_id` | `int` | Ja | ID of the album to delete. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2369017552"}}, "/catalog/stories.getAlbums": {"post": {"operationId": "stories.getAlbums", "tags": ["Stories"], "summary": "Get story albums created by a peer.", "description": "Get [story albums](https://core.telegram.org/api/stories.md#story-albums) created by a peer.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getAlbums", "x-tl-id": "632548039", "x-tl-result": "stories.Albums", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto result · `stories.Albums`.\n\n[stories.Albums](https://core.telegram.org/type/stories.Albums.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.Albums", "oneOf": [{"$ref": "#/components/schemas/stories.albumsNotModified"}, {"$ref": "#/components/schemas/stories.albums"}], "description": "Type TL: stories.Albums."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getAlbums"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "The `hash` from a previously returned [stories.albums](https://core.telegram.org/constructor/stories.albums.md), to avoid returning any results if they haven't changed.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer. |\n| `hash` | `long` | Ja | The `hash` from a previously returned [stories.albums](https://core.telegram.org/constructor/stories.albums.md), to avoid returning any results if they haven't changed. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "632548039"}}, "/catalog/stories.getAlbumStories": {"post": {"operationId": "stories.getAlbumStories", "tags": ["Stories"], "summary": "Get stories in a story album ».", "description": "Get stories in a [story album »](https://core.telegram.org/api/stories.md#story-albums).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)\n- [Telegram-Geschichten](https://core.telegram.org/api/stories.md)", "x-tl-method": "stories.getAlbumStories", "x-tl-id": "2894097761", "x-tl-result": "stories.Stories", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Pagination in the API", "https://core.telegram.org/api/offsets.md"], ["Telegram Stories", "https://core.telegram.org/api/stories.md"]], "responses": {"200": {"description": "MTProto Result · `stories.Stories`.\n\n[stories.Stories](https://core.telegram.org/type/stories.Stories.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "stories.Stories", "oneOf": [{"$ref": "#/components/schemas/stories.stories"}], "description": "TL Type: stories.Stories."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.getAlbumStories"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "Peer where the album is posted."}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID des Albums."}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset für [Paginierung](https://core.telegram.org/api/offsets.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "album_id", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | Peer where the album is posted. |\n| `album_id` | `int` | Ja | ID des Albums. |\n| `offset` | `int` | Ja | Offset für [Paginierung](https://core.telegram.org/api/offsets.md). |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2894097761"}}, "/catalog/stories.startLive": {"post": {"operationId": "stories.startLive", "tags": ["Stories"], "summary": "Start a live story, optionally using RTMP livestream mode, see here » for the full flow.", "description": "Start a live story, optionally using RTMP livestream mode, see [here »](https://core.telegram.org/api/group-calls.md#live-stories) for the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Gruppenanrufe](https://core.telegram.org/api/group-calls.md)\n- [Gestalteter Text mit Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n- [Arbeiten mit Updates](https://core.telegram.org/api/updates.md)\n- [Kanäle, Supergruppen, Gigagruppen und Basisgruppen](https://core.telegram.org/api/channel.md)", "x-tl-method": "stories.startLive", "x-tl-id": "3496594654", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Group calls", "https://core.telegram.org/api/group-calls.md"], ["Styled text with message entities", "https://core.telegram.org/api/entities.md"], ["Working with Updates", "https://core.telegram.org/api/updates.md"], ["Channels, supergroups, gigagroups and basic groups", "https://core.telegram.org/api/channel.md"]], "responses": {"200": {"description": "MTProto result · `Updates`.\n\n[Updates](https://core.telegram.org/type/Updates.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `STORY_LIVE_ALREADY_%d` – Dieser Peer hat bereits eine aktive Live-Story und seine ID ist gleich %d."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/stories.startLive"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Whether to pin the live story on the peer's profile"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Whether viewers must be prevented from forwarding or saving the live story"}, "rtmp_stream": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Erstellen Sie die Live-Story im [RTMP Livestream-Modus »](https://core.telegram.org/api/group-calls.md#stream-mode), in dem ein externer Streamer alle Audio- und Videodaten veröffentlicht"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "User, supergroup or channel that will own the live story; basic groups cannot post live stories"}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Live story caption"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)"}, "privacy_rules": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPrivacyRule", "oneOf": [{"$ref": "#/components/schemas/inputPrivacyValueAllowContacts"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowAll"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowUsers"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowContacts"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowAll"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowUsers"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowChatParticipants"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowChatParticipants"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowCloseFriends"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowPremium"}, {"$ref": "#/components/schemas/inputPrivacyValueAllowBots"}, {"$ref": "#/components/schemas/inputPrivacyValueDisallowBots"}], "description": "TL Type: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "description": "Privacy rules defining who can view the live story"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Client-generated random ID used to prevent duplicate live stories. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.", "x-tl-type": "long"}, "messages_enabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.6?Bool", "description": "Whether the [in-call message overlay »](https://core.telegram.org/api/group-calls.md#in-call-messages) should be enabled"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Minimum Telegram Stars donation required from users other than the live story owner for each comment; the owner may always comment without donating, and `0` allows free comments for everyone", "x-tl-type": "long", "x-tl-flag": "flags.7?long"}}, "additionalProperties": false, "required": ["peer", "privacy_rules", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `pinned` | `true` | Nein | Whether to pin the live story on the peer's profile |\n| `noforwards` | `true` | Nein | Whether viewers must be prevented from forwarding or saving the live story |\n| `rtmp_stream` | `true` | Nein | Erstellen Sie die Live-Story im [RTMP Livestream-Modus »](https://core.telegram.org/api/group-calls.md#stream-mode), in dem ein externer Streamer alle Audio- und Videodaten veröffentlicht |\n| `peer` | `InputPeer` | Ja | User, supergroup or channel that will own the live story; basic groups cannot post live stories |\n| `caption` | `string` | Nein | Live story caption |\n| `entities` | `Vector<MessageEntity>` | Nein | [Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md) |\n| `privacy_rules` | `Vector<InputPrivacyRule>` | Ja | Privacy rules defining who can view the live story |\n| `random_id` | `long` | Ja | Client-generated random ID used to prevent duplicate live stories. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping. |\n| `messages_enabled` | `Bool` | Nein | Whether the [in-call message overlay »](https://core.telegram.org/api/group-calls.md#in-call-messages) should be enabled |\n| `send_paid_messages_stars` | `long` | Nein | Minimum Telegram Stars donation required from users other than the live story owner for each comment; the owner may always comment without donating, and `0` allows free comments for everyone |"}, "x-telegram-rpc-errors": ["CHANNEL_MONOFORUM_UNSUPPORTED", "CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID", "STORY_LIVE_ALREADY_%d"], "x-browser-schema-id": "3496594654"}}, "/catalog/premium.getBoostsList": {"post": {"operationId": "premium.getBoostsList", "tags": ["Telegram Premium"], "summary": "Obtains info about the boosts that were applied to a certain channel or supergroup (admins only)", "description": "Obtains info about the boosts that were applied to a certain channel or supergroup (admins only)\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Giveaways und Geschenke](https://core.telegram.org/api/giveaways.md)\n- [Paginierung im API](https://core.telegram.org/api/offsets.md)", "x-tl-method": "premium.getBoostsList", "x-tl-id": "1626764896", "x-tl-result": "premium.BoostsList", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Giveaways and gifts", "https://core.telegram.org/api/giveaways.md"], ["Pagination in the API", "https://core.telegram.org/api/offsets.md"]], "responses": {"200": {"description": "MTProto result · `premium.BoostsList`.\n\n[premium.BoostsList](https://core.telegram.org/type/premium.BoostsList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "premium.BoostsList", "oneOf": [{"$ref": "#/components/schemas/premium.boostsList"}], "description": "Type TL: premium.BoostsList."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/premium.getBoostsList"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Whether to return only info about boosts received from [gift codes and giveaways created by the channel/supergroup »](https://core.telegram.org/api/giveaways.md)"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The channel/supergroup"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Offset for pagination, obtained from [premium.boostsList](https://core.telegram.org/constructor/premium.boostsList.md).`next_offset`"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `gifts` | `true` | Nein | Whether to return only info about boosts received from [gift codes and giveaways created by the channel/supergroup »](https://core.telegram.org/api/giveaways.md) |\n| `peer` | `InputPeer` | Ja | The channel/supergroup |\n| `offset` | `string` | Ja | Offset for pagination, obtained from [premium.boostsList](https://core.telegram.org/constructor/premium.boostsList.md).`next_offset` |\n| `limit` | `int` | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID"], "x-browser-schema-id": "1626764896"}}, "/catalog/premium.getMyBoosts": {"post": {"operationId": "premium.getMyBoosts", "tags": ["Telegram Premium"], "summary": "Obtain which peers are we currently boosting, and how many boost slots we have left.", "description": "Obtain which peers are we currently [boosting](https://core.telegram.org/api/boost.md), and how many [boost slots](https://core.telegram.org/api/boost.md) we have left.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanal- und Supergruppen-Boosts](https://core.telegram.org/api/boost.md)", "x-tl-method": "premium.getMyBoosts", "x-tl-id": "199719754", "x-tl-result": "premium.MyBoosts", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel and supergroup boosts", "https://core.telegram.org/api/boost.md"]], "responses": {"200": {"description": "MTProto result · `premium.MyBoosts`.\n\n[premium.MyBoosts](https://core.telegram.org/type/premium.MyBoosts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "premium.MyBoosts", "oneOf": [{"$ref": "#/components/schemas/premium.myBoosts"}], "description": "Type TL: premium.MyBoosts."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/premium.getMyBoosts"}, "x-browser-schema-id": "199719754"}}, "/catalog/premium.applyBoost": {"post": {"operationId": "premium.applyBoost", "tags": ["Telegram Premium"], "summary": "Apply one or more boosts » to a peer.", "description": "Apply one or more [boosts »](https://core.telegram.org/api/boost.md) to a peer.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanal- und Supergruppen-Boosts](https://core.telegram.org/api/boost.md)", "x-tl-method": "premium.applyBoost", "x-tl-id": "1803396934", "x-tl-result": "premium.MyBoosts", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel and supergroup boosts", "https://core.telegram.org/api/boost.md"]], "responses": {"200": {"description": "MTProto result · `premium.MyBoosts`.\n\n[premium.MyBoosts](https://core.telegram.org/type/premium.MyBoosts.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "premium.MyBoosts", "oneOf": [{"$ref": "#/components/schemas/premium.myBoosts"}], "description": "Type TL: premium.MyBoosts."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `BOOSTS_EMPTY` — Es wurden keine Boost-Slots angegeben.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig.\n- 400 · `SLOTS_EMPTY` – Die angegebene Slot-Liste ist leer."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/premium.applyBoost"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"slots": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.0?Vector<int>", "description": "Which [boost slots](https://core.telegram.org/api/boost.md) to assign to this peer."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer to boost."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `slots` | `Vector<int>` | Nein | Which [boost slots](https://core.telegram.org/api/boost.md) to assign to this peer. |\n| `peer` | `InputPeer` | Ja | The peer to boost. |"}, "x-telegram-rpc-errors": ["BOOSTS_EMPTY", "PEER_ID_INVALID", "SLOTS_EMPTY"], "x-browser-schema-id": "1803396934"}}, "/catalog/premium.getBoostsStatus": {"post": {"operationId": "premium.getBoostsStatus", "tags": ["Telegram Premium"], "summary": "Gets the current number of boosts of a channel/supergroup.", "description": "Gets the current [number of boosts](https://core.telegram.org/api/boost.md) of a channel/supergroup.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Kanal- und Supergruppen-Boosts](https://core.telegram.org/api/boost.md)", "x-tl-method": "premium.getBoostsStatus", "x-tl-id": "70197089", "x-tl-result": "premium.BoostsStatus", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Channel and supergroup boosts", "https://core.telegram.org/api/boost.md"]], "responses": {"200": {"description": "MTProto result · `premium.BoostsStatus`.\n\n[premium.BoostsStatus](https://core.telegram.org/type/premium.BoostsStatus.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "premium.BoostsStatus", "oneOf": [{"$ref": "#/components/schemas/premium.boostsStatus"}], "description": "TL type: premium.BoostsStatus."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `CHANNEL_INVALID` – Der angegebene Kanal ist ungültig.\n- 400 · `CHANNEL_PRIVATE` — Du bist diesem Kanal/dieser Supergruppe nicht beigetreten.\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/premium.getBoostsStatus"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The peer."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The peer. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "PEER_ID_INVALID"], "x-browser-schema-id": "70197089"}}, "/catalog/premium.getUserBoosts": {"post": {"operationId": "premium.getUserBoosts", "tags": ["Telegram Premium"], "summary": "Returns the lists of boost that were applied to a channel/supergroup by a specific user (admins only)", "description": "Returns the lists of boost that were applied to a channel/supergroup by a specific user (admins only)\n\n**Wer kann diese Methode aufrufen?** · Telegram-Benutzer und Bots.", "x-tl-method": "premium.getUserBoosts", "x-tl-id": "965037343", "x-tl-result": "premium.BoostsList", "x-catalog-only": true, "x-telegram-audience": "both", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `premium.BoostsList`.\n\n[premium.BoostsList](https://core.telegram.org/type/premium.BoostsList.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "premium.BoostsList", "oneOf": [{"$ref": "#/components/schemas/premium.boostsList"}], "description": "Type TL: premium.BoostsList."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `PEER_ID_INVALID` – Die angegebene Peer-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/premium.getUserBoosts"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "The channel/supergroup"}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "Der Benutzer"}}, "additionalProperties": false, "required": ["peer", "user_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | The channel/supergroup |\n| `user_id` | `InputUser` | Ja | Der Benutzer |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "965037343"}}, "/catalog/smsjobs.isEligibleToJoin": {"post": {"operationId": "smsjobs.isEligibleToJoin", "tags": ["SMS"], "summary": "Prüfen Sie, ob wir SMS Aufträge bearbeiten können (nur offizielle Kunden).", "description": "Prüfen Sie, ob wir SMS Aufträge bearbeiten können (nur offizielle Kunden).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "smsjobs.isEligibleToJoin", "x-tl-id": "249313744", "x-tl-result": "smsjobs.EligibilityToJoin", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `smsjobs.EligibilityToJoin`.\n\n[smsjobs.EligibilityToJoin](https://core.telegram.org/type/smsjobs.EligibilityToJoin.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "smsjobs.EligibilityToJoin", "oneOf": [{"$ref": "#/components/schemas/smsjobs.eligibleToJoin"}], "description": "Type TL: smsjobs.EligibilityToJoin."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 403 · `NOT_ELIGIBLE` — The current user is not eligible to join the Peer-to-Peer Login Program."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/smsjobs.isEligibleToJoin"}, "x-telegram-rpc-errors": ["NOT_ELIGIBLE"], "x-browser-schema-id": "249313744"}}, "/catalog/smsjobs.join": {"post": {"operationId": "smsjobs.join", "tags": ["SMS"], "summary": "Enable SMS jobs (official clients only).", "description": "Enable SMS jobs (official clients only).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "smsjobs.join", "x-tl-id": "2806959661", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `NOT_ELIGIBLE` – Der aktuelle Benutzer ist nicht berechtigt, am Peer-to-Peer-Anmeldeprogramm teilzunehmen."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/smsjobs.join"}, "x-telegram-rpc-errors": ["NOT_ELIGIBLE"], "x-browser-schema-id": "2806959661"}}, "/catalog/smsjobs.leave": {"post": {"operationId": "smsjobs.leave", "tags": ["SMS"], "summary": "Disable SMS jobs (official clients only).", "description": "Disable SMS jobs (official clients only).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "smsjobs.leave", "x-tl-id": "2560142707", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `NOT_JOINED` – Der aktuelle Benutzer ist dem Peer-to-Peer-Anmeldeprogramm nicht beigetreten."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/smsjobs.leave"}, "x-telegram-rpc-errors": ["NOT_JOINED"], "x-browser-schema-id": "2560142707"}}, "/catalog/smsjobs.updateSettings": {"post": {"operationId": "smsjobs.updateSettings", "tags": ["SMS"], "summary": "Update SMS job settings (official clients only).", "description": "Update SMS job settings (official clients only).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "smsjobs.updateSettings", "x-tl-id": "155164863", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `NOT_JOINED` – Der aktuelle Benutzer ist dem Peer-to-Peer-Anmeldeprogramm nicht beigetreten."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/smsjobs.updateSettings"}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"allow_international": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Internationale Nummern zulassen?"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `allow_international` | `true` | Nein | Internationale Nummern zulassen? |"}, "x-telegram-rpc-errors": ["NOT_JOINED"], "x-browser-schema-id": "155164863"}}, "/catalog/smsjobs.getStatus": {"post": {"operationId": "smsjobs.getStatus", "tags": ["SMS"], "summary": "Get SMS jobs status (official clients only).", "description": "Get SMS jobs status (official clients only).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "smsjobs.getStatus", "x-tl-id": "279353576", "x-tl-result": "smsjobs.Status", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `smsjobs.Status`.\n\n[smsjobs.Status](https://core.telegram.org/type/smsjobs.Status.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "smsjobs.Status", "oneOf": [{"$ref": "#/components/schemas/smsjobs.status"}], "description": "Type TL: smsjobs.Status."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `NOT_JOINED` – Der aktuelle Benutzer ist dem Peer-to-Peer-Anmeldeprogramm nicht beigetreten."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/smsjobs.getStatus"}, "x-telegram-rpc-errors": ["NOT_JOINED"], "x-browser-schema-id": "279353576"}}, "/catalog/smsjobs.getSmsJob": {"post": {"operationId": "smsjobs.getSmsJob", "tags": ["SMS"], "summary": "Get info about an SMS job (official clients only).", "description": "Get info about an SMS job (official clients only).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "smsjobs.getSmsJob", "x-tl-id": "2005766191", "x-tl-result": "SmsJob", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `SmsJob`.\n\n[SmsJob](https://core.telegram.org/type/SmsJob.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "SmsJob", "oneOf": [{"$ref": "#/components/schemas/smsJob"}], "description": "TL Type: SmsJob."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SMSJOB_ID_INVALID` – Die angegebene Job-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/smsjobs.getSmsJob"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"job_id": {"type": "string", "x-tl-type": "string", "description": "Job-ID"}}, "additionalProperties": false, "required": ["job_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `job_id` | `string` | Ja | Job-ID |"}, "x-telegram-rpc-errors": ["SMSJOB_ID_INVALID"], "x-browser-schema-id": "2005766191"}}, "/catalog/smsjobs.finishJob": {"post": {"operationId": "smsjobs.finishJob", "tags": ["SMS"], "summary": "Finish an SMS job (official clients only).", "description": "Finish an SMS job (official clients only).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.", "x-tl-method": "smsjobs.finishJob", "x-tl-id": "1327415076", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `SMSJOB_ID_INVALID` – Die angegebene Job-ID ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/smsjobs.finishJob"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"job_id": {"type": "string", "x-tl-type": "string", "description": "Job ID."}, "error": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "If failed, the error."}}, "additionalProperties": false, "required": ["job_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `job_id` | `string` | Ja | Job ID. |\n| `error` | `string` | Nein | If failed, the error. |"}, "x-telegram-rpc-errors": ["SMSJOB_ID_INVALID"], "x-browser-schema-id": "1327415076"}}, "/catalog/fragment.getCollectibleInfo": {"post": {"operationId": "fragment.getCollectibleInfo", "tags": ["Fragment"], "summary": "Fetch information about a fragment collectible, see here » for more info on the full flow.", "description": "Fetch information about a [fragment collectible, see here »](https://core.telegram.org/api/fragment.md#fetching-info-about-fragment-collectibles) for more info on the full flow.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Fragment-Sammlerstücke](https://core.telegram.org/api/fragment.md)", "x-tl-method": "fragment.getCollectibleInfo", "x-tl-id": "3189671354", "x-tl-result": "fragment.CollectibleInfo", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Fragment collectibles", "https://core.telegram.org/api/fragment.md"]], "responses": {"200": {"description": "MTProto result · `fragment.CollectibleInfo`.\n\n[fragment.CollectibleInfo](https://core.telegram.org/type/fragment.CollectibleInfo.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "fragment.CollectibleInfo", "oneOf": [{"$ref": "#/components/schemas/fragment.collectibleInfo"}], "description": "Type TL: fragment.CollectibleInfo."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `COLLECTIBLE_INVALID` – Das angegebene Sammlerstück ist ungültig.\n- 400 · `COLLECTIBLE_NOT_FOUND` – Das angegebene Sammlerstück konnte nicht gefunden werden."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/fragment.getCollectibleInfo"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"collectible": {"type": "object", "x-tl-type": "InputCollectible", "oneOf": [{"$ref": "#/components/schemas/inputCollectibleUsername"}, {"$ref": "#/components/schemas/inputCollectiblePhone"}], "description": "Collectible to fetch info about."}}, "additionalProperties": false, "required": ["collectible"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `collectible` | `InputCollectible` | Ja | Collectible to fetch info about. |"}, "x-telegram-rpc-errors": ["COLLECTIBLE_INVALID", "COLLECTIBLE_NOT_FOUND"], "x-browser-schema-id": "3189671354"}}, "/catalog/aicompose.createTone": {"post": {"operationId": "aicompose.createTone", "tags": ["KI-Editor"], "summary": "Erstellen Sie einen neuen benutzerdefinierten AI-Composer-Ton ».", "description": "Erstellen Sie einen neuen benutzerdefinierten [AI Composer-Ton »](https://core.telegram.org/api/ai.md#ai-compose-tones).\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)", "x-tl-method": "aicompose.createTone", "x-tl-id": "1252538643", "x-tl-result": "AiComposeTone", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Client configuration", "https://core.telegram.org/api/config.md"], ["AI features", "https://core.telegram.org/api/ai.md"]], "responses": {"200": {"description": "MTProto result · `AiComposeTone`.\n\n[AiComposeTone](https://core.telegram.org/type/AiComposeTone.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AiComposeTone", "oneOf": [{"$ref": "#/components/schemas/aiComposeTone"}, {"$ref": "#/components/schemas/aiComposeToneDefault"}], "description": "TL Type: AiComposeTone."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AICOMPOSE_TONE_TITLE_INVALID` – Der angegebene Tontitel ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/aicompose.createTone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"display_author": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "If set, the current user will be publicly credited as the author of the tone"}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Benutzerdefinierte Emoji-ID](https://core.telegram.org/api/custom-emoji.md) des Tonsymbols", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "description": "Für Menschen lesbarer Tonname, bis zu [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 Zeichen lang"}, "prompt": {"type": "string", "x-tl-type": "string", "description": "The prompt that describes how the AI should rephrase messages using this tone, up to [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 characters long"}}, "additionalProperties": false, "required": ["emoji_id", "title", "prompt"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `display_author` | `true` | Nein | If set, the current user will be publicly credited as the author of the tone |\n| `emoji_id` | `long` | Ja | [Benutzerdefinierte Emoji-ID](https://core.telegram.org/api/custom-emoji.md) des Tonsymbols |\n| `title` | `string` | Ja | Für Menschen lesbarer Tonname, bis zu [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 Zeichen lang |\n| `prompt` | `string` | Ja | The prompt that describes how the AI should rephrase messages using this tone, up to [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 characters long |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_TITLE_INVALID"], "x-browser-schema-id": "1252538643"}}, "/catalog/aicompose.updateTone": {"post": {"operationId": "aicompose.updateTone", "tags": ["KI-Editor"], "summary": "Edit a custom AI composer tone » previously created by the current user. Only the fields whose flag is set will be modified.", "description": "Edit a custom [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) previously created by the current user. Only the fields whose flag is set will be modified.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Benutzerdefinierte Emojis](https://core.telegram.org/api/custom-emoji.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)", "x-tl-method": "aicompose.updateTone", "x-tl-id": "2419838809", "x-tl-result": "AiComposeTone", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Custom emojis", "https://core.telegram.org/api/custom-emoji.md"], ["Client configuration", "https://core.telegram.org/api/config.md"], ["AI features", "https://core.telegram.org/api/ai.md"]], "responses": {"200": {"description": "MTProto result · `AiComposeTone`.\n\n[AiComposeTone](https://core.telegram.org/type/AiComposeTone.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AiComposeTone", "oneOf": [{"$ref": "#/components/schemas/aiComposeTone"}, {"$ref": "#/components/schemas/aiComposeToneDefault"}], "description": "TL Type: AiComposeTone."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` – Der angegebene Ton ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/aicompose.updateTone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"tone": {"type": "object", "x-tl-type": "InputAiComposeTone", "oneOf": [{"$ref": "#/components/schemas/inputAiComposeToneDefault"}, {"$ref": "#/components/schemas/inputAiComposeToneID"}, {"$ref": "#/components/schemas/inputAiComposeToneSlug"}, {"$ref": "#/components/schemas/inputAiComposeToneSingleUse"}], "description": "The tone to edit"}, "display_author": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "If set, changes whether the current user is publicly credited as the author of the tone (ternary value, can be not set, set and true, set and false)."}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "If set, the new [custom emoji ID](https://core.telegram.org/api/custom-emoji.md) of the tone's icon", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "If set, the new human-readable tone name, up to [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 characters long"}, "prompt": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "If set, the new prompt that describes how the AI should rephrase messages using this tone, up to [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 characters long"}}, "additionalProperties": false, "required": ["tone"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Ja | The tone to edit |\n| `display_author` | `Bool` | Nein | If set, changes whether the current user is publicly credited as the author of the tone (ternary value, can be not set, set and true, set and false). |\n| `emoji_id` | `long` | Nein | If set, the new [custom emoji ID](https://core.telegram.org/api/custom-emoji.md) of the tone's icon |\n| `title` | `string` | Nein | If set, the new human-readable tone name, up to [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 characters long |\n| `prompt` | `string` | Nein | If set, the new prompt that describes how the AI should rephrase messages using this tone, up to [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 characters long |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "2419838809"}}, "/catalog/aicompose.saveTone": {"post": {"operationId": "aicompose.saveTone", "tags": ["KI-Editor"], "summary": "Install or uninstall an AI composer tone », adding it to or removing it from the list of saved tones of the current user.", "description": "Install or uninstall an [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones), adding it to or removing it from the list of saved tones of the current user.\n\nNon-[Premium](https://core.telegram.org/api/premium.md) users may install up to [aicompose\\_tone\\_saved\\_limit\\_default »](https://core.telegram.org/api/config.md#aicompose-tone-saved-limit-default) tones, [Premium](https://core.telegram.org/api/premium.md) users up to [aicompose\\_tone\\_saved\\_limit\\_premium »](https://core.telegram.org/api/config.md#aicompose-tone-saved-limit-premium) tones.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)\n- [Telegram Premium](https://core.telegram.org/api/premium.md)\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)", "x-tl-method": "aicompose.saveTone", "x-tl-id": "394447793", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["AI features", "https://core.telegram.org/api/ai.md"], ["Telegram Premium", "https://core.telegram.org/api/premium.md"], ["Client configuration", "https://core.telegram.org/api/config.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` – Der angegebene Ton ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/aicompose.saveTone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"tone": {"type": "object", "x-tl-type": "InputAiComposeTone", "oneOf": [{"$ref": "#/components/schemas/inputAiComposeToneDefault"}, {"$ref": "#/components/schemas/inputAiComposeToneID"}, {"$ref": "#/components/schemas/inputAiComposeToneSlug"}, {"$ref": "#/components/schemas/inputAiComposeToneSingleUse"}], "description": "The tone to save or unsave"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "If `false`, installs (saves) the tone; if `true`, uninstalls (unsaves) it"}}, "additionalProperties": false, "required": ["tone", "unsave"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Ja | The tone to save or unsave |\n| `unsave` | `Bool` | Ja | If `false`, installs (saves) the tone; if `true`, uninstalls (unsaves) it |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "394447793"}}, "/catalog/aicompose.deleteTone": {"post": {"operationId": "aicompose.deleteTone", "tags": ["KI-Editor"], "summary": "Permanently delete a custom AI composer tone » created by the current user.", "description": "Permanently delete a custom [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) created by the current user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)", "x-tl-method": "aicompose.deleteTone", "x-tl-id": "3711512938", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["AI features", "https://core.telegram.org/api/ai.md"]], "responses": {"200": {"description": "MTProto result · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` – Der angegebene Ton ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/aicompose.deleteTone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"tone": {"type": "object", "x-tl-type": "InputAiComposeTone", "oneOf": [{"$ref": "#/components/schemas/inputAiComposeToneDefault"}, {"$ref": "#/components/schemas/inputAiComposeToneID"}, {"$ref": "#/components/schemas/inputAiComposeToneSlug"}, {"$ref": "#/components/schemas/inputAiComposeToneSingleUse"}], "description": "The tone to delete"}}, "additionalProperties": false, "required": ["tone"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Ja | The tone to delete |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "3711512938"}}, "/catalog/aicompose.getTone": {"post": {"operationId": "aicompose.getTone", "tags": ["KI-Editor"], "summary": "Fetch information about a single AI composer tone », for example to resolve a shared tone deep link.", "description": "Fetch information about a single [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones), for example to resolve a shared tone deep link.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)", "x-tl-method": "aicompose.getTone", "x-tl-id": "3001596419", "x-tl-result": "aicompose.Tones", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["AI features", "https://core.telegram.org/api/ai.md"]], "responses": {"200": {"description": "MTProto result · `aicompose.Tones`.\n\n[aicompose.Tones](https://core.telegram.org/type/aicompose.Tones.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "aicompose.Tones", "oneOf": [{"$ref": "#/components/schemas/aicompose.tonesNotModified"}, {"$ref": "#/components/schemas/aicompose.tones"}], "description": "Type TL: aicompose.Tones."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` – Der angegebene Ton ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/aicompose.getTone"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"tone": {"type": "object", "x-tl-type": "InputAiComposeTone", "oneOf": [{"$ref": "#/components/schemas/inputAiComposeToneDefault"}, {"$ref": "#/components/schemas/inputAiComposeToneID"}, {"$ref": "#/components/schemas/inputAiComposeToneSlug"}, {"$ref": "#/components/schemas/inputAiComposeToneSingleUse"}], "description": "The tone to fetch"}}, "additionalProperties": false, "required": ["tone"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Ja | The tone to fetch |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "3001596419"}}, "/catalog/aicompose.getTones": {"post": {"operationId": "aicompose.getTones", "tags": ["KI-Editor"], "summary": "Fetch the list of saved AI composer tones » of the current user.", "description": "Fetch the list of saved [AI composer tones »](https://core.telegram.org/api/ai.md#ai-compose-tones) of the current user.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)", "x-tl-method": "aicompose.getTones", "x-tl-id": "2882900481", "x-tl-result": "aicompose.Tones", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["AI features", "https://core.telegram.org/api/ai.md"]], "responses": {"200": {"description": "MTProto result · `aicompose.Tones`.\n\n[aicompose.Tones](https://core.telegram.org/type/aicompose.Tones.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "aicompose.Tones", "oneOf": [{"$ref": "#/components/schemas/aicompose.tonesNotModified"}, {"$ref": "#/components/schemas/aicompose.tones"}], "description": "Type TL: aicompose.Tones."}}}}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/aicompose.getTones"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash from a previously cached [aicompose.tones](https://core.telegram.org/constructor/aicompose.tones.md).`hash` to avoid refetching the list if it hasn't changed; initially 0.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | Hash from a previously cached [aicompose.tones](https://core.telegram.org/constructor/aicompose.tones.md).`hash` to avoid refetching the list if it hasn't changed; initially 0. |"}, "x-browser-schema-id": "2882900481"}}, "/catalog/aicompose.getToneExample": {"post": {"operationId": "aicompose.getToneExample", "tags": ["KI-Editor"], "summary": "Fetch an example showing how an AI composer tone » rephrases a sample message, used as a preview in the tone picker.", "description": "Fetch an example showing how an [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) rephrases a sample message, used as a preview in the tone picker.\n\n**Wer kann diese Methode aufrufen?** · Nur Telegram-Benutzer.\n\n**Zugehörige Dokumentation**\n\n- [Client-Konfiguration](https://core.telegram.org/api/config.md)\n- [KI-Funktionen](https://core.telegram.org/api/ai.md)", "x-tl-method": "aicompose.getToneExample", "x-tl-id": "3518278420", "x-tl-result": "AiComposeToneExample", "x-catalog-only": true, "x-telegram-audience": "user", "x-telegram-related": [["Client configuration", "https://core.telegram.org/api/config.md"], ["AI features", "https://core.telegram.org/api/ai.md"]], "responses": {"200": {"description": "MTProto result · `AiComposeToneExample`.\n\n[AiComposeToneExample](https://core.telegram.org/type/AiComposeToneExample.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AiComposeToneExample", "oneOf": [{"$ref": "#/components/schemas/aiComposeToneExample"}], "description": "TL Type: AiComposeToneExample."}}}}, "default": {"description": "### MTProto-Fehler (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` – Der angegebene Ton ist ungültig."}}, "externalDocs": {"description": "Official Telegram documentation", "url": "https://core.telegram.org/method/aicompose.getToneExample"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"tone": {"type": "object", "x-tl-type": "InputAiComposeTone", "oneOf": [{"$ref": "#/components/schemas/inputAiComposeToneDefault"}, {"$ref": "#/components/schemas/inputAiComposeToneID"}, {"$ref": "#/components/schemas/inputAiComposeToneSlug"}, {"$ref": "#/components/schemas/inputAiComposeToneSingleUse"}], "description": "The tone to preview"}, "num": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "0-based index of the example to fetch, to cycle through the available examples (there are [aicompose_tone_examples_num »](https://core.telegram.org/api/config.md#aicompose-tone-examples-num) examples per tone)"}}, "additionalProperties": false, "required": ["tone", "num"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | Ja | The tone to preview |\n| `num` | `int` | Ja | 0-based index of the example to fetch, to cycle through the available examples (there are [aicompose_tone_examples_num »](https://core.telegram.org/api/config.md#aicompose-tone-examples-num) examples per tone) |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "3518278420"}}, "/catalog/aicompose.setChatStyle": {"post": {"operationId": "aicompose.setChatStyle", "tags": ["KI-Editor"], "summary": "aicompose.setChatStyle", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "aicompose.setChatStyle", "x-tl-id": "1570322880", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "style": {"type": "object", "x-tl-type": "InputAiComposeStyle", "oneOf": [{"$ref": "#/components/schemas/inputAiComposeStyle"}], "description": "Тип TL: InputAiComposeStyle.", "x-tl-flag": "flags.0?InputAiComposeStyle"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `style` | `InputAiComposeStyle` | Nein | Тип TL: InputAiComposeStyle. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1570322880"}}, "/catalog/communities.create": {"post": {"operationId": "communities.create", "tags": ["Communitys"], "summary": "communities.create", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "communities.create", "x-tl-id": "2788710892", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}, "title": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}}, "additionalProperties": false, "required": ["title", "peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hidden` | `true` | Nein | Wert des TL-Typs `true`. |\n| `title` | `string` | Ja | Wert des TL-Typs `string`. |\n| `about` | `string` | Nein | Wert des TL-Typs `string`. |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2788710892"}}, "/catalog/communities.togglePeerLink": {"post": {"operationId": "communities.togglePeerLink", "tags": ["Communitys"], "summary": "communities.togglePeerLink", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "communities.togglePeerLink", "x-tl-id": "1936576490", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}, "deleted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Wert des TL-Typs `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}}, "additionalProperties": false, "required": ["community", "peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `visible` | `true` | Nein | Wert des TL-Typs `true`. |\n| `hidden` | `true` | Nein | Wert des TL-Typs `true`. |\n| `deleted` | `true` | Nein | Wert des TL-Typs `true`. |\n| `community` | `InputChannel` | Ja | TL Type: InputChannel. |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1936576490"}}, "/catalog/communities.getJoinedCommunities": {"post": {"operationId": "communities.getJoinedCommunities", "tags": ["Communitys"], "summary": "communities.getJoinedCommunities", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "communities.getJoinedCommunities", "x-tl-id": "2791565360", "x-tl-result": "messages.Chats", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.Chats`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.Chats", "oneOf": [{"$ref": "#/components/schemas/messages.chats"}, {"$ref": "#/components/schemas/messages.chatsSlice"}], "description": "TL type: messages.Chats."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2791565360"}}, "/catalog/communities.toggleCommunityCollapsedInDialogs": {"post": {"operationId": "communities.toggleCommunityCollapsedInDialogs", "tags": ["Communitys"], "summary": "communities.toggleCommunityCollapsedInDialogs", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "communities.toggleCommunityCollapsedInDialogs", "x-tl-id": "3613844458", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"collapsed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel."}}, "additionalProperties": false, "required": ["community"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `collapsed` | `true` | Nein | Wert des TL-Typs `true`. |\n| `community` | `InputChannel` | Ja | TL Type: InputChannel. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3613844458"}}, "/catalog/communities.getPeerLinkRequests": {"post": {"operationId": "communities.getPeerLinkRequests", "tags": ["Communitys"], "summary": "communities.getPeerLinkRequests", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "communities.getPeerLinkRequests", "x-tl-id": "2474062660", "x-tl-result": "communities.PeerLinkRequests", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `communities.PeerLinkRequests`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "communities.PeerLinkRequests", "oneOf": [{"$ref": "#/components/schemas/communities.peerLinkRequests"}], "description": "Тип TL: communities.PeerLinkRequests."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["community", "offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `community` | `InputChannel` | Ja | TL Type: InputChannel. |\n| `offset` | `string` | Ja | Wert des TL-Typs `string`. |\n| `limit` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2474062660"}}, "/catalog/communities.togglePeerLinkRequestApproval": {"post": {"operationId": "communities.togglePeerLinkRequestApproval", "tags": ["Communitys"], "summary": "communities.togglePeerLinkRequestApproval", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "communities.togglePeerLinkRequestApproval", "x-tl-id": "2357336488", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"reject": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}}, "additionalProperties": false, "required": ["community", "peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `reject` | `true` | Nein | Wert des TL-Typs `true`. |\n| `community` | `InputChannel` | Ja | TL Type: InputChannel. |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2357336488"}}, "/catalog/communities.toggleAllPeerLinkRequestApproval": {"post": {"operationId": "communities.toggleAllPeerLinkRequestApproval", "tags": ["Communitys"], "summary": "communities.toggleAllPeerLinkRequestApproval", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "communities.toggleAllPeerLinkRequestApproval", "x-tl-id": "3219381565", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"reject": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel."}}, "additionalProperties": false, "required": ["community"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `reject` | `true` | Nein | Wert des TL-Typs `true`. |\n| `community` | `InputChannel` | Ja | TL Type: InputChannel. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3219381565"}}, "/catalog/communities.toggleParticipantBanned": {"post": {"operationId": "communities.toggleParticipantBanned", "tags": ["Communitys"], "summary": "communities.toggleParticipantBanned", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "communities.toggleParticipantBanned", "x-tl-id": "2573708559", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"unban": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel."}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}}, "additionalProperties": false, "required": ["community", "participant"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `unban` | `true` | Nein | Wert des TL-Typs `true`. |\n| `community` | `InputChannel` | Ja | TL Type: InputChannel. |\n| `participant` | `InputPeer` | Ja | TL Type: InputPeer. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2573708559"}}, "/catalog/communities.getParticipantJoinedChats": {"post": {"operationId": "communities.getParticipantJoinedChats", "tags": ["Communitys"], "summary": "communities.getParticipantJoinedChats", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "communities.getParticipantJoinedChats", "x-tl-id": "4169051051", "x-tl-result": "communities.ParticipantJoinedChats", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `communities.ParticipantJoinedChats`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "communities.ParticipantJoinedChats", "oneOf": [{"$ref": "#/components/schemas/communities.participantJoinedChats"}], "description": "Тип TL: communities.ParticipantJoinedChats."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "TL Type: InputChannel."}, "participant": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}}, "additionalProperties": false, "required": ["community", "participant"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `community` | `InputChannel` | Ja | TL Type: InputChannel. |\n| `participant` | `InputPeer` | Ja | TL Type: InputPeer. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "4169051051"}}, "/catalog/ephemeral.sendMessage": {"post": {"operationId": "ephemeral.sendMessage", "tags": ["Temporäre Nachrichten"], "summary": "ephemeral.sendMessage", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "ephemeral.sendMessage", "x-tl-id": "3129827125", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Wert des TL-Typs `true`."}, "welcome": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Wert des TL-Typs `true`."}, "anchor": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true", "description": "Wert des TL-Typs `true`."}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true", "description": "Wert des TL-Typs `true`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer.", "x-tl-flag": "flags.8?InputPeer"}, "receiver_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "message": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "Wert des TL-Typs `Vector<MessageEntity>`."}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "TL Type: InputMedia.", "x-tl-flag": "flags.2?InputMedia"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "oneOf": [{"$ref": "#/components/schemas/replyKeyboardHide"}, {"$ref": "#/components/schemas/replyKeyboardForceReply"}, {"$ref": "#/components/schemas/replyKeyboardMarkup"}, {"$ref": "#/components/schemas/replyInlineMarkup"}], "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.3?ReplyMarkup"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage.", "x-tl-flag": "flags.4?InputRichMessage"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "oneOf": [{"$ref": "#/components/schemas/inputReplyToMessage"}, {"$ref": "#/components/schemas/inputReplyToStory"}, {"$ref": "#/components/schemas/inputReplyToMonoForum"}, {"$ref": "#/components/schemas/inputReplyToEphemeralMessage"}], "description": "Тип TL: InputReplyTo.", "x-tl-flag": "flags.5?InputReplyTo"}}, "additionalProperties": false, "required": ["receiver_id", "message", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `invert_media` | `true` | Nein | Wert des TL-Typs `true`. |\n| `welcome` | `true` | Nein | Wert des TL-Typs `true`. |\n| `anchor` | `true` | Nein | Wert des TL-Typs `true`. |\n| `noforwards` | `true` | Nein | Wert des TL-Typs `true`. |\n| `peer` | `InputPeer` | Nein | TL Type: InputPeer. |\n| `receiver_id` | `InputUser` | Ja | TL Type: InputUser. |\n| `query_id` | `long` | Nein | 64-битное целое в десятичной записи. |\n| `message` | `string` | Ja | Wert des TL-Typs `string`. |\n| `entities` | `Vector<MessageEntity>` | Nein | Wert des TL-Typs `Vector<MessageEntity>`. |\n| `media` | `InputMedia` | Nein | TL Type: InputMedia. |\n| `reply_markup` | `ReplyMarkup` | Nein | Тип TL: ReplyMarkup. |\n| `rich_message` | `InputRichMessage` | Nein | Тип TL: InputRichMessage. |\n| `random_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `reply_to` | `InputReplyTo` | Nein | Тип TL: InputReplyTo. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3129827125"}}, "/catalog/ephemeral.deleteMessage": {"post": {"operationId": "ephemeral.deleteMessage", "tags": ["Temporäre Nachrichten"], "summary": "ephemeral.deleteMessage", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "ephemeral.deleteMessage", "x-tl-id": "2465654679", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer.", "x-tl-flag": "flags.0?InputPeer"}, "receiver_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["receiver_id", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Nein | TL Type: InputPeer. |\n| `receiver_id` | `InputUser` | Ja | TL Type: InputUser. |\n| `id` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2465654679"}}, "/catalog/ephemeral.reportMessage": {"post": {"operationId": "ephemeral.reportMessage", "tags": ["Temporäre Nachrichten"], "summary": "ephemeral.reportMessage", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "ephemeral.reportMessage", "x-tl-id": "2265248447", "x-tl-result": "ReportResult", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto Result · `ReportResult`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ReportResult", "oneOf": [{"$ref": "#/components/schemas/reportResultChooseOption"}, {"$ref": "#/components/schemas/reportResultAddComment"}, {"$ref": "#/components/schemas/reportResultReported"}], "description": "TL Type: ReportResult."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}, "message": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["peer", "id", "option", "message"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `option` | `bytes` | Ja | Wert des TL-Typs `bytes`. |\n| `message` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2265248447"}}, "/catalog/ephemeral.getCallbackAnswer": {"post": {"operationId": "ephemeral.getCallbackAnswer", "tags": ["Temporäre Nachrichten"], "summary": "ephemeral.getCallbackAnswer", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "ephemeral.getCallbackAnswer", "x-tl-id": "1067738312", "x-tl-result": "messages.BotCallbackAnswer", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.BotCallbackAnswer`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.BotCallbackAnswer", "oneOf": [{"$ref": "#/components/schemas/messages.botCallbackAnswer"}], "description": "TL type: messages.BotCallbackAnswer."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes", "description": "Wert des TL-Typs `bytes`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `data` | `bytes` | Nein | Wert des TL-Typs `bytes`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1067738312"}}, "/catalog/ephemeral.editMessage": {"post": {"operationId": "ephemeral.editMessage", "tags": ["Temporäre Nachrichten"], "summary": "ephemeral.editMessage", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "ephemeral.editMessage", "x-tl-id": "3483136603", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Wert des TL-Typs `true`."}, "welcome": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Wert des TL-Typs `true`."}, "peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer.", "x-tl-flag": "flags.7?InputPeer"}, "receiver_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}, "media": {"type": "object", "x-tl-type": "InputMedia", "oneOf": [{"$ref": "#/components/schemas/inputMediaEmpty"}, {"$ref": "#/components/schemas/inputMediaUploadedPhoto"}, {"$ref": "#/components/schemas/inputMediaPhoto"}, {"$ref": "#/components/schemas/inputMediaGeoPoint"}, {"$ref": "#/components/schemas/inputMediaContact"}, {"$ref": "#/components/schemas/inputMediaUploadedDocument"}, {"$ref": "#/components/schemas/inputMediaDocument"}, {"$ref": "#/components/schemas/inputMediaVenue"}, {"$ref": "#/components/schemas/inputMediaPhotoExternal"}, {"$ref": "#/components/schemas/inputMediaDocumentExternal"}, {"$ref": "#/components/schemas/inputMediaGame"}, {"$ref": "#/components/schemas/inputMediaInvoice"}, {"$ref": "#/components/schemas/inputMediaGeoLive"}, {"$ref": "#/components/schemas/inputMediaPoll"}, {"$ref": "#/components/schemas/inputMediaDice"}, {"$ref": "#/components/schemas/inputMediaStory"}, {"$ref": "#/components/schemas/inputMediaWebPage"}, {"$ref": "#/components/schemas/inputMediaPaidMedia"}, {"$ref": "#/components/schemas/inputMediaTodo"}, {"$ref": "#/components/schemas/inputMediaStakeDice"}, {"$ref": "#/components/schemas/inputMediaWidget"}, {"$ref": "#/components/schemas/inputMediaWidgetId"}], "description": "TL Type: InputMedia.", "x-tl-flag": "flags.3?InputMedia"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "oneOf": [{"$ref": "#/components/schemas/messageEntityUnknown"}, {"$ref": "#/components/schemas/messageEntityMention"}, {"$ref": "#/components/schemas/messageEntityHashtag"}, {"$ref": "#/components/schemas/messageEntityBotCommand"}, {"$ref": "#/components/schemas/messageEntityUrl"}, {"$ref": "#/components/schemas/messageEntityEmail"}, {"$ref": "#/components/schemas/messageEntityBold"}, {"$ref": "#/components/schemas/messageEntityItalic"}, {"$ref": "#/components/schemas/messageEntityCode"}, {"$ref": "#/components/schemas/messageEntityPre"}, {"$ref": "#/components/schemas/messageEntityTextUrl"}, {"$ref": "#/components/schemas/messageEntityMentionName"}, {"$ref": "#/components/schemas/inputMessageEntityMentionName"}, {"$ref": "#/components/schemas/messageEntityPhone"}, {"$ref": "#/components/schemas/messageEntityCashtag"}, {"$ref": "#/components/schemas/messageEntityUnderline"}, {"$ref": "#/components/schemas/messageEntityStrike"}, {"$ref": "#/components/schemas/messageEntityBankCard"}, {"$ref": "#/components/schemas/messageEntitySpoiler"}, {"$ref": "#/components/schemas/messageEntityCustomEmoji"}, {"$ref": "#/components/schemas/messageEntityBlockquote"}, {"$ref": "#/components/schemas/messageEntityFormattedDate"}, {"$ref": "#/components/schemas/messageEntityDiffInsert"}, {"$ref": "#/components/schemas/messageEntityDiffReplace"}, {"$ref": "#/components/schemas/messageEntityDiffDelete"}, {"$ref": "#/components/schemas/messageEntityTonAddress"}], "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "Wert des TL-Typs `Vector<MessageEntity>`."}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "oneOf": [{"$ref": "#/components/schemas/replyKeyboardHide"}, {"$ref": "#/components/schemas/replyKeyboardForceReply"}, {"$ref": "#/components/schemas/replyKeyboardMarkup"}, {"$ref": "#/components/schemas/replyInlineMarkup"}], "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "oneOf": [{"$ref": "#/components/schemas/inputRichMessage"}, {"$ref": "#/components/schemas/inputRichMessageHTML"}, {"$ref": "#/components/schemas/inputRichMessageMarkdown"}], "description": "Тип TL: InputRichMessage.", "x-tl-flag": "flags.4?InputRichMessage"}}, "additionalProperties": false, "required": ["receiver_id", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `invert_media` | `true` | Nein | Wert des TL-Typs `true`. |\n| `welcome` | `true` | Nein | Wert des TL-Typs `true`. |\n| `peer` | `InputPeer` | Nein | TL Type: InputPeer. |\n| `receiver_id` | `InputUser` | Ja | TL Type: InputUser. |\n| `id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `message` | `string` | Nein | Wert des TL-Typs `string`. |\n| `media` | `InputMedia` | Nein | TL Type: InputMedia. |\n| `entities` | `Vector<MessageEntity>` | Nein | Wert des TL-Typs `Vector<MessageEntity>`. |\n| `reply_markup` | `ReplyMarkup` | Nein | Тип TL: ReplyMarkup. |\n| `rich_message` | `InputRichMessage` | Nein | Тип TL: InputRichMessage. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3483136603"}}, "/catalog/ephemeral.deleteWelcomeMessage": {"post": {"operationId": "ephemeral.deleteWelcomeMessage", "tags": ["Temporäre Nachrichten"], "summary": "ephemeral.deleteWelcomeMessage", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "ephemeral.deleteWelcomeMessage", "x-tl-id": "3900877281", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `id` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3900877281"}}, "/catalog/ephemeral.deleteAllWelcomeMessages": {"post": {"operationId": "ephemeral.deleteAllWelcomeMessages", "tags": ["Temporäre Nachrichten"], "summary": "ephemeral.deleteAllWelcomeMessages", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "ephemeral.deleteAllWelcomeMessages", "x-tl-id": "1934595873", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1934595873"}}, "/catalog/ephemeral.getWelcomeMessages": {"post": {"operationId": "ephemeral.getWelcomeMessages", "tags": ["Temporäre Nachrichten"], "summary": "ephemeral.getWelcomeMessages", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "ephemeral.getWelcomeMessages", "x-tl-id": "3684352397", "x-tl-result": "ephemeral.WelcomeMessages", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `ephemeral.WelcomeMessages`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ephemeral.WelcomeMessages", "oneOf": [{"$ref": "#/components/schemas/ephemeral.welcomeMessagesNotModified"}, {"$ref": "#/components/schemas/ephemeral.welcomeMessages"}], "description": "Тип TL: ephemeral.WelcomeMessages."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `hash` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3684352397"}}, "/catalog/toncenter.performApiRequest": {"post": {"operationId": "toncenter.performApiRequest", "tags": ["TON Center"], "summary": "toncenter.performApiRequest", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "toncenter.performApiRequest", "x-tl-id": "2373705057", "x-tl-result": "toncenter.ApiResponse", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `toncenter.ApiResponse`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "toncenter.ApiResponse", "oneOf": [{"$ref": "#/components/schemas/toncenter.apiResponse"}], "description": "Тип TL: toncenter.ApiResponse."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"post": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "endpoint": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Wert des TL-Typs `string`."}, "payload": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["endpoint"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `post` | `true` | Nein | Wert des TL-Typs `true`. |\n| `endpoint` | `string` | Ja | Wert des TL-Typs `string`. |\n| `query` | `string` | Nein | Wert des TL-Typs `string`. |\n| `payload` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2373705057"}}, "/catalog/toncenter.getStreamingUrl": {"post": {"operationId": "toncenter.getStreamingUrl", "tags": ["TON Center"], "summary": "toncenter.getStreamingUrl", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "toncenter.getStreamingUrl", "x-tl-id": "3450823623", "x-tl-result": "toncenter.StreamingUrl", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `toncenter.StreamingUrl`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "toncenter.StreamingUrl", "oneOf": [{"$ref": "#/components/schemas/toncenter.streamingUrl"}], "description": "Тип TL: toncenter.StreamingUrl."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3450823623"}}, "/catalog/wallet.getState": {"post": {"operationId": "wallet.getState", "tags": ["Wallet"], "summary": "wallet.getState", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getState", "x-tl-id": "2877535034", "x-tl-result": "WalletState", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `WalletState`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WalletState", "oneOf": [{"$ref": "#/components/schemas/walletStateEmpty"}, {"$ref": "#/components/schemas/walletState"}], "description": "Тип TL: WalletState."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2877535034"}}, "/catalog/wallet.getUserAddresses": {"post": {"operationId": "wallet.getUserAddresses", "tags": ["Wallet"], "summary": "wallet.getUserAddresses", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getUserAddresses", "x-tl-id": "1383456733", "x-tl-result": "wallet.UserAddresses", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.UserAddresses`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.UserAddresses", "oneOf": [{"$ref": "#/components/schemas/wallet.userAddresses"}], "description": "Тип TL: wallet.UserAddresses."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Wert des TL-Typs `Vector<InputUser>`."}, "addresses": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Wert des TL-Typs `Vector<string>`."}}, "additionalProperties": false, "required": ["id", "addresses"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `force` | `true` | Nein | Wert des TL-Typs `true`. |\n| `id` | `Vector<InputUser>` | Ja | Wert des TL-Typs `Vector<InputUser>`. |\n| `addresses` | `Vector<string>` | Ja | Wert des TL-Typs `Vector<string>`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1383456733"}}, "/catalog/wallet.getTransactions": {"post": {"operationId": "wallet.getTransactions", "tags": ["Wallet"], "summary": "wallet.getTransactions", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getTransactions", "x-tl-id": "2827160195", "x-tl-result": "wallet.Transactions", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.Transactions`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.Transactions", "oneOf": [{"$ref": "#/components/schemas/wallet.transactions"}], "description": "Тип TL: wallet.Transactions."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"inbound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "outbound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `inbound` | `true` | Nein | Wert des TL-Typs `true`. |\n| `outbound` | `true` | Nein | Wert des TL-Typs `true`. |\n| `offset` | `string` | Ja | Wert des TL-Typs `string`. |\n| `limit` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2827160195"}}, "/catalog/wallet.getTransactionsByIDs": {"post": {"operationId": "wallet.getTransactionsByIDs", "tags": ["Wallet"], "summary": "wallet.getTransactionsByIDs", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getTransactionsByIDs", "x-tl-id": "2166155958", "x-tl-result": "wallet.Transactions", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.Transactions`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.Transactions", "oneOf": [{"$ref": "#/components/schemas/wallet.transactions"}], "description": "Тип TL: wallet.Transactions."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Wert des TL-Typs `Vector<string>`."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `id` | `Vector<string>` | Ja | Wert des TL-Typs `Vector<string>`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2166155958"}}, "/catalog/wallet.getTransactionsByMsgHash": {"post": {"operationId": "wallet.getTransactionsByMsgHash", "tags": ["Wallet"], "summary": "wallet.getTransactionsByMsgHash", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getTransactionsByMsgHash", "x-tl-id": "2797304157", "x-tl-result": "wallet.Transactions", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.Transactions`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.Transactions", "oneOf": [{"$ref": "#/components/schemas/wallet.transactions"}], "description": "Тип TL: wallet.Transactions."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"msg_hash": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Wert des TL-Typs `Vector<string>`."}}, "additionalProperties": false, "required": ["msg_hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `msg_hash` | `Vector<string>` | Ja | Wert des TL-Typs `Vector<string>`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2797304157"}}, "/catalog/wallet.exportSecretPhrase": {"post": {"operationId": "wallet.exportSecretPhrase", "tags": ["Wallet"], "summary": "wallet.exportSecretPhrase", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.exportSecretPhrase", "x-tl-id": "2423769516", "x-tl-result": "wallet.SecretPhraseParts", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.SecretPhraseParts`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.SecretPhraseParts", "oneOf": [{"$ref": "#/components/schemas/wallet.secretPhraseParts"}], "description": "Тип TL: wallet.SecretPhraseParts."}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "Тип TL: InputCheckPasswordSRP.", "x-tl-flag": "flags.0?InputCheckPasswordSRP"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Nein | Тип TL: InputCheckPasswordSRP. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2423769516"}}, "/catalog/wallet.fetchEncryptedSecretPhrasePart": {"post": {"operationId": "wallet.fetchEncryptedSecretPhrasePart", "tags": ["Wallet"], "summary": "wallet.fetchEncryptedSecretPhrasePart", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.fetchEncryptedSecretPhrasePart", "x-tl-id": "4114163151", "x-tl-result": "wallet.EncryptedSecretPhrasePart", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.EncryptedSecretPhrasePart`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.EncryptedSecretPhrasePart", "oneOf": [{"$ref": "#/components/schemas/wallet.encryptedSecretPhrasePart"}], "description": "Тип TL: wallet.EncryptedSecretPhrasePart."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"token": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}}, "additionalProperties": false, "required": ["token", "public_key"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `token` | `string` | Ja | Wert des TL-Typs `string`. |\n| `public_key` | `bytes` | Ja | Wert des TL-Typs `bytes`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "4114163151"}}, "/catalog/wallet.replaceWallet": {"post": {"operationId": "wallet.replaceWallet", "tags": ["Wallet"], "summary": "wallet.replaceWallet", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.replaceWallet", "x-tl-id": "3636932332", "x-tl-result": "WalletState", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `WalletState`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WalletState", "oneOf": [{"$ref": "#/components/schemas/walletStateEmpty"}, {"$ref": "#/components/schemas/walletState"}], "description": "Тип TL: WalletState."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"wallet": {"type": "object", "x-tl-type": "InputWalletReplacement", "oneOf": [{"$ref": "#/components/schemas/inputWalletNew"}, {"$ref": "#/components/schemas/inputWalletImported"}], "description": "Тип TL: InputWalletReplacement."}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "Тип TL: InputCheckPasswordSRP.", "x-tl-flag": "flags.0?InputCheckPasswordSRP"}}, "additionalProperties": false, "required": ["wallet"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `wallet` | `InputWalletReplacement` | Ja | Тип TL: InputWalletReplacement. |\n| `password` | `InputCheckPasswordSRP` | Nein | Тип TL: InputCheckPasswordSRP. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3636932332"}}, "/catalog/wallet.disableBackup": {"post": {"operationId": "wallet.disableBackup", "tags": ["Wallet"], "summary": "wallet.disableBackup", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.disableBackup", "x-tl-id": "185331930", "x-tl-result": "WalletState", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `WalletState`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WalletState", "oneOf": [{"$ref": "#/components/schemas/walletStateEmpty"}, {"$ref": "#/components/schemas/walletState"}], "description": "Тип TL: WalletState."}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "Тип TL: InputCheckPasswordSRP.", "x-tl-flag": "flags.0?InputCheckPasswordSRP"}, "new_public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes", "description": "Wert des TL-Typs `bytes`."}, "proof": {"type": "object", "x-tl-type": "WalletOwnershipProof", "oneOf": [{"$ref": "#/components/schemas/walletOwnershipProof"}], "description": "Тип TL: WalletOwnershipProof.", "x-tl-flag": "flags.2?WalletOwnershipProof"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | Nein | Тип TL: InputCheckPasswordSRP. |\n| `new_public_key` | `bytes` | Nein | Wert des TL-Typs `bytes`. |\n| `proof` | `WalletOwnershipProof` | Nein | Тип TL: WalletOwnershipProof. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "185331930"}}, "/catalog/wallet.getBackupHolderDcs": {"post": {"operationId": "wallet.getBackupHolderDcs", "tags": ["Wallet"], "summary": "wallet.getBackupHolderDcs", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getBackupHolderDcs", "x-tl-id": "3514422420", "x-tl-result": "Vector<wallet.HolderDc>", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `Vector<wallet.HolderDc>`.", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "wallet.HolderDc", "oneOf": [{"$ref": "#/components/schemas/wallet.holderDc"}], "description": "Тип TL: wallet.HolderDc."}, "x-tl-type": "Vector<wallet.HolderDc>"}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3514422420"}}, "/catalog/wallet.enableBackup": {"post": {"operationId": "wallet.enableBackup", "tags": ["Wallet"], "summary": "wallet.enableBackup", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.enableBackup", "x-tl-id": "1157678373", "x-tl-result": "WalletState", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `WalletState`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WalletState", "oneOf": [{"$ref": "#/components/schemas/walletStateEmpty"}, {"$ref": "#/components/schemas/walletState"}], "description": "Тип TL: WalletState."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"parts": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>", "description": "Wert des TL-Typs `Vector<bytes>`."}, "new_public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes", "description": "Wert des TL-Typs `bytes`."}, "proof": {"type": "object", "x-tl-type": "WalletOwnershipProof", "oneOf": [{"$ref": "#/components/schemas/walletOwnershipProof"}], "description": "Тип TL: WalletOwnershipProof.", "x-tl-flag": "flags.2?WalletOwnershipProof"}}, "additionalProperties": false, "required": ["parts"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `parts` | `Vector<bytes>` | Ja | Wert des TL-Typs `Vector<bytes>`. |\n| `new_public_key` | `bytes` | Nein | Wert des TL-Typs `bytes`. |\n| `proof` | `WalletOwnershipProof` | Nein | Тип TL: WalletOwnershipProof. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1157678373"}}, "/catalog/wallet.getProofChallenge": {"post": {"operationId": "wallet.getProofChallenge", "tags": ["Wallet"], "summary": "wallet.getProofChallenge", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getProofChallenge", "x-tl-id": "539354775", "x-tl-result": "wallet.ProofChallenge", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.ProofChallenge`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.ProofChallenge", "oneOf": [{"$ref": "#/components/schemas/wallet.proofChallenge"}], "description": "Тип TL: wallet.ProofChallenge."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "539354775"}}, "/catalog/wallet.sendTransfer": {"post": {"operationId": "wallet.sendTransfer", "tags": ["Wallet"], "summary": "wallet.sendTransfer", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.sendTransfer", "x-tl-id": "3655719394", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"data_normal": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}, "data_gasless": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Wert des TL-Typs `bytes`."}, "user_id": {"type": "object", "x-tl-type": "InputUser", "oneOf": [{"$ref": "#/components/schemas/inputUserEmpty"}, {"$ref": "#/components/schemas/inputUserSelf"}, {"$ref": "#/components/schemas/inputUser"}, {"$ref": "#/components/schemas/inputUserFromMessage"}], "description": "TL Type: InputUser."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["data_normal", "user_id", "random_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `data_normal` | `bytes` | Ja | Wert des TL-Typs `bytes`. |\n| `data_gasless` | `bytes` | Nein | Wert des TL-Typs `bytes`. |\n| `user_id` | `InputUser` | Ja | TL Type: InputUser. |\n| `random_id` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3655719394"}}, "/catalog/wallet.getGaslessInfo": {"post": {"operationId": "wallet.getGaslessInfo", "tags": ["Wallet"], "summary": "wallet.getGaslessInfo", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getGaslessInfo", "x-tl-id": "1949167777", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1949167777"}}, "/catalog/wallet.getExistingWaltBalance": {"post": {"operationId": "wallet.getExistingWaltBalance", "tags": ["Wallet"], "summary": "wallet.getExistingWaltBalance", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getExistingWaltBalance", "x-tl-id": "1763656544", "x-tl-result": "wallet.ExistingBalance", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.ExistingBalance`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.ExistingBalance", "oneOf": [{"$ref": "#/components/schemas/wallet.existingBalance"}], "description": "Тип TL: wallet.ExistingBalance."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1763656544"}}, "/catalog/wallet.getNfts": {"post": {"operationId": "wallet.getNfts", "tags": ["Wallet"], "summary": "wallet.getNfts", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getNfts", "x-tl-id": "2350052260", "x-tl-result": "wallet.NftItems", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.NftItems`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.NftItems", "oneOf": [{"$ref": "#/components/schemas/wallet.nftItems"}], "description": "Тип TL: wallet.NftItems."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offset": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offset` | `string` | Ja | Wert des TL-Typs `string`. |\n| `limit` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2350052260"}}, "/catalog/wallet.tonConnectCreateSession": {"post": {"operationId": "wallet.tonConnectCreateSession", "tags": ["Wallet"], "summary": "wallet.tonConnectCreateSession", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.tonConnectCreateSession", "x-tl-id": "3432190022", "x-tl-result": "TonConnectSession", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `TonConnectSession`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "TonConnectSession", "oneOf": [{"$ref": "#/components/schemas/tonConnectSession"}], "description": "Тип TL: TonConnectSession."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"dapp_client_id": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "manifest_url": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["dapp_client_id", "manifest_url"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dapp_client_id` | `string` | Ja | Wert des TL-Typs `string`. |\n| `manifest_url` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3432190022"}}, "/catalog/wallet.tonConnectRegisterKey": {"post": {"operationId": "wallet.tonConnectRegisterKey", "tags": ["Wallet"], "summary": "wallet.tonConnectRegisterKey", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.tonConnectRegisterKey", "x-tl-id": "864800540", "x-tl-result": "wallet.TonConnectChallenge", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.TonConnectChallenge`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.TonConnectChallenge", "oneOf": [{"$ref": "#/components/schemas/wallet.tonConnectChallenge"}], "description": "Тип TL: wallet.TonConnectChallenge."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "client_id": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["session_id", "client_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `session_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `client_id` | `string` | Ja | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "864800540"}}, "/catalog/wallet.tonConnectSubmitConnectResult": {"post": {"operationId": "wallet.tonConnectSubmitConnectResult", "tags": ["Wallet"], "summary": "wallet.tonConnectSubmitConnectResult", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.tonConnectSubmitConnectResult", "x-tl-id": "3267364729", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"error": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "challenge_answer": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["session_id", "challenge_answer", "body"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `error` | `true` | Nein | Wert des TL-Typs `true`. |\n| `session_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `challenge_answer` | `bytes` | Ja | Wert des TL-Typs `bytes`. |\n| `body` | `bytes` | Ja | Wert des TL-Typs `bytes`. |\n| `trace_id` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3267364729"}}, "/catalog/wallet.tonConnectGetPending": {"post": {"operationId": "wallet.tonConnectGetPending", "tags": ["Wallet"], "summary": "wallet.tonConnectGetPending", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.tonConnectGetPending", "x-tl-id": "296673381", "x-tl-result": "wallet.TonConnectPending", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.TonConnectPending`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.TonConnectPending", "oneOf": [{"$ref": "#/components/schemas/wallet.tonConnectPending"}], "description": "Тип TL: wallet.TonConnectPending."}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"dapp_client_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `dapp_client_id` | `string` | Nein | Wert des TL-Typs `string`. |\n| `session_id` | `long` | Nein | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "296673381"}}, "/catalog/wallet.tonConnectClaimRequest": {"post": {"operationId": "wallet.tonConnectClaimRequest", "tags": ["Wallet"], "summary": "wallet.tonConnectClaimRequest", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.tonConnectClaimRequest", "x-tl-id": "1723169601", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"declined": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "app_request_id": {"type": "string", "x-tl-type": "string", "description": "Wert des TL-Typs `string`."}, "challenge_answer": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Wert des TL-Typs `bytes`."}}, "additionalProperties": false, "required": ["session_id", "msg_id", "app_request_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `declined` | `true` | Nein | Wert des TL-Typs `true`. |\n| `session_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `msg_id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `app_request_id` | `string` | Ja | Wert des TL-Typs `string`. |\n| `challenge_answer` | `bytes` | Nein | Wert des TL-Typs `bytes`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1723169601"}}, "/catalog/wallet.tonConnectSubmitResponse": {"post": {"operationId": "wallet.tonConnectSubmitResponse", "tags": ["Wallet"], "summary": "wallet.tonConnectSubmitResponse", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.tonConnectSubmitResponse", "x-tl-id": "4207312188", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wert des TL-Typs `bytes`."}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["session_id", "msg_id", "body"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `session_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `msg_id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `body` | `bytes` | Ja | Wert des TL-Typs `bytes`. |\n| `trace_id` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "4207312188"}}, "/catalog/wallet.tonConnectNextEventId": {"post": {"operationId": "wallet.tonConnectNextEventId", "tags": ["Wallet"], "summary": "wallet.tonConnectNextEventId", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.tonConnectNextEventId", "x-tl-id": "2002612804", "x-tl-result": "TonConnectNextEventId", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `TonConnectNextEventId`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "TonConnectNextEventId", "oneOf": [{"$ref": "#/components/schemas/tonConnectNextEventId"}], "description": "Тип TL: TonConnectNextEventId."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["session_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `session_id` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2002612804"}}, "/catalog/wallet.tonConnectCloseSession": {"post": {"operationId": "wallet.tonConnectCloseSession", "tags": ["Wallet"], "summary": "wallet.tonConnectCloseSession", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.tonConnectCloseSession", "x-tl-id": "3594478030", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Wert des TL-Typs `bytes`."}}, "additionalProperties": false, "required": ["session_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `session_id` | `long` | Ja | 64-битное целое в десятичной записи. |\n| `body` | `bytes` | Nein | Wert des TL-Typs `bytes`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3594478030"}}, "/catalog/wallet.tonConnectGetSessions": {"post": {"operationId": "wallet.tonConnectGetSessions", "tags": ["Wallet"], "summary": "wallet.tonConnectGetSessions", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.tonConnectGetSessions", "x-tl-id": "2818553198", "x-tl-result": "wallet.TonConnectSessions", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.TonConnectSessions`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.TonConnectSessions", "oneOf": [{"$ref": "#/components/schemas/wallet.tonConnectSessions"}], "description": "Тип TL: wallet.TonConnectSessions."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2818553198"}}, "/catalog/wallet.setCardStickers": {"post": {"operationId": "wallet.setCardStickers", "tags": ["Wallet"], "summary": "wallet.setCardStickers", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.setCardStickers", "x-tl-id": "109382060", "x-tl-result": "wallet.Card", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.Card`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.Card", "oneOf": [{"$ref": "#/components/schemas/wallet.card"}], "description": "Тип TL: wallet.Card."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputWalletCardSticker", "oneOf": [{"$ref": "#/components/schemas/inputWalletCardSticker"}], "description": "Тип TL: InputWalletCardSticker."}, "x-tl-type": "Vector<InputWalletCardSticker>", "description": "Wert des TL-Typs `Vector<InputWalletCardSticker>`."}, "bg_nft_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}}, "additionalProperties": false, "required": ["stickers"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stickers` | `Vector<InputWalletCardSticker>` | Ja | Wert des TL-Typs `Vector<InputWalletCardSticker>`. |\n| `bg_nft_address` | `string` | Nein | Wert des TL-Typs `string`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "109382060"}}, "/catalog/wallet.getStakingInfo": {"post": {"operationId": "wallet.getStakingInfo", "tags": ["Wallet"], "summary": "wallet.getStakingInfo", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.getStakingInfo", "x-tl-id": "2807927035", "x-tl-result": "wallet.StakingInfo", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.StakingInfo`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.StakingInfo", "oneOf": [{"$ref": "#/components/schemas/walletStakingInfo"}], "description": "Тип TL: wallet.StakingInfo."}}}}}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2807927035"}}, "/catalog/wallet.stake": {"post": {"operationId": "wallet.stake", "tags": ["Wallet"], "summary": "wallet.stake", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.stake", "x-tl-id": "840788815", "x-tl-result": "wallet.StakingPrepared", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.StakingPrepared`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.StakingPrepared", "oneOf": [{"$ref": "#/components/schemas/walletStakingPrepared"}], "description": "Тип TL: wallet.StakingPrepared."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"stake_all": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["amount"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `stake_all` | `true` | Nein | Wert des TL-Typs `true`. |\n| `amount` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "840788815"}}, "/catalog/wallet.unstake": {"post": {"operationId": "wallet.unstake", "tags": ["Wallet"], "summary": "wallet.unstake", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "wallet.unstake", "x-tl-id": "4100932396", "x-tl-result": "wallet.StakingPrepared", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `wallet.StakingPrepared`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "wallet.StakingPrepared", "oneOf": [{"$ref": "#/components/schemas/walletStakingPrepared"}], "description": "Тип TL: wallet.StakingPrepared."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"withdraw_all": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["amount"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `withdraw_all` | `true` | Nein | Wert des TL-Typs `true`. |\n| `amount` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "4100932396"}}, "/catalog/feed.getFeed": {"post": {"operationId": "feed.getFeed", "tags": ["Feed"], "summary": "feed.getFeed", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "feed.getFeed", "x-tl-id": "2121717715", "x-tl-result": "feed.FeedMessages", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `feed.FeedMessages`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "feed.FeedMessages", "oneOf": [{"$ref": "#/components/schemas/feed.feedMessagesNotModified"}, {"$ref": "#/components/schemas/feed.feedMessages"}], "description": "Тип TL: feed.FeedMessages."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offset_to_max_read": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Wert des TL-Typs `true`."}, "filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "offset_position": {"type": "object", "x-tl-type": "FeedPosition", "oneOf": [{"$ref": "#/components/schemas/feedPosition"}], "description": "Тип TL: FeedPosition.", "x-tl-flag": "flags.0?FeedPosition"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "max_position": {"type": "object", "x-tl-type": "FeedPosition", "oneOf": [{"$ref": "#/components/schemas/feedPosition"}], "description": "Тип TL: FeedPosition.", "x-tl-flag": "flags.1?FeedPosition"}, "min_position": {"type": "object", "x-tl-type": "FeedPosition", "oneOf": [{"$ref": "#/components/schemas/feedPosition"}], "description": "Тип TL: FeedPosition.", "x-tl-flag": "flags.2?FeedPosition"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["filter_id", "add_offset", "limit", "hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `offset_to_max_read` | `true` | Nein | Wert des TL-Typs `true`. |\n| `filter_id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `offset_position` | `FeedPosition` | Nein | Тип TL: FeedPosition. |\n| `add_offset` | `int` | Ja | Wert des TL-Typs `int`. |\n| `limit` | `int` | Ja | Wert des TL-Typs `int`. |\n| `max_position` | `FeedPosition` | Nein | Тип TL: FeedPosition. |\n| `min_position` | `FeedPosition` | Nein | Тип TL: FeedPosition. |\n| `hash` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2121717715"}}, "/catalog/feed.readFeed": {"post": {"operationId": "feed.readFeed", "tags": ["Feed"], "summary": "feed.readFeed", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "feed.readFeed", "x-tl-id": "3023487487", "x-tl-result": "Updates", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Updates`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Updates", "oneOf": [{"$ref": "#/components/schemas/updatesTooLong"}, {"$ref": "#/components/schemas/updateShortMessage"}, {"$ref": "#/components/schemas/updateShortChatMessage"}, {"$ref": "#/components/schemas/updateShort"}, {"$ref": "#/components/schemas/updatesCombined"}, {"$ref": "#/components/schemas/updates"}, {"$ref": "#/components/schemas/updateShortSentMessage"}], "description": "TL Type: Updates."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}, "max_position": {"type": "object", "x-tl-type": "FeedPosition", "oneOf": [{"$ref": "#/components/schemas/feedPosition"}], "description": "Тип TL: FeedPosition."}}, "additionalProperties": false, "required": ["filter_id", "max_position"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `filter_id` | `int` | Ja | Wert des TL-Typs `int`. |\n| `max_position` | `FeedPosition` | Ja | Тип TL: FeedPosition. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3023487487"}}, "/catalog/feed.getForYou": {"post": {"operationId": "feed.getForYou", "tags": ["Feed"], "summary": "feed.getForYou", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "feed.getForYou", "x-tl-id": "867755499", "x-tl-result": "feed.ForYouFeed", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `feed.ForYouFeed`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "feed.ForYouFeed", "oneOf": [{"$ref": "#/components/schemas/feed.forYouFeed"}], "description": "Тип TL: feed.ForYouFeed."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"refresh": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Wert des TL-Typs `true`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Wert des TL-Typs `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["limit"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `refresh` | `true` | Nein | Wert des TL-Typs `true`. |\n| `query` | `string` | Nein | Wert des TL-Typs `string`. |\n| `limit` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "867755499"}}, "/catalog/feed.getInterestCategories": {"post": {"operationId": "feed.getInterestCategories", "tags": ["Feed"], "summary": "feed.getInterestCategories", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "feed.getInterestCategories", "x-tl-id": "3128565178", "x-tl-result": "feed.InterestCategories", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "Результат MTProto · `feed.InterestCategories`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "feed.InterestCategories", "oneOf": [{"$ref": "#/components/schemas/feed.interestCategoriesNotModified"}, {"$ref": "#/components/schemas/feed.interestCategories"}], "description": "Тип TL: feed.InterestCategories."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `hash` | `long` | Ja | 64-битное целое в десятичной записи. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "3128565178"}}, "/catalog/feed.setInterestCategories": {"post": {"operationId": "feed.setInterestCategories", "tags": ["Feed"], "summary": "feed.setInterestCategories", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "feed.setInterestCategories", "x-tl-id": "2670287068", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"category_ids": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Wert des TL-Typs `Vector<int>`."}}, "additionalProperties": false, "required": ["category_ids"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `category_ids` | `Vector<int>` | Ja | Wert des TL-Typs `Vector<int>`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2670287068"}}, "/catalog/feed.likePost": {"post": {"operationId": "feed.likePost", "tags": ["Feed"], "summary": "feed.likePost", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "feed.likePost", "x-tl-id": "457925246", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `msg_id` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "457925246"}}, "/catalog/feed.dislikePost": {"post": {"operationId": "feed.dislikePost", "tags": ["Feed"], "summary": "feed.dislikePost", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "feed.dislikePost", "x-tl-id": "1299191644", "x-tl-result": "Bool", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `Bool`.", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"peer": {"type": "object", "x-tl-type": "InputPeer", "oneOf": [{"$ref": "#/components/schemas/inputPeerEmpty"}, {"$ref": "#/components/schemas/inputPeerSelf"}, {"$ref": "#/components/schemas/inputPeerChat"}, {"$ref": "#/components/schemas/inputPeerUser"}, {"$ref": "#/components/schemas/inputPeerChannel"}, {"$ref": "#/components/schemas/inputPeerUserFromMessage"}, {"$ref": "#/components/schemas/inputPeerChannelFromMessage"}], "description": "TL Type: InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert des TL-Typs `int`."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | Ja | TL Type: InputPeer. |\n| `msg_id` | `int` | Ja | Wert des TL-Typs `int`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "1299191644"}}, "/catalog/feed.getSponsoredMessages": {"post": {"operationId": "feed.getSponsoredMessages", "tags": ["Feed"], "summary": "feed.getSponsoredMessages", "description": "Methode der Telegram-Client-API. Diese Karte zeigt ihre TL-Argumente und die Antwort.\n\nFür diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-tl-method": "feed.getSponsoredMessages", "x-tl-id": "2276398804", "x-tl-result": "messages.SponsoredMessages", "x-catalog-only": true, "x-telegram-audience": null, "x-telegram-related": [], "responses": {"200": {"description": "MTProto result · `messages.SponsoredMessages`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.SponsoredMessages", "oneOf": [{"$ref": "#/components/schemas/messages.sponsoredMessages"}, {"$ref": "#/components/schemas/messages.sponsoredMessagesEmpty"}], "description": "Type TL: messages.SponsoredMessages."}}}}}, "requestBody": {"required": false, "content": {"application/json": {"schema": {"type": "object", "properties": {"for_you": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true", "description": "Wert des TL-Typs `true`."}}, "additionalProperties": false}}}, "description": "| Name | Typ | Erforderlich | Beschreibung |\n| --- | --- | --- | --- |\n| `for_you` | `true` | Nein | Wert des TL-Typs `true`. |"}, "x-telegram-docs-note": "Für diese Methode wurde keine eigene Seite in der offiziellen Telegram-Dokumentation gefunden.", "x-browser-schema-id": "2276398804"}}}, "components": {"schemas": {"boolFalse": {"title": "boolFalse", "type": "object", "properties": {"_": {"type": "string", "enum": ["boolFalse"]}}, "required": ["_"], "additionalProperties": false}, "boolTrue": {"title": "boolTrue", "type": "object", "properties": {"_": {"type": "string", "enum": ["boolTrue"]}}, "required": ["_"], "additionalProperties": false}, "true": {"title": "true", "type": "object", "properties": {"_": {"type": "string", "enum": ["true"]}}, "required": ["_"], "additionalProperties": false}, "vector": {"title": "vector", "type": "object", "properties": {"_": {"type": "string", "enum": ["vector"]}}, "required": ["_"], "additionalProperties": false}, "error": {"title": "error", "type": "object", "properties": {"_": {"type": "string", "enum": ["error"]}, "code": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "code", "text"], "additionalProperties": false}, "null": {"title": "null", "type": "object", "properties": {"_": {"type": "string", "enum": ["null"]}}, "required": ["_"], "additionalProperties": false}, "inputPeerEmpty": {"title": "inputPeerEmpty", "description": "Ein leerer Konstruktor, kein Benutzer oder Chat ist definiert.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputPeerSelf": {"title": "inputPeerSelf", "description": "Definiert den aktuellen Benutzer.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerSelf"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerSelf"]}}, "required": ["_"], "additionalProperties": false}, "inputPeerChat": {"title": "inputPeerChat", "description": "Definiert einen Chat für weitere Interaktion.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Chat-ID", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "chat_id"], "additionalProperties": false}, "inputPeerUser": {"title": "inputPeerUser", "description": "Definiert einen Benutzer für die weitere Interaktion.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Benutzerkennung", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** Wert vom [Benutzer](https://core.telegram.org/constructor/user.md)-Konstruktor", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "access_hash"], "additionalProperties": false}, "inputPeerChannel": {"title": "inputPeerChannel", "description": "Definiert einen Kanal für die weitere Interaktion.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerChannel"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Kanalkennung", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** Wert vom [channel](https://core.telegram.org/constructor/channel.md)-Konstruktor", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "channel_id", "access_hash"], "additionalProperties": false}, "inputPeerUserFromMessage": {"title": "inputPeerUserFromMessage", "description": "Definiert einen [min](https://core.telegram.org/api/min.md) Benutzer, der in einer bestimmten Nachricht eines bestimmten Chats gesehen wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerUserFromMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerUserFromMessage"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Chat, in dem der Benutzer gesehen wurde", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Nachrichten-ID", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Die Kennung des gesehenen Benutzers", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "user_id"], "additionalProperties": false}, "inputPeerChannelFromMessage": {"title": "inputPeerChannelFromMessage", "description": "Definiert einen [min](https://core.telegram.org/api/min.md) Kanal, der in einer bestimmten Nachricht eines bestimmten Chats gesehen wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerChannelFromMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerChannelFromMessage"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Chat, in dem die Nachricht des Kanals gesehen wurde", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Nachrichten-ID", "x-telegram-field-docs": true}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Die Kennung des Kanals, der gesehen wurde", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "channel_id"], "additionalProperties": false}, "inputUserEmpty": {"title": "inputUserEmpty", "description": "Leerer Konstruktor, definiert keinen Benutzer.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUserEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUserEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputUserSelf": {"title": "inputUserSelf", "description": "Definiert den aktuellen Benutzer.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUserSelf"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUserSelf"]}}, "required": ["_"], "additionalProperties": false}, "inputUser": {"title": "inputUser", "description": "Definiert einen Benutzer für die weitere Interaktion.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Benutzerkennung", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** Wert vom [Benutzer](https://core.telegram.org/constructor/user.md)-Konstruktor", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "access_hash"], "additionalProperties": false}, "inputUserFromMessage": {"title": "inputUserFromMessage", "description": "Definiert einen [min](https://core.telegram.org/api/min.md) Benutzer, der in einer bestimmten Nachricht eines bestimmten Chats gesehen wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUserFromMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUserFromMessage"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Chat, in dem der Benutzer gesehen wurde", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Nachrichten-ID", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Die Kennung des gesehenen Benutzers", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "user_id"], "additionalProperties": false}, "inputPhoneContact": {"title": "inputPhoneContact", "description": "Telefonkontakt.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhoneContact"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhoneContact"]}, "client_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Eine beliebige 64-Bit-Ganzzahl: Sie sollte beispielsweise bei Verwendung von [contacts.importContacts](https://core.telegram.org/method/contacts.importContacts.md) auf eine inkrementelle Zahl gesetzt werden, um den Import nur der Kontakte erneut zu versuchen, die gemäß der in [contacts.importedContacts](https://core.telegram.org/constructor/contacts.importedContacts.md).`retry_contacts` zurückgegebenen client_ids nicht erfolgreich importiert wurden.", "x-tl-type": "long", "x-telegram-field-docs": true}, "phone": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Vorname des Kontakts", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Nachname des Kontakts", "x-telegram-field-docs": true}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Eine private Notiz für diesen Kontakt, nur für uns sichtbar; Weitere Informationen zu Kontaktnotizen finden Sie [hier »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts)].", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "client_id", "phone", "first_name", "last_name"], "additionalProperties": false}, "inputFile": {"title": "inputFile", "description": "Definiert eine in Teilen gespeicherte Datei mit der Methode [upload.saveFilePart](https://core.telegram.org/method/upload.saveFilePart.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Zufälliger, vom Client erstellter Dateibezeichner", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der gespeicherten Teile", "x-telegram-field-docs": true}, "name": {"type": "string", "x-tl-type": "string", "description": "Vollständiger Name der Datei", "x-telegram-field-docs": true}, "md5_checksum": {"type": "string", "x-tl-type": "string", "description": "Falls der [md5-hash](https://en.wikipedia.org/wiki/MD5#MD5_hashes)] der Datei übergeben wurde, wird der Inhalt der Datei vor der Verwendung überprüft", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "name", "md5_checksum"], "additionalProperties": false}, "inputFileBig": {"title": "inputFileBig", "description": "Weist eine große Datei (über 10 MB groß) zu, die teilweise mit der Methode [upload.saveBigFilePart](https://core.telegram.org/method/upload.saveBigFilePart.md)] gespeichert wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputFileBig"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFileBig"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Zufällige Datei-ID, vom Client erstellt", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der gespeicherten Teile", "x-telegram-field-docs": true}, "name": {"type": "string", "x-tl-type": "string", "description": "Vollständiger Dateiname", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "name"], "additionalProperties": false}, "inputFileStoryDocument": {"title": "inputFileStoryDocument", "description": "Wird verwendet, um die Miniaturansicht/statische Vorschau einer Story zu bearbeiten. Weitere Informationen zum gesamten Ablauf finden Sie hier »](https://core.telegram.org/api/stories.md#editing-stories).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputFileStoryDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFileStoryDocument"]}, "id": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Das alte Story-Video.", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaEmpty": {"title": "inputMediaEmpty", "description": "Leerer Medieninhalt einer Nachricht.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputMediaUploadedPhoto": {"title": "inputMediaUploadedPhoto", "description": "Foto", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaUploadedPhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaUploadedPhoto"]}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Medium hinter einer Spoilerwarnung versteckt werden sollte", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "live_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um ein Live-Foto handelt, i.e. ein Standbild gepaart mit dem kurzen `video`-Clip, der daneben aufgenommen wurde", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "file": {"type": "object", "x-tl-type": "InputFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputFile", "inputFileBig", "inputFileStoryDocument"]}}, "description": "Die [hochgeladene Datei](https://core.telegram.org/api/files.md)", "x-telegram-field-docs": true}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "TL Type: InputDocument."}, "x-tl-type": "Vector<InputDocument>", "description": "Angebrachte Maskenaufkleber", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<InputDocument>"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Lebenszeit eines selbstzerstörenden Fotos kann sein: `0`, um die Selbstzerstörung zu deaktivieren, `0x7FFFFFFF`, um das Foto unmittelbar nach der Wiedergabe selbst zu zerstören; andernfalls zerstört es sich `ttl_seconds` selbst, nachdem es gespielt wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "video": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Der kurze Videoclip des Livefotos", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputDocument"}}, "required": ["_", "file"], "additionalProperties": false}, "inputMediaPhoto": {"title": "inputMediaPhoto", "description": "Foto weitergeleitet", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaPhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaPhoto"]}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Medium hinter einer Spoilerwarnung versteckt werden sollte", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "live_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um ein Live-Foto handelt, i.e. ein Standbild gepaart mit dem kurzen `video`-Clip, der daneben aufgenommen wurde", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "id": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Foto soll weitergeleitet werden", "x-telegram-field-docs": true}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Lebenszeit eines selbstzerstörenden Fotos kann sein: `0`, um die Selbstzerstörung zu deaktivieren, `0x7FFFFFFF`, um das Dokument unmittelbar nach der Wiedergabe selbst zu zerstören; andernfalls zerstört es sich `ttl_seconds` nach dem Spielen selbst.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "video": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Der kurze Videoclip des Livefotos", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputDocument"}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaGeoPoint": {"title": "inputMediaGeoPoint", "description": "Karte.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaGeoPoint"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaGeoPoint"]}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "GeoPoint", "x-telegram-field-docs": true}}, "required": ["_", "geo_point"], "additionalProperties": false}, "inputMediaContact": {"title": "inputMediaContact", "description": "Kontakt zum Telefonbuch", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaContact"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaContact"]}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Vorname des Kontakts", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Nachname des Kontakts", "x-telegram-field-docs": true}, "vcard": {"type": "string", "x-tl-type": "string", "description": "Kontaktieren Sie vcard", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard"], "additionalProperties": false}, "inputMediaUploadedDocument": {"title": "inputMediaUploadedDocument", "description": "Neues Dokument", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaUploadedDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaUploadedDocument"]}, "nosound_video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Datei als Video gesendet werden soll, auch wenn sie keine Audiospur hat (i.e. Wenn festgelegt, wird das Attribut [documentAttributeAnimated](https://core.telegram.org/constructor/documentAttributeAnimated.md) auch für Videos ohne Audio **nicht** festgelegt)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "force_file": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Erzwingen Sie das Hochladen der Mediendatei als Dokument", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Medium hinter einer Spoilerwarnung versteckt werden sollte", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "file": {"type": "object", "x-tl-type": "InputFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputFile", "inputFileBig", "inputFileStoryDocument"]}}, "description": "Die [hochgeladene Datei](https://core.telegram.org/api/files.md)", "x-telegram-field-docs": true}, "thumb": {"type": "object", "x-tl-type": "InputFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputFile", "inputFileBig", "inputFileStoryDocument"]}}, "description": "Miniaturansicht des Dokuments, hochgeladen wie bei der Datei", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputFile"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME Art des Dokuments", "x-telegram-field-docs": true}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "DocumentAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize", "documentAttributeAnimated", "documentAttributeSticker", "documentAttributeVideo", "documentAttributeAudio", "documentAttributeFilename", "documentAttributeHasStickers", "documentAttributeCustomEmoji"]}}, "description": "Тип TL: DocumentAttribute."}, "x-tl-type": "Vector<DocumentAttribute>", "description": "Attribute, die den Typ des Dokuments angeben (Video, Audio, Sprache, Aufkleber usw.)", "x-telegram-field-docs": true}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "TL Type: InputDocument."}, "x-tl-type": "Vector<InputDocument>", "description": "Angebrachte Aufkleber", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<InputDocument>"}, "video_cover": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Starten Sie die Wiedergabe des Videos zum angegebenen Zeitstempel (Sekunden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?InputPhoto"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Starten Sie die Wiedergabe des Videos zum angegebenen Zeitstempel (Sekunden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?int"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Lebensdauer eines selbstzerstörenden Dokuments kann `0` sein, um die Selbstzerstörung zu deaktivieren, `0x7FFFFFFF`, um das Dokument unmittelbar nach der Wiedergabe selbst zu zerstören; Andernfalls zerstört es sich selbst `ttl_seconds`, nachdem es gespielt wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "file", "mime_type", "attributes"], "additionalProperties": false}, "inputMediaDocument": {"title": "inputMediaDocument", "description": "Dokument weitergeleitet", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaDocument"]}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Medium hinter einer Spoilerwarnung versteckt werden sollte", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "id": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Das Dokument, das weitergeleitet werden soll.", "x-telegram-field-docs": true}, "video_cover": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Benutzerdefiniertes Videocover.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputPhoto"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Starten Sie die Wiedergabe des Videos zum angegebenen Zeitstempel (Sekunden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Lebensdauer eines selbstzerstörenden Dokuments kann `0` sein, um die Selbstzerstörung zu deaktivieren, `0x7FFFFFFF`, um das Dokument unmittelbar nach der Wiedergabe selbst zu zerstören; Andernfalls zerstört es sich selbst `ttl_seconds`, nachdem es gespielt wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "query": {"type": "string", "x-tl-type": "string", "description": "Textabfrage oder Emoji, die vom Benutzer verwendet wurde, um diesen Aufkleber zu finden, oder GIF: wird verwendet, um die Relevanz der Suchergebnisse zu verbessern.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaVenue": {"title": "inputMediaVenue", "description": "Kann verwendet werden, um eine Geolokalisierung des Veranstaltungsortes zu senden.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaVenue"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaVenue"]}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "Geolokalisierung", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Name des Veranstaltungsortes", "x-telegram-field-docs": true}, "address": {"type": "string", "x-tl-type": "string", "description": "Physische Adresse des Veranstaltungsortes", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Veranstaltungsortanbieter: Derzeit müssen nur „foursquare“ und „gplaces“ (Google Places) unterstützt werden", "x-telegram-field-docs": true}, "venue_id": {"type": "string", "x-tl-type": "string", "description": "Veranstaltungsort-ID in der Datenbank des Anbieters", "x-telegram-field-docs": true}, "venue_type": {"type": "string", "x-tl-type": "string", "description": "Veranstaltungsorttyp in der Datenbank des Anbieters", "x-telegram-field-docs": true}}, "required": ["_", "geo_point", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "inputMediaPhotoExternal": {"title": "inputMediaPhotoExternal", "description": "Neues Foto, das vom Server mit der angegebenen URL hochgeladen wird", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaPhotoExternal"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaPhotoExternal"]}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Medium hinter einer Spoilerwarnung versteckt werden sollte", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL des Fotos", "x-telegram-field-docs": true}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Lebenszeit eines selbstzerstörenden Fotos kann sein: `0`, um die Selbstzerstörung zu deaktivieren, `0x7FFFFFFF`, um das Foto unmittelbar nach der Wiedergabe selbst zu zerstören; andernfalls zerstört es sich `ttl_seconds` selbst, nachdem es gespielt wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "url"], "additionalProperties": false}, "inputMediaDocumentExternal": {"title": "inputMediaDocumentExternal", "description": "Dokument, das von den Telegrammservern heruntergeladen wird", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaDocumentExternal"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaDocumentExternal"]}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Medium hinter einer Spoilerwarnung versteckt werden sollte", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL des Dokuments", "x-telegram-field-docs": true}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Lebensdauer eines selbstzerstörenden Dokuments kann `0` sein, um die Selbstzerstörung zu deaktivieren, `0x7FFFFFFF`, um das Dokument unmittelbar nach der Wiedergabe selbst zu zerstören; Andernfalls zerstört es sich selbst `ttl_seconds`, nachdem es gespielt wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "video_cover": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Benutzerdefiniertes Videocover.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputPhoto"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Starten Sie die Wiedergabe des Videos zum angegebenen Zeitstempel (Sekunden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}}, "required": ["_", "url"], "additionalProperties": false}, "inputMediaGame": {"title": "inputMediaGame", "description": "Ein Spiel", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaGame"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaGame"]}, "id": {"type": "object", "x-tl-type": "InputGame", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGameID", "inputGameShortName"]}}, "description": "Das Spiel zum Weiterleiten", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaInvoice": {"title": "inputMediaInvoice", "description": "Erstellte Rechnung einer [Bot-Zahlung](https://core.telegram.org/bots/payments.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaInvoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaInvoice"]}, "title": {"type": "string", "x-tl-type": "string", "description": "Produktname, 1–32 Zeichen", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Produktbeschreibung, 1-255 Zeichen", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "InputWebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputWebDocument"]}}, "description": "URL des Produktfotos für die Rechnung. Dies kann ein Foto der Ware oder ein Marketingbild für eine Dienstleistung sein. Den Leuten gefällt es besser, wenn sie sehen, wofür sie bezahlen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputWebDocument"}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "Die eigentliche Rechnung", "x-telegram-field-docs": true}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Vom Bot definierte Rechnungsnutzlast, 1–128 Byte. Dies wird dem Benutzer nicht angezeigt, sondern für Ihre internen Prozesse verwendet.", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Zahlungsanbieter-Token, erhalten über [Botfather](https://t.me/botfather)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "provider_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "JSON-codierte Daten zur Rechnung, die an den Zahlungsanbieter weitergegeben werden. Eine detaillierte Beschreibung der erforderlichen Felder sollte vom Zahlungsanbieter bereitgestellt werden.", "x-telegram-field-docs": true}, "start_param": {"type": "string", "x-tl-type": "string", "description": "Eindeutiger [Bot-Deep-Links-Startparameter](https://core.telegram.org/api/links.md#bot-links). Sofern vorhanden, verfügen weitergeleitete Kopien der gesendeten Nachricht über eine URL-Schaltfläche mit einem [Deep-Link](https://core.telegram.org/api/links.md#bot-links)] zum Bot (anstelle einer Bezahlen-Schaltfläche), wobei der Wert als Startparameter verwendet wird. Falls nicht, verfügen weitergeleitete Kopien der gesendeten Nachricht über eine Schaltfläche „Bezahlen“, sodass mehrere Benutzer direkt über die weitergeleitete Nachricht und mit derselben Rechnung bezahlen können.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "extended_media": {"type": "object", "x-tl-type": "InputMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage", "inputMediaPaidMedia", "inputMediaTodo", "inputMediaStakeDice", "inputMediaWidget", "inputMediaWidgetId"]}}, "description": "Veraltet", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputMedia"}}, "required": ["_", "title", "description", "invoice", "payload", "provider_data"], "additionalProperties": false}, "inputMediaGeoLive": {"title": "inputMediaGeoLive", "description": "[Live-Geolokalisierung](https://core.telegram.org/api/live-location.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaGeoLive"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaGeoLive"]}, "stopped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob das Senden der Geolokalisierung gestoppt wurde", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "Aktuelle Geolokalisierung", "x-telegram-field-docs": true}, "heading": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für [Live-Standorte](https://core.telegram.org/api/live-location.md) eine Richtung, in der sich der Standort bewegt, in Grad; 1-360.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gültigkeitszeitraum des aktuellen Standorts", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "proximity_notification_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für [Live-Standorte](https://core.telegram.org/api/live-location.md), eine maximale Entfernung zu einem anderen Chat-Mitglied für Annäherungsalarme, in Metern (0-100000)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}}, "required": ["_", "geo_point"], "additionalProperties": false}, "inputMediaPoll": {"title": "inputMediaPoll", "description": "Eine Umfrage", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaPoll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaPoll"]}, "poll": {"type": "object", "x-tl-type": "Poll", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["poll"]}}, "description": "Die zu sendende Umfrage", "x-telegram-field-docs": true}, "correct_answers": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "0-basierte Indizes der richtigen Antworten im `answers`-Vektor (für Quizumfragen)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<int>"}, "attached_media": {"type": "object", "x-tl-type": "InputMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage", "inputMediaPaidMedia", "inputMediaTodo", "inputMediaStakeDice", "inputMediaWidget", "inputMediaWidgetId"]}}, "description": "Optionaler Medienanhang zur Anzeige neben der Umfrage", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputMedia"}, "solution": {"type": "string", "x-tl-type": "string", "description": "Text, der angezeigt wird, wenn ein Benutzer in einer Umfrage im Quizstil eine falsche Antwort auswählt oder auf das Lampensymbol tippt, 0–200 Zeichen mit höchstens 2 Zeilenvorschüben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "solution_entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Gestaltete Textnachrichtenentitäten](https://core.telegram.org/api/entities.md) für die `solution`-Erklärung.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "solution_media": {"type": "object", "x-tl-type": "InputMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage", "inputMediaPaidMedia", "inputMediaTodo", "inputMediaStakeDice", "inputMediaWidget", "inputMediaWidgetId"]}}, "description": "Optionaler Medienanhang, der neben der Erklärung der Quizlösung angezeigt wird", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputMedia"}}, "required": ["_", "poll"], "additionalProperties": false}, "inputMediaDice": {"title": "inputMediaDice", "description": "Senden Sie einen [würfelbasierten animierten Aufkleber](https://core.telegram.org/api/dice.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaDice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaDice"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Die Emojis, vorerst 🏀, 🎲 und 🎯, werden unterstützt", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "inputMediaStory": {"title": "inputMediaStory", "description": "Weitergeleitete Geschichte", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaStory"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaStory"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Schauen Sie nach, wo die Geschichte gepostet wurde", "x-telegram-field-docs": true}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Story-ID", "x-telegram-field-docs": true}}, "required": ["_", "peer", "id"], "additionalProperties": false}, "inputMediaWebPage": {"title": "inputMediaWebPage", "description": "Gibt Optionen an, die zum Generieren der Linkvorschau für die Beschriftung oder sogar einer eigenständigen Linkvorschau ohne angehängte Nachricht verwendet werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaWebPage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaWebPage"]}, "force_large_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, wird angegeben, dass eine große Medienvorschau verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, wird angegeben, dass eine kleine Medienvorschau verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "optional": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn **nicht** festgelegt, wird ein `WEBPAGE_NOT_FOUND` RPC-Fehler ausgegeben, wenn für den angegebenen `url` keine Webseitenvorschau generiert werden kann; Andernfalls wird kein Fehler ausgegeben (es sei denn, die bereitgestellte Nachricht ist ebenfalls leer; in diesem Fall wird stattdessen ein `MESSAGE_EMPTY` ausgegeben).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "url": {"type": "string", "x-tl-type": "string", "description": "Die URL zur Verwendung für die Linkvorschau.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "inputMediaPaidMedia": {"title": "inputMediaPaidMedia", "description": "[Bezahlte Medien, siehe hier »](https://core.telegram.org/api/paid-media.md) für weitere Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaPaidMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaPaidMedia"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Der Preis der Medien in [Telegram Stars](https://core.telegram.org/api/stars.md).", "x-tl-type": "long", "x-telegram-field-docs": true}, "extended_media": {"type": "array", "items": {"type": "object", "x-tl-type": "InputMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage", "inputMediaPaidMedia", "inputMediaTodo", "inputMediaStakeDice", "inputMediaWidget", "inputMediaWidgetId"]}}, "description": "TL Type: InputMedia."}, "x-tl-type": "Vector<InputMedia>", "description": "Fotos oder Videos.", "x-telegram-field-docs": true}, "payload": {"type": "string", "x-tl-type": "string", "description": "Nur Bots, gibt eine benutzerdefinierte Nutzlast an, die dann in [updateBotPurchasedPaidMedia](https://core.telegram.org/constructor/updateBotPurchasedPaidMedia.md)] übergeben wird, wenn eine Zahlung erfolgt (dieses Feld ist für den Benutzer nicht sichtbar).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "stars_amount", "extended_media"], "additionalProperties": false}, "inputMediaTodo": {"title": "inputMediaTodo", "description": "Erstellt eine [Todo-Liste »](https://core.telegram.org/api/todo.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaTodo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaTodo"]}, "todo": {"type": "object", "x-tl-type": "TodoList", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["todoList"]}}, "description": "Die Todo-Liste.", "x-telegram-field-docs": true}}, "required": ["_", "todo"], "additionalProperties": false}, "inputMediaStakeDice": {"title": "inputMediaStakeDice", "description": "Würfelspielmedien.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaStakeDice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaStakeDice"]}, "game_hash": {"type": "string", "x-tl-type": "string", "description": "Spiel-Hash.", "x-telegram-field-docs": true}, "ton_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Betrag.", "x-tl-type": "long", "x-telegram-field-docs": true}, "client_seed": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Client-Seed.", "x-telegram-field-docs": true}}, "required": ["_", "game_hash", "ton_amount", "client_seed"], "additionalProperties": false}, "inputMediaWidget": {"title": "inputMediaWidget", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaWidget"]}, "allow_queries": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "shared_widget": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "width": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "height": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "html": {"type": "string", "x-tl-type": "string"}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}}, "required": ["_", "width", "height", "html"], "additionalProperties": false}, "inputMediaWidgetId": {"title": "inputMediaWidgetId", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaWidgetId"]}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "widget_id"], "additionalProperties": false}, "inputChatPhotoEmpty": {"title": "inputChatPhotoEmpty", "description": "Konstruktor leeren, Gruppenfoto entfernen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatPhotoEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatPhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputChatUploadedPhoto": {"title": "inputChatUploadedPhoto", "description": "Neues Foto, das als Gruppenprofilfoto festgelegt werden soll.\n\nDie Flags `file`, `video` und `video_emoji_markup` schließen sich gegenseitig aus.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatUploadedPhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatUploadedPhoto"]}, "file": {"type": "object", "x-tl-type": "InputFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputFile", "inputFileBig", "inputFileStoryDocument"]}}, "description": "Mit der Methode [upload.saveFilePart](https://core.telegram.org/method/upload.saveFilePart.md)] in Teilen gespeicherte Datei", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputFile"}, "video": {"type": "object", "x-tl-type": "InputFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputFile", "inputFileBig", "inputFileStoryDocument"]}}, "description": "Quadratisches Video für animiertes Profilbild", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?InputFile"}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Fließkomma UNIX Zeitstempel in Sekunden, der den Frame des Videos/Stickers angibt, der als statische Vorschau verwendet werden soll; kann nur verwendet werden, wenn `video` oder `video_emoji_markup` eingestellt ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?double"}, "video_emoji_markup": {"type": "object", "x-tl-type": "VideoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["videoSize", "videoSizeEmojiMarkup", "videoSizeStickerMarkup"]}}, "description": "Animiertes Sticker-Profilbild, muss entweder einen [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md)- oder einen [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)]-Konstruktor enthalten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?VideoSize"}}, "required": ["_"], "additionalProperties": false}, "inputChatPhoto": {"title": "inputChatPhoto", "description": "Vorhandenes Foto, das als Chat-Profilfoto festgelegt werden soll.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatPhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatPhoto"]}, "id": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Vorhandenes Foto", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputGeoPointEmpty": {"title": "inputGeoPointEmpty", "description": "Leerer GeoPoint-Konstruktor.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGeoPointEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputGeoPoint": {"title": "inputGeoPoint", "description": "Definiert einen GeoPoint anhand seiner Koordinaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGeoPoint"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGeoPoint"]}, "lat": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Breitengrad", "x-telegram-field-docs": true}, "long": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Längengrad", "x-telegram-field-docs": true}, "accuracy_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die geschätzte horizontale Genauigkeit des Standorts in Metern; wie vom Absender definiert.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "lat", "long"], "additionalProperties": false}, "inputPhotoEmpty": {"title": "inputPhotoEmpty", "description": "Leerer Konstruktor.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhotoEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputPhoto": {"title": "inputPhoto", "description": "Definiert ein Foto für die weitere Interaktion.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhoto"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Foto-Identifikator", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** Wert vom [photo](https://core.telegram.org/constructor/photo.md)-Konstruktor", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Aktenzeichen](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference"], "additionalProperties": false}, "inputFileLocation": {"title": "inputFileLocation", "description": "DEPRECATED Standort eines Fotos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFileLocation"]}, "volume_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Servervolumen", "x-tl-type": "long", "x-telegram-field-docs": true}, "local_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dateikennung", "x-telegram-field-docs": true}, "secret": {"type": "string", "pattern": "^-?\\d+$", "description": "Prüfsumme für den Zugriff auf die Datei", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Aktenzeichen](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}}, "required": ["_", "volume_id", "local_id", "secret", "file_reference"], "additionalProperties": false}, "inputEncryptedFileLocation": {"title": "inputEncryptedFileLocation", "description": "Speicherort der verschlüsselten geheimen Chat-Datei.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Datei-ID, Parameterwert **id** aus [encryptedFile](https://core.telegram.org/constructor/encryptedFile.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Prüfsumme, **access_hash** Parameterwert von [encryptedFile](https://core.telegram.org/constructor/encryptedFile.md)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputDocumentFileLocation": {"title": "inputDocumentFileLocation", "description": "Speicherort des Dokuments (Video, Sprache, Audio, praktisch alle Arten außer Fotos)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDocumentFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDocumentFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Dokument-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** Parameter aus dem [document](https://core.telegram.org/constructor/document.md)-Konstruktor", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Aktenzeichen](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}, "thumb_size": {"type": "string", "x-tl-type": "string", "description": "Miniaturbildgröße zum Herunterladen des Miniaturbilds", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "thumb_size"], "additionalProperties": false}, "inputSecureFileLocation": {"title": "inputSecureFileLocation", "description": "Speicherort der verschlüsselten Telegramm-[Passport](https://core.telegram.org/passport.md)-Datei.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputSecureFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSecureFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Datei-ID, Parameterwert **id** von [secureFile](https://core.telegram.org/constructor/secureFile.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Prüfsumme, **access_hash** Parameterwert von [secureFile](https://core.telegram.org/constructor/secureFile.md)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputTakeoutFileLocation": {"title": "inputTakeoutFileLocation", "description": "Wird zum Herunterladen einer JSON-Datei verwendet, die alle personenbezogenen Daten im Zusammenhang mit Funktionen enthält, für die es noch keine spezielle [Takeout-Methode](https://core.telegram.org/api/takeout.md) gibt. Weitere Informationen zur Takeout-Methode finden Sie [hier »](https://core.telegram.org/api/takeout.md)] API.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputTakeoutFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputTakeoutFileLocation"]}}, "required": ["_"], "additionalProperties": false}, "inputPhotoFileLocation": {"title": "inputPhotoFileLocation", "description": "Verwenden Sie dieses Objekt, um ein Foto mit der Methode [upload.getFile](https://core.telegram.org/method/upload.getFile.md)] herunterzuladen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhotoFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhotoFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Lichtbildausweis, erhalten vom [Foto](https://core.telegram.org/constructor/photo.md)-Objekt", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Der Zugriffs-Hash des Fotos, der vom Objekt [photo](https://core.telegram.org/constructor/photo.md)] abgerufen wird", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Aktenzeichen](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}, "thumb_size": {"type": "string", "x-tl-type": "string", "description": "Das herunterzuladende [PhotoSize](https://core.telegram.org/type/PhotoSize.md): muss auf das `type`-Feld des gewünschten PhotoSize-Objekts des [photo](https://core.telegram.org/constructor/photo.md)] eingestellt werden.", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "thumb_size"], "additionalProperties": false}, "inputPhotoLegacyFileLocation": {"title": "inputPhotoLegacyFileLocation", "description": "DEPRECATED Speicherort der alten Fotodatei", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhotoLegacyFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhotoLegacyFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Lichtbildausweis", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Dateireferenz", "x-telegram-field-docs": true}, "volume_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Volume-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "local_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Lokale ID", "x-telegram-field-docs": true}, "secret": {"type": "string", "pattern": "^-?\\d+$", "description": "Geheimnis", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "volume_id", "local_id", "secret"], "additionalProperties": false}, "inputPeerPhotoFileLocation": {"title": "inputPeerPhotoFileLocation", "description": "Standort des Profilfotos des Kanals/der Gruppe/Supergruppe/des Benutzers", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerPhotoFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerPhotoFileLocation"]}, "big": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die hochwertige Version des Bildes heruntergeladen werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Peer, dessen Profilbild heruntergeladen werden soll", "x-telegram-field-docs": true}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Lichtbildausweis", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "photo_id"], "additionalProperties": false}, "inputStickerSetThumb": {"title": "inputStickerSetThumb", "description": "Speicherort des Stickerset-Thumbnails (siehe [Dateien](https://core.telegram.org/api/files.md))“", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetThumb"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetThumb"]}, "stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "Aufkleber-Set", "x-telegram-field-docs": true}, "thumb_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Miniaturversion", "x-telegram-field-docs": true}}, "required": ["_", "stickerset", "thumb_version"], "additionalProperties": false}, "inputGroupCallStream": {"title": "inputGroupCallStream", "description": "Identifiziert einen Medienteil eines Video-Chats, Livestreams oder einer Live-Story im RTMP-Modus, siehe [Wiedergabe eines RTMP-Livestreams »](https://core.telegram.org/api/group-calls.md#downloading-media-chunks).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGroupCallStream"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGroupCallStream"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "RTMP-Modus-Gruppenruf", "x-telegram-field-docs": true}, "time_ms": {"type": "string", "pattern": "^-?\\d+$", "description": "Zeitstempel des abzurufenden Blocks in Millisekunden", "x-tl-type": "long", "x-telegram-field-docs": true}, "scale": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gibt die Dauer des abzurufenden Mediensegments in Millisekunden an, indem das Bit um `1000` nach rechts `scale`-mal verschoben wird: `duration_ms := 1000 >> scale`", "x-telegram-field-docs": true}, "video_channel": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[groupCallStreamChannel](https://core.telegram.org/constructor/groupCallStreamChannel.md).`channel` Wert des abzurufenden Videokanals; Unified Video verwendet Kanal `1`. Zusammen mit `video_quality` weglassen, um Audio abzurufen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "video_quality": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ausgewählte Videoqualität (0 = am niedrigsten, 1 = mittel, 2 = am besten)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "call", "time_ms", "scale"], "additionalProperties": false}, "peerUser": {"title": "peerUser", "description": "Chatpartner", "externalDocs": {"url": "https://core.telegram.org/constructor/peerUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Benutzerkennung", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id"], "additionalProperties": false}, "peerChat": {"title": "peerChat", "description": "Gruppe.", "externalDocs": {"url": "https://core.telegram.org/constructor/peerChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Gruppenkennung", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "chat_id"], "additionalProperties": false}, "peerChannel": {"title": "peerChannel", "description": "Kanal/Supergruppe", "externalDocs": {"url": "https://core.telegram.org/constructor/peerChannel"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Kanal-ID", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "channel_id"], "additionalProperties": false}, "storage.fileUnknown": {"title": "storage.fileUnknown", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.fileUnknown"]}}, "required": ["_"], "additionalProperties": false}, "storage.filePartial": {"title": "storage.filePartial", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.filePartial"]}}, "required": ["_"], "additionalProperties": false}, "storage.fileJpeg": {"title": "storage.fileJpeg", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.fileJpeg"]}}, "required": ["_"], "additionalProperties": false}, "storage.fileGif": {"title": "storage.fileGif", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.fileGif"]}}, "required": ["_"], "additionalProperties": false}, "storage.filePng": {"title": "storage.filePng", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.filePng"]}}, "required": ["_"], "additionalProperties": false}, "storage.filePdf": {"title": "storage.filePdf", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.filePdf"]}}, "required": ["_"], "additionalProperties": false}, "storage.fileMp3": {"title": "storage.fileMp3", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.fileMp3"]}}, "required": ["_"], "additionalProperties": false}, "storage.fileMov": {"title": "storage.fileMov", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.fileMov"]}}, "required": ["_"], "additionalProperties": false}, "storage.fileMp4": {"title": "storage.fileMp4", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.fileMp4"]}}, "required": ["_"], "additionalProperties": false}, "storage.fileWebp": {"title": "storage.fileWebp", "type": "object", "properties": {"_": {"type": "string", "enum": ["storage.fileWebp"]}}, "required": ["_"], "additionalProperties": false}, "userEmpty": {"title": "userEmpty", "description": "Leerer Konstruktor, nicht vorhandener Benutzer.", "externalDocs": {"url": "https://core.telegram.org/constructor/userEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["userEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Benutzerkennung oder `0`", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "user": {"title": "user", "description": "Zeigt Informationen über einen bestimmten Benutzer an.\n\nSofern nicht anders angegeben, haben beim Aktualisieren der [lokalen Peer-Datenbank](https://core.telegram.org/api/peers.md) alle Felder des neu empfangenen Konstruktors Vorrang vor dem lokal zwischengespeicherten alten Konstruktor (einschließlich durch Entfernen von Feldern, die nicht im neuen Konstruktor festgelegt sind).\n\nSiehe [hier »](https://github.com/tdlib/td/blob/73035e4a69ed26df563652de14aa9c4c86d23420/td/telegram/UserManager.cpp#L3106) für eine Implementierung der Logik, die beim Aktualisieren der [lokalen Benutzer-Peer-Datenbank](https://core.telegram.org/api/peers.md) verwendet werden soll.", "externalDocs": {"url": "https://core.telegram.org/constructor/user"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["user"]}, "self": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieser Benutzer den aktuell angemeldeten Benutzer angibt", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "contact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich bei diesem Benutzer um einen Kontakt handelt. Übernehmen Sie beim Aktualisieren der [lokalen Peer-Datenbank](https://core.telegram.org/api/peers.md) keine Änderungen in diesem Feld, wenn das Flag `min` gesetzt ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "mutual_contact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieser Benutzer ein gemeinsamer Kontakt ist.  Wenn Sie die [lokale Peer-Datenbank](https://core.telegram.org/api/peers.md)] aktualisieren, übernehmen Sie keine Änderungen in diesem Feld, wenn das Flag `min` gesetzt ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "deleted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob das Konto dieses Benutzers gelöscht wurde.  Änderungen an diesem Flag sollten den lokalen [userFull](https://core.telegram.org/constructor/userFull.md)-Cache für diese Benutzer-ID ungültig machen. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/peers.md#full-info-database).", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "bot": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ist dieser Benutzer ein Bot?  Änderungen an diesem Flag sollten den lokalen [userFull](https://core.telegram.org/constructor/userFull.md)-Cache für diese Benutzer-ID ungültig machen. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/peers.md#full-info-database).", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?true"}, "bot_chat_history": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Kann der Bot alle Nachrichten in Gruppen sehen?", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "bot_nochats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Kann der Bot zu Gruppen hinzugefügt werden?", "x-telegram-field-docs": true, "x-tl-flag": "flags.16?true"}, "verified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieser Benutzer verifiziert ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.17?true"}, "restricted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Der Zugriff auf diesen Benutzer muss aus dem in `restriction_reason` angegebenen Grund eingeschränkt werden", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Siehe [min](https://core.telegram.org/api/min.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.20?true"}, "bot_inline_geo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot unsere Geolokalisierung im Inline-Modus anfordern kann", "x-telegram-field-docs": true, "x-tl-flag": "flags.21?true"}, "support": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um einen offiziellen Support-Benutzer handelt", "x-telegram-field-docs": true, "x-tl-flag": "flags.23?true"}, "scam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Dies könnte ein betrügerischer Benutzer sein", "x-telegram-field-docs": true, "x-tl-flag": "flags.24?true"}, "apply_min_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt und `min` festgelegt ist, kann der Wert von `photo` zum Aktualisieren der lokalen Datenbank verwendet werden. Weitere Informationen finden Sie in der Dokumentation dieses Flags.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?true"}, "fake": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, wurde dieser Benutzer von vielen Benutzern als gefälschter oder betrügerischer Benutzer gemeldet: Seien Sie vorsichtig, wenn Sie mit ihnen interagieren.", "x-telegram-field-docs": true, "x-tl-flag": "flags.26?true"}, "bot_attach_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieser Bot eine [Anhangsmenü-Web-App](https://core.telegram.org/api/bots/attach.md)] anbietet", "x-telegram-field-docs": true, "x-tl-flag": "flags.27?true"}, "premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieser Benutzer ein Telegram Premium-Benutzer ist. Änderungen an diesem Flag sollten den lokalen [userFull](https://core.telegram.org/constructor/userFull.md)-Cache für diese Benutzer-ID ungültig machen, siehe [hier »](https://core.telegram.org/api/peers.md#full-info-database) für weitere Informationen].  Änderungen an diesem Flag, wenn das `self`-Flag gesetzt ist, sollten auch die folgenden Aufrufe auslösen, um die jeweiligen Caches zu aktualisieren: – Der [help.getConfig](https://core.telegram.org/method/help.getConfig.md)-Cache – Der [messages.getTopReactions](https://core.telegram.org/method/messages.getTopReactions.md)-Cache, wenn das `bot`-Flag **nicht** gesetzt ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.28?true"}, "attach_menu_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob wir die von diesem Bot angebotene [Anhangsmenü-Web-App](https://core.telegram.org/api/bots/attach.md)] installiert haben.  Übernehmen Sie beim Aktualisieren der [lokalen Peer-Datenbank](https://core.telegram.org/api/peers.md) keine Änderungen in diesem Feld, wenn das Flag `min` gesetzt ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.29?true"}, "bot_can_edit": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob wir das Profilbild, den Namen, den Infotext und die Beschreibung dieses Bots bearbeiten können, da er uns gehört.  Übernehmen Sie beim Aktualisieren der [lokalen Peer-Datenbank](https://core.telegram.org/api/peers.md) keine Änderungen in diesem Feld, wenn das Flag `min` gesetzt ist.  Änderungen an diesem Flag (wenn `min` nicht gesetzt ist) sollten den lokalen [userFull](https://core.telegram.org/constructor/userFull.md)-Cache für diese Benutzer-ID ungültig machen.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.1?true"}, "close_friend": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob wir diesen Benutzer als [engen Freund, siehe hier » für weitere Informationen](https://core.telegram.org/api/privacy.md) markiert haben.  Wenn Sie die [lokale Peer-Datenbank](https://core.telegram.org/api/peers.md) aktualisieren, übernehmen Sie keine Änderungen in diesem Feld, wenn das Flag `min` gesetzt ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.2?true"}, "stories_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob wir alle aktiven Storys dieses Benutzers [versteckt »](https://core.telegram.org/api/stories.md#hiding-stories-of-other-users)] haben.  Wenn Sie die [lokale Peer-Datenbank](https://core.telegram.org/api/peers.md) aktualisieren, übernehmen Sie keine Änderungen in diesem Feld, wenn das Flag `min` gesetzt ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.3?true"}, "stories_unavailable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Es sind keine Geschichten von diesem Benutzer sichtbar.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.4?true"}, "contact_require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Weitere Informationen zu dieser Flagge finden Sie hier »](https://core.telegram.org/api/privacy.md#require-premium-for-new-non-contact-users).", "x-telegram-field-docs": true, "x-tl-flag": "flags2.10?true"}, "bot_business": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieser Bot [wie hier angegeben mit einem Benutzer verbunden werden kann »](https://core.telegram.org/api/bots/connected-business-bots.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags2.11?true"}, "bot_has_main_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Falls festgelegt, hat dieser Bot eine [Haupt-Mini-App »](https://core.telegram.org/api/bots/webapps.md#main-mini-apps)“ konfiguriert.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.13?true"}, "bot_forum_view": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, unterstützt dieser Bot [Bot-Forumsthemen »](https://core.telegram.org/api/forum.md#bot-forums).", "x-telegram-field-docs": true, "x-tl-flag": "flags2.16?true"}, "bot_forum_can_manage_topics": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, unterstützt dieser Bot [Bot-Forumsthemen »](https://core.telegram.org/api/forum.md#bot-forums), und Benutzer (nicht nur der Bot!) dürfen in ihrem privaten Chat mit dem Bot Bot-Forumsthemen erstellen und verwalten.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.17?true"}, "bot_can_manage_bots": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, handelt es sich bei diesem Bot um einen [Manager-Bot](https://core.telegram.org/api/bots/managed-bots.md), der im Namen des Benutzers [verwaltete Bots »](https://core.telegram.org/api/bots/managed-bots.md)] erstellen und verwalten kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.18?true"}, "bot_guestchat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann dieser Bot als [Gast in Chats »](https://core.telegram.org/api/bots/guest-mode.md) aufgerufen werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.19?true"}, "bot_guard": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.20?true"}, "bot_forum_sidebar": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.22?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Benutzers, siehe [hier »](https://core.telegram.org/api/peers.md#peer-id)] für weitere Informationen und den verfügbaren ID-Bereich.", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Access hash of the user, see [here »](https://core.telegram.org/api/peers.md#access-hash) for more info.  If this flag is set, when updating the [local peer database](https://core.telegram.org/api/peers.md), generate a virtual flag called `min_access_hash`, which is:  - Set to `true` if `min` is set AND  -- The `phone` flag is **not** set OR  -- The `phone` flag is set and the associated phone number string is non-empty  - Set to `false` otherwise.   Then, apply both `access_hash` and `min_access_hash` to the local database if:  - `min_access_hash` is false OR  - `min_access_hash` is true AND  -- There is no locally cached object for this user OR  -- There is no `access_hash` in the local cache OR  -- The cached object's `min_access_hash` is also true   If the final merged object stored to the database has the `min_access_hash` field set to true, the related `access_hash` is **only** suitable to use in [`inputPeerPhotoFileLocation` »](https://core.telegram.org/constructor/inputPeerPhotoFileLocation.md), to directly [download the profile pictures](https://core.telegram.org/api/files.md) of users, everywhere else a `inputPeer*FromMessage` constructor will have to be generated as specified [here »](https://core.telegram.org/api/min.md).  Bots can also use min access hashes in some conditions, by passing `0` instead of the min access hash.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?long"}, "first_name": {"type": "string", "x-tl-type": "string", "description": "First name.  When updating the [local peer database](https://core.telegram.org/api/peers.md), apply changes to this field only if:  - The `min` flag is not set OR  - The `min` flag is set AND  -- The `min` flag of the locally cached user entry is set.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Last name.  When updating the [local peer database](https://core.telegram.org/api/peers.md), apply changes to this field only if:  - The `min` flag is not set OR  - The `min` flag is set AND  -- The `min` flag of the locally cached user entry is set.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "username": {"type": "string", "x-tl-type": "string", "description": "Main active username.  When updating the [local peer database](https://core.telegram.org/api/peers.md), apply changes to this field only if:  - The `min` flag is not set OR  - The `min` flag is set AND  -- The `min` flag of the locally cached user entry is set.  Changes to this flag should invalidate the local [userFull](https://core.telegram.org/constructor/userFull.md) cache for this user ID if the above conditions are respected and the `bot_can_edit` flag is also set.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "phone": {"type": "string", "x-tl-type": "string", "description": "Phone number.  When updating the [local peer database](https://core.telegram.org/api/peers.md), apply changes to this field only if:  - The `min` flag is not set OR  - The `min` flag is set AND  -- The `min` flag of the locally cached user entry is set.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "photo": {"type": "object", "x-tl-type": "UserProfilePhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userProfilePhotoEmpty", "userProfilePhoto"]}}, "description": "Profile picture of user.  When updating the [local peer database](https://core.telegram.org/api/peers.md), apply changes to this field only if:  - The `min` flag is not set OR  - The `min` flag is set AND  -- The `apply_min_photo` flag is set OR  -- The `min` flag of the locally cached user entry is set.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?UserProfilePhoto"}, "status": {"type": "object", "x-tl-type": "UserStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userStatusEmpty", "userStatusOnline", "userStatusOffline", "userStatusRecently", "userStatusLastWeek", "userStatusLastMonth"]}}, "description": "Online status of user.  When updating the [local peer database](https://core.telegram.org/api/peers.md), apply changes to this field only if:  - The `min` flag is not set OR  - The `min` flag is set AND  -- The `min` flag of the locally cached user entry is set OR  -- The locally cached user entry is equal to [userStatusEmpty](https://core.telegram.org/constructor/userStatusEmpty.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?UserStatus"}, "bot_info_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Version des Felds [bot_info in userFull](https://core.telegram.org/constructor/userFull.md), jedes Mal erhöht, wenn es sich ändert.  Änderungen an diesem Flag sollten den lokalen [userFull](https://core.telegram.org/constructor/userFull.md)-Cache für diese Benutzer-ID ungültig machen. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/peers.md#full-info-database).", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?int"}, "restriction_reason": {"type": "array", "items": {"type": "object", "x-tl-type": "RestrictionReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["restrictionReason"]}}, "description": "Тип TL: RestrictionReason."}, "x-tl-type": "Vector<RestrictionReason>", "description": "Enthält den Grund, warum der Zugriff auf diesen Benutzer eingeschränkt werden muss.", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?Vector<RestrictionReason>"}, "bot_inline_placeholder": {"type": "string", "x-tl-type": "string", "description": "Inline-Platzhalter für diesen Inline-Bot", "x-telegram-field-docs": true, "x-tl-flag": "flags.19?string"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode des Benutzers", "x-telegram-field-docs": true, "x-tl-flag": "flags.22?string"}, "emoji_status": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "[Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.30?EmojiStatus"}, "usernames": {"type": "array", "items": {"type": "object", "x-tl-type": "Username", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["username"]}}, "description": "Тип TL: Username."}, "x-tl-type": "Vector<Username>", "description": "Additional usernames.  When updating the [local peer database](https://core.telegram.org/api/peers.md), apply changes to this field only if:  - The `min` flag is not set OR  - The `min` flag is set AND  -- The `min` flag of the locally cached user entry is set.  Changes to this flag (if the above conditions are respected) should invalidate the local [userFull](https://core.telegram.org/constructor/userFull.md) cache for this user ID.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.0?Vector<Username>"}, "stories_max_id": {"type": "object", "x-tl-type": "RecentStory", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["recentStory"]}}, "description": "Zusammenfassung der [aktiven Storys »](https://core.telegram.org/api/stories.md#recent-story-summaries) des Benutzers.   Wenden Sie beim Aktualisieren der [lokalen Peer-Datenbank](https://core.telegram.org/api/peers.md) keine Änderungen auf dieses Feld an, wenn das Flag `min` des eingehenden Konstruktors gesetzt ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.5?RecentStory"}, "color": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Die [Akzentfarbe](https://core.telegram.org/api/colors.md) des Benutzers.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.8?PeerColor"}, "profile_color": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Die [Profilfarbe](https://core.telegram.org/api/colors.md) des Benutzers.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.9?PeerColor"}, "bot_active_users": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Monatlich aktive Benutzer (MAU) dieses Bots (bei kleinen Bots möglicherweise nicht vorhanden).", "x-telegram-field-docs": true, "x-tl-flag": "flags2.12?int"}, "bot_verification_icon": {"type": "string", "pattern": "^-?\\d+$", "description": "Beschreibt ein [Bot-Verifizierungssymbol »](https://core.telegram.org/api/bots/verification.md).", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags2.14?long"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Wenn festgelegt, hat der Benutzer [kostenpflichtige Nachrichten »](https://core.telegram.org/api/paid-messages.md) aktiviert, *möglicherweise* müssen wir die angegebene Menge an [Sternen](https://core.telegram.org/api/stars.md) bezahlen, um ihnen Nachrichten zu senden, abhängig von den konfigurierten Ausnahmen: Überprüfen Sie [userFull](https://core.telegram.org/constructor/userFull.md).`send_paid_messages_stars` oder [users.getRequirementsToContact](https://core.telegram.org/method/users.getRequirementsToContact.md)], um zu sehen, ob der aktuell angemeldete Benutzer tatsächlich zahlen muss oder nicht, siehe [hier »](https://core.telegram.org/api/paid-messages.md) für die voller Fluss.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags2.15?long"}, "linked_community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.21?long"}}, "required": ["_", "id"], "additionalProperties": false}, "userProfilePhotoEmpty": {"title": "userProfilePhotoEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["userProfilePhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "userProfilePhoto": {"title": "userProfilePhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["userProfilePhoto"]}, "has_video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "personal": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stripped_thumb": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "photo_id", "dc_id"], "additionalProperties": false}, "userStatusEmpty": {"title": "userStatusEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusEmpty"]}}, "required": ["_"], "additionalProperties": false}, "userStatusOnline": {"title": "userStatusOnline", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusOnline"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "expires"], "additionalProperties": false}, "userStatusOffline": {"title": "userStatusOffline", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusOffline"]}, "was_online": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "was_online"], "additionalProperties": false}, "userStatusRecently": {"title": "userStatusRecently", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusRecently"]}, "by_me": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "userStatusLastWeek": {"title": "userStatusLastWeek", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusLastWeek"]}, "by_me": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "userStatusLastMonth": {"title": "userStatusLastMonth", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusLastMonth"]}, "by_me": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "chatEmpty": {"title": "chatEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "chat": {"title": "chat", "type": "object", "properties": {"_": {"type": "string", "enum": ["chat"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "deactivated": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "call_active": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.23?true"}, "call_not_empty": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.24?true"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.25?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "ChatPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty", "chatPhoto"]}}, "description": "Тип TL: ChatPhoto."}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "migrated_to": {"type": "object", "x-tl-type": "InputChannel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputChannelEmpty", "inputChannel", "inputChannelFromMessage"]}}, "description": "TL Type: InputChannel.", "x-tl-flag": "flags.6?InputChannel"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights.", "x-tl-flag": "flags.14?ChatAdminRights"}, "default_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Тип TL: ChatBannedRights.", "x-tl-flag": "flags.18?ChatBannedRights"}}, "required": ["_", "id", "title", "photo", "participants_count", "date", "version"], "additionalProperties": false}, "chatForbidden": {"title": "chatForbidden", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatForbidden"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "channel": {"title": "channel", "type": "object", "properties": {"_": {"type": "string", "enum": ["channel"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "broadcast": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "verified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "megagroup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "restricted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "signatures": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "scam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "has_link": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.20?true"}, "has_geo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.21?true"}, "slowmode_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.22?true"}, "call_active": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.23?true"}, "call_not_empty": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.24?true"}, "fake": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.25?true"}, "gigagroup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.26?true"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.27?true"}, "join_to_send": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.28?true"}, "join_request": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.29?true"}, "forum": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.30?true"}, "stories_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.1?true"}, "stories_hidden_min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.2?true"}, "stories_unavailable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.3?true"}, "signature_profiles": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.12?true"}, "autotranslation": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.15?true"}, "broadcast_messages_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.16?true"}, "monoforum": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.17?true"}, "forum_tabs": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.19?true"}, "in_news": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.21?true"}, "forum_sidebar": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.23?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.13?long"}, "title": {"type": "string", "x-tl-type": "string"}, "username": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.6?string"}, "photo": {"type": "object", "x-tl-type": "ChatPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty", "chatPhoto"]}}, "description": "Тип TL: ChatPhoto."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "restriction_reason": {"type": "array", "items": {"type": "object", "x-tl-type": "RestrictionReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["restrictionReason"]}}, "description": "Тип TL: RestrictionReason."}, "x-tl-type": "Vector<RestrictionReason>", "x-tl-flag": "flags.9?Vector<RestrictionReason>"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights.", "x-tl-flag": "flags.14?ChatAdminRights"}, "banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Тип TL: ChatBannedRights.", "x-tl-flag": "flags.15?ChatBannedRights"}, "default_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Тип TL: ChatBannedRights.", "x-tl-flag": "flags.18?ChatBannedRights"}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.17?int"}, "usernames": {"type": "array", "items": {"type": "object", "x-tl-type": "Username", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["username"]}}, "description": "Тип TL: Username."}, "x-tl-type": "Vector<Username>", "x-tl-flag": "flags2.0?Vector<Username>"}, "stories_max_id": {"type": "object", "x-tl-type": "RecentStory", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["recentStory"]}}, "description": "TL Type: RecentStory.", "x-tl-flag": "flags2.4?RecentStory"}, "color": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Тип TL: PeerColor.", "x-tl-flag": "flags2.7?PeerColor"}, "profile_color": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Тип TL: PeerColor.", "x-tl-flag": "flags2.8?PeerColor"}, "emoji_status": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "Тип TL: EmojiStatus.", "x-tl-flag": "flags2.9?EmojiStatus"}, "level": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.10?int"}, "subscription_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.11?int"}, "bot_verification_icon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.13?long"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.14?long"}, "linked_monoforum_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.18?long"}, "linked_community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.20?long"}, "pinned_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.22?int"}}, "required": ["_", "id", "title", "photo", "date"], "additionalProperties": false}, "channelForbidden": {"title": "channelForbidden", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelForbidden"]}, "broadcast": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "megagroup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "monoforum": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.16?int"}}, "required": ["_", "id", "access_hash", "title"], "additionalProperties": false}, "communityForbidden": {"title": "communityForbidden", "type": "object", "properties": {"_": {"type": "string", "enum": ["communityForbidden"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.13?long"}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "community": {"title": "community", "type": "object", "properties": {"_": {"type": "string", "enum": ["community"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "collapsed_in_dialogs": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.20?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.13?long"}, "title": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "ChatPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty", "chatPhoto"]}}, "description": "Тип TL: ChatPhoto."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights.", "x-tl-flag": "flags.14?ChatAdminRights"}, "default_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Тип TL: ChatBannedRights.", "x-tl-flag": "flags.18?ChatBannedRights"}}, "required": ["_", "id", "title", "photo", "date"], "additionalProperties": false}, "chatFull": {"title": "chatFull", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatFull"]}, "can_set_username": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "has_scheduled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "translations_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "has_welcome_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.21?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string"}, "participants": {"type": "object", "x-tl-type": "ChatParticipants", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipantsForbidden", "chatParticipants"]}}, "description": "Тип TL: ChatParticipants."}, "chat_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.2?Photo"}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "TL Type: PeerNotifySettings."}, "exported_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite.", "x-tl-flag": "flags.13?ExportedChatInvite"}, "bot_info": {"type": "array", "items": {"type": "object", "x-tl-type": "BotInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botInfo"]}}, "description": "Тип TL: BotInfo."}, "x-tl-type": "Vector<BotInfo>", "x-tl-flag": "flags.3?Vector<BotInfo>"}, "pinned_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.6?int"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall.", "x-tl-flag": "flags.12?InputGroupCall"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.14?int"}, "groupcall_default_join_as": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.15?Peer"}, "theme_emoticon": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "requests_pending": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.17?int"}, "recent_requesters": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.17?Vector<long>"}, "available_reactions": {"type": "object", "x-tl-type": "ChatReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatReactionsNone", "chatReactionsAll", "chatReactionsSome"]}}, "description": "Тип TL: ChatReactions.", "x-tl-flag": "flags.18?ChatReactions"}, "reactions_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.20?int"}}, "required": ["_", "id", "about", "participants", "notify_settings"], "additionalProperties": false}, "channelFull": {"title": "channelFull", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelFull"]}, "can_view_participants": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "can_set_username": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "can_set_stickers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "hidden_prehistory": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "can_set_location": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true"}, "has_scheduled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "can_view_stats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.20?true"}, "blocked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.22?true"}, "can_delete_channel": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.0?true"}, "antispam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.1?true"}, "participants_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.2?true"}, "translations_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.3?true"}, "stories_pinned_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.5?true"}, "view_forum_as_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.6?true"}, "restricted_sponsored": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.11?true"}, "can_view_revenue": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.12?true"}, "paid_media_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.14?true"}, "can_view_stars_revenue": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.15?true"}, "paid_reactions_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.16?true"}, "stargifts_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.19?true"}, "paid_messages_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.20?true"}, "has_welcome_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.24?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string"}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "admins_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "kicked_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "banned_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "online_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.13?int"}, "read_inbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_outbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "chat_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "TL Type: PeerNotifySettings."}, "exported_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite.", "x-tl-flag": "flags.23?ExportedChatInvite"}, "bot_info": {"type": "array", "items": {"type": "object", "x-tl-type": "BotInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botInfo"]}}, "description": "Тип TL: BotInfo."}, "x-tl-type": "Vector<BotInfo>"}, "migrated_from_chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "migrated_from_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "pinned_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "stickerset": {"type": "object", "x-tl-type": "StickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSet"]}}, "description": "Тип TL: StickerSet.", "x-tl-flag": "flags.8?StickerSet"}, "available_min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.9?int"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}, "linked_chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.14?long"}, "location": {"type": "object", "x-tl-type": "ChannelLocation", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty", "channelLocation"]}}, "description": "Тип TL: ChannelLocation.", "x-tl-flag": "flags.15?ChannelLocation"}, "slowmode_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.17?int"}, "slowmode_next_send_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.18?int"}, "stats_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.12?int"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall.", "x-tl-flag": "flags.21?InputGroupCall"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.24?int"}, "pending_suggestions": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "x-tl-flag": "flags.25?Vector<string>"}, "groupcall_default_join_as": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.26?Peer"}, "theme_emoticon": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.27?string"}, "requests_pending": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.28?int"}, "recent_requesters": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.28?Vector<long>"}, "default_send_as": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.29?Peer"}, "available_reactions": {"type": "object", "x-tl-type": "ChatReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatReactionsNone", "chatReactionsAll", "chatReactionsSome"]}}, "description": "Тип TL: ChatReactions.", "x-tl-flag": "flags.30?ChatReactions"}, "reactions_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.13?int"}, "stories": {"type": "object", "x-tl-type": "PeerStories", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerStories"]}}, "description": "Тип TL: PeerStories.", "x-tl-flag": "flags2.4?PeerStories"}, "wallpaper": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "TL Type: WallPaper.", "x-tl-flag": "flags2.7?WallPaper"}, "boosts_applied": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.8?int"}, "boosts_unrestrict": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.9?int"}, "emojiset": {"type": "object", "x-tl-type": "StickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSet"]}}, "description": "Тип TL: StickerSet.", "x-tl-flag": "flags2.10?StickerSet"}, "bot_verification": {"type": "object", "x-tl-type": "BotVerification", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botVerification"]}}, "description": "Тип TL: BotVerification.", "x-tl-flag": "flags2.17?BotVerification"}, "stargifts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.18?int"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.21?long"}, "main_tab": {"type": "object", "x-tl-type": "ProfileTab", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["profileTabPosts", "profileTabGifts", "profileTabMedia", "profileTabFiles", "profileTabMusic", "profileTabVoice", "profileTabLinks", "profileTabGifs"]}}, "description": "Тип TL: ProfileTab.", "x-tl-flag": "flags2.22?ProfileTab"}, "guard_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.23?long"}, "share_theme": {"type": "object", "x-tl-type": "ShareTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["shareThemeDefault", "shareThemeEmojiBackdrop", "shareThemeGift", "inputShareThemeGift"]}}, "description": "Тип TL: ShareTheme.", "x-tl-flag": "flags2.25?ShareTheme"}}, "required": ["_", "id", "about", "read_inbox_max_id", "read_outbox_max_id", "unread_count", "chat_photo", "notify_settings", "bot_info", "pts"], "additionalProperties": false}, "communityFull": {"title": "communityFull", "type": "object", "properties": {"_": {"type": "string", "enum": ["communityFull"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string"}, "chat_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}, "linked_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "CommunityPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["communityPeer"]}}, "description": "Тип TL: CommunityPeer."}, "x-tl-type": "Vector<CommunityPeer>"}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "TL Type: PeerNotifySettings.", "x-tl-flag": "flags.3?PeerNotifySettings"}, "admins_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "kicked_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "peer_link_requests_pending": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "id", "about", "chat_photo", "linked_peers"], "additionalProperties": false}, "chatParticipant": {"title": "chatParticipant", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipant"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id", "inviter_id", "date"], "additionalProperties": false}, "chatParticipantCreator": {"title": "chatParticipantCreator", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipantCreator"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id"], "additionalProperties": false}, "chatParticipantAdmin": {"title": "chatParticipantAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipantAdmin"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id", "inviter_id", "date"], "additionalProperties": false}, "chatParticipantsForbidden": {"title": "chatParticipantsForbidden", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipantsForbidden"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "self_participant": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Тип TL: ChatParticipant.", "x-tl-flag": "flags.0?ChatParticipant"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "chatParticipants": {"title": "chatParticipants", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipants"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Тип TL: ChatParticipant."}, "x-tl-type": "Vector<ChatParticipant>"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "participants", "version"], "additionalProperties": false}, "chatPhotoEmpty": {"title": "chatPhotoEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "chatPhoto": {"title": "chatPhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatPhoto"]}, "has_video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stripped_thumb": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "photo_id", "dc_id"], "additionalProperties": false}, "messageEmpty": {"title": "messageEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEmpty"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.0?Peer"}}, "required": ["_", "id"], "additionalProperties": false}, "message": {"title": "message", "type": "object", "properties": {"_": {"type": "string", "enum": ["message"]}, "out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "mentioned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "media_unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "post": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "from_scheduled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.18?true"}, "legacy": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "edit_hide": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.21?true"}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.24?true"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.26?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.27?true"}, "offline": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.1?true"}, "video_processing_pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.4?true"}, "paid_suggested_post_stars": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.8?true"}, "paid_suggested_post_ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.9?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.8?Peer"}, "from_boosts_applied": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.29?int"}, "from_rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags2.12?string"}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.28?Peer"}, "fwd_from": {"type": "object", "x-tl-type": "MessageFwdHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageFwdHeader"]}}, "description": "Тип TL: MessageFwdHeader.", "x-tl-flag": "flags.2?MessageFwdHeader"}, "via_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.11?long"}, "via_business_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.0?long"}, "guestchat_via_from": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags2.19?Peer"}, "reply_to": {"type": "object", "x-tl-type": "MessageReplyHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplyHeader", "messageReplyStoryHeader"]}}, "description": "Тип TL: MessageReplyHeader.", "x-tl-flag": "flags.3?MessageReplyHeader"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "string", "x-tl-type": "string"}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "TL Type: MessageMedia.", "x-tl-flag": "flags.9?MessageMedia"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.6?ReplyMarkup"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "forwards": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "replies": {"type": "object", "x-tl-type": "MessageReplies", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplies"]}}, "description": "Тип TL: MessageReplies.", "x-tl-flag": "flags.23?MessageReplies"}, "edit_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int"}, "post_author": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "grouped_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.17?long"}, "reactions": {"type": "object", "x-tl-type": "MessageReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReactions"]}}, "description": "Тип TL: MessageReactions.", "x-tl-flag": "flags.20?MessageReactions"}, "restriction_reason": {"type": "array", "items": {"type": "object", "x-tl-type": "RestrictionReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["restrictionReason"]}}, "description": "Тип TL: RestrictionReason."}, "x-tl-type": "Vector<RestrictionReason>", "x-tl-flag": "flags.22?Vector<RestrictionReason>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.25?int"}, "quick_reply_shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.30?int"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.2?long"}, "factcheck": {"type": "object", "x-tl-type": "FactCheck", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["factCheck"]}}, "description": "TL Type: FactCheck.", "x-tl-flag": "flags2.3?FactCheck"}, "report_delivery_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.5?int"}, "paid_message_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.6?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["suggestedPost"]}}, "description": "Тип TL: SuggestedPost.", "x-tl-flag": "flags2.7?SuggestedPost"}, "schedule_repeat_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.10?int"}, "summary_from_language": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags2.11?string"}, "rich_message": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage.", "x-tl-flag": "flags2.13?RichMessage"}}, "required": ["_", "id", "peer_id", "date", "message"], "additionalProperties": false}, "messageService": {"title": "messageService", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageService"]}, "out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "mentioned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "media_unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "reactions_are_possible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "post": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "legacy": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.8?Peer"}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.28?Peer"}, "reply_to": {"type": "object", "x-tl-type": "MessageReplyHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplyHeader", "messageReplyStoryHeader"]}}, "description": "Тип TL: MessageReplyHeader.", "x-tl-flag": "flags.3?MessageReplyHeader"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "action": {"type": "object", "x-tl-type": "MessageAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageActionEmpty", "messageActionChatCreate", "messageActionChatEditTitle", "messageActionChatEditPhoto", "messageActionChatDeletePhoto", "messageActionChatAddUser", "messageActionChatDeleteUser", "messageActionChatJoinedByLink", "messageActionChannelCreate", "messageActionChatMigrateTo", "messageActionChannelMigrateFrom", "messageActionPinMessage", "messageActionHistoryClear", "messageActionGameScore", "messageActionPaymentSentMe", "messageActionPaymentSent", "messageActionPhoneCall", "messageActionScreenshotTaken", "messageActionCustomAction", "messageActionBotAllowed", "messageActionSecureValuesSentMe", "messageActionSecureValuesSent", "messageActionContactSignUp", "messageActionGeoProximityReached", "messageActionGroupCall", "messageActionInviteToGroupCall", "messageActionSetMessagesTTL", "messageActionGroupCallScheduled", "messageActionSetChatTheme", "messageActionChatJoinedByRequest", "messageActionWebViewDataSentMe", "messageActionWebViewDataSent", "messageActionGiftPremium", "messageActionTopicCreate", "messageActionTopicEdit", "messageActionSuggestProfilePhoto", "messageActionRequestedPeer", "messageActionSetChatWallPaper", "messageActionGiftCode", "messageActionGiveawayLaunch", "messageActionGiveawayResults", "messageActionBoostApply", "messageActionRequestedPeerSentMe", "messageActionPaymentRefunded", "messageActionGiftStars", "messageActionPrizeStars", "messageActionStarGift", "messageActionStarGiftUnique", "messageActionPaidMessagesRefunded", "messageActionPaidMessagesPrice", "messageActionConferenceCall", "messageActionTodoCompletions", "messageActionTodoAppendTasks", "messageActionSuggestedPostApproval", "messageActionSuggestedPostSuccess", "messageActionSuggestedPostRefund", "messageActionGiftTon", "messageActionSuggestBirthday", "messageActionStarGiftPurchaseOffer", "messageActionStarGiftPurchaseOfferDeclined", "messageActionNewCreatorPending", "messageActionChangeCreator", "messageActionNoForwardsToggle", "messageActionNoForwardsRequest", "messageActionPollAppendAnswer", "messageActionPollDeleteAnswer", "messageActionManagedBotCreated", "messageActionChangeCommunity", "messageActionChatJoinedViaCommunity", "messageActionGramTransfer", "messageActionWalletTonConnectRequest", "messageActionNoPaidMessagesTokenUsed", "messageActionStarGiftOnchainOffer", "messageActionBotInvite"]}}, "description": "Тип TL: MessageAction."}, "reactions": {"type": "object", "x-tl-type": "MessageReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReactions"]}}, "description": "Тип TL: MessageReactions.", "x-tl-flag": "flags.20?MessageReactions"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.25?int"}}, "required": ["_", "id", "peer_id", "date", "action"], "additionalProperties": false}, "messageMediaEmpty": {"title": "messageMediaEmpty", "description": "Leerer Konstruktor.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty"]}}, "required": ["_"], "additionalProperties": false}, "messageMediaPhoto": {"title": "messageMediaPhoto", "description": "Angehängtes Foto.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaPhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaPhoto"]}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Medium hinter einer Spoilerwarnung versteckt werden sollte", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "live_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um ein Live-Foto handelt, i.e. ein Standbild gepaart mit dem kurzen `video`-Clip, der daneben aufgenommen wurde", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Foto", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Photo"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Lebenszeit eines selbstzerstörenden Fotos kann sein: `0`, um die Selbstzerstörung zu deaktivieren, `0x7FFFFFFF`, um das Foto unmittelbar nach der Wiedergabe selbst zu zerstören; andernfalls zerstört es sich `ttl_seconds` selbst, nachdem es gespielt wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "video": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Der kurze Videoclip des Livefotos", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Document"}}, "required": ["_"], "additionalProperties": false}, "messageMediaGeo": {"title": "messageMediaGeo", "description": "Angehängte Karte.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaGeo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaGeo"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "GeoPoint", "x-telegram-field-docs": true}}, "required": ["_", "geo"], "additionalProperties": false}, "messageMediaContact": {"title": "messageMediaContact", "description": "Beigefügter Kontakt.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaContact"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaContact"]}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Vorname des Kontakts", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Nachname des Kontakts", "x-telegram-field-docs": true}, "vcard": {"type": "string", "x-tl-type": "string", "description": "VCARD des Kontakts", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Benutzerkennung oder `0`, wenn der Benutzer mit der angegebenen Telefonnummer nicht registriert ist", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard", "user_id"], "additionalProperties": false}, "messageMediaUnsupported": {"title": "messageMediaUnsupported", "description": "Die aktuelle Version des Clients unterstützt diesen Medientyp nicht.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaUnsupported"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "messageMediaDocument": {"title": "messageMediaDocument", "description": "Dokument (Video, Audio, Sprache, Aufkleber, alle Medientypen außer Fotos)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaDocument"]}, "nopremium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um einen normalen Sticker handelt, wenn nicht eingestellt, handelt es sich um einen Premium-Sticker und es muss eine Premium-Sticker-Animation abgespielt werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Medium hinter einer Spoilerwarnung versteckt werden sollte", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob das ein Video ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "round": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob das ein rundes Video ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "voice": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um eine Sprachnachricht handelt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Angehängtes Dokument", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Document"}, "alt_documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Nur Videos, enthält alternative Qualitäten des Videos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?Vector<Document>"}, "video_cover": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Benutzerdefiniertes Videocover.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?Photo"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Starten Sie die Wiedergabe des Videos zum angegebenen Zeitstempel (Sekunden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?int"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Lebensdauer eines selbstzerstörenden Dokuments kann `0` sein, um die Selbstzerstörung zu deaktivieren, `0x7FFFFFFF`, um das Dokument unmittelbar nach der Wiedergabe selbst zu zerstören; Andernfalls zerstört es sich selbst `ttl_seconds`, nachdem es gespielt wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}}, "required": ["_"], "additionalProperties": false}, "messageMediaWebPage": {"title": "messageMediaWebPage", "description": "Vorschau der Webseite", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaWebPage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaWebPage"]}, "force_large_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, wird angegeben, dass eine große Medienvorschau verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, wird angegeben, dass eine kleine Medienvorschau verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "manual": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, bedeutet dies, dass das für die Webseitenvorschau verwendete URL manuell mit [inputMediaWebPage](https://core.telegram.org/constructor/inputMediaWebPage.md)] angegeben wurde und sich möglicherweise nicht auf eine der in der Nachricht angegebenen URLs bezieht.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "safe": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann die Webseite direkt ohne Benutzerbestätigung geöffnet werden. andernfalls ist eine Benutzerbestätigung erforderlich, in der die genaue URL angezeigt wird, die geöffnet wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "webpage": {"type": "object", "x-tl-type": "WebPage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webPageEmpty", "webPagePending", "webPage", "webPageNotModified"]}}, "description": "Webseitenvorschau", "x-telegram-field-docs": true}}, "required": ["_", "webpage"], "additionalProperties": false}, "messageMediaVenue": {"title": "messageMediaVenue", "description": "Veranstaltungsort", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaVenue"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaVenue"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Geolokalisierung des Veranstaltungsortes", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Name des Veranstaltungsortes", "x-telegram-field-docs": true}, "address": {"type": "string", "x-tl-type": "string", "description": "Adresse", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Veranstaltungsortanbieter: Derzeit müssen nur „foursquare“ und „gplaces“ (Google Places) unterstützt werden", "x-telegram-field-docs": true}, "venue_id": {"type": "string", "x-tl-type": "string", "description": "Veranstaltungsort-ID in der Datenbank des Anbieters", "x-telegram-field-docs": true}, "venue_type": {"type": "string", "x-tl-type": "string", "description": "Veranstaltungsorttyp in der Datenbank des Anbieters", "x-telegram-field-docs": true}}, "required": ["_", "geo", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "messageMediaGame": {"title": "messageMediaGame", "description": "Telegram-Spiel", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaGame"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaGame"]}, "game": {"type": "object", "x-tl-type": "Game", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["game"]}}, "description": "Spiel", "x-telegram-field-docs": true}}, "required": ["_", "game"], "additionalProperties": false}, "messageMediaInvoice": {"title": "messageMediaInvoice", "description": "Rechnung", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaInvoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaInvoice"]}, "shipping_address_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Lieferadresse angefordert wurde", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "test": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich hierbei um eine Beispielrechnung handelt", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "title": {"type": "string", "x-tl-type": "string", "description": "Produktname, 1–32 Zeichen", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Produktbeschreibung, 1-255 Zeichen", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "URL des Produktfotos für die Rechnung. Dies kann ein Foto der Ware oder ein Marketingbild für eine Dienstleistung sein. Den Leuten gefällt es besser, wenn sie sehen, wofür sie bezahlen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?WebDocument"}, "receipt_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID des Empfangs: Wenn festgelegt, sollten Kunden den Text der ersten [keyboardButtonBuy](https://core.telegram.org/constructor/keyboardButtonBuy.md)-Schaltfläche, die immer an die [Nachricht](https://core.telegram.org/constructor/message.md) angehängt ist] in eine lokalisierte Version des Wortes `Receipt` ändern.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger Code ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies), oder `XTR` für [Telegram Stars](https://core.telegram.org/api/stars.md)].", "x-telegram-field-docs": true}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}, "start_param": {"type": "string", "x-tl-type": "string", "description": "Einzigartiger Bot-Deep-Linking-Parameter, der zum Generieren dieser Rechnung verwendet werden kann", "x-telegram-field-docs": true}, "extended_media": {"type": "object", "x-tl-type": "MessageExtendedMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageExtendedMediaPreview", "messageExtendedMedia"]}}, "description": "Veraltet", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?MessageExtendedMedia"}}, "required": ["_", "title", "description", "currency", "total_amount", "start_param"], "additionalProperties": false}, "messageMediaGeoLive": {"title": "messageMediaGeoLive", "description": "Zeigt eine [Live-Geolokalisierung](https://core.telegram.org/api/live-location.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaGeoLive"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaGeoLive"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Geolokalisierung", "x-telegram-field-docs": true}, "heading": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für [Live-Standorte](https://core.telegram.org/api/live-location.md) eine Richtung, in der sich der Standort bewegt, in Grad; 1-360", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gültigkeitsdauer der bereitgestellten Geolokalisierung", "x-telegram-field-docs": true}, "proximity_notification_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für [Live-Standorte](https://core.telegram.org/api/live-location.md)] eine maximale Entfernung zu einem anderen Chat-Mitglied für Annäherungsalarme in Metern (0–100.000).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "geo", "period"], "additionalProperties": false}, "messageMediaPoll": {"title": "messageMediaPoll", "description": "Umfrage", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaPoll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaPoll"]}, "poll": {"type": "object", "x-tl-type": "Poll", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["poll"]}}, "description": "Die Umfrage", "x-telegram-field-docs": true}, "results": {"type": "object", "x-tl-type": "PollResults", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollResults"]}}, "description": "Die Ergebnisse der Umfrage", "x-telegram-field-docs": true}, "attached_media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "Optionaler Medienanhang, der neben der Umfrage angezeigt wird", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?MessageMedia"}}, "required": ["_", "poll", "results"], "additionalProperties": false}, "messageMediaDice": {"title": "messageMediaDice", "description": "[Würfelbasierter animierter Aufkleber](https://core.telegram.org/api/dice.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaDice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaDice"]}, "value": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Würfelwert](https://core.telegram.org/api/dice.md)", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Die Emojis, vorerst 🏀, 🎲 und 🎯, werden unterstützt", "x-telegram-field-docs": true}, "game_outcome": {"type": "object", "x-tl-type": "messages.EmojiGameOutcome", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messages.emojiGameOutcome"]}}, "description": "Ergebnis des Würfelspiels.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?messages.EmojiGameOutcome"}}, "required": ["_", "value", "emoticon"], "additionalProperties": false}, "messageMediaStory": {"title": "messageMediaStory", "description": "Stellt eine weitergeleitete [Story](https://core.telegram.org/api/stories.md) oder eine Story-Erwähnung dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaStory"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaStory"]}, "via_mention": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, bedeutet dies, dass dieser Jemand uns in dieser Geschichte erwähnt hat (i.e. indem er uns in der Beschreibung markiert) oder umgekehrt, dass wir den anderen Peer erwähnt haben (wenn die Nachricht ausgehend ist).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Peer, der die Geschichte gepostet hat.", "x-telegram-field-docs": true}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Story-ID", "x-telegram-field-docs": true}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Die Geschichte selbst, falls nicht vorhanden, rufen Sie sie mit [stories.getStoriesByID](https://core.telegram.org/method/stories.getStoriesByID.md) und den oben angegebenen `peer`/`id`-Parametern ab.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?StoryItem"}}, "required": ["_", "peer", "id"], "additionalProperties": false}, "messageMediaGiveaway": {"title": "messageMediaGiveaway", "description": "Enthält Informationen zu einem [Gewinnspiel, weitere Informationen finden Sie hier »](https://core.telegram.org/api/giveaways.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaGiveaway"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaGiveaway"]}, "only_new_subscribers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn dies festgelegt ist, können nur neue Abonnenten ab dem Erstellungsdatum des Gewinnspiels am Gewinnspiel teilnehmen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "winners_are_visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, sind die Gewinner des Gewinnspiels öffentlich und werden in einer [messageMediaGiveawayResults](https://core.telegram.org/constructor/messageMediaGiveawayResults.md)-Nachricht aufgeführt, die automatisch an den Kanal gesendet wird, sobald das Gewinnspiel endet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "channels": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Die Kanäle, denen der Benutzer beitreten muss, um an der Verlosung teilzunehmen.", "x-telegram-field-docs": true}, "countries_iso2": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Wenn festgelegt, können nur Benutzer mit Wohnsitz in diesen Ländern an der Verlosung teilnehmen (angegeben als Liste von zweibuchstabigen ISO 3166-1 Alpha-2-Ländercodes); Ansonsten gibt es keine länderspezifischen Einschränkungen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<string>"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Kann eine Textbeschreibung zusätzlicher Giveaway-Preise enthalten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "quantity": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der verschenkten [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnements.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dauer in Monaten jedes [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnements im Gewinnspiel.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Für [Telegram Star-Gewinnspiele](https://core.telegram.org/api/stars.md#star-giveaways)] die Gesamtzahl der verschenkten Telegram Stars.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?long"}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Das Enddatum des Giveaways.", "x-telegram-field-docs": true}}, "required": ["_", "channels", "quantity", "until_date"], "additionalProperties": false}, "messageMediaGiveawayResults": {"title": "messageMediaGiveawayResults", "description": "Ein [Gewinnspiel](https://core.telegram.org/api/giveaways.md) mit öffentlichen Gewinnern ist beendet, dieser Konstruktor enthält Informationen über die Gewinner.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaGiveawayResults"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaGiveawayResults"]}, "only_new_subscribers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, nehmen nur neue Abonnenten ab dem Erstellungsdatum des Giveaways am Giveaway teil.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "refunded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Falls festgelegt, wurde das Giveaway storniert und der volle Betrag zurückerstattet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Kanals/der Supergruppe, der von den Gewinnern des Gewinnspiels für die Dauer des Premium-Abonnements automatisch [geboostet](https://core.telegram.org/api/boost.md)] wurde.", "x-tl-type": "long", "x-telegram-field-docs": true}, "additional_peers_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der anderen Kanäle, die an der Verlosung teilgenommen haben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "launch_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identifikator der Nachricht mit dem Giveaway in `channel_id`.", "x-telegram-field-docs": true}, "winners_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Gewinner des Gewinnspiels.", "x-telegram-field-docs": true}, "unclaimed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der noch nicht beanspruchten Preise.", "x-telegram-field-docs": true}, "winners": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Bis zu 100 Benutzerkennungen der Gewinner des Gewinnspiels.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dauer in Monaten jedes [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnements im Gewinnspiel.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Für [Telegram Star-Gewinnspiele](https://core.telegram.org/api/stars.md#star-giveaways)] die Gesamtzahl der verschenkten Telegram Stars.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?long"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Kann eine Textbeschreibung zusätzlicher Giveaway-Preise enthalten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Zeitpunkt (Unix-Zeitstempel), zu dem die Gewinner ausgewählt wurden. Kann länger sein als das Auswahldatum der Gewinner, das in den Anfangsparametern des Gewinnspiels angegeben ist.", "x-telegram-field-docs": true}}, "required": ["_", "channel_id", "launch_msg_id", "winners_count", "unclaimed_count", "winners", "until_date"], "additionalProperties": false}, "messageMediaPaidMedia": {"title": "messageMediaPaidMedia", "description": "[Bezahlte Medien, siehe hier »](https://core.telegram.org/api/paid-media.md) für weitere Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaPaidMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaPaidMedia"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Der Preis der Medien in [Telegram Stars](https://core.telegram.org/api/stars.md).", "x-tl-type": "long", "x-telegram-field-docs": true}, "extended_media": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageExtendedMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageExtendedMediaPreview", "messageExtendedMedia"]}}, "description": "Тип TL: MessageExtendedMedia."}, "x-tl-type": "Vector<MessageExtendedMedia>", "description": "Entweder die kostenpflichtigen Medien oder Medienvorschauen mit extrem niedriger Auflösung, wenn die Medien noch nicht gekauft wurden, [weitere Informationen finden Sie hier »](https://core.telegram.org/api/paid-media.md#viewing-paid-media)«.", "x-telegram-field-docs": true}}, "required": ["_", "stars_amount", "extended_media"], "additionalProperties": false}, "messageMediaToDo": {"title": "messageMediaToDo", "description": "Stellt eine [Todo-Liste »](https://core.telegram.org/api/todo.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaToDo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaToDo"]}, "todo": {"type": "object", "x-tl-type": "TodoList", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["todoList"]}}, "description": "Die Todo-Liste.", "x-telegram-field-docs": true}, "completions": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoCompletion", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["todoCompletion"]}}, "description": "Тип TL: TodoCompletion."}, "x-tl-type": "Vector<TodoCompletion>", "description": "Abgeschlossene Artikel.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<TodoCompletion>"}}, "required": ["_", "todo"], "additionalProperties": false}, "messageMediaVideoStream": {"title": "messageMediaVideoStream", "description": "Identifiziert den aktiven Gruppenanruf, der einer [Live-Story »](https://core.telegram.org/api/group-calls.md#live-stories)“ zugeordnet ist.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaVideoStream"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaVideoStream"]}, "rtmp_stream": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Live-Story den [RTMP Livestream-Modus »](https://core.telegram.org/api/group-calls.md#stream-mode) verwendet", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Aktiver Live-Story-Gruppenanruf", "x-telegram-field-docs": true}}, "required": ["_", "call"], "additionalProperties": false}, "messageMediaWidget": {"title": "messageMediaWidget", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaWidget"]}, "is_copy": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "can_query": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "background_query": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "width": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "height": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "public_data_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.5?long"}}, "required": ["_", "width", "height", "payload"], "additionalProperties": false}, "messageActionEmpty": {"title": "messageActionEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionEmpty"]}}, "required": ["_"], "additionalProperties": false}, "messageActionChatCreate": {"title": "messageActionChatCreate", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatCreate"]}, "title": {"type": "string", "x-tl-type": "string"}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "title", "users"], "additionalProperties": false}, "messageActionChatEditTitle": {"title": "messageActionChatEditTitle", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatEditTitle"]}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "title"], "additionalProperties": false}, "messageActionChatEditPhoto": {"title": "messageActionChatEditPhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatEditPhoto"]}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}}, "required": ["_", "photo"], "additionalProperties": false}, "messageActionChatDeletePhoto": {"title": "messageActionChatDeletePhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatDeletePhoto"]}}, "required": ["_"], "additionalProperties": false}, "messageActionChatAddUser": {"title": "messageActionChatAddUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatAddUser"]}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "users"], "additionalProperties": false}, "messageActionChatDeleteUser": {"title": "messageActionChatDeleteUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatDeleteUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "messageActionChatJoinedByLink": {"title": "messageActionChatJoinedByLink", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatJoinedByLink"]}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "inviter_id"], "additionalProperties": false}, "messageActionChannelCreate": {"title": "messageActionChannelCreate", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChannelCreate"]}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "title"], "additionalProperties": false}, "messageActionChatMigrateTo": {"title": "messageActionChatMigrateTo", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatMigrateTo"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "messageActionChannelMigrateFrom": {"title": "messageActionChannelMigrateFrom", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChannelMigrateFrom"]}, "title": {"type": "string", "x-tl-type": "string"}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "title", "chat_id"], "additionalProperties": false}, "messageActionPinMessage": {"title": "messageActionPinMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPinMessage"]}}, "required": ["_"], "additionalProperties": false}, "messageActionHistoryClear": {"title": "messageActionHistoryClear", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionHistoryClear"]}}, "required": ["_"], "additionalProperties": false}, "messageActionGameScore": {"title": "messageActionGameScore", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGameScore"]}, "game_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "game_id", "score"], "additionalProperties": false}, "messageActionPaymentSentMe": {"title": "messageActionPaymentSentMe", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaymentSentMe"]}, "recurring_init": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "recurring_used": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}}, "description": "Тип TL: PaymentRequestedInfo.", "x-tl-flag": "flags.0?PaymentRequestedInfo"}, "shipping_option_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "charge": {"type": "object", "x-tl-type": "PaymentCharge", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentCharge"]}}, "description": "Тип TL: PaymentCharge."}, "subscription_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "currency", "total_amount", "payload", "charge"], "additionalProperties": false}, "messageActionPaymentSent": {"title": "messageActionPaymentSent", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaymentSent"]}, "recurring_init": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "recurring_used": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "invoice_slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "subscription_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "currency", "total_amount"], "additionalProperties": false}, "messageActionPhoneCall": {"title": "messageActionPhoneCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPhoneCall"]}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "call_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "reason": {"type": "object", "x-tl-type": "PhoneCallDiscardReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonMigrateConferenceCall"]}}, "description": "Тип TL: PhoneCallDiscardReason.", "x-tl-flag": "flags.0?PhoneCallDiscardReason"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "call_id"], "additionalProperties": false}, "messageActionScreenshotTaken": {"title": "messageActionScreenshotTaken", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionScreenshotTaken"]}}, "required": ["_"], "additionalProperties": false}, "messageActionCustomAction": {"title": "messageActionCustomAction", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionCustomAction"]}, "message": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "message"], "additionalProperties": false}, "messageActionBotAllowed": {"title": "messageActionBotAllowed", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionBotAllowed"]}, "attach_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "from_request": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "domain": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "app": {"type": "object", "x-tl-type": "BotApp", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botAppNotModified", "botApp"]}}, "description": "Тип TL: BotApp.", "x-tl-flag": "flags.2?BotApp"}}, "required": ["_"], "additionalProperties": false}, "messageActionSecureValuesSentMe": {"title": "messageActionSecureValuesSentMe", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSecureValuesSentMe"]}, "values": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValue"]}}, "description": "TL Type: SecureValue."}, "x-tl-type": "Vector<SecureValue>"}, "credentials": {"type": "object", "x-tl-type": "SecureCredentialsEncrypted", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureCredentialsEncrypted"]}}, "description": "Тип TL: SecureCredentialsEncrypted."}}, "required": ["_", "values", "credentials"], "additionalProperties": false}, "messageActionSecureValuesSent": {"title": "messageActionSecureValuesSent", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSecureValuesSent"]}, "types": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "TL Type: SecureValueType."}, "x-tl-type": "Vector<SecureValueType>"}}, "required": ["_", "types"], "additionalProperties": false}, "messageActionContactSignUp": {"title": "messageActionContactSignUp", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionContactSignUp"]}}, "required": ["_"], "additionalProperties": false}, "messageActionGeoProximityReached": {"title": "messageActionGeoProximityReached", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGeoProximityReached"]}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "to_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "distance": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "from_id", "to_id", "distance"], "additionalProperties": false}, "messageActionGroupCall": {"title": "messageActionGroupCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGroupCall"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "call"], "additionalProperties": false}, "messageActionInviteToGroupCall": {"title": "messageActionInviteToGroupCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionInviteToGroupCall"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "call", "users"], "additionalProperties": false}, "messageActionSetMessagesTTL": {"title": "messageActionSetMessagesTTL", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSetMessagesTTL"]}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "auto_setting_from": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "period"], "additionalProperties": false}, "messageActionGroupCallScheduled": {"title": "messageActionGroupCallScheduled", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGroupCallScheduled"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "call", "schedule_date"], "additionalProperties": false}, "messageActionSetChatTheme": {"title": "messageActionSetChatTheme", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSetChatTheme"]}, "theme": {"type": "object", "x-tl-type": "ChatTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatTheme", "chatThemeUniqueGift"]}}, "description": "Тип TL: ChatTheme."}}, "required": ["_", "theme"], "additionalProperties": false}, "messageActionChatJoinedByRequest": {"title": "messageActionChatJoinedByRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatJoinedByRequest"]}}, "required": ["_"], "additionalProperties": false}, "messageActionWebViewDataSentMe": {"title": "messageActionWebViewDataSentMe", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionWebViewDataSentMe"]}, "text": {"type": "string", "x-tl-type": "string"}, "data": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "data"], "additionalProperties": false}, "messageActionWebViewDataSent": {"title": "messageActionWebViewDataSent", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionWebViewDataSent"]}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text"], "additionalProperties": false}, "messageActionGiftPremium": {"title": "messageActionGiftPremium", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftPremium"]}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "days": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "crypto_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "currency", "amount", "days"], "additionalProperties": false}, "messageActionTopicCreate": {"title": "messageActionTopicCreate", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionTopicCreate"]}, "title_missing": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "title": {"type": "string", "x-tl-type": "string"}, "icon_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "title", "icon_color"], "additionalProperties": false}, "messageActionTopicEdit": {"title": "messageActionTopicEdit", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionTopicEdit"]}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool"}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool"}}, "required": ["_"], "additionalProperties": false}, "messageActionSuggestProfilePhoto": {"title": "messageActionSuggestProfilePhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSuggestProfilePhoto"]}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}}, "required": ["_", "photo"], "additionalProperties": false}, "messageActionRequestedPeer": {"title": "messageActionRequestedPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionRequestedPeer"]}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>"}}, "required": ["_", "button_id", "peers"], "additionalProperties": false}, "messageActionSetChatWallPaper": {"title": "messageActionSetChatWallPaper", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSetChatWallPaper"]}, "same": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "for_both": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "wallpaper": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "TL Type: WallPaper."}}, "required": ["_", "wallpaper"], "additionalProperties": false}, "messageActionGiftCode": {"title": "messageActionGiftCode", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftCode"]}, "via_giveaway": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "unclaimed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "boost_peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.1?Peer"}, "days": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "slug": {"type": "string", "x-tl-type": "string"}, "currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}, "crypto_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.4?TextWithEntities"}}, "required": ["_", "days", "slug"], "additionalProperties": false}, "messageActionGiveawayLaunch": {"title": "messageActionGiveawayLaunch", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiveawayLaunch"]}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_"], "additionalProperties": false}, "messageActionGiveawayResults": {"title": "messageActionGiveawayResults", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiveawayResults"]}, "stars": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "winners_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unclaimed_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "winners_count", "unclaimed_count"], "additionalProperties": false}, "messageActionBoostApply": {"title": "messageActionBoostApply", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionBoostApply"]}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "boosts"], "additionalProperties": false}, "messageActionRequestedPeerSentMe": {"title": "messageActionRequestedPeerSentMe", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionRequestedPeerSentMe"]}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "RequestedPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["requestedPeerUser", "requestedPeerChat", "requestedPeerChannel"]}}, "description": "Тип TL: RequestedPeer."}, "x-tl-type": "Vector<RequestedPeer>"}}, "required": ["_", "button_id", "peers"], "additionalProperties": false}, "messageActionPaymentRefunded": {"title": "messageActionPaymentRefunded", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaymentRefunded"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "charge": {"type": "object", "x-tl-type": "PaymentCharge", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentCharge"]}}, "description": "Тип TL: PaymentCharge."}}, "required": ["_", "peer", "currency", "total_amount", "charge"], "additionalProperties": false}, "messageActionGiftStars": {"title": "messageActionGiftStars", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftStars"]}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "crypto_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "transaction_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "currency", "amount", "stars"], "additionalProperties": false}, "messageActionPrizeStars": {"title": "messageActionPrizeStars", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPrizeStars"]}, "unclaimed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "transaction_id": {"type": "string", "x-tl-type": "string"}, "boost_peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "giveaway_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "stars", "transaction_id", "boost_peer", "giveaway_msg_id"], "additionalProperties": false}, "messageActionStarGift": {"title": "messageActionStarGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionStarGift"]}, "name_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "saved": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "converted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "upgraded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "refunded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "can_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "prepaid_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "upgrade_separate": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true"}, "auction_acquired": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}, "convert_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "upgrade_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.11?Peer"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.12?Peer"}, "saved_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.12?long"}, "prepaid_upgrade_hash": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.14?string"}, "gift_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int"}, "to_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.18?Peer"}, "gift_num": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.19?int"}}, "required": ["_", "gift"], "additionalProperties": false}, "messageActionStarGiftUnique": {"title": "messageActionStarGiftUnique", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionStarGiftUnique"]}, "upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "transferred": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "saved": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "refunded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "prepaid_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "assigned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "from_offer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "craft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true"}, "name_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "can_export_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "transfer_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.6?Peer"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.7?Peer"}, "saved_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.7?long"}, "resale_amount": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount.", "x-tl-flag": "flags.8?StarsAmount"}, "can_transfer_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.9?int"}, "can_resell_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "drop_original_details_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.12?long"}, "can_craft_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.18?TextWithEntities"}}, "required": ["_", "gift"], "additionalProperties": false}, "messageActionPaidMessagesRefunded": {"title": "messageActionPaidMessagesRefunded", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaidMessagesRefunded"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "count", "stars"], "additionalProperties": false}, "messageActionPaidMessagesPrice": {"title": "messageActionPaidMessagesPrice", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaidMessagesPrice"]}, "broadcast_messages_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "stars"], "additionalProperties": false}, "messageActionConferenceCall": {"title": "messageActionConferenceCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionConferenceCall"]}, "missed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "active": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "call_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "other_participants": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "x-tl-flag": "flags.3?Vector<Peer>"}}, "required": ["_", "call_id"], "additionalProperties": false}, "messageActionTodoCompletions": {"title": "messageActionTodoCompletions", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionTodoCompletions"]}, "completed": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "incompleted": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "completed", "incompleted"], "additionalProperties": false}, "messageActionTodoAppendTasks": {"title": "messageActionTodoAppendTasks", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionTodoAppendTasks"]}, "list": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["todoItem"]}}, "description": "TL Type: TodoItem."}, "x-tl-type": "Vector<TodoItem>"}}, "required": ["_", "list"], "additionalProperties": false}, "messageActionSuggestedPostApproval": {"title": "messageActionSuggestedPostApproval", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSuggestedPostApproval"]}, "rejected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "balance_too_low": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "reject_comment": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "price": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount.", "x-tl-flag": "flags.4?StarsAmount"}}, "required": ["_"], "additionalProperties": false}, "messageActionSuggestedPostSuccess": {"title": "messageActionSuggestedPostSuccess", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSuggestedPostSuccess"]}, "price": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount."}}, "required": ["_", "price"], "additionalProperties": false}, "messageActionSuggestedPostRefund": {"title": "messageActionSuggestedPostRefund", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSuggestedPostRefund"]}, "payer_initiated": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "messageActionGiftTon": {"title": "messageActionGiftTon", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftTon"]}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "crypto_currency": {"type": "string", "x-tl-type": "string"}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "transaction_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "currency", "amount", "crypto_currency", "crypto_amount"], "additionalProperties": false}, "messageActionSuggestBirthday": {"title": "messageActionSuggestBirthday", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSuggestBirthday"]}, "birthday": {"type": "object", "x-tl-type": "Birthday", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["birthday"]}}, "description": "Тип TL: Birthday."}}, "required": ["_", "birthday"], "additionalProperties": false}, "messageActionStarGiftPurchaseOffer": {"title": "messageActionStarGiftPurchaseOffer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionStarGiftPurchaseOffer"]}, "accepted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "declined": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "price": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount."}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "gift", "price", "expires_at"], "additionalProperties": false}, "messageActionStarGiftPurchaseOfferDeclined": {"title": "messageActionStarGiftPurchaseOfferDeclined", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionStarGiftPurchaseOfferDeclined"]}, "expired": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "price": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount."}}, "required": ["_", "gift", "price"], "additionalProperties": false}, "messageActionNewCreatorPending": {"title": "messageActionNewCreatorPending", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionNewCreatorPending"]}, "new_creator_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "new_creator_id"], "additionalProperties": false}, "messageActionChangeCreator": {"title": "messageActionChangeCreator", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChangeCreator"]}, "new_creator_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "new_creator_id"], "additionalProperties": false}, "messageActionNoForwardsToggle": {"title": "messageActionNoForwardsToggle", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionNoForwardsToggle"]}, "prev_value": {"type": "boolean", "x-tl-type": "Bool"}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "messageActionNoForwardsRequest": {"title": "messageActionNoForwardsRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionNoForwardsRequest"]}, "expired": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "prev_value": {"type": "boolean", "x-tl-type": "Bool"}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "messageActionPollAppendAnswer": {"title": "messageActionPollAppendAnswer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPollAppendAnswer"]}, "answer": {"type": "object", "x-tl-type": "PollAnswer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollAnswer", "inputPollAnswer"]}}, "description": "Тип TL: PollAnswer."}}, "required": ["_", "answer"], "additionalProperties": false}, "messageActionPollDeleteAnswer": {"title": "messageActionPollDeleteAnswer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPollDeleteAnswer"]}, "answer": {"type": "object", "x-tl-type": "PollAnswer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollAnswer", "inputPollAnswer"]}}, "description": "Тип TL: PollAnswer."}}, "required": ["_", "answer"], "additionalProperties": false}, "messageActionManagedBotCreated": {"title": "messageActionManagedBotCreated", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionManagedBotCreated"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "bot_id"], "additionalProperties": false}, "messageActionChangeCommunity": {"title": "messageActionChangeCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChangeCommunity"]}, "community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_"], "additionalProperties": false}, "messageActionChatJoinedViaCommunity": {"title": "messageActionChatJoinedViaCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatJoinedViaCommunity"]}, "community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "community_id"], "additionalProperties": false}, "messageActionGramTransfer": {"title": "messageActionGramTransfer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGramTransfer"]}, "comment_encrypted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer_address": {"type": "string", "x-tl-type": "string"}, "transaction_id": {"type": "string", "x-tl-type": "string"}, "comment": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "onramp_provider_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_", "amount", "peer_address", "transaction_id"], "additionalProperties": false}, "messageActionWalletTonConnectRequest": {"title": "messageActionWalletTonConnectRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionWalletTonConnectRequest"]}, "accepted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "declined": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "topic": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "dapp_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}}, "required": ["_", "session_id", "expires"], "additionalProperties": false}, "messageActionNoPaidMessagesTokenUsed": {"title": "messageActionNoPaidMessagesTokenUsed", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionNoPaidMessagesTokenUsed"]}}, "required": ["_"], "additionalProperties": false}, "messageActionStarGiftOnchainOffer": {"title": "messageActionStarGiftOnchainOffer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionStarGiftOnchainOffer"]}, "accepted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "declined": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "cancelled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "expired": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "settled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "buyer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "cancelling": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "offer_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "fee_bps": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "offer_address": {"type": "string", "x-tl-type": "string"}, "buyer_refund": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "fine": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.5?long"}}, "required": ["_", "offer_id", "gift", "amount", "fee_bps", "expires_at", "offer_address"], "additionalProperties": false}, "messageActionBotInvite": {"title": "messageActionBotInvite", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionBotInvite"]}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "inviter_id"], "additionalProperties": false}, "dialog": {"title": "dialog", "type": "object", "properties": {"_": {"type": "string", "enum": ["dialog"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "unread_mark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "view_forum_as_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "top_message": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_inbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_outbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_mentions_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_reactions_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_poll_votes_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "TL Type: PeerNotifySettings."}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "draft": {"type": "object", "x-tl-type": "DraftMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["draftMessageEmpty", "draftMessage"]}}, "description": "Тип TL: DraftMessage.", "x-tl-flag": "flags.1?DraftMessage"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}}, "required": ["_", "peer", "top_message", "read_inbox_max_id", "read_outbox_max_id", "unread_count", "unread_mentions_count", "unread_reactions_count", "unread_poll_votes_count", "notify_settings"], "additionalProperties": false}, "dialogFolder": {"title": "dialogFolder", "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogFolder"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "folder": {"type": "object", "x-tl-type": "Folder", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["folder"]}}, "description": "Тип TL: Folder."}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "top_message": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_muted_peers_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_unmuted_peers_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_muted_messages_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_unmuted_messages_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "folder", "peer", "top_message", "unread_muted_peers_count", "unread_unmuted_peers_count", "unread_muted_messages_count", "unread_unmuted_messages_count"], "additionalProperties": false}, "dialogCommunity": {"title": "dialogCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogCommunity"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "TL Type: PeerNotifySettings."}}, "required": ["_", "community_id", "notify_settings"], "additionalProperties": false}, "photoEmpty": {"title": "photoEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "photo": {"title": "photo", "type": "object", "properties": {"_": {"type": "string", "enum": ["photo"]}, "has_stickers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "sizes": {"type": "array", "items": {"type": "object", "x-tl-type": "PhotoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]}}, "description": "Тип TL: PhotoSize."}, "x-tl-type": "Vector<PhotoSize>"}, "video_sizes": {"type": "array", "items": {"type": "object", "x-tl-type": "VideoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["videoSize", "videoSizeEmojiMarkup", "videoSizeStickerMarkup"]}}, "description": "Тип TL: VideoSize."}, "x-tl-type": "Vector<VideoSize>", "x-tl-flag": "flags.1?Vector<VideoSize>"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "access_hash", "file_reference", "date", "sizes", "dc_id"], "additionalProperties": false}, "photoSizeEmpty": {"title": "photoSizeEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoSizeEmpty"]}, "type": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "type"], "additionalProperties": false}, "photoSize": {"title": "photoSize", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoSize"]}, "type": {"type": "string", "x-tl-type": "string"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "type", "w", "h", "size"], "additionalProperties": false}, "photoCachedSize": {"title": "photoCachedSize", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoCachedSize"]}, "type": {"type": "string", "x-tl-type": "string"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "type", "w", "h", "bytes"], "additionalProperties": false}, "photoStrippedSize": {"title": "photoStrippedSize", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoStrippedSize"]}, "type": {"type": "string", "x-tl-type": "string"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "type", "bytes"], "additionalProperties": false}, "photoSizeProgressive": {"title": "photoSizeProgressive", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoSizeProgressive"]}, "type": {"type": "string", "x-tl-type": "string"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "sizes": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "type", "w", "h", "sizes"], "additionalProperties": false}, "photoPathSize": {"title": "photoPathSize", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoPathSize"]}, "type": {"type": "string", "x-tl-type": "string"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "type", "bytes"], "additionalProperties": false}, "geoPointEmpty": {"title": "geoPointEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["geoPointEmpty"]}}, "required": ["_"], "additionalProperties": false}, "geoPoint": {"title": "geoPoint", "type": "object", "properties": {"_": {"type": "string", "enum": ["geoPoint"]}, "long": {"type": "number", "format": "double", "x-tl-type": "double"}, "lat": {"type": "number", "format": "double", "x-tl-type": "double"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "accuracy_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "long", "lat", "access_hash"], "additionalProperties": false}, "auth.sentCode": {"title": "auth.sentCode", "description": "Enthält Informationen zu einem gesendeten Bestätigungscode.", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.sentCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCode"]}, "type": {"type": "object", "x-tl-type": "auth.SentCodeType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeApp", "auth.sentCodeTypeSms", "auth.sentCodeTypeCall", "auth.sentCodeTypeFlashCall", "auth.sentCodeTypeMissedCall", "auth.sentCodeTypeEmailCode", "auth.sentCodeTypeSetUpEmailRequired", "auth.sentCodeTypeFragmentSms", "auth.sentCodeTypeFirebaseSms", "auth.sentCodeTypeSmsWord", "auth.sentCodeTypeSmsPhrase"]}}, "description": "Telefoncodetyp", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Telefoncode-Hash, der gespeichert und später mit [auth.signIn](https://core.telegram.org/method/auth.signIn.md)] wiederverwendet werden soll", "x-telegram-field-docs": true}, "next_type": {"type": "object", "x-tl-type": "auth.CodeType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["auth.codeTypeSms", "auth.codeTypeCall", "auth.codeTypeFlashCall", "auth.codeTypeMissedCall", "auth.codeTypeFragmentSms"]}}, "description": "Telefoncodetyp, der als nächstes gesendet wird, wenn der Telefoncode nicht innerhalb von `timeout` Sekunden empfangen wird: Zum Senden verwenden Sie [auth.resendCode](https://core.telegram.org/method/auth.resendCode.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?auth.CodeType"}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Timeout für den Empfang des Telefoncodes", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}}, "required": ["_", "type", "phone_code_hash"], "additionalProperties": false}, "auth.sentCodeSuccess": {"title": "auth.sentCodeSuccess", "description": "Der Benutzer hat sich erfolgreich mit [zukünftigen Authentifizierungstokens](https://core.telegram.org/api/auth.md#future-auth-tokens)] autorisiert.", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.sentCodeSuccess"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeSuccess"]}, "authorization": {"type": "object", "x-tl-type": "auth.Authorization", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["auth.authorization", "auth.authorizationSignUpRequired"]}}, "description": "Informationen zur Autorisierung", "x-telegram-field-docs": true}}, "required": ["_", "authorization"], "additionalProperties": false}, "auth.sentCodePaymentRequired": {"title": "auth.sentCodePaymentRequired", "description": "Offizielle Apps können diesen Konstruktor erhalten, was darauf hinweist, dass der Benutzer aufgrund der hohen Kosten für SMS Verifizierungscodes für das Land/den Anbieter des Benutzers ein [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnement erwerben muss, um mit der Anmeldung/Anmeldung fortzufahren, siehe [hier »](https://core.telegram.org/api/auth.md#paid-auth) für weitere Informationen].", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.sentCodePaymentRequired"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodePaymentRequired"]}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Für offizielle Apps: Tor-ID des Telegram-Premium-Abonnements.", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Telefoncode-Hash, der gespeichert und später mit [auth.signIn](https://core.telegram.org/method/auth.signIn.md)] wiederverwendet werden soll", "x-telegram-field-docs": true}, "support_email_address": {"type": "string", "x-tl-type": "string", "description": "Eine E-Mail-Adresse, die für weitere Informationen zu dieser Anfrage kontaktiert werden kann.", "x-telegram-field-docs": true}, "support_email_subject": {"type": "string", "x-tl-type": "string", "description": "Der obligatorische Betreff für die E-Mail.", "x-telegram-field-docs": true}, "premium_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dauer des durch diesen Kauf gewährten [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnements] in Tagen.", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code.", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "store_product", "phone_code_hash", "support_email_address", "support_email_subject", "premium_days", "currency", "amount"], "additionalProperties": false}, "auth.authorization": {"title": "auth.authorization", "description": "Enthält Informationen zur Benutzerautorisierung.", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.authorization"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.authorization"]}, "setup_password_required": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Schlägt dem Benutzer vor, ein Passwort für die zweistufige Verifizierung einzurichten, um sich erneut anmelden zu können", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "otherwise_relogin_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nur wenn setup_password_required festgelegt ist und der Benutzer die Festlegung eines Passworts für die zweistufige Verifizierung ablehnt, kann er sich erst nach Ablauf dieser Anzahl von Tagen erneut über SMS bei seinem Konto anmelden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "tmp_sessions": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der [parallelen Sitzungen](https://core.telegram.org/api/datacenter.md#parallel-sessions), die der Client zur Hauptverbindung seines Heimat-DC öffnen kann, um den Durchsatz zu erhöhen; bei Abwesenheit oder `≤ 1` muss eine einzelne Hauptsitzung verwendet werden", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "future_auth_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Ein [zukünftiges Authentifizierungstoken](https://core.telegram.org/api/auth.md#future-auth-tokens)", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?bytes"}, "user": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Informationen zum autorisierten Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "user"], "additionalProperties": false}, "auth.authorizationSignUpRequired": {"title": "auth.authorizationSignUpRequired", "description": "Ein Konto mit dieser Telefonnummer ist bei Telegram nicht vorhanden: Der Benutzer muss [grundlegende Informationen eingeben und sich anmelden](https://core.telegram.org/api/auth.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.authorizationSignUpRequired"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.authorizationSignUpRequired"]}, "terms_of_service": {"type": "object", "x-tl-type": "help.TermsOfService", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["help.termsOfService"]}}, "description": "Nutzungsbedingungen von Telegram: Der Benutzer muss die Nutzungsbedingungen lesen und akzeptieren, bevor er sich bei Telegram anmeldet", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?help.TermsOfService"}}, "required": ["_"], "additionalProperties": false}, "auth.exportedAuthorization": {"title": "auth.exportedAuthorization", "description": "Daten zum Kopieren der Autorisierung zwischen Rechenzentren.", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.exportedAuthorization"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.exportedAuthorization"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "aktuelle Benutzerkennung", "x-tl-type": "long", "x-telegram-field-docs": true}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Autorisiert den Schlüssel", "x-telegram-field-docs": true}}, "required": ["_", "id", "bytes"], "additionalProperties": false}, "inputNotifyPeer": {"title": "inputNotifyPeer", "description": "Von einem bestimmten Benutzer oder einer bestimmten Gruppe generierte Benachrichtigungen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyPeer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyPeer"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Benutzer oder Gruppe", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "inputNotifyUsers": {"title": "inputNotifyUsers", "description": "Von allen Benutzern generierte Benachrichtigungen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyUsers"]}}, "required": ["_"], "additionalProperties": false}, "inputNotifyChats": {"title": "inputNotifyChats", "description": "Von allen Gruppen generierte Benachrichtigungen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyChats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyChats"]}}, "required": ["_"], "additionalProperties": false}, "inputNotifyBroadcasts": {"title": "inputNotifyBroadcasts", "description": "Alle [Kanäle](https://core.telegram.org/api/channel.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyBroadcasts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyBroadcasts"]}}, "required": ["_"], "additionalProperties": false}, "inputNotifyForumTopic": {"title": "inputNotifyForumTopic", "description": "Benachrichtigungen, die von einem [Thema](https://core.telegram.org/api/forum.md#forum-topics) in einem [Forum](https://core.telegram.org/api/forum.md)] generiert wurden.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyForumTopic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyForumTopic"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Forum-ID", "x-telegram-field-docs": true}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Themen-ID](https://core.telegram.org/api/forum.md#forum-topics)", "x-telegram-field-docs": true}}, "required": ["_", "peer", "top_msg_id"], "additionalProperties": false}, "inputNotifyCommunity": {"title": "inputNotifyCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyCommunity"]}, "community": {"type": "object", "x-tl-type": "InputChannel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputChannelEmpty", "inputChannel", "inputChannelFromMessage"]}}, "description": "TL Type: InputChannel."}}, "required": ["_", "community"], "additionalProperties": false}, "inputPeerNotifySettings": {"title": "inputPeerNotifySettings", "description": "Benachrichtigungseinstellungen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerNotifySettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerNotifySettings"]}, "show_previews": {"type": "boolean", "x-tl-type": "Bool", "description": "Wenn der Text der Nachricht in der Benachrichtigung angezeigt werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Bool"}, "silent": {"type": "boolean", "x-tl-type": "Bool", "description": "Peer war stummgeschaltet?", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Bool"}, "mute_until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum, bis zu dem alle Benachrichtigungen abgeschaltet werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "sound": {"type": "object", "x-tl-type": "NotificationSound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]}}, "description": "Kennung einer Audiodatei, die für Benachrichtigungen abgespielt werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?NotificationSound"}, "stories_muted": {"type": "boolean", "x-tl-type": "Bool", "description": "Ob Story-Benachrichtigungen deaktiviert werden sollen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Bool"}, "stories_hide_sender": {"type": "boolean", "x-tl-type": "Bool", "description": "Ob der Absendername in Story-Benachrichtigungen angezeigt werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Bool"}, "stories_sound": {"type": "object", "x-tl-type": "NotificationSound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]}}, "description": "Kennung einer Audiodatei, die für Story-Benachrichtigungen abgespielt werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?NotificationSound"}}, "required": ["_"], "additionalProperties": false}, "peerNotifySettings": {"title": "peerNotifySettings", "description": "Benachrichtigungseinstellungen.", "externalDocs": {"url": "https://core.telegram.org/constructor/peerNotifySettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}, "show_previews": {"type": "boolean", "x-tl-type": "Bool", "description": "(Ternärer Wert) Wenn festgelegt, gibt er an, ob Vorschauen von Nachrichten in Benachrichtigungen angezeigt werden sollen oder nicht; andernfalls sollte das Standardverhalten verwendet werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Bool"}, "silent": {"type": "boolean", "x-tl-type": "Bool", "description": "(Ternärer Wert) Wenn festgelegt, gibt er an, ob der Peer stummgeschaltet oder die Stummschaltung aufgehoben werden soll; andernfalls sollte das Standardverhalten verwendet werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Bool"}, "mute_until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Schalten Sie alle Benachrichtigungen bis zu diesem Datum stumm", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "ios_sound": {"type": "object", "x-tl-type": "NotificationSound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]}}, "description": "Benachrichtigungston für die offizielle iOS-Anwendung", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?NotificationSound"}, "android_sound": {"type": "object", "x-tl-type": "NotificationSound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]}}, "description": "Benachrichtigungston für die offizielle Android-Anwendung", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?NotificationSound"}, "other_sound": {"type": "object", "x-tl-type": "NotificationSound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]}}, "description": "Benachrichtigungston für andere Anwendungen", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?NotificationSound"}, "stories_muted": {"type": "boolean", "x-tl-type": "Bool", "description": "Ob Story-Benachrichtigungen deaktiviert werden sollen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Bool"}, "stories_hide_sender": {"type": "boolean", "x-tl-type": "Bool", "description": "Ob der Absendername in Story-Benachrichtigungen angezeigt werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Bool"}, "stories_ios_sound": {"type": "object", "x-tl-type": "NotificationSound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]}}, "description": "Ton für Story-Benachrichtigungen in der offiziellen iOS-Anwendung", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?NotificationSound"}, "stories_android_sound": {"type": "object", "x-tl-type": "NotificationSound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]}}, "description": "Ton für Story-Benachrichtigungen in der offiziellen Android-Anwendung", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?NotificationSound"}, "stories_other_sound": {"type": "object", "x-tl-type": "NotificationSound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]}}, "description": "Ton für Story-Benachrichtigungen in anderen Anwendungen", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?NotificationSound"}}, "required": ["_"], "additionalProperties": false}, "peerSettings": {"title": "peerSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerSettings"]}, "report_spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "add_contact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "block_contact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "share_contact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "need_contacts_exception": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "report_geo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "autoarchived": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "invite_members": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "request_chat_broadcast": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "business_bot_paused": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "business_bot_can_reply": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.21?true"}, "geo_distance": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.6?int"}, "request_chat_title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.9?string"}, "request_chat_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.9?int"}, "business_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.13?long"}, "business_bot_manage_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.13?string"}, "charge_paid_message_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.14?long"}, "registration_month": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.15?string"}, "phone_country": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "name_change_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.17?int"}, "photo_change_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.18?int"}, "bot_inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.19?long"}, "bot_owner_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.20?long"}}, "required": ["_"], "additionalProperties": false}, "wallPaper": {"title": "wallPaper", "description": "Stellt ein [Hintergrundbild](https://core.telegram.org/api/wallpapers.md) basierend auf einem Bild dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/wallPaper"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["wallPaper"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Kennung", "x-tl-type": "long", "x-telegram-field-docs": true}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob wir dieses Hintergrundbild erstellt haben", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dies das Standard-Hintergrundbild ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "pattern": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um eine [Mustertapete »](https://core.telegram.org/api/wallpapers.md#pattern-wallpapers) handelt", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Hintergrundbild im Dunkelmodus verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "Eindeutige Hintergrund-ID, die beim Generieren von [Hintergrund-Links](https://core.telegram.org/api/links.md#wallpaper-links) oder [Hintergrund-Links importieren](https://core.telegram.org/api/wallpapers.md)] verwendet wird.", "x-telegram-field-docs": true}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Das eigentliche Hintergrundbild", "x-telegram-field-docs": true}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaperSettings"]}}, "description": "Informationen zum Erstellen des Hintergrundbilds gemäß [dieser Anleitung »](https://core.telegram.org/api/wallpapers.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?WallPaperSettings"}}, "required": ["_", "id", "access_hash", "slug", "document"], "additionalProperties": false}, "wallPaperNoFile": {"title": "wallPaperNoFile", "description": "Stellt ein [Hintergrundbild](https://core.telegram.org/api/wallpapers.md)] dar, das nur auf Farben/Verläufen basiert.", "externalDocs": {"url": "https://core.telegram.org/constructor/wallPaperNoFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["wallPaperNoFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Wallpaper-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dies das Standard-Hintergrundbild ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Hintergrundbild im Dunkelmodus verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaperSettings"]}}, "description": "Informationen zum Erstellen des Hintergrundbilds.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?WallPaperSettings"}}, "required": ["_", "id"], "additionalProperties": false}, "inputReportReasonSpam": {"title": "inputReportReasonSpam", "description": "Wegen Spam melden", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonSpam"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonSpam"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonViolence": {"title": "inputReportReasonViolence", "description": "Anzeige wegen Gewalt", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonViolence"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonViolence"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonPornography": {"title": "inputReportReasonPornography", "description": "Anzeige wegen Pornografie", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonPornography"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonPornography"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonChildAbuse": {"title": "inputReportReasonChildAbuse", "description": "Anzeige wegen Kindesmissbrauchs", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonChildAbuse"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonChildAbuse"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonOther": {"title": "inputReportReasonOther", "description": "Andere", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonOther"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonOther"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonCopyright": {"title": "inputReportReasonCopyright", "description": "Melden Sie urheberrechtlich geschützte Inhalte", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonCopyright"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonCopyright"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonGeoIrrelevant": {"title": "inputReportReasonGeoIrrelevant", "description": "Melden Sie eine irrelevante Geogruppe", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonGeoIrrelevant"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonGeoIrrelevant"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonFake": {"title": "inputReportReasonFake", "description": "Anzeige wegen Identitätsdiebstahls", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonFake"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonFake"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonIllegalDrugs": {"title": "inputReportReasonIllegalDrugs", "description": "Anzeige wegen illegaler Drogen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonIllegalDrugs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonIllegalDrugs"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonPersonalDetails": {"title": "inputReportReasonPersonalDetails", "description": "Melden Sie sich zur Offenlegung Ihrer persönlichen Daten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonPersonalDetails"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonPersonalDetails"]}}, "required": ["_"], "additionalProperties": false}, "userFull": {"title": "userFull", "type": "object", "properties": {"_": {"type": "string", "enum": ["userFull"]}, "blocked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "phone_calls_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "phone_calls_private": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "can_pin_message": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "has_scheduled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "video_calls_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "voice_messages_forbidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.20?true"}, "translations_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.23?true"}, "stories_pinned_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.26?true"}, "blocked_my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.27?true"}, "wallpaper_overridden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.28?true"}, "contact_require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.29?true"}, "read_dates_private": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.30?true"}, "sponsored_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.7?true"}, "can_view_revenue": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.9?true"}, "bot_can_manage_emoji_status": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.10?true"}, "display_gifts_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.16?true"}, "noforwards_my_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.23?true"}, "noforwards_peer_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.24?true"}, "unofficial_security_risk": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags2.26?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "settings": {"type": "object", "x-tl-type": "PeerSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerSettings"]}}, "description": "Тип TL: PeerSettings."}, "personal_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.21?Photo"}, "profile_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.2?Photo"}, "fallback_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.22?Photo"}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "TL Type: PeerNotifySettings."}, "bot_info": {"type": "object", "x-tl-type": "BotInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botInfo"]}}, "description": "Тип TL: BotInfo.", "x-tl-flag": "flags.3?BotInfo"}, "pinned_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.6?int"}, "common_chats_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.14?int"}, "theme": {"type": "object", "x-tl-type": "ChatTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatTheme", "chatThemeUniqueGift"]}}, "description": "Тип TL: ChatTheme.", "x-tl-flag": "flags.15?ChatTheme"}, "private_forward_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "bot_group_admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights.", "x-tl-flag": "flags.17?ChatAdminRights"}, "bot_broadcast_admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights.", "x-tl-flag": "flags.18?ChatAdminRights"}, "wallpaper": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "TL Type: WallPaper.", "x-tl-flag": "flags.24?WallPaper"}, "stories": {"type": "object", "x-tl-type": "PeerStories", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerStories"]}}, "description": "Тип TL: PeerStories.", "x-tl-flag": "flags.25?PeerStories"}, "business_work_hours": {"type": "object", "x-tl-type": "BusinessWorkHours", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessWorkHours"]}}, "description": "Тип TL: BusinessWorkHours.", "x-tl-flag": "flags2.0?BusinessWorkHours"}, "business_location": {"type": "object", "x-tl-type": "BusinessLocation", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessLocation"]}}, "description": "Тип TL: BusinessLocation.", "x-tl-flag": "flags2.1?BusinessLocation"}, "business_greeting_message": {"type": "object", "x-tl-type": "BusinessGreetingMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessGreetingMessage"]}}, "description": "Тип TL: BusinessGreetingMessage.", "x-tl-flag": "flags2.2?BusinessGreetingMessage"}, "business_away_message": {"type": "object", "x-tl-type": "BusinessAwayMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessAwayMessage"]}}, "description": "Тип TL: BusinessAwayMessage.", "x-tl-flag": "flags2.3?BusinessAwayMessage"}, "business_intro": {"type": "object", "x-tl-type": "BusinessIntro", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessIntro"]}}, "description": "Тип TL: BusinessIntro.", "x-tl-flag": "flags2.4?BusinessIntro"}, "birthday": {"type": "object", "x-tl-type": "Birthday", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["birthday"]}}, "description": "Тип TL: Birthday.", "x-tl-flag": "flags2.5?Birthday"}, "personal_channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.6?long"}, "personal_channel_message": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.6?int"}, "stargifts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.8?int"}, "starref_program": {"type": "object", "x-tl-type": "StarRefProgram", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starRefProgram"]}}, "description": "TL Type: StarRefProgram.", "x-tl-flag": "flags2.11?StarRefProgram"}, "bot_verification": {"type": "object", "x-tl-type": "BotVerification", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botVerification"]}}, "description": "Тип TL: BotVerification.", "x-tl-flag": "flags2.12?BotVerification"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.14?long"}, "disallowed_gifts": {"type": "object", "x-tl-type": "DisallowedGiftsSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["disallowedGiftsSettings"]}}, "description": "Тип TL: DisallowedGiftsSettings.", "x-tl-flag": "flags2.15?DisallowedGiftsSettings"}, "stars_rating": {"type": "object", "x-tl-type": "StarsRating", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRating"]}}, "description": "Тип TL: StarsRating.", "x-tl-flag": "flags2.17?StarsRating"}, "stars_my_pending_rating": {"type": "object", "x-tl-type": "StarsRating", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRating"]}}, "description": "Тип TL: StarsRating.", "x-tl-flag": "flags2.18?StarsRating"}, "stars_my_pending_rating_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags2.18?int"}, "main_tab": {"type": "object", "x-tl-type": "ProfileTab", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["profileTabPosts", "profileTabGifts", "profileTabMedia", "profileTabFiles", "profileTabMusic", "profileTabVoice", "profileTabLinks", "profileTabGifs"]}}, "description": "Тип TL: ProfileTab.", "x-tl-flag": "flags2.20?ProfileTab"}, "saved_music": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags2.21?Document"}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags2.22?TextWithEntities"}, "bot_manager_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.25?long"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags2.19?wallet.Card"}, "share_theme": {"type": "object", "x-tl-type": "ShareTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["shareThemeDefault", "shareThemeEmojiBackdrop", "shareThemeGift", "inputShareThemeGift"]}}, "description": "Тип TL: ShareTheme.", "x-tl-flag": "flags2.27?ShareTheme"}, "bot_profile_widget": {"type": "object", "x-tl-type": "BotProfileWidget", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botProfileWidget"]}}, "description": "Тип TL: BotProfileWidget.", "x-tl-flag": "flags2.28?BotProfileWidget"}}, "required": ["_", "id", "settings", "notify_settings", "common_chats_count"], "additionalProperties": false}, "contact": {"title": "contact", "type": "object", "properties": {"_": {"type": "string", "enum": ["contact"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "mutual": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "user_id", "mutual"], "additionalProperties": false}, "importedContact": {"title": "importedContact", "type": "object", "properties": {"_": {"type": "string", "enum": ["importedContact"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "client_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id", "client_id"], "additionalProperties": false}, "contactStatus": {"title": "contactStatus", "description": "Kontaktstatus: online / offline.", "externalDocs": {"url": "https://core.telegram.org/constructor/contactStatus"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contactStatus"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Benutzerkennung", "x-tl-type": "long", "x-telegram-field-docs": true}, "status": {"type": "object", "x-tl-type": "UserStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userStatusEmpty", "userStatusOnline", "userStatusOffline", "userStatusRecently", "userStatusLastWeek", "userStatusLastMonth"]}}, "description": "Online-Status", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "status"], "additionalProperties": false}, "contacts.contactsNotModified": {"title": "contacts.contactsNotModified", "description": "Die Kontaktliste auf dem Server ist dieselbe wie die Liste auf dem Client.", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.contactsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.contactsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "contacts.contacts": {"title": "contacts.contacts", "description": "Die Kontaktliste des aktuellen Benutzers und Informationen zu Benutzern.", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.contacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.contacts"]}, "contacts": {"type": "array", "items": {"type": "object", "x-tl-type": "Contact", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["contact"]}}, "description": "Тип TL: Contact."}, "x-tl-type": "Vector<Contact>", "description": "Kontaktliste", "x-telegram-field-docs": true}, "saved_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Kontakte, die erfolgreich gespeichert wurden", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzerliste", "x-telegram-field-docs": true}}, "required": ["_", "contacts", "saved_count", "users"], "additionalProperties": false}, "contacts.importedContacts": {"title": "contacts.importedContacts", "description": "Infos zu erfolgreich importierten Kontakten.", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.importedContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.importedContacts"]}, "imported": {"type": "array", "items": {"type": "object", "x-tl-type": "ImportedContact", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["importedContact"]}}, "description": "Тип TL: ImportedContact."}, "x-tl-type": "Vector<ImportedContact>", "description": "Liste der erfolgreich importierten Kontakte", "x-telegram-field-docs": true}, "popular_invites": {"type": "array", "items": {"type": "object", "x-tl-type": "PopularContact", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["popularContact"]}}, "description": "Тип TL: PopularContact."}, "x-tl-type": "Vector<PopularContact>", "description": "Beliebte Kontakte", "x-telegram-field-docs": true}, "retry_contacts": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Liste der Kontakt-IDs, die aufgrund von Systemeinschränkungen nicht importiert werden konnten und zu einem späteren Zeitpunkt importiert werden müssen.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "imported", "popular_invites", "retry_contacts", "users"], "additionalProperties": false}, "contacts.blocked": {"title": "contacts.blocked", "description": "Vollständige Liste der blockierten Benutzer.", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.blocked"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.blocked"]}, "blocked": {"type": "array", "items": {"type": "object", "x-tl-type": "PeerBlocked", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerBlocked"]}}, "description": "Тип TL: PeerBlocked."}, "x-tl-type": "Vector<PeerBlocked>", "description": "Liste der blockierten Benutzer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Blockierte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "blocked", "chats", "users"], "additionalProperties": false}, "contacts.blockedSlice": {"title": "contacts.blockedSlice", "description": "Unvollständige Liste der blockierten Benutzer.", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.blockedSlice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.blockedSlice"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Elemente in der Liste", "x-telegram-field-docs": true}, "blocked": {"type": "array", "items": {"type": "object", "x-tl-type": "PeerBlocked", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerBlocked"]}}, "description": "Тип TL: PeerBlocked."}, "x-tl-type": "Vector<PeerBlocked>", "description": "Liste der blockierten Benutzer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Blockierte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "blocked", "chats", "users"], "additionalProperties": false}, "messages.dialogs": {"title": "messages.dialogs", "description": "Vollständige Liste der Chats mit Nachrichten und Zusatzdaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.dialogs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.dialogs"]}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "dialogs": {"type": "array", "items": {"type": "object", "x-tl-type": "Dialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialog", "dialogFolder", "dialogCommunity"]}}, "description": "Тип TL: Dialog."}, "x-tl-type": "Vector<Dialog>", "description": "Liste der Chats", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Liste der letzten Nachrichten aus jedem Chat", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Liste der in den Chats erwähnten Gruppen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der in Nachrichten und Gruppen erwähnten Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.dialogsSlice": {"title": "messages.dialogsSlice", "description": "Unvollständige Liste der Dialoge mit Meldungen und Hilfsdaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.dialogsSlice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.dialogsSlice"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Dialoge", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "dialogs": {"type": "array", "items": {"type": "object", "x-tl-type": "Dialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialog", "dialogFolder", "dialogCommunity"]}}, "description": "Тип TL: Dialog."}, "x-tl-type": "Vector<Dialog>", "description": "Liste der Dialoge", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Liste der letzten Nachrichten aus Dialogen", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Liste der in Dialogen erwähnten Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der in Nachrichten und Chats erwähnten Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.dialogsNotModified": {"title": "messages.dialogsNotModified", "description": "Die Dialoge haben sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.dialogsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.dialogsNotModified"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der von der Abfrage serverseitig gefundenen Dialoge", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "messages.messages": {"title": "messages.messages", "description": "Vollständige Liste der Nachrichten mit Zusatzdaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.messages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.messages"]}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Liste der Nachrichten", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "description": "[Forumsthemen](https://core.telegram.org/api/forum.md#forum-topics), zu denen die zurückgegebenen Nachrichten gehören.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Liste der in Dialogen erwähnten Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der in Nachrichten und Chats erwähnten Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "messages", "topics", "chats", "users"], "additionalProperties": false}, "messages.messagesSlice": {"title": "messages.messagesSlice", "description": "Unvollständige Liste der Meldungen und Hilfsdaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.messagesSlice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.messagesSlice"]}, "inexact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, bedeutet dies, dass die Ergebnisse möglicherweise ungenau sind", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Nachrichten in der Liste", "x-telegram-field-docs": true}, "next_rate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Rate zur Verwendung im Parameter `offset_rate` beim nächsten Aufruf von [messages.searchGlobal](https://core.telegram.org/method/messages.searchGlobal.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "offset_id_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gibt die absolute Position von `messages[0]` innerhalb der gesamten Ergebnismenge mit der Anzahl `count` an.  Dies ist beispielsweise nützlich, wenn das Ergebnis mit `offset_id` abgerufen wurde und wir einen `progress/total`-Zähler anzeigen müssen (wie `photo 134 of 200`, für alle Medien in einem Chat könnten wir einfach `photo ${offset_id_offset} of ${count}` verwenden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "search_flood": {"type": "object", "x-tl-type": "SearchPostsFlood", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["searchPostsFlood"]}}, "description": "[Bei globalen Beitragssuchen »](https://core.telegram.org/api/search.md#posts-tab) bezieht sich die verbleibende Anzahl an kostenlosen Suchen, hier `query_is_free`, nur auf den aktuellen Aufruf, nicht auf den nächsten paginierten Aufruf, und alle nachfolgenden Paginierungsaufrufe sind immer kostenlos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?SearchPostsFlood"}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Liste der Nachrichten", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "description": "[Forumsthemen](https://core.telegram.org/api/forum.md#forum-topics), zu denen die zurückgegebenen Nachrichten gehören.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Liste der in Nachrichten erwähnten Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der in Nachrichten und Chats erwähnten Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "messages", "topics", "chats", "users"], "additionalProperties": false}, "messages.channelMessages": {"title": "messages.channelMessages", "description": "Kanalnachrichten", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.channelMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.channelMessages"]}, "inexact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, sind die zurückgegebenen Ergebnisse möglicherweise ungenau", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Ereignisanzahl nach Generierung](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der serverseitig gefundenen Ergebnisse (hier sind möglicherweise nicht alle enthalten)", "x-telegram-field-docs": true}, "offset_id_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gibt die absolute Position von `messages[0]` innerhalb der gesamten Ergebnismenge mit der Anzahl `count` an.  Dies ist beispielsweise nützlich, wenn das Ergebnis mit `offset_id` abgerufen wurde und wir einen `progress/total`-Zähler anzeigen müssen (wie `photo 134 of 200`, für alle Medien in einem Chat könnten wir einfach `photo ${offset_id_offset} of ${count}` verwenden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Nachrichten gefunden", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "description": "[Forumsthema](https://core.telegram.org/api/forum.md#forum-topics) Informationen", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "pts", "count", "messages", "topics", "chats", "users"], "additionalProperties": false}, "messages.messagesNotModified": {"title": "messages.messagesNotModified", "description": "Es wurden keine neuen Nachrichten gefunden, die der Abfrage entsprechen", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.messagesNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.messagesNotModified"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Ergebnisse, die von der angegebenen Abfrage serverseitig gefunden wurden", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "messages.chats": {"title": "messages.chats", "description": "Liste der Chats mit Zusatzdaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.chats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.chats"]}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Liste der Chats", "x-telegram-field-docs": true}}, "required": ["_", "chats"], "additionalProperties": false}, "messages.chatsSlice": {"title": "messages.chatsSlice", "description": "Teilweise Liste der Chats, weitere müssten mit [pagination](https://core.telegram.org/api/offsets.md)] abgerufen werden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.chatsSlice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.chatsSlice"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Ergebnisse, die serverseitig gefunden wurden (nicht alle sind in `chats` enthalten)", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats", "x-telegram-field-docs": true}}, "required": ["_", "count", "chats"], "additionalProperties": false}, "messages.chatFull": {"title": "messages.chatFull", "description": "Vollständige Informationen zu einem [Kanal](https://core.telegram.org/api/channel.md#channels), einer [Supergruppe](https://core.telegram.org/api/channel.md#supergroups), einer Gigagruppe](https://core.telegram.org/api/channel.md#gigagroups) oder einer Basisgruppe](https://core.telegram.org/api/channel.md#basic-groups).", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.chatFull"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.chatFull"]}, "full_chat": {"type": "object", "x-tl-type": "ChatFull", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatFull", "channelFull", "communityFull"]}}, "description": "Vollständige Informationen", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "full_chat", "chats", "users"], "additionalProperties": false}, "messages.affectedHistory": {"title": "messages.affectedHistory", "description": "Betroffener Teil des Kommunikationsverlaufs mit dem Benutzer oder in einem Chat.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.affectedHistory"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.affectedHistory"]}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der in einem Textfeld aufgetretenen Ereignisse", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der betroffenen Ereignisse", "x-telegram-field-docs": true}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn ein Parameter einen positiven Wert enthält, muss der Methodenaufruf mit dem angegebenen Wert wiederholt werden. Im Verlauf der gesamten Geschichte wird der Wert selbst allmählich abnehmen", "x-telegram-field-docs": true}}, "required": ["_", "pts", "pts_count", "offset"], "additionalProperties": false}, "inputMessagesFilterEmpty": {"title": "inputMessagesFilterEmpty", "description": "Filter fehlt.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPhotos": {"title": "inputMessagesFilterPhotos", "description": "Filtern Sie nach Nachrichten, die Fotos enthalten.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPhotos"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPhotos"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterVideo": {"title": "inputMessagesFilterVideo", "description": "Filtern Sie nach Nachrichten, die Videos enthalten.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterVideo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterVideo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPhotoVideo": {"title": "inputMessagesFilterPhotoVideo", "description": "Filtern Sie nach Nachrichten, die Fotos oder Videos enthalten.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPhotoVideo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPhotoVideo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterDocument": {"title": "inputMessagesFilterDocument", "description": "Filtern Sie nach Nachrichten, die Dokumente enthalten.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterDocument"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterUrl": {"title": "inputMessagesFilterUrl", "description": "Geben Sie nur Nachrichten zurück, die URLs enthalten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterUrl"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterGif": {"title": "inputMessagesFilterGif", "description": "Geben Sie nur Nachrichten zurück, die GIFs enthalten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterGif"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterGif"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterVoice": {"title": "inputMessagesFilterVoice", "description": "Geben Sie nur Nachrichten zurück, die Sprachnotizen enthalten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterVoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterVoice"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterMusic": {"title": "inputMessagesFilterMusic", "description": "Gibt nur Nachrichten zurück, die Audiodateien enthalten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterMusic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterMusic"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterChatPhotos": {"title": "inputMessagesFilterChatPhotos", "description": "Geben Sie nur Chat-Fotoänderungen zurück", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterChatPhotos"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterChatPhotos"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPhoneCalls": {"title": "inputMessagesFilterPhoneCalls", "description": "Rufen Sie nur Anrufe zurück", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPhoneCalls"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPhoneCalls"]}, "missed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Geben Sie nur verpasste Anrufe zurück", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterRoundVoice": {"title": "inputMessagesFilterRoundVoice", "description": "Geben Sie nur runde Videos und Sprachnotizen zurück", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterRoundVoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterRoundVoice"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterRoundVideo": {"title": "inputMessagesFilterRoundVideo", "description": "Geben Sie nur runde Videos zurück", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterRoundVideo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterRoundVideo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterMyMentions": {"title": "inputMessagesFilterMyMentions", "description": "Gibt nur Nachrichten zurück, bei denen der aktuelle Benutzer [erwähnt](https://core.telegram.org/api/mentions.md)] war.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterMyMentions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterMyMentions"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterGeo": {"title": "inputMessagesFilterGeo", "description": "Geben Sie nur Nachrichten zurück, die Geostandorte enthalten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterGeo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterGeo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterContacts": {"title": "inputMessagesFilterContacts", "description": "Geben Sie nur Nachrichten zurück, die Kontakte enthalten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterContacts"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPinned": {"title": "inputMessagesFilterPinned", "description": "Rufen Sie nur angeheftete Nachrichten ab", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPinned"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPinned"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPoll": {"title": "inputMessagesFilterPoll", "description": "Nach Umfragenachrichten filtern, siehe [Nach Umfragen suchen »](https://core.telegram.org/api/poll.md#searching-for-polls)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPoll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPoll"]}}, "required": ["_"], "additionalProperties": false}, "updateNewMessage": {"title": "updateNewMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "message", "pts", "pts_count"], "additionalProperties": false}, "updateMessageID": {"title": "updateMessageID", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageID"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "random_id"], "additionalProperties": false}, "updateDeleteMessages": {"title": "updateDeleteMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteMessages"]}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "messages", "pts", "pts_count"], "additionalProperties": false}, "updateUserTyping": {"title": "updateUserTyping", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserTyping"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "action": {"type": "object", "x-tl-type": "SendMessageAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sendMessageTypingAction", "sendMessageCancelAction", "sendMessageRecordVideoAction", "sendMessageUploadVideoAction", "sendMessageRecordAudioAction", "sendMessageUploadAudioAction", "sendMessageUploadPhotoAction", "sendMessageUploadDocumentAction", "sendMessageGeoLocationAction", "sendMessageChooseContactAction", "sendMessageGamePlayAction", "sendMessageRecordRoundAction", "sendMessageUploadRoundAction", "speakingInGroupCallAction", "sendMessageHistoryImportAction", "sendMessageChooseStickerAction", "sendMessageEmojiInteraction", "sendMessageEmojiInteractionSeen", "sendMessageTextDraftAction", "inputSendMessageRichMessageDraftAction", "sendMessageRichMessageDraftAction", "sendMessageStopDraftAction"]}}, "description": "Тип TL: SendMessageAction."}}, "required": ["_", "user_id", "action"], "additionalProperties": false}, "updateChatUserTyping": {"title": "updateChatUserTyping", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatUserTyping"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "action": {"type": "object", "x-tl-type": "SendMessageAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sendMessageTypingAction", "sendMessageCancelAction", "sendMessageRecordVideoAction", "sendMessageUploadVideoAction", "sendMessageRecordAudioAction", "sendMessageUploadAudioAction", "sendMessageUploadPhotoAction", "sendMessageUploadDocumentAction", "sendMessageGeoLocationAction", "sendMessageChooseContactAction", "sendMessageGamePlayAction", "sendMessageRecordRoundAction", "sendMessageUploadRoundAction", "speakingInGroupCallAction", "sendMessageHistoryImportAction", "sendMessageChooseStickerAction", "sendMessageEmojiInteraction", "sendMessageEmojiInteractionSeen", "sendMessageTextDraftAction", "inputSendMessageRichMessageDraftAction", "sendMessageRichMessageDraftAction", "sendMessageStopDraftAction"]}}, "description": "Тип TL: SendMessageAction."}}, "required": ["_", "chat_id", "from_id", "action"], "additionalProperties": false}, "updateChatParticipants": {"title": "updateChatParticipants", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipants"]}, "participants": {"type": "object", "x-tl-type": "ChatParticipants", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipantsForbidden", "chatParticipants"]}}, "description": "Тип TL: ChatParticipants."}}, "required": ["_", "participants"], "additionalProperties": false}, "updateUserStatus": {"title": "updateUserStatus", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserStatus"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "status": {"type": "object", "x-tl-type": "UserStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userStatusEmpty", "userStatusOnline", "userStatusOffline", "userStatusRecently", "userStatusLastWeek", "userStatusLastMonth"]}}, "description": "Тип TL: UserStatus."}}, "required": ["_", "user_id", "status"], "additionalProperties": false}, "updateUserName": {"title": "updateUserName", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserName"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "first_name": {"type": "string", "x-tl-type": "string"}, "last_name": {"type": "string", "x-tl-type": "string"}, "usernames": {"type": "array", "items": {"type": "object", "x-tl-type": "Username", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["username"]}}, "description": "Тип TL: Username."}, "x-tl-type": "Vector<Username>"}}, "required": ["_", "user_id", "first_name", "last_name", "usernames"], "additionalProperties": false}, "updateNewAuthorization": {"title": "updateNewAuthorization", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewAuthorization"]}, "unconfirmed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "device": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "location": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "hash"], "additionalProperties": false}, "updateNewEncryptedMessage": {"title": "updateNewEncryptedMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewEncryptedMessage"]}, "message": {"type": "object", "x-tl-type": "EncryptedMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedMessage", "encryptedMessageService"]}}, "description": "Тип TL: EncryptedMessage."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "message", "qts"], "additionalProperties": false}, "updateEncryptedChatTyping": {"title": "updateEncryptedChatTyping", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEncryptedChatTyping"]}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "updateEncryption": {"title": "updateEncryption", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEncryption"]}, "chat": {"type": "object", "x-tl-type": "EncryptedChat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedChatEmpty", "encryptedChatWaiting", "encryptedChatRequested", "encryptedChat", "encryptedChatDiscarded"]}}, "description": "TL Type: EncryptedChat."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat", "date"], "additionalProperties": false}, "updateEncryptedMessagesRead": {"title": "updateEncryptedMessagesRead", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEncryptedMessagesRead"]}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "max_date", "date"], "additionalProperties": false}, "updateChatParticipantAdd": {"title": "updateChatParticipantAdd", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantAdd"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "user_id", "inviter_id", "date", "version"], "additionalProperties": false}, "updateChatParticipantDelete": {"title": "updateChatParticipantDelete", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantDelete"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "user_id", "version"], "additionalProperties": false}, "updateDcOptions": {"title": "updateDcOptions", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDcOptions"]}, "dc_options": {"type": "array", "items": {"type": "object", "x-tl-type": "DcOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dcOption"]}}, "description": "Тип TL: DcOption."}, "x-tl-type": "Vector<DcOption>"}}, "required": ["_", "dc_options"], "additionalProperties": false}, "updateNotifySettings": {"title": "updateNotifySettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNotifySettings"]}, "peer": {"type": "object", "x-tl-type": "NotifyPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notifyPeer", "notifyUsers", "notifyChats", "notifyBroadcasts", "notifyForumTopic", "notifyCommunity"]}}, "description": "Тип TL: NotifyPeer."}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "TL Type: PeerNotifySettings."}}, "required": ["_", "peer", "notify_settings"], "additionalProperties": false}, "updateServiceNotification": {"title": "updateServiceNotification", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateServiceNotification"]}, "popup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "inbox_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "type": {"type": "string", "x-tl-type": "string"}, "message": {"type": "string", "x-tl-type": "string"}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "TL Type: MessageMedia."}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>"}}, "required": ["_", "type", "message", "media", "entities"], "additionalProperties": false}, "updatePrivacy": {"title": "updatePrivacy", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePrivacy"]}, "key": {"type": "object", "x-tl-type": "PrivacyKey", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["privacyKeyStatusTimestamp", "privacyKeyChatInvite", "privacyKeyPhoneCall", "privacyKeyPhoneP2P", "privacyKeyForwards", "privacyKeyProfilePhoto", "privacyKeyPhoneNumber", "privacyKeyAddedByPhone", "privacyKeyVoiceMessages", "privacyKeyAbout", "privacyKeyBirthday", "privacyKeyStarGiftsAutoSave", "privacyKeyNoPaidMessages", "privacyKeySavedMusic"]}}, "description": "Тип TL: PrivacyKey."}, "rules": {"type": "array", "items": {"type": "object", "x-tl-type": "PrivacyRule", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["privacyValueAllowContacts", "privacyValueAllowAll", "privacyValueAllowUsers", "privacyValueDisallowContacts", "privacyValueDisallowAll", "privacyValueDisallowUsers", "privacyValueAllowChatParticipants", "privacyValueDisallowChatParticipants", "privacyValueAllowCloseFriends", "privacyValueAllowPremium", "privacyValueAllowBots", "privacyValueDisallowBots"]}}, "description": "Тип TL: PrivacyRule."}, "x-tl-type": "Vector<PrivacyRule>"}}, "required": ["_", "key", "rules"], "additionalProperties": false}, "updateUserPhone": {"title": "updateUserPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserPhone"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "phone": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "user_id", "phone"], "additionalProperties": false}, "updateReadHistoryInbox": {"title": "updateReadHistoryInbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadHistoryInbox"]}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "still_unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "max_id", "still_unread_count", "pts", "pts_count"], "additionalProperties": false}, "updateReadHistoryOutbox": {"title": "updateReadHistoryOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadHistoryOutbox"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "max_id", "pts", "pts_count"], "additionalProperties": false}, "updateWebPage": {"title": "updateWebPage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWebPage"]}, "webpage": {"type": "object", "x-tl-type": "WebPage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webPageEmpty", "webPagePending", "webPage", "webPageNotModified"]}}, "description": "Тип TL: WebPage."}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "webpage", "pts", "pts_count"], "additionalProperties": false}, "updateReadMessagesContents": {"title": "updateReadMessagesContents", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadMessagesContents"]}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "messages", "pts", "pts_count"], "additionalProperties": false}, "updateChannelTooLong": {"title": "updateChannelTooLong", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelTooLong"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "last_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "last_msg_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "updateChannel": {"title": "updateChannel", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "updateNewChannelMessage": {"title": "updateNewChannelMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewChannelMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "message", "pts", "pts_count"], "additionalProperties": false}, "updateReadChannelInbox": {"title": "updateReadChannelInbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelInbox"]}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "still_unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "max_id", "still_unread_count", "pts"], "additionalProperties": false}, "updateDeleteChannelMessages": {"title": "updateDeleteChannelMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteChannelMessages"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "messages", "pts", "pts_count"], "additionalProperties": false}, "updateChannelMessageViews": {"title": "updateChannelMessageViews", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelMessageViews"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "id", "views"], "additionalProperties": false}, "updateChatParticipantAdmin": {"title": "updateChatParticipantAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantAdmin"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "is_admin": {"type": "boolean", "x-tl-type": "Bool"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "user_id", "is_admin", "version"], "additionalProperties": false}, "updateNewStickerSet": {"title": "updateNewStickerSet", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewStickerSet"]}, "stickerset": {"type": "object", "x-tl-type": "messages.StickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messages.stickerSet", "messages.stickerSetNotModified"]}}, "description": "TL type: messages.StickerSet."}}, "required": ["_", "stickerset"], "additionalProperties": false}, "updateStickerSetsOrder": {"title": "updateStickerSetsOrder", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStickerSetsOrder"]}, "masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "order": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "order"], "additionalProperties": false}, "updateStickerSets": {"title": "updateStickerSets", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStickerSets"]}, "masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "updateSavedGifs": {"title": "updateSavedGifs", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedGifs"]}}, "required": ["_"], "additionalProperties": false}, "updateBotInlineQuery": {"title": "updateBotInlineQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotInlineQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query": {"type": "string", "x-tl-type": "string"}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Тип TL: GeoPoint.", "x-tl-flag": "flags.0?GeoPoint"}, "peer_type": {"type": "object", "x-tl-type": "InlineQueryPeerType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeSameBotPM", "inlineQueryPeerTypePM", "inlineQueryPeerTypeChat", "inlineQueryPeerTypeMegagroup", "inlineQueryPeerTypeBroadcast", "inlineQueryPeerTypeBotPM"]}}, "description": "TL Type: InlineQueryPeerType.", "x-tl-flag": "flags.1?InlineQueryPeerType"}, "offset": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "query_id", "user_id", "query", "offset"], "additionalProperties": false}, "updateBotInlineSend": {"title": "updateBotInlineSend", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotInlineSend"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query": {"type": "string", "x-tl-type": "string"}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Тип TL: GeoPoint.", "x-tl-flag": "flags.0?GeoPoint"}, "id": {"type": "string", "x-tl-type": "string"}, "msg_id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID", "inputBotInlineMessageID64"]}}, "description": "TL Type: InputBotInlineMessageID.", "x-tl-flag": "flags.1?InputBotInlineMessageID"}}, "required": ["_", "user_id", "query", "id"], "additionalProperties": false}, "updateEditChannelMessage": {"title": "updateEditChannelMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEditChannelMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "message", "pts", "pts_count"], "additionalProperties": false}, "updateBotCallbackQuery": {"title": "updateBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "game_short_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "query_id", "user_id", "peer", "msg_id", "chat_instance"], "additionalProperties": false}, "updateEditMessage": {"title": "updateEditMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEditMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "message", "pts", "pts_count"], "additionalProperties": false}, "updateInlineBotCallbackQuery": {"title": "updateInlineBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateInlineBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID", "inputBotInlineMessageID64"]}}, "description": "TL Type: InputBotInlineMessageID."}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "game_short_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "query_id", "user_id", "msg_id", "chat_instance"], "additionalProperties": false}, "updateReadChannelOutbox": {"title": "updateReadChannelOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelOutbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "max_id"], "additionalProperties": false}, "updateDraftMessage": {"title": "updateDraftMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDraftMessage"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.1?Peer"}, "draft": {"type": "object", "x-tl-type": "DraftMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["draftMessageEmpty", "draftMessage"]}}, "description": "Тип TL: DraftMessage."}}, "required": ["_", "peer", "draft"], "additionalProperties": false}, "updateReadFeaturedStickers": {"title": "updateReadFeaturedStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadFeaturedStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateRecentStickers": {"title": "updateRecentStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateRecentStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateConfig": {"title": "updateConfig", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateConfig"]}}, "required": ["_"], "additionalProperties": false}, "updatePtsChanged": {"title": "updatePtsChanged", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePtsChanged"]}}, "required": ["_"], "additionalProperties": false}, "updateChannelWebPage": {"title": "updateChannelWebPage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelWebPage"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "webpage": {"type": "object", "x-tl-type": "WebPage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webPageEmpty", "webPagePending", "webPage", "webPageNotModified"]}}, "description": "Тип TL: WebPage."}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "webpage", "pts", "pts_count"], "additionalProperties": false}, "updateDialogPinned": {"title": "updateDialogPinned", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogPinned"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "peer": {"type": "object", "x-tl-type": "DialogPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogPeer", "dialogPeerFolder", "dialogPeerCommunity"]}}, "description": "TL Type: DialogPeer."}}, "required": ["_", "peer"], "additionalProperties": false}, "updatePinnedDialogs": {"title": "updatePinnedDialogs", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePinnedDialogs"]}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "order": {"type": "array", "items": {"type": "object", "x-tl-type": "DialogPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogPeer", "dialogPeerFolder", "dialogPeerCommunity"]}}, "description": "TL Type: DialogPeer."}, "x-tl-type": "Vector<DialogPeer>", "x-tl-flag": "flags.0?Vector<DialogPeer>"}}, "required": ["_"], "additionalProperties": false}, "updateBotWebhookJSON": {"title": "updateBotWebhookJSON", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWebhookJSON"]}, "data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON."}}, "required": ["_", "data"], "additionalProperties": false}, "updateBotWebhookJSONQuery": {"title": "updateBotWebhookJSONQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWebhookJSONQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON."}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "query_id", "data", "timeout"], "additionalProperties": false}, "updateBotShippingQuery": {"title": "updateBotShippingQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotShippingQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "shipping_address": {"type": "object", "x-tl-type": "PostAddress", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["postAddress"]}}, "description": "Тип TL: PostAddress."}}, "required": ["_", "query_id", "user_id", "payload", "shipping_address"], "additionalProperties": false}, "updateBotPrecheckoutQuery": {"title": "updateBotPrecheckoutQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotPrecheckoutQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}}, "description": "Тип TL: PaymentRequestedInfo.", "x-tl-flag": "flags.0?PaymentRequestedInfo"}, "shipping_option_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "query_id", "user_id", "payload", "currency", "total_amount"], "additionalProperties": false}, "updatePhoneCall": {"title": "updatePhoneCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePhoneCall"]}, "phone_call": {"type": "object", "x-tl-type": "PhoneCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallEmpty", "phoneCallWaiting", "phoneCallRequested", "phoneCallAccepted", "phoneCall", "phoneCallDiscarded"]}}, "description": "Тип TL: PhoneCall."}}, "required": ["_", "phone_call"], "additionalProperties": false}, "updateLangPackTooLong": {"title": "updateLangPackTooLong", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateLangPackTooLong"]}, "lang_code": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "lang_code"], "additionalProperties": false}, "updateLangPack": {"title": "updateLangPack", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateLangPack"]}, "difference": {"type": "object", "x-tl-type": "LangPackDifference", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["langPackDifference"]}}, "description": "TL Type: LangPackDifference."}}, "required": ["_", "difference"], "additionalProperties": false}, "updateFavedStickers": {"title": "updateFavedStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateFavedStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateChannelReadMessagesContents": {"title": "updateChannelReadMessagesContents", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelReadMessagesContents"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.1?Peer"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "channel_id", "messages"], "additionalProperties": false}, "updateContactsReset": {"title": "updateContactsReset", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateContactsReset"]}}, "required": ["_"], "additionalProperties": false}, "updateChannelAvailableMessages": {"title": "updateChannelAvailableMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelAvailableMessages"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "available_min_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "available_min_id"], "additionalProperties": false}, "updateDialogUnreadMark": {"title": "updateDialogUnreadMark", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogUnreadMark"]}, "unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "DialogPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogPeer", "dialogPeerFolder", "dialogPeerCommunity"]}}, "description": "TL Type: DialogPeer."}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.1?Peer"}}, "required": ["_", "peer"], "additionalProperties": false}, "updateMessagePoll": {"title": "updateMessagePoll", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessagePoll"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.1?Peer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "poll_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "poll": {"type": "object", "x-tl-type": "Poll", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["poll"]}}, "description": "Тип TL: Poll.", "x-tl-flag": "flags.0?Poll"}, "results": {"type": "object", "x-tl-type": "PollResults", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollResults"]}}, "description": "Тип TL: PollResults."}}, "required": ["_", "poll_id", "results"], "additionalProperties": false}, "updateChatDefaultBannedRights": {"title": "updateChatDefaultBannedRights", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatDefaultBannedRights"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "default_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Тип TL: ChatBannedRights."}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "default_banned_rights", "version"], "additionalProperties": false}, "updateFolderPeers": {"title": "updateFolderPeers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateFolderPeers"]}, "folder_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "FolderPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["folderPeer"]}}, "description": "Тип TL: FolderPeer."}, "x-tl-type": "Vector<FolderPeer>"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "folder_peers", "pts", "pts_count"], "additionalProperties": false}, "updatePeerSettings": {"title": "updatePeerSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePeerSettings"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "settings": {"type": "object", "x-tl-type": "PeerSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerSettings"]}}, "description": "Тип TL: PeerSettings."}}, "required": ["_", "peer", "settings"], "additionalProperties": false}, "updatePeerLocated": {"title": "updatePeerLocated", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePeerLocated"]}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "PeerLocated", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerLocated", "peerSelfLocated"]}}, "description": "Тип TL: PeerLocated."}, "x-tl-type": "Vector<PeerLocated>"}}, "required": ["_", "peers"], "additionalProperties": false}, "updateNewScheduledMessage": {"title": "updateNewScheduledMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewScheduledMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "updateDeleteScheduledMessages": {"title": "updateDeleteScheduledMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteScheduledMessages"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "sent_messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.0?Vector<int>"}}, "required": ["_", "peer", "messages"], "additionalProperties": false}, "updateTheme": {"title": "updateTheme", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateTheme"]}, "theme": {"type": "object", "x-tl-type": "Theme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["theme"]}}, "description": "TL Type: Theme."}}, "required": ["_", "theme"], "additionalProperties": false}, "updateGeoLiveViewed": {"title": "updateGeoLiveViewed", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGeoLiveViewed"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "msg_id"], "additionalProperties": false}, "updateLoginToken": {"title": "updateLoginToken", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateLoginToken"]}}, "required": ["_"], "additionalProperties": false}, "updateMessagePollVote": {"title": "updateMessagePollVote", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessagePollVote"]}, "poll_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "options": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>"}, "positions": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "poll_id", "peer", "options", "positions", "qts"], "additionalProperties": false}, "updateDialogFilter": {"title": "updateDialogFilter", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogFilter"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "filter": {"type": "object", "x-tl-type": "DialogFilter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogFilter", "dialogFilterDefault", "dialogFilterChatlist"]}}, "description": "Тип TL: DialogFilter.", "x-tl-flag": "flags.0?DialogFilter"}}, "required": ["_", "id"], "additionalProperties": false}, "updateDialogFilterOrder": {"title": "updateDialogFilterOrder", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogFilterOrder"]}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "order"], "additionalProperties": false}, "updateDialogFilters": {"title": "updateDialogFilters", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogFilters"]}}, "required": ["_"], "additionalProperties": false}, "updatePhoneCallSignalingData": {"title": "updatePhoneCallSignalingData", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePhoneCallSignalingData"]}, "phone_call_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "phone_call_id", "data"], "additionalProperties": false}, "updateChannelMessageForwards": {"title": "updateChannelMessageForwards", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelMessageForwards"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "forwards": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "id", "forwards"], "additionalProperties": false}, "updateReadChannelDiscussionInbox": {"title": "updateReadChannelDiscussionInbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelDiscussionInbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "broadcast_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "broadcast_post": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "channel_id", "top_msg_id", "read_max_id"], "additionalProperties": false}, "updateReadChannelDiscussionOutbox": {"title": "updateReadChannelDiscussionOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelDiscussionOutbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "top_msg_id", "read_max_id"], "additionalProperties": false}, "updatePeerBlocked": {"title": "updatePeerBlocked", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePeerBlocked"]}, "blocked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "blocked_my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}}, "required": ["_", "peer_id"], "additionalProperties": false}, "updateChannelUserTyping": {"title": "updateChannelUserTyping", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelUserTyping"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "action": {"type": "object", "x-tl-type": "SendMessageAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sendMessageTypingAction", "sendMessageCancelAction", "sendMessageRecordVideoAction", "sendMessageUploadVideoAction", "sendMessageRecordAudioAction", "sendMessageUploadAudioAction", "sendMessageUploadPhotoAction", "sendMessageUploadDocumentAction", "sendMessageGeoLocationAction", "sendMessageChooseContactAction", "sendMessageGamePlayAction", "sendMessageRecordRoundAction", "sendMessageUploadRoundAction", "speakingInGroupCallAction", "sendMessageHistoryImportAction", "sendMessageChooseStickerAction", "sendMessageEmojiInteraction", "sendMessageEmojiInteractionSeen", "sendMessageTextDraftAction", "inputSendMessageRichMessageDraftAction", "sendMessageRichMessageDraftAction", "sendMessageStopDraftAction"]}}, "description": "Тип TL: SendMessageAction."}}, "required": ["_", "channel_id", "from_id", "action"], "additionalProperties": false}, "updatePinnedMessages": {"title": "updatePinnedMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePinnedMessages"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "messages", "pts", "pts_count"], "additionalProperties": false}, "updatePinnedChannelMessages": {"title": "updatePinnedChannelMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePinnedChannelMessages"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "messages", "pts", "pts_count"], "additionalProperties": false}, "updateChat": {"title": "updateChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "updateGroupCallParticipants": {"title": "updateGroupCallParticipants", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCallParticipants"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Тип TL: GroupCallParticipant."}, "x-tl-type": "Vector<GroupCallParticipant>"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "call", "participants", "version"], "additionalProperties": false}, "updateGroupCall": {"title": "updateGroupCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCall"]}, "live_story": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.1?Peer"}, "call": {"type": "object", "x-tl-type": "GroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallDiscarded", "groupCall"]}}, "description": "Тип TL: GroupCall."}}, "required": ["_", "call"], "additionalProperties": false}, "updatePeerHistoryTTL": {"title": "updatePeerHistoryTTL", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePeerHistoryTTL"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "peer"], "additionalProperties": false}, "updateChatParticipant": {"title": "updateChatParticipant", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipant"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "actor_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "prev_participant": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Тип TL: ChatParticipant.", "x-tl-flag": "flags.0?ChatParticipant"}, "new_participant": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Тип TL: ChatParticipant.", "x-tl-flag": "flags.1?ChatParticipant"}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite.", "x-tl-flag": "flags.2?ExportedChatInvite"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "date", "actor_id", "user_id", "qts"], "additionalProperties": false}, "updateChannelParticipant": {"title": "updateChannelParticipant", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelParticipant"]}, "via_chatlist": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "actor_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "prev_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant.", "x-tl-flag": "flags.0?ChannelParticipant"}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant.", "x-tl-flag": "flags.1?ChannelParticipant"}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite.", "x-tl-flag": "flags.2?ExportedChatInvite"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "date", "actor_id", "user_id", "qts"], "additionalProperties": false}, "updateBotStopped": {"title": "updateBotStopped", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotStopped"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "stopped": {"type": "boolean", "x-tl-type": "Bool"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "date", "stopped", "qts"], "additionalProperties": false}, "updateGroupCallConnection": {"title": "updateGroupCallConnection", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCallConnection"]}, "presentation": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "params": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON."}}, "required": ["_", "params"], "additionalProperties": false}, "updateBotCommands": {"title": "updateBotCommands", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotCommands"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "commands": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botCommand"]}}, "description": "TL Type: BotCommand."}, "x-tl-type": "Vector<BotCommand>"}}, "required": ["_", "peer", "bot_id", "commands"], "additionalProperties": false}, "updatePendingJoinRequests": {"title": "updatePendingJoinRequests", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePendingJoinRequests"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "requests_pending": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "recent_requesters": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "peer", "requests_pending", "recent_requesters"], "additionalProperties": false}, "updateBotChatInviteRequester": {"title": "updateBotChatInviteRequester", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotChatInviteRequester"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "about": {"type": "string", "x-tl-type": "string"}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "peer", "date", "user_id", "about", "invite", "qts"], "additionalProperties": false}, "updateMessageReactions": {"title": "updateMessageReactions", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageReactions"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.1?Peer"}, "reactions": {"type": "object", "x-tl-type": "MessageReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReactions"]}}, "description": "Тип TL: MessageReactions."}}, "required": ["_", "peer", "msg_id", "reactions"], "additionalProperties": false}, "updateAttachMenuBots": {"title": "updateAttachMenuBots", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateAttachMenuBots"]}}, "required": ["_"], "additionalProperties": false}, "updateWebViewResultSent": {"title": "updateWebViewResultSent", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWebViewResultSent"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "query_id"], "additionalProperties": false}, "updateBotMenuButton": {"title": "updateBotMenuButton", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotMenuButton"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "button": {"type": "object", "x-tl-type": "BotMenuButton", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botMenuButtonDefault", "botMenuButtonCommands", "botMenuButton"]}}, "description": "TL Type: BotMenuButton."}}, "required": ["_", "bot_id", "button"], "additionalProperties": false}, "updateSavedRingtones": {"title": "updateSavedRingtones", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedRingtones"]}}, "required": ["_"], "additionalProperties": false}, "updateTranscribedAudio": {"title": "updateTranscribedAudio", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateTranscribedAudio"]}, "pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "peer", "msg_id", "transcription_id", "text"], "additionalProperties": false}, "updateReadFeaturedEmojiStickers": {"title": "updateReadFeaturedEmojiStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadFeaturedEmojiStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateUserEmojiStatus": {"title": "updateUserEmojiStatus", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserEmojiStatus"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "emoji_status": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "Тип TL: EmojiStatus."}}, "required": ["_", "user_id", "emoji_status"], "additionalProperties": false}, "updateRecentEmojiStatuses": {"title": "updateRecentEmojiStatuses", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateRecentEmojiStatuses"]}}, "required": ["_"], "additionalProperties": false}, "updateRecentReactions": {"title": "updateRecentReactions", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateRecentReactions"]}}, "required": ["_"], "additionalProperties": false}, "updateMoveStickerSetToTop": {"title": "updateMoveStickerSetToTop", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMoveStickerSetToTop"]}, "masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "stickerset": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "stickerset"], "additionalProperties": false}, "updateMessageExtendedMedia": {"title": "updateMessageExtendedMedia", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageExtendedMedia"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "extended_media": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageExtendedMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageExtendedMediaPreview", "messageExtendedMedia"]}}, "description": "Тип TL: MessageExtendedMedia."}, "x-tl-type": "Vector<MessageExtendedMedia>"}}, "required": ["_", "peer", "msg_id", "extended_media"], "additionalProperties": false}, "updateUser": {"title": "updateUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "updateAutoSaveSettings": {"title": "updateAutoSaveSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateAutoSaveSettings"]}}, "required": ["_"], "additionalProperties": false}, "updateStory": {"title": "updateStory", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStory"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Тип TL: StoryItem."}}, "required": ["_", "peer", "story"], "additionalProperties": false}, "updateReadStories": {"title": "updateReadStories", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadStories"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "max_id"], "additionalProperties": false}, "updateStoryID": {"title": "updateStoryID", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStoryID"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "random_id"], "additionalProperties": false}, "updateStoriesStealthMode": {"title": "updateStoriesStealthMode", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStoriesStealthMode"]}, "stealth_mode": {"type": "object", "x-tl-type": "StoriesStealthMode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}}, "description": "Тип TL: StoriesStealthMode."}}, "required": ["_", "stealth_mode"], "additionalProperties": false}, "updateSentStoryReaction": {"title": "updateSentStoryReaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSentStoryReaction"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}}, "required": ["_", "peer", "story_id", "reaction"], "additionalProperties": false}, "updateBotChatBoost": {"title": "updateBotChatBoost", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotChatBoost"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "boost": {"type": "object", "x-tl-type": "Boost", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["boost"]}}, "description": "Тип TL: Boost."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "boost", "qts"], "additionalProperties": false}, "updateChannelViewForumAsMessages": {"title": "updateChannelViewForumAsMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelViewForumAsMessages"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "enabled": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "channel_id", "enabled"], "additionalProperties": false}, "updatePeerWallpaper": {"title": "updatePeerWallpaper", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePeerWallpaper"]}, "wallpaper_overridden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "wallpaper": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "TL Type: WallPaper.", "x-tl-flag": "flags.0?WallPaper"}}, "required": ["_", "peer"], "additionalProperties": false}, "updateBotMessageReaction": {"title": "updateBotMessageReaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotMessageReaction"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "actor": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "old_reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}, "x-tl-type": "Vector<Reaction>"}, "new_reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}, "x-tl-type": "Vector<Reaction>"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "msg_id", "date", "actor", "old_reactions", "new_reactions", "qts"], "additionalProperties": false}, "updateBotMessageReactions": {"title": "updateBotMessageReactions", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotMessageReactions"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "ReactionCount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionCount"]}}, "description": "Тип TL: ReactionCount."}, "x-tl-type": "Vector<ReactionCount>"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "msg_id", "date", "reactions", "qts"], "additionalProperties": false}, "updateSavedDialogPinned": {"title": "updateSavedDialogPinned", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedDialogPinned"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "DialogPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogPeer", "dialogPeerFolder", "dialogPeerCommunity"]}}, "description": "TL Type: DialogPeer."}}, "required": ["_", "peer"], "additionalProperties": false}, "updatePinnedSavedDialogs": {"title": "updatePinnedSavedDialogs", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePinnedSavedDialogs"]}, "order": {"type": "array", "items": {"type": "object", "x-tl-type": "DialogPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogPeer", "dialogPeerFolder", "dialogPeerCommunity"]}}, "description": "TL Type: DialogPeer."}, "x-tl-type": "Vector<DialogPeer>", "x-tl-flag": "flags.0?Vector<DialogPeer>"}}, "required": ["_"], "additionalProperties": false}, "updateSavedReactionTags": {"title": "updateSavedReactionTags", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedReactionTags"]}}, "required": ["_"], "additionalProperties": false}, "updateSmsJob": {"title": "updateSmsJob", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSmsJob"]}, "job_id": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "job_id"], "additionalProperties": false}, "updateQuickReplies": {"title": "updateQuickReplies", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateQuickReplies"]}, "quick_replies": {"type": "array", "items": {"type": "object", "x-tl-type": "QuickReply", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["quickReply"]}}, "description": "Тип TL: QuickReply."}, "x-tl-type": "Vector<QuickReply>"}}, "required": ["_", "quick_replies"], "additionalProperties": false}, "updateNewQuickReply": {"title": "updateNewQuickReply", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewQuickReply"]}, "quick_reply": {"type": "object", "x-tl-type": "QuickReply", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["quickReply"]}}, "description": "Тип TL: QuickReply."}}, "required": ["_", "quick_reply"], "additionalProperties": false}, "updateDeleteQuickReply": {"title": "updateDeleteQuickReply", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteQuickReply"]}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "shortcut_id"], "additionalProperties": false}, "updateQuickReplyMessage": {"title": "updateQuickReplyMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateQuickReplyMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "updateDeleteQuickReplyMessages": {"title": "updateDeleteQuickReplyMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteQuickReplyMessages"]}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "shortcut_id", "messages"], "additionalProperties": false}, "updateBotBusinessConnect": {"title": "updateBotBusinessConnect", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotBusinessConnect"]}, "connection": {"type": "object", "x-tl-type": "BotBusinessConnection", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botBusinessConnection"]}}, "description": "Тип TL: BotBusinessConnection."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection", "qts"], "additionalProperties": false}, "updateBotNewBusinessMessage": {"title": "updateBotNewBusinessMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotNewBusinessMessage"]}, "connection_id": {"type": "string", "x-tl-type": "string"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "reply_to_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message.", "x-tl-flag": "flags.0?Message"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection_id", "message", "qts"], "additionalProperties": false}, "updateBotEditBusinessMessage": {"title": "updateBotEditBusinessMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotEditBusinessMessage"]}, "connection_id": {"type": "string", "x-tl-type": "string"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "reply_to_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message.", "x-tl-flag": "flags.0?Message"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection_id", "message", "qts"], "additionalProperties": false}, "updateBotDeleteBusinessMessage": {"title": "updateBotDeleteBusinessMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotDeleteBusinessMessage"]}, "connection_id": {"type": "string", "x-tl-type": "string"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection_id", "peer", "messages", "qts"], "additionalProperties": false}, "updateNewStoryReaction": {"title": "updateNewStoryReaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewStoryReaction"]}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}}, "required": ["_", "story_id", "peer", "reaction"], "additionalProperties": false}, "updateStarsBalance": {"title": "updateStarsBalance", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarsBalance"]}, "balance": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount."}}, "required": ["_", "balance"], "additionalProperties": false}, "updateBusinessBotCallbackQuery": {"title": "updateBusinessBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBusinessBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "connection_id": {"type": "string", "x-tl-type": "string"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "reply_to_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message.", "x-tl-flag": "flags.2?Message"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}}, "required": ["_", "query_id", "user_id", "connection_id", "message", "chat_instance"], "additionalProperties": false}, "updateStarsRevenueStatus": {"title": "updateStarsRevenueStatus", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarsRevenueStatus"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "status": {"type": "object", "x-tl-type": "StarsRevenueStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRevenueStatus"]}}, "description": "Тип TL: StarsRevenueStatus."}}, "required": ["_", "peer", "status"], "additionalProperties": false}, "updateBotPurchasedPaidMedia": {"title": "updateBotPurchasedPaidMedia", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotPurchasedPaidMedia"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "x-tl-type": "string"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "payload", "qts"], "additionalProperties": false}, "updatePaidReactionPrivacy": {"title": "updatePaidReactionPrivacy", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePaidReactionPrivacy"]}, "private": {"type": "object", "x-tl-type": "PaidReactionPrivacy", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paidReactionPrivacyDefault", "paidReactionPrivacyAnonymous", "paidReactionPrivacyPeer"]}}, "description": "Тип TL: PaidReactionPrivacy."}}, "required": ["_", "private"], "additionalProperties": false}, "updateSentPhoneCode": {"title": "updateSentPhoneCode", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSentPhoneCode"]}, "sent_code": {"type": "object", "x-tl-type": "auth.SentCode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["auth.sentCode", "auth.sentCodeSuccess", "auth.sentCodePaymentRequired"]}}, "description": "Type TL: auth.SentCode."}}, "required": ["_", "sent_code"], "additionalProperties": false}, "updateGroupCallChainBlocks": {"title": "updateGroupCallChainBlocks", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCallChainBlocks"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}, "sub_chain_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "blocks": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>"}, "next_offset": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "call", "sub_chain_id", "blocks", "next_offset"], "additionalProperties": false}, "updateReadMonoForumInbox": {"title": "updateReadMonoForumInbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadMonoForumInbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "saved_peer_id", "read_max_id"], "additionalProperties": false}, "updateReadMonoForumOutbox": {"title": "updateReadMonoForumOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadMonoForumOutbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "saved_peer_id", "read_max_id"], "additionalProperties": false}, "updateMonoForumNoPaidException": {"title": "updateMonoForumNoPaidException", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMonoForumNoPaidException"]}, "exception": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}}, "required": ["_", "channel_id", "saved_peer_id"], "additionalProperties": false}, "updateGroupCallMessage": {"title": "updateGroupCallMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCallMessage"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}, "message": {"type": "object", "x-tl-type": "GroupCallMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallMessage"]}}, "description": "Тип TL: GroupCallMessage."}}, "required": ["_", "call", "message"], "additionalProperties": false}, "updateGroupCallEncryptedMessage": {"title": "updateGroupCallEncryptedMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCallEncryptedMessage"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "encrypted_message": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "call", "from_id", "encrypted_message"], "additionalProperties": false}, "updatePinnedForumTopic": {"title": "updatePinnedForumTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePinnedForumTopic"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "topic_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "topic_id"], "additionalProperties": false}, "updatePinnedForumTopics": {"title": "updatePinnedForumTopics", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePinnedForumTopics"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.0?Vector<int>"}}, "required": ["_", "peer"], "additionalProperties": false}, "updateDeleteGroupCallMessages": {"title": "updateDeleteGroupCallMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteGroupCallMessages"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "call", "messages"], "additionalProperties": false}, "updateStarGiftAuctionState": {"title": "updateStarGiftAuctionState", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarGiftAuctionState"]}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "state": {"type": "object", "x-tl-type": "StarGiftAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified", "starGiftAuctionState", "starGiftAuctionStateFinished"]}}, "description": "Тип TL: StarGiftAuctionState."}}, "required": ["_", "gift_id", "state"], "additionalProperties": false}, "updateStarGiftAuctionUserState": {"title": "updateStarGiftAuctionUserState", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarGiftAuctionUserState"]}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_state": {"type": "object", "x-tl-type": "StarGiftAuctionUserState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}}, "description": "Тип TL: StarGiftAuctionUserState."}}, "required": ["_", "gift_id", "user_state"], "additionalProperties": false}, "updateEmojiGameInfo": {"title": "updateEmojiGameInfo", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEmojiGameInfo"]}, "info": {"type": "object", "x-tl-type": "messages.EmojiGameInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messages.emojiGameUnavailable", "messages.emojiGameDiceInfo"]}}, "description": "Type TL: messages.EmojiGameInfo."}}, "required": ["_", "info"], "additionalProperties": false}, "updateStarGiftCraftFail": {"title": "updateStarGiftCraftFail", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarGiftCraftFail"]}}, "required": ["_"], "additionalProperties": false}, "updateChatParticipantRank": {"title": "updateChatParticipantRank", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantRank"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "rank": {"type": "string", "x-tl-type": "string"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "user_id", "rank", "version"], "additionalProperties": false}, "updateManagedBot": {"title": "updateManagedBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateManagedBot"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "bot_id", "qts"], "additionalProperties": false}, "updateBotGuestChatQuery": {"title": "updateBotGuestChatQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotGuestChatQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "reference_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "x-tl-flag": "flags.0?Vector<Message>"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "query_id", "message", "qts"], "additionalProperties": false}, "updateAiComposeTones": {"title": "updateAiComposeTones", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateAiComposeTones"]}}, "required": ["_"], "additionalProperties": false}, "updateJoinChatWebViewDecision": {"title": "updateJoinChatWebViewDecision", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateJoinChatWebViewDecision"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "result": {"type": "object", "x-tl-type": "JoinChatBotResult", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["joinChatBotResultApproved", "joinChatBotResultDeclined", "joinChatBotResultQueued", "joinChatBotResultWebView"]}}, "description": "Тип TL: JoinChatBotResult."}}, "required": ["_", "peer", "query_id", "result"], "additionalProperties": false}, "updateNewBotConnection": {"title": "updateNewBotConnection", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewBotConnection"]}, "confirmed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "device": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "location": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "bot_id"], "additionalProperties": false}, "updateWebBrowserSettings": {"title": "updateWebBrowserSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWebBrowserSettings"]}, "open_external_browser": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "display_close_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "updateWebBrowserException": {"title": "updateWebBrowserException", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWebBrowserException"]}, "delete": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "open_external_browser": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool"}, "exception": {"type": "object", "x-tl-type": "WebDomainException", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDomainException"]}}, "description": "Тип TL: WebDomainException."}}, "required": ["_", "exception"], "additionalProperties": false}, "updateNewEphemeralMessage": {"title": "updateNewEphemeralMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewEphemeralMessage"]}, "message": {"type": "object", "x-tl-type": "EphemeralMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["ephemeralMessage"]}}, "description": "Тип TL: EphemeralMessage."}}, "required": ["_", "message"], "additionalProperties": false}, "updateDeleteEphemeralMessages": {"title": "updateDeleteEphemeralMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteEphemeralMessages"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "ids": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "peer", "ids"], "additionalProperties": false}, "updateEditEphemeralMessage": {"title": "updateEditEphemeralMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEditEphemeralMessage"]}, "message": {"type": "object", "x-tl-type": "EphemeralMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["ephemeralMessage"]}}, "description": "Тип TL: EphemeralMessage."}}, "required": ["_", "message"], "additionalProperties": false}, "updateEphemeralBotCallbackQuery": {"title": "updateEphemeralBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEphemeralBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.0?Peer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "message": {"type": "object", "x-tl-type": "EphemeralMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["ephemeralMessage"]}}, "description": "Тип TL: EphemeralMessage."}}, "required": ["_", "query_id", "user_id", "msg_id", "data", "message"], "additionalProperties": false}, "updateBotStarsSubscription": {"title": "updateBotStarsSubscription", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotStarsSubscription"]}, "canceled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "payment_failed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "restored": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "payload", "qts"], "additionalProperties": false}, "updateWalletState": {"title": "updateWalletState", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWalletState"]}, "state": {"type": "object", "x-tl-type": "WalletState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletStateEmpty", "walletState"]}}, "description": "Тип TL: WalletState."}}, "required": ["_", "state"], "additionalProperties": false}, "updateSentWalletTransaction": {"title": "updateSentWalletTransaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSentWalletTransaction"]}, "gasless": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "msg_hash": {"type": "string", "x-tl-type": "string"}, "transaction": {"type": "object", "x-tl-type": "WalletTransaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletTransaction"]}}, "description": "Тип TL: WalletTransaction.", "x-tl-flag": "flags.1?WalletTransaction"}}, "required": ["_", "msg_hash"], "additionalProperties": false}, "updateWalletGaslessInfo": {"title": "updateWalletGaslessInfo", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWalletGaslessInfo"]}, "available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "left": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reset_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "min_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "relayer_address": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "left", "reset_at", "min_amount", "relayer_address"], "additionalProperties": false}, "updateWalletTonConnectSession": {"title": "updateWalletTonConnectSession", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWalletTonConnectSession"]}, "session": {"type": "object", "x-tl-type": "TonConnectSession", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectSession"]}}, "description": "Тип TL: TonConnectSession."}}, "required": ["_", "session"], "additionalProperties": false}, "updateWalletTonConnectPendingDisconnect": {"title": "updateWalletTonConnectPendingDisconnect", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWalletTonConnectPendingDisconnect"]}, "session_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "session_ids"], "additionalProperties": false}, "updateEditForumTopic": {"title": "updateEditForumTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEditForumTopic"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "topic_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool"}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool"}}, "required": ["_", "peer", "topic_id"], "additionalProperties": false}, "updateBotWidgetQuery": {"title": "updateBotWidgetQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWidgetQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData", "widgetQueryTypeSignData", "widgetQueryTypeSentTransaction"]}}, "description": "Тип TL: WidgetQueryType."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_type": {"type": "string", "x-tl-type": "string"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags.1?wallet.Card"}}, "required": ["_", "query_id", "query_type", "user_id", "peer", "msg_id", "chat_instance", "chat_type", "data"], "additionalProperties": false}, "updateInlineBotWidgetQuery": {"title": "updateInlineBotWidgetQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateInlineBotWidgetQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData", "widgetQueryTypeSignData", "widgetQueryTypeSentTransaction"]}}, "description": "Тип TL: WidgetQueryType."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inline_message_id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID", "inputBotInlineMessageID64"]}}, "description": "TL Type: InputBotInlineMessageID."}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_type": {"type": "string", "x-tl-type": "string"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags.1?wallet.Card"}}, "required": ["_", "query_id", "query_type", "user_id", "inline_message_id", "chat_instance", "chat_type", "data"], "additionalProperties": false}, "updateBotWidgetCopyQuery": {"title": "updateBotWidgetCopyQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWidgetCopyQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData", "widgetQueryTypeSignData", "widgetQueryTypeSentTransaction"]}}, "description": "Тип TL: WidgetQueryType."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags.1?wallet.Card"}}, "required": ["_", "query_id", "query_type", "user_id", "data", "widget_id"], "additionalProperties": false}, "updateMessageWidgetData": {"title": "updateMessageWidgetData", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageWidgetData"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "public_data_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "msg_id", "pts", "pts_count"], "additionalProperties": false}, "updateTranscribedAudioFile": {"title": "updateTranscribedAudioFile", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateTranscribedAudioFile"]}, "pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "transcription_id", "text"], "additionalProperties": false}, "updateBotProfileWidgetQuery": {"title": "updateBotProfileWidgetQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotProfileWidgetQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_type": {"type": "object", "x-tl-type": "WidgetQueryType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData", "widgetQueryTypeSignData", "widgetQueryTypeSentTransaction"]}}, "description": "Тип TL: WidgetQueryType."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "wallet_card": {"type": "object", "x-tl-type": "wallet.Card", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.card"]}}, "description": "Тип TL: wallet.Card.", "x-tl-flag": "flags.0?wallet.Card"}}, "required": ["_", "query_id", "query_type", "user_id", "data"], "additionalProperties": false}, "updateBotProfileWidgetData": {"title": "updateBotProfileWidgetData", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotProfileWidgetData"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_data": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "bot_id", "chat_data"], "additionalProperties": false}, "updateBotProfileWidget": {"title": "updateBotProfileWidget", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotProfileWidget"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "widget": {"type": "object", "x-tl-type": "BotProfileWidget", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botProfileWidget"]}}, "description": "Тип TL: BotProfileWidget.", "x-tl-flag": "flags.0?BotProfileWidget"}}, "required": ["_", "bot_id"], "additionalProperties": false}, "updateReadFeed": {"title": "updateReadFeed", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadFeed"]}, "filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "max_position": {"type": "object", "x-tl-type": "FeedPosition", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["feedPosition"]}}, "description": "Тип TL: FeedPosition."}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "unread_muted_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "filter_id", "max_position"], "additionalProperties": false}, "updates.state": {"title": "updates.state", "description": "Aktualisierungsstatus.", "externalDocs": {"url": "https://core.telegram.org/constructor/updates.state"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updates.state"]}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der in einem Textfeld aufgetretenen Ereignisse", "x-telegram-field-docs": true}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Positionieren Sie sich in einer Reihe von Updates in geheimen Chats. Weitere Details finden Sie im Artikel [Geheime Chats](https://core.telegram.org/api/end-to-end.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Zustandsdatum", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der gesendeten Updates", "x-telegram-field-docs": true}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl ungelesener Nachrichten", "x-telegram-field-docs": true}}, "required": ["_", "pts", "qts", "date", "seq", "unread_count"], "additionalProperties": false}, "updates.differenceEmpty": {"title": "updates.differenceEmpty", "description": "Keine Veranstaltungen.", "externalDocs": {"url": "https://core.telegram.org/constructor/updates.differenceEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updates.differenceEmpty"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Aktuelles Datum", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der gesendeten Updates", "x-telegram-field-docs": true}}, "required": ["_", "date", "seq"], "additionalProperties": false}, "updates.difference": {"title": "updates.difference", "description": "Vollständige Liste der aufgetretenen Ereignisse.", "externalDocs": {"url": "https://core.telegram.org/constructor/updates.difference"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updates.difference"]}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "new_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Liste neuer Nachrichten", "x-telegram-field-docs": true}, "new_encrypted_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "EncryptedMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedMessage", "encryptedMessageService"]}}, "description": "Тип TL: EncryptedMessage."}, "x-tl-type": "Vector<EncryptedMessage>", "description": "Liste neuer verschlüsselter geheimer Chat-Nachrichten", "x-telegram-field-docs": true}, "other_updates": {"type": "array", "items": {"type": "object", "x-tl-type": "Update", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateNewEphemeralMessage", "updateDeleteEphemeralMessages", "updateEditEphemeralMessage", "updateEphemeralBotCallbackQuery", "updateBotStarsSubscription", "updateWalletState", "updateSentWalletTransaction", "updateWalletGaslessInfo", "updateWalletTonConnectSession", "updateWalletTonConnectPendingDisconnect", "updateEditForumTopic", "updateBotWidgetQuery", "updateInlineBotWidgetQuery", "updateBotWidgetCopyQuery", "updateMessageWidgetData", "updateTranscribedAudioFile", "updateBotProfileWidgetQuery", "updateBotProfileWidgetData", "updateBotProfileWidget", "updateReadFeed"]}}, "description": "Тип TL: Update."}, "x-tl-type": "Vector<Update>", "description": "Liste der Updates", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Liste der in Veranstaltungen erwähnten Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der in Veranstaltungen erwähnten Benutzer", "x-telegram-field-docs": true}, "state": {"type": "object", "x-tl-type": "updates.State", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updates.state"]}}, "description": "Aktueller Stand", "x-telegram-field-docs": true}}, "required": ["_", "new_messages", "new_encrypted_messages", "other_updates", "chats", "users", "state"], "additionalProperties": false}, "updates.differenceSlice": {"title": "updates.differenceSlice", "description": "Unvollständige Liste der aufgetretenen Ereignisse.", "externalDocs": {"url": "https://core.telegram.org/constructor/updates.differenceSlice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updates.differenceSlice"]}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "new_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Liste neuer Nachrichten", "x-telegram-field-docs": true}, "new_encrypted_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "EncryptedMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedMessage", "encryptedMessageService"]}}, "description": "Тип TL: EncryptedMessage."}, "x-tl-type": "Vector<EncryptedMessage>", "description": "Neue Nachrichten aus der [verschlüsselten Ereignissequenz](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "other_updates": {"type": "array", "items": {"type": "object", "x-tl-type": "Update", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateNewEphemeralMessage", "updateDeleteEphemeralMessages", "updateEditEphemeralMessage", "updateEphemeralBotCallbackQuery", "updateBotStarsSubscription", "updateWalletState", "updateSentWalletTransaction", "updateWalletGaslessInfo", "updateWalletTonConnectSession", "updateWalletTonConnectPendingDisconnect", "updateEditForumTopic", "updateBotWidgetQuery", "updateInlineBotWidgetQuery", "updateBotWidgetCopyQuery", "updateMessageWidgetData", "updateTranscribedAudioFile", "updateBotProfileWidgetQuery", "updateBotProfileWidgetData", "updateBotProfileWidget", "updateReadFeed"]}}, "description": "Тип TL: Update."}, "x-tl-type": "Vector<Update>", "description": "Liste der Updates", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Liste der in Veranstaltungen erwähnten Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der in Veranstaltungen erwähnten Benutzer", "x-telegram-field-docs": true}, "intermediate_state": {"type": "object", "x-tl-type": "updates.State", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updates.state"]}}, "description": "Zwischenstaat", "x-telegram-field-docs": true}}, "required": ["_", "new_messages", "new_encrypted_messages", "other_updates", "chats", "users", "intermediate_state"], "additionalProperties": false}, "updates.differenceTooLong": {"title": "updates.differenceTooLong", "description": "Der Unterschied beträgt [zu lang](https://core.telegram.org/api/updates.md#recovering-gaps), und der angegebene Status muss zum erneuten Abrufen von Aktualisierungen verwendet werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/updates.differenceTooLong"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updates.differenceTooLong"]}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Der neue zu verwendende Status.", "x-telegram-field-docs": true}}, "required": ["_", "pts"], "additionalProperties": false}, "updatesTooLong": {"title": "updatesTooLong", "description": "Die Anzahl der Aktualisierungen in der Warteschlange im allgemeinen Meldungsfeld ist zu groß, um passiv über den Socket übermittelt zu werden. Rufen Sie [updates.getDifference](https://core.telegram.org/method/updates.getDifference.md) auf, um die Differenz wie in der [Dokumentation »](https://core.telegram.org/api/updates.md) angegeben) abzurufen.\n\nZeigt **nicht unbedingt** an, dass die Größenbeschränkung für die Nachrichtenbox erreicht wurde](https://core.telegram.org/api/updates.md#recovering-gaps-for-very-old-messages), sondern lediglich, dass die Anzahl der Aktualisierungen in der Warteschlange in einer Nachrichtenbox zu groß ist, um passiv über den Socket übermittelt zu werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/updatesTooLong"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updatesTooLong"]}}, "required": ["_"], "additionalProperties": false}, "updateShortMessage": {"title": "updateShortMessage", "description": "Informationen zu einer Nachricht, die an einen anderen Benutzer gesendet (von ihm empfangen) wurde", "externalDocs": {"url": "https://core.telegram.org/constructor/updateShortMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updateShortMessage"]}, "out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Nachricht ausgehend ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "mentioned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob wir in der Nachricht erwähnt wurden", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "media_unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob diese Nachricht einige **ungelesene** Erwähnungen enthält", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn „true“, handelt es sich bei der Nachricht um eine stille Nachricht, es sollten keine Benachrichtigungen ausgelöst werden", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Nachrichten-ID", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Die ID des Absenders (wenn `outgoing` die ID des Ziels ist) der Nachricht", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Die Nachricht", "x-telegram-field-docs": true}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[PTS](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[PTS zählen](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Datum](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "fwd_from": {"type": "object", "x-tl-type": "MessageFwdHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageFwdHeader"]}}, "description": "Informationen zu einer weitergeleiteten Nachricht", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?MessageFwdHeader"}, "via_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Informationen zum Inline-Bot, der zum Generieren dieser Nachricht verwendet wurde", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?long"}, "reply_to": {"type": "object", "x-tl-type": "MessageReplyHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplyHeader", "messageReplyStoryHeader"]}}, "description": "Antwort und [Thread](https://core.telegram.org/api/threads.md) Informationen", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?MessageReplyHeader"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entitäten](https://core.telegram.org/api/entities.md) für formatierten Text", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Lebensdauer der Nachricht, einmal message.date+message.ttl_period === time(), wird die Nachricht auf dem Server gelöscht und muss auch lokal gelöscht werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?int"}}, "required": ["_", "id", "user_id", "message", "pts", "pts_count", "date"], "additionalProperties": false}, "updateShortChatMessage": {"title": "updateShortChatMessage", "description": "Verkürzter Konstruktor, der Informationen zu einer neuen eingehenden Textnachricht aus einem Chat enthält", "externalDocs": {"url": "https://core.telegram.org/constructor/updateShortChatMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updateShortChatMessage"]}, "out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Nachricht ausgehend ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "mentioned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob wir in dieser Nachricht erwähnt wurden", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "media_unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Nachricht einige **ungelesene** Erwähnungen enthält", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn „true“, handelt es sich bei der Nachricht um eine stille Nachricht, es sollten keine Benachrichtigungen ausgelöst werden", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID der Nachricht", "x-telegram-field-docs": true}, "from_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Absenders der Nachricht", "x-tl-type": "long", "x-telegram-field-docs": true}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Chats, an den die Nachricht gesendet wurde", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Nachricht", "x-telegram-field-docs": true}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[PTS](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[PTS zählen](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Datum](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "fwd_from": {"type": "object", "x-tl-type": "MessageFwdHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageFwdHeader"]}}, "description": "Informationen zu einer weitergeleiteten Nachricht", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?MessageFwdHeader"}, "via_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Informationen zum Inline-Bot, der zum Generieren dieser Nachricht verwendet wurde", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?long"}, "reply_to": {"type": "object", "x-tl-type": "MessageReplyHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplyHeader", "messageReplyStoryHeader"]}}, "description": "Informationen zur Antwort (Thread).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?MessageReplyHeader"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entitäten](https://core.telegram.org/api/entities.md) für formatierten Text", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gültigkeitsdauer der Nachricht, einmal updateShortChatMessage.date+updateShortChatMessage.ttl_period === time(), wird die Nachricht auf dem Server gelöscht und muss auch lokal gelöscht werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?int"}}, "required": ["_", "id", "from_id", "chat_id", "message", "pts", "pts_count", "date"], "additionalProperties": false}, "updateShort": {"title": "updateShort", "description": "Verkürzter Konstruktor, der Informationen zu einem Update enthält und keine Zusatzdaten erfordert", "externalDocs": {"url": "https://core.telegram.org/constructor/updateShort"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updateShort"]}, "update": {"type": "object", "x-tl-type": "Update", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateNewEphemeralMessage", "updateDeleteEphemeralMessages", "updateEditEphemeralMessage", "updateEphemeralBotCallbackQuery", "updateBotStarsSubscription", "updateWalletState", "updateSentWalletTransaction", "updateWalletGaslessInfo", "updateWalletTonConnectSession", "updateWalletTonConnectPendingDisconnect", "updateEditForumTopic", "updateBotWidgetQuery", "updateInlineBotWidgetQuery", "updateBotWidgetCopyQuery", "updateMessageWidgetData", "updateTranscribedAudioFile", "updateBotProfileWidgetQuery", "updateBotProfileWidgetData", "updateBotProfileWidget", "updateReadFeed"]}}, "description": "Aktualisieren", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum der Veranstaltung", "x-telegram-field-docs": true}}, "required": ["_", "update", "date"], "additionalProperties": false}, "updatesCombined": {"title": "updatesCombined", "description": "Konstruktor für eine Gruppe von Updates.", "externalDocs": {"url": "https://core.telegram.org/constructor/updatesCombined"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updatesCombined"]}, "updates": {"type": "array", "items": {"type": "object", "x-tl-type": "Update", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateNewEphemeralMessage", "updateDeleteEphemeralMessages", "updateEditEphemeralMessage", "updateEphemeralBotCallbackQuery", "updateBotStarsSubscription", "updateWalletState", "updateSentWalletTransaction", "updateWalletGaslessInfo", "updateWalletTonConnectSession", "updateWalletTonConnectPendingDisconnect", "updateEditForumTopic", "updateBotWidgetQuery", "updateInlineBotWidgetQuery", "updateBotWidgetCopyQuery", "updateMessageWidgetData", "updateTranscribedAudioFile", "updateBotProfileWidgetQuery", "updateBotProfileWidgetData", "updateBotProfileWidget", "updateReadFeed"]}}, "description": "Тип TL: Update."}, "x-tl-type": "Vector<Update>", "description": "Liste der Updates", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der in Updates erwähnten Benutzer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Liste der in Updates erwähnten Chats", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Aktuelles Datum", "x-telegram-field-docs": true}, "seq_start": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert **seq** für die früheste Aktualisierung in einer Gruppe", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wert **seq** für das neueste Update in einer Gruppe", "x-telegram-field-docs": true}}, "required": ["_", "updates", "users", "chats", "date", "seq_start", "seq"], "additionalProperties": false}, "updates": {"title": "updates", "description": "Vollständiger Konstruktor für Updates", "externalDocs": {"url": "https://core.telegram.org/constructor/updates"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updates"]}, "updates": {"type": "array", "items": {"type": "object", "x-tl-type": "Update", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateNewEphemeralMessage", "updateDeleteEphemeralMessages", "updateEditEphemeralMessage", "updateEphemeralBotCallbackQuery", "updateBotStarsSubscription", "updateWalletState", "updateSentWalletTransaction", "updateWalletGaslessInfo", "updateWalletTonConnectSession", "updateWalletTonConnectPendingDisconnect", "updateEditForumTopic", "updateBotWidgetQuery", "updateInlineBotWidgetQuery", "updateBotWidgetCopyQuery", "updateMessageWidgetData", "updateTranscribedAudioFile", "updateBotProfileWidgetQuery", "updateBotProfileWidgetData", "updateBotProfileWidget", "updateReadFeed"]}}, "description": "Тип TL: Update."}, "x-tl-type": "Vector<Update>", "description": "Liste der Updates", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der in Updates erwähnten Benutzer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Liste der in Updates erwähnten Chats", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Aktuelles Datum", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der gesendeten Updates", "x-telegram-field-docs": true}}, "required": ["_", "updates", "users", "chats", "date", "seq"], "additionalProperties": false}, "updateShortSentMessage": {"title": "updateShortSentMessage", "description": "Verkürzter Konstruktor, der Informationen zu einer ausgehenden Nachricht an einen Kontakt enthält (der Ziel-Chat muss aus dem Methodenaufruf extrahiert werden, der dieses Objekt zurückgegeben hat).", "externalDocs": {"url": "https://core.telegram.org/constructor/updateShortSentMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updateShortSentMessage"]}, "out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Nachricht ausgehend ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID der gesendeten Nachricht", "x-telegram-field-docs": true}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[PTS](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[PTS zählen](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Datum](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "Angehängte Medien", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?MessageMedia"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entitäten](https://core.telegram.org/api/entities.md) für formatierten Text", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Lebensdauer der Nachricht, einmal message.date+message.ttl_period === time(), wird die Nachricht auf dem Server gelöscht und muss auch lokal gelöscht werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?int"}}, "required": ["_", "id", "pts", "pts_count", "date"], "additionalProperties": false}, "photos.photos": {"title": "photos.photos", "description": "Vollständige Liste der Fotos mit Zusatzdaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/photos.photos"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["photos.photos"]}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}, "x-tl-type": "Vector<Photo>", "description": "Liste der Fotos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der genannten Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "photos", "users"], "additionalProperties": false}, "photos.photosSlice": {"title": "photos.photosSlice", "description": "Unvollständige Liste der Fotos mit Zusatzdaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/photos.photosSlice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["photos.photosSlice"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Fotos", "x-telegram-field-docs": true}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}, "x-tl-type": "Vector<Photo>", "description": "Liste der Fotos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der genannten Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "photos", "users"], "additionalProperties": false}, "photos.photo": {"title": "photos.photo", "description": "Foto mit Hilfsdaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/photos.photo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["photos.photo"]}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Foto", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "photo", "users"], "additionalProperties": false}, "upload.file": {"title": "upload.file", "description": "Dateiinhalt.", "externalDocs": {"url": "https://core.telegram.org/constructor/upload.file"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["upload.file"]}, "type": {"type": "object", "x-tl-type": "storage.FileType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp"]}}, "description": "Dateityp", "x-telegram-field-docs": true}, "mtime": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Änderungszeit", "x-telegram-field-docs": true}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Binärdaten, Dateiinhalt", "x-telegram-field-docs": true}}, "required": ["_", "type", "mtime", "bytes"], "additionalProperties": false}, "upload.fileCdnRedirect": {"title": "upload.fileCdnRedirect", "description": "Die Datei muss von einem [CDN DC](https://core.telegram.org/cdn.md) heruntergeladen werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/upload.fileCdnRedirect"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["upload.fileCdnRedirect"]}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[CDN DC](https://core.telegram.org/cdn.md) ID", "x-telegram-field-docs": true}, "file_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datei-Token (siehe [CDN Dateien](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}, "encryption_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Verschlüsselungsschlüssel (siehe [CDN Dateien](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}, "encryption_iv": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Verschlüsselung IV (siehe [CDN Dateien](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}, "file_hashes": {"type": "array", "items": {"type": "object", "x-tl-type": "FileHash", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["fileHash"]}}, "description": "TL Type: FileHash."}, "x-tl-type": "Vector<FileHash>", "description": "Datei-Hashes (siehe [CDN Dateien](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "file_token", "encryption_key", "encryption_iv", "file_hashes"], "additionalProperties": false}, "dcOption": {"title": "dcOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["dcOption"]}, "ipv6": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "media_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "tcpo_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "cdn": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "static": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "this_port_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "ip_address": {"type": "string", "x-tl-type": "string"}, "port": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.10?bytes"}}, "required": ["_", "id", "ip_address", "port"], "additionalProperties": false}, "config": {"title": "config", "description": "Aktuelle Konfiguration", "externalDocs": {"url": "https://core.telegram.org/constructor/config"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["config"]}, "default_p2p_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Client standardmäßig P2P für Telefonanrufe mit Kontakten verwenden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "preload_featured_stickers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Kunde ausgewählte Aufkleber vorab laden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "revoke_pm_inbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob eingehende private Nachrichten für beide Teilnehmer gelöscht werden können", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "blocked_mode": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Zeigt an, dass Telegram *wahrscheinlich* von Regierungen/ISPs in der aktuellen Region zensiert wird", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "force_try_ipv6": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob eine Verbindung mit IPv6 erzwungen werden soll [dcOptions](https://core.telegram.org/type/DcOption.md), auch wenn der Client weiß, dass IPv4 verfügbar ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?true"}, "fpnv_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Aktuelles Datum auf dem Server", "x-telegram-field-docs": true}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ablaufdatum dieser Konfiguration: Wenn sie abläuft, muss sie mit [help.getConfig](https://core.telegram.org/method/help.getConfig.md)] erneut abgerufen werden.", "x-telegram-field-docs": true}, "test_mode": {"type": "boolean", "x-tl-type": "Bool", "description": "Ob wir mit den Test-DCs verbunden sind", "x-telegram-field-docs": true}, "this_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID des DC, der die Antwort zurückgegeben hat", "x-telegram-field-docs": true}, "dc_options": {"type": "array", "items": {"type": "object", "x-tl-type": "DcOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dcOption"]}}, "description": "Тип TL: DcOption."}, "x-tl-type": "Vector<DcOption>", "description": "DC-IP-Liste", "x-telegram-field-docs": true}, "dc_txt_domain_name": {"type": "string", "x-tl-type": "string", "description": "Domänenname zum Abrufen der verschlüsselten DC-Liste aus dem DNS TXT-Datensatz", "x-telegram-field-docs": true}, "chat_size_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximale Mitgliederzahl für normale [Gruppen](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true}, "megagroup_size_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximale Mitgliederzahl für [Supergruppen](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true}, "forwarded_count_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximale Anzahl von Nachrichten, die mit [messages.forwardMessages](https://core.telegram.org/method/messages.forwardMessages.md)] gleichzeitig weitergeleitet werden können.", "x-telegram-field-docs": true}, "online_update_period_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Der Client sollte [seinen Online-Status](https://core.telegram.org/method/account.updateStatus.md) alle N Millisekunden aktualisieren", "x-telegram-field-docs": true}, "offline_blur_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Verzögerung, bevor der Offline-Status an den Server gesendet werden muss", "x-telegram-field-docs": true}, "offline_idle_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Zeit ohne Benutzeraktivität, nach der es offline behandelt werden sollte", "x-telegram-field-docs": true}, "online_cloud_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn wir offline sind, aber in den letzten `online_cloud_timeout_ms` Millisekunden, nachdem wir offline gegangen sind, von einem anderen Client aus online waren, verzögern Sie die Offline-Benachrichtigung um `notify_cloud_delay_ms` Millisekunden.", "x-telegram-field-docs": true}, "notify_cloud_delay_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn wir offline, aber von einem anderen Client aus online sind, verzögern Sie das Senden der Offline-Benachrichtigung um `notify_cloud_delay_ms` Millisekunden.", "x-telegram-field-docs": true}, "notify_default_delay_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn ein anderer Client online ist, verzögern Sie die Benachrichtigung um `notification_default_delay_ms` Millisekunden", "x-telegram-field-docs": true}, "push_chat_period_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nicht für den Kundengebrauch", "x-telegram-field-docs": true}, "push_chat_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nicht für den Kundengebrauch", "x-telegram-field-docs": true}, "edit_time_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Es können nur Nachrichten bearbeitet werden, deren Alter (in Sekunden) kleiner ist als das in diesem Feld angegebene", "x-telegram-field-docs": true}, "revoke_time_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Es können nur Kanal-/Supergruppennachrichten gelöscht werden, deren Alter kleiner als das angegebene ist", "x-telegram-field-docs": true}, "revoke_pm_time_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Es können nur private Nachrichten gelöscht werden, deren Alter kleiner als das angegebene ist", "x-telegram-field-docs": true}, "rating_e_decay": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Exponentielle Abfallrate für die Datenverarbeitung [beste Peer-Bewertung](https://core.telegram.org/api/top-rating.md)", "x-telegram-field-docs": true}, "stickers_recent_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximale Anzahl aktueller Aufkleber", "x-telegram-field-docs": true}, "channels_read_media_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gibt an, dass runde Videos (Videonotizen) und Sprachnachrichten, die in Kanälen gesendet werden und älter als der angegebene Zeitraum sind, als gelesen markiert werden müssen", "x-telegram-field-docs": true}, "tmp_sessions": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der [parallelen Sitzungen](https://core.telegram.org/api/datacenter.md#parallel-sessions), die der Client zur Hauptverbindung seines Heimat-DC öffnen kann, um den Durchsatz zu erhöhen; bei Abwesenheit oder `≤ 1` muss eine einzelne Hauptsitzung verwendet werden", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "call_receive_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximal zulässige ausgehende Rufzeit bei VoIP-Anrufen: Wenn der von uns angerufene Benutzer nicht innerhalb der angegebenen Zeit (in Millisekunden) antwortet, sollten wir den Anruf auflegen", "x-telegram-field-docs": true}, "call_ring_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximal zulässige eingehende Rufzeit bei VoIP-Anrufen: Wenn der aktuelle Benutzer nicht innerhalb der angegebenen Zeit (in Millisekunden) antwortet, wird der Anruf automatisch abgelehnt", "x-telegram-field-docs": true}, "call_connect_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "VoIP-Verbindungs-Timeout: Wenn die Instanz von libtgvoip auf der anderen Seite des Anrufs nicht innerhalb der angegebenen Zeit (in Millisekunden) eine Verbindung zu unserer Instanz von libtgvoip herstellt, muss der Anruf abgebrochen werden", "x-telegram-field-docs": true}, "call_packet_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn während eines VoIP-Anrufs innerhalb der angegebenen Zeitspanne kein Paket empfangen wird, muss der Anruf abgebrochen werden", "x-telegram-field-docs": true}, "me_url_prefix": {"type": "string", "x-tl-type": "string", "description": "Die zum Parsen von [Deep-Links »](https://core.telegram.org/api/links.md)] zu verwendende Domäne.", "x-telegram-field-docs": true}, "autoupdate_url_prefix": {"type": "string", "x-tl-type": "string", "description": "URL zum automatischen Aktualisieren der aktuellen App", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?string"}, "gif_search_username": {"type": "string", "x-tl-type": "string", "description": "Benutzername des Bots, der für die Suche nach GIFs verwendet werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?string"}, "venue_search_username": {"type": "string", "x-tl-type": "string", "description": "Benutzername des Bots, der für die Suche nach Veranstaltungsorten verwendet werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?string"}, "img_search_username": {"type": "string", "x-tl-type": "string", "description": "Benutzername des Bots, der für die Bildsuche verwendet werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?string"}, "static_maps_provider": {"type": "string", "x-tl-type": "string", "description": "ID des Kartenanbieters, der für Veranstaltungsorte verwendet werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?string"}, "caption_length_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum length of caption (length in utf8 codepoints)", "x-telegram-field-docs": true}, "message_length_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximum length of messages (length in utf8 codepoints)", "x-telegram-field-docs": true}, "webfile_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "DC-ID zum Herunterladen von [Webdateien](https://core.telegram.org/api/files.md#downloading-webfiles)", "x-telegram-field-docs": true}, "suggested_lang_code": {"type": "string", "x-tl-type": "string", "description": "Vorgeschlagener Sprachcode", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "lang_pack_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Sprachpaketversion", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "base_lang_pack_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Grundlegende Sprachpaketversion", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "reactions_default": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "Standard [Nachrichtenreaktion](https://core.telegram.org/api/reactions.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?Reaction"}, "autologin_token": {"type": "string", "x-tl-type": "string", "description": "Autologin-Token, [klicken Sie hier für weitere Informationen zur URL Autorisierung »](https://core.telegram.org/api/url-authorization.md#link-url-authorization).", "x-telegram-field-docs": true, "x-tl-flag": "flags.16?string"}}, "required": ["_", "date", "expires", "test_mode", "this_dc", "dc_options", "dc_txt_domain_name", "chat_size_max", "megagroup_size_max", "forwarded_count_max", "online_update_period_ms", "offline_blur_timeout_ms", "offline_idle_timeout_ms", "online_cloud_timeout_ms", "notify_cloud_delay_ms", "notify_default_delay_ms", "push_chat_period_ms", "push_chat_limit", "edit_time_limit", "revoke_time_limit", "revoke_pm_time_limit", "rating_e_decay", "stickers_recent_limit", "channels_read_media_period", "call_receive_timeout_ms", "call_ring_timeout_ms", "call_connect_timeout_ms", "call_packet_timeout_ms", "me_url_prefix", "caption_length_max", "message_length_max", "webfile_dc_id"], "additionalProperties": false}, "nearestDc": {"title": "nearestDc", "description": "Nächstgelegenes Rechenzentrum laut Geo-IP.", "externalDocs": {"url": "https://core.telegram.org/constructor/nearestDc"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["nearestDc"]}, "country": {"type": "string", "x-tl-type": "string", "description": "Durch Geo-IP ermittelter Ländercode", "x-telegram-field-docs": true}, "this_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nummer des aktuellen Rechenzentrums", "x-telegram-field-docs": true}, "nearest_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nummer des nächstgelegenen Rechenzentrums", "x-telegram-field-docs": true}}, "required": ["_", "country", "this_dc", "nearest_dc"], "additionalProperties": false}, "help.appUpdate": {"title": "help.appUpdate", "description": "Für die Anwendung ist ein Update verfügbar.", "externalDocs": {"url": "https://core.telegram.org/constructor/help.appUpdate"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.appUpdate"]}, "can_not_skip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Nicht überspringbar, die neuen Informationen müssen dem Benutzer angezeigt werden (mit einem Popup oder etwas anderem)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID aktualisieren", "x-telegram-field-docs": true}, "version": {"type": "string", "x-tl-type": "string", "description": "Neuer Versionsname", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Textbeschreibung des Updates", "x-telegram-field-docs": true}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Anwendungsbinärdatei", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Document"}, "url": {"type": "string", "x-tl-type": "string", "description": "Anwendungsdownload URL", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "sticker": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Zugehöriger Aufkleber", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Document"}}, "required": ["_", "id", "version", "text", "entities"], "additionalProperties": false}, "help.noAppUpdate": {"title": "help.noAppUpdate", "description": "Für die Anwendung sind keine Updates verfügbar.", "externalDocs": {"url": "https://core.telegram.org/constructor/help.noAppUpdate"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.noAppUpdate"]}}, "required": ["_"], "additionalProperties": false}, "help.inviteText": {"title": "help.inviteText", "description": "Text einer Textnachricht mit einer Einladung zur Installation von Telegram.", "externalDocs": {"url": "https://core.telegram.org/constructor/help.inviteText"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.inviteText"]}, "message": {"type": "string", "x-tl-type": "string", "description": "Text der Nachricht", "x-telegram-field-docs": true}}, "required": ["_", "message"], "additionalProperties": false}, "encryptedChatEmpty": {"title": "encryptedChatEmpty", "description": "Leerer Konstruktor.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedChatEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedChatEmpty"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Chat-ID", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "encryptedChatWaiting": {"title": "encryptedChatWaiting", "description": "Chat wartet auf Genehmigung des zweiten Teilnehmers.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedChatWaiting"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedChatWaiting"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Chat-ID", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Prüfsumme je nach Benutzer-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum der Chat-Erstellung", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Chat-Ersteller-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des zweiten Chat-Teilnehmers", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id"], "additionalProperties": false}, "encryptedChatRequested": {"title": "encryptedChatRequested", "description": "Anfrage zum Erstellen eines verschlüsselten Chats.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedChatRequested"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedChatRequested"]}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Chat-ID", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Prüfsumme je nach Benutzer-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum der Chat-Erstellung", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Chat-Ersteller-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des zweiten Chat-Teilnehmers", "x-tl-type": "long", "x-telegram-field-docs": true}, "g_a": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`A = g ^ a mod p`, siehe [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "g_a"], "additionalProperties": false}, "encryptedChat": {"title": "encryptedChat", "description": "Verschlüsselter Chat", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedChat"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Chat-ID", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Prüfsumme abhängig von der Benutzer-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum, an dem der Chat erstellt wurde", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Chat-Ersteller-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des zweiten Chat-Teilnehmers", "x-tl-type": "long", "x-telegram-field-docs": true}, "g_a_or_b": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`B = g ^ b mod p`, wenn der aktuell autorisierte Benutzer der Ersteller des Chats ist, oder `A = g ^ a mod p` andernfalls Weitere Informationen finden Sie unter [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "64-Bit-Fingerabdruck des empfangenen Schlüssels", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "g_a_or_b", "key_fingerprint"], "additionalProperties": false}, "encryptedChatDiscarded": {"title": "encryptedChatDiscarded", "description": "Verworfener oder gelöschter Chat.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedChatDiscarded"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedChatDiscarded"]}, "history_deleted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob beide Benutzer dieses geheimen Chats auch alle seine Nachrichten entfernen sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Chat-ID", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputEncryptedChat": {"title": "inputEncryptedChat", "description": "Ein [e2e-verschlüsselter Chat](https://core.telegram.org/api/end-to-end.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedChat"]}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Chat-ID", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffshash von [encryptedChat](https://core.telegram.org/constructor/encryptedChat.md), [encryptedChatWaiting](https://core.telegram.org/constructor/encryptedChatWaiting.md) oder [encryptedChatRequested](https://core.telegram.org/constructor/encryptedChatRequested.md)]", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "chat_id", "access_hash"], "additionalProperties": false}, "encryptedFileEmpty": {"title": "encryptedFileEmpty", "description": "Leerer Konstruktor, nicht vorhandene Datei.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedFileEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedFileEmpty"]}}, "required": ["_"], "additionalProperties": false}, "encryptedFile": {"title": "encryptedFile", "description": "Verschlüsselte Datei.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Datei-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Prüfsumme je nach Benutzer-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "Dateigröße in Bytes", "x-tl-type": "long", "x-telegram-field-docs": true}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Rechenzentren", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "32-Bit-Fingerabdruck des für die Dateiverschlüsselung verwendeten Schlüssels", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "size", "dc_id", "key_fingerprint"], "additionalProperties": false}, "inputEncryptedFileEmpty": {"title": "inputEncryptedFileEmpty", "description": "Leerer Konstruktor.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputEncryptedFileUploaded": {"title": "inputEncryptedFileUploaded", "description": "Legt eine neue verschlüsselte Datei fest, die nach Teilen mit der Methode upload.saveFilePart gespeichert wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileUploaded"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileUploaded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Zufällige Datei-ID, die vom Client erstellt wurde", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der gespeicherten Teile", "x-telegram-field-docs": true}, "md5_checksum": {"type": "string", "x-tl-type": "string", "description": "Falls [md5-HASH](https://en.wikipedia.org/wiki/MD5) der (bereits verschlüsselten) Datei übertragen wurde, wird der Dateiinhalt vor der Verwendung überprüft", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "32-Bit-Fingerabdruck des Schlüssels, der zum Verschlüsseln einer Datei verwendet wird", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "md5_checksum", "key_fingerprint"], "additionalProperties": false}, "inputEncryptedFile": {"title": "inputEncryptedFile", "description": "Legt die weitergeleitete verschlüsselte Datei für den Anhang fest.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Datei-ID, Wert des Parameters **id** aus [encryptedFile](https://core.telegram.org/constructor/encryptedFile.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Prüfsumme, Wert des Parameters **access_hash** aus [encryptedFile](https://core.telegram.org/constructor/encryptedFile.md)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputEncryptedFileBigUploaded": {"title": "inputEncryptedFileBigUploaded", "description": "Weist eine neue große verschlüsselte Datei (über 10 MB groß) zu, die in Teilen mit der Methode [upload.saveBigFilePart](https://core.telegram.org/method/upload.saveBigFilePart.md)] gespeichert wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileBigUploaded"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileBigUploaded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Zufällige Datei-ID, vom Client erstellt", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der gespeicherten Teile", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "32-Bit-Abdruck des Schlüssels, der zum Verschlüsseln der Datei verwendet wird", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "key_fingerprint"], "additionalProperties": false}, "encryptedMessage": {"title": "encryptedMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedMessage"]}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "file": {"type": "object", "x-tl-type": "EncryptedFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedFileEmpty", "encryptedFile"]}}, "description": "TL Type: EncryptedFile."}}, "required": ["_", "random_id", "chat_id", "date", "bytes", "file"], "additionalProperties": false}, "encryptedMessageService": {"title": "encryptedMessageService", "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedMessageService"]}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "random_id", "chat_id", "date", "bytes"], "additionalProperties": false}, "messages.dhConfigNotModified": {"title": "messages.dhConfigNotModified", "description": "Die Konfigurationsparameter haben sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.dhConfigNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.dhConfigNotModified"]}, "random": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Zufällige Folge von Bytes zugewiesener Länge", "x-telegram-field-docs": true}}, "required": ["_", "random"], "additionalProperties": false}, "messages.dhConfig": {"title": "messages.dhConfig", "description": "Neuer Satz Konfigurationsparameter.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.dhConfig"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.dhConfig"]}, "g": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Neuer Wert **primitive Wurzel**, siehe [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)", "x-telegram-field-docs": true}, "p": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Neuer Wert **primär**, siehe [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Version des Parametersatzes", "x-telegram-field-docs": true}, "random": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Zufällige Folge von Bytes zugewiesener Länge", "x-telegram-field-docs": true}}, "required": ["_", "g", "p", "version", "random"], "additionalProperties": false}, "messages.sentEncryptedMessage": {"title": "messages.sentEncryptedMessage", "description": "Nachricht ohne Dateianhänge, die an eine verschlüsselte Datei gesendet wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.sentEncryptedMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.sentEncryptedMessage"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum des Versands", "x-telegram-field-docs": true}}, "required": ["_", "date"], "additionalProperties": false}, "messages.sentEncryptedFile": {"title": "messages.sentEncryptedFile", "description": "Nachricht mit Dateianhang an einen geschützten Chat gesendet", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.sentEncryptedFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.sentEncryptedFile"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Sendedatum", "x-telegram-field-docs": true}, "file": {"type": "object", "x-tl-type": "EncryptedFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedFileEmpty", "encryptedFile"]}}, "description": "Angehängte Datei", "x-telegram-field-docs": true}}, "required": ["_", "date", "file"], "additionalProperties": false}, "inputDocumentEmpty": {"title": "inputDocumentEmpty", "description": "Leerer Konstruktor.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDocumentEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputDocument": {"title": "inputDocument", "description": "Definiert ein Dokument für die nachfolgende Interaktion.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDocument"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Dokument-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** Parameter aus dem [document](https://core.telegram.org/constructor/document.md)-Konstruktor", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Aktenzeichen](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference"], "additionalProperties": false}, "documentEmpty": {"title": "documentEmpty", "description": "Leerer Konstruktor, Dokument existiert nicht.", "externalDocs": {"url": "https://core.telegram.org/constructor/documentEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["documentEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Dokumenten-ID oder `0`", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "document": {"title": "document", "description": "Dokument", "externalDocs": {"url": "https://core.telegram.org/constructor/document"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["document"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Dokument-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Prüfsumme, abhängig von der Dokument-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Aktenzeichen](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Erstellungsdatum", "x-telegram-field-docs": true}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME Typ", "x-telegram-field-docs": true}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "Größe", "x-tl-type": "long", "x-telegram-field-docs": true}, "thumbs": {"type": "array", "items": {"type": "object", "x-tl-type": "PhotoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]}}, "description": "Тип TL: PhotoSize."}, "x-tl-type": "Vector<PhotoSize>", "description": "Miniaturansichten", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<PhotoSize>"}, "video_thumbs": {"type": "array", "items": {"type": "object", "x-tl-type": "VideoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["videoSize", "videoSizeEmojiMarkup", "videoSizeStickerMarkup"]}}, "description": "Тип TL: VideoSize."}, "x-tl-type": "Vector<VideoSize>", "description": "Video-Thumbnails", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<VideoSize>"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "DC-ID", "x-telegram-field-docs": true}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "DocumentAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize", "documentAttributeAnimated", "documentAttributeSticker", "documentAttributeVideo", "documentAttributeAudio", "documentAttributeFilename", "documentAttributeHasStickers", "documentAttributeCustomEmoji"]}}, "description": "Тип TL: DocumentAttribute."}, "x-tl-type": "Vector<DocumentAttribute>", "description": "Attribute", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "date", "mime_type", "size", "dc_id", "attributes"], "additionalProperties": false}, "help.support": {"title": "help.support", "description": "Informationen zum Support-Benutzer.", "externalDocs": {"url": "https://core.telegram.org/constructor/help.support"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.support"]}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer", "x-telegram-field-docs": true}, "user": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "user"], "additionalProperties": false}, "notifyPeer": {"title": "notifyPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyPeer"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}}, "required": ["_", "peer"], "additionalProperties": false}, "notifyUsers": {"title": "notifyUsers", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyUsers"]}}, "required": ["_"], "additionalProperties": false}, "notifyChats": {"title": "notifyChats", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyChats"]}}, "required": ["_"], "additionalProperties": false}, "notifyBroadcasts": {"title": "notifyBroadcasts", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyBroadcasts"]}}, "required": ["_"], "additionalProperties": false}, "notifyForumTopic": {"title": "notifyForumTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyForumTopic"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "top_msg_id"], "additionalProperties": false}, "notifyCommunity": {"title": "notifyCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyCommunity"]}, "community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "community_id"], "additionalProperties": false}, "sendMessageTypingAction": {"title": "sendMessageTypingAction", "description": "Der Benutzer tippt.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageTypingAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageTypingAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageCancelAction": {"title": "sendMessageCancelAction", "description": "Alle vorherigen Aktionsaktualisierungen ungültig machen. E.g. wenn der Benutzer eingegebenen Text löscht oder einen Video-Upload abbricht.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageCancelAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageCancelAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageRecordVideoAction": {"title": "sendMessageRecordVideoAction", "description": "Der Benutzer nimmt ein Video auf.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageRecordVideoAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageRecordVideoAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageUploadVideoAction": {"title": "sendMessageUploadVideoAction", "description": "Der Benutzer lädt ein Video hoch.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageUploadVideoAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageUploadVideoAction"]}, "progress": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fortschrittsprozentsatz", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageRecordAudioAction": {"title": "sendMessageRecordAudioAction", "description": "Der Benutzer zeichnet eine Sprachnachricht auf.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageRecordAudioAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageRecordAudioAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageUploadAudioAction": {"title": "sendMessageUploadAudioAction", "description": "Der Benutzer lädt eine Sprachnachricht hoch.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageUploadAudioAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageUploadAudioAction"]}, "progress": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fortschrittsprozentsatz", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageUploadPhotoAction": {"title": "sendMessageUploadPhotoAction", "description": "Der Benutzer lädt ein Foto hoch.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageUploadPhotoAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageUploadPhotoAction"]}, "progress": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fortschrittsprozentsatz", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageUploadDocumentAction": {"title": "sendMessageUploadDocumentAction", "description": "Der Benutzer lädt eine Datei hoch.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageUploadDocumentAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageUploadDocumentAction"]}, "progress": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fortschrittsprozentsatz", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageGeoLocationAction": {"title": "sendMessageGeoLocationAction", "description": "Der Benutzer wählt einen Standort zum Teilen aus.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageGeoLocationAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageGeoLocationAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageChooseContactAction": {"title": "sendMessageChooseContactAction", "description": "Der Benutzer wählt einen Kontakt zum Teilen aus.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageChooseContactAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageChooseContactAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageGamePlayAction": {"title": "sendMessageGamePlayAction", "description": "Der Benutzer spielt ein Spiel", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageGamePlayAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageGamePlayAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageRecordRoundAction": {"title": "sendMessageRecordRoundAction", "description": "Der Benutzer nimmt ein rundes Video auf, um es zu teilen\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageRecordRoundAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageRecordRoundAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageUploadRoundAction": {"title": "sendMessageUploadRoundAction", "description": "Der Benutzer lädt ein rundes Video hoch\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageUploadRoundAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageUploadRoundAction"]}, "progress": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fortschrittsprozentsatz", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "speakingInGroupCallAction": {"title": "speakingInGroupCallAction", "description": "Der Benutzer spricht gerade im Gruppenanruf", "externalDocs": {"url": "https://core.telegram.org/constructor/speakingInGroupCallAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["speakingInGroupCallAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageHistoryImportAction": {"title": "sendMessageHistoryImportAction", "description": "Der Chatverlauf wird importiert", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageHistoryImportAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageHistoryImportAction"]}, "progress": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fortschrittsprozentsatz", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageChooseStickerAction": {"title": "sendMessageChooseStickerAction", "description": "Der Benutzer wählt einen Aufkleber aus", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageChooseStickerAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageChooseStickerAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageEmojiInteraction": {"title": "sendMessageEmojiInteraction", "description": "Der Benutzer hat auf ein animiertes Emoji geklickt, was eine [Reaktion auslöste, klicken Sie hier für weitere Informationen »](https://core.telegram.org/api/animated-emojis.md#emoji-reactions).", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageEmojiInteraction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageEmojiInteraction"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID des animierten Emojis, auf das geklickt wurde", "x-telegram-field-docs": true}, "interaction": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Ein JSON-Objekt mit Interaktionsinformationen, [klicken Sie hier für weitere Informationen »](https://core.telegram.org/api/animated-emojis.md#emoji-reactions)", "x-telegram-field-docs": true}}, "required": ["_", "emoticon", "msg_id", "interaction"], "additionalProperties": false}, "sendMessageEmojiInteractionSeen": {"title": "sendMessageEmojiInteractionSeen", "description": "Der Benutzer sieht sich eine animierte Emoji-Reaktion an, die von einem anderen Benutzer ausgelöst wurde. [Klicken Sie hier für weitere Informationen »](https://core.telegram.org/api/animated-emojis.md#emoji-reactions).", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageEmojiInteractionSeen"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageEmojiInteractionSeen"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "sendMessageTextDraftAction": {"title": "sendMessageTextDraftAction", "description": "Wird von Bots zur Implementierung von [Live-Nachrichten-Streaming »](https://core.telegram.org/api/bots/ai.md#live-response-streaming)] verwendet.", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageTextDraftAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageTextDraftAction"]}, "can_stop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "keep_on_stop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Live-Entwurfs-ID: Wird von grafischen Clients verwendet, um das Rendering-Verhalten leicht zu ändern. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/bots/ai.md#live-response-streaming). Weitere Informationen zur zufälligen ID-Deduplizierung und updateMessageID-Zuordnung finden Sie hier »](https://core.telegram.org/api/updates.md#updatemessageid-updates).", "x-tl-type": "long", "x-telegram-field-docs": true}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Der Inhalt des Live-Entwurfs.", "x-telegram-field-docs": true}}, "required": ["_", "random_id", "text"], "additionalProperties": false}, "inputSendMessageRichMessageDraftAction": {"title": "inputSendMessageRichMessageDraftAction", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSendMessageRichMessageDraftAction"]}, "can_stop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "keep_on_stop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputRichMessage", "inputRichMessageHTML", "inputRichMessageMarkdown"]}}, "description": "Тип TL: InputRichMessage."}}, "required": ["_", "random_id", "rich_message"], "additionalProperties": false}, "sendMessageRichMessageDraftAction": {"title": "sendMessageRichMessageDraftAction", "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageRichMessageDraftAction"]}, "can_stop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "keep_on_stop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "rich_message": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage."}}, "required": ["_", "random_id", "rich_message"], "additionalProperties": false}, "sendMessageStopDraftAction": {"title": "sendMessageStopDraftAction", "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageStopDraftAction"]}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "random_id"], "additionalProperties": false}, "contacts.found": {"title": "contacts.found", "description": "Benutzer werden nach Namen, Teilzeichenfolge und Hilfsdaten gefunden.", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.found"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.found"]}, "my_results": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "description": "Personalisierte Ergebnisse", "x-telegram-field-docs": true}, "results": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "description": "Liste der gefundenen Benutzerkennungen", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats gefunden", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Liste der Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "my_results", "results", "chats", "users"], "additionalProperties": false}, "inputPrivacyKeyStatusTimestamp": {"title": "inputPrivacyKeyStatusTimestamp", "description": "Ob die Leute unseren genauen letzten Online-Zeitstempel sehen können.\n\nBeachten Sie Folgendes: Wenn *wir* beschließen, unseren genauen letzten Online-Zeitstempel für jemanden (i.e., Benutzer A, B, C oder alle Benutzer) zu verbergen **und** wir kein [Premium](https://core.telegram.org/api/premium.md)-Abonnement haben), können wir den genauen letzten Online-Zeitstempel dieser Benutzer (A, B, C oder alle Benutzer) nicht sehen, selbst wenn diese Benutzer ihn mit uns teilen.\n\nWenn diese Benutzer uns ihren genauen Online-Status mitteilen, wir ihn aber aus dem oben genannten Grund nicht sehen können, wird das `by_me`-Flag von [userStatusRecently](https://core.telegram.org/constructor/userStatusRecently.md), [userStatusLastWeek](https://core.telegram.org/constructor/userStatusLastWeek.md), [userStatusLastMonth](https://core.telegram.org/constructor/userStatusLastMonth.md)] gesetzt.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyStatusTimestamp"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyStatusTimestamp"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyChatInvite": {"title": "inputPrivacyKeyChatInvite", "description": "Ob die Leute Sie zu Chats einladen können", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyChatInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyChatInvite"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyPhoneCall": {"title": "inputPrivacyKeyPhoneCall", "description": "Ob Sie Telefonanrufe annehmen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyPhoneCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyPhoneCall"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyPhoneP2P": {"title": "inputPrivacyKeyPhoneP2P", "description": "Ob P2P-Kommunikation während VoIP-Anrufen zugelassen werden soll", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyPhoneP2P"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyPhoneP2P"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyForwards": {"title": "inputPrivacyKeyForwards", "description": "Ob von Ihnen weitergeleitete Nachrichten [anonym](https://telegram.org/blog/unsend-privacy-emoji#anonymous-forwarding)] sind", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyForwards"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyForwards"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyProfilePhoto": {"title": "inputPrivacyKeyProfilePhoto", "description": "Ob andere Ihr Profilbild sehen können", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyProfilePhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyProfilePhoto"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyPhoneNumber": {"title": "inputPrivacyKeyPhoneNumber", "description": "Ob andere Ihre Telefonnummer sehen können", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyPhoneNumber"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyPhoneNumber"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyAddedByPhone": {"title": "inputPrivacyKeyAddedByPhone", "description": "Ob Personen Sie anhand Ihrer Telefonnummer zu ihrer Kontaktliste hinzufügen können", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyAddedByPhone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyAddedByPhone"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyVoiceMessages": {"title": "inputPrivacyKeyVoiceMessages", "description": "Ob Personen Ihnen Sprachnachrichten oder Rundenvideos senden können ([nur Premium](https://core.telegram.org/api/premium.md)-Benutzer]).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyVoiceMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyVoiceMessages"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyAbout": {"title": "inputPrivacyKeyAbout", "description": "Ob die Leute Ihre Biografie sehen können", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyAbout"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyAbout"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyBirthday": {"title": "inputPrivacyKeyBirthday", "description": "Ob der Benutzer unseren Geburtstag sehen kann.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyBirthday"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyBirthday"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyStarGiftsAutoSave": {"title": "inputPrivacyKeyStarGiftsAutoSave", "description": "Ob [Geschenke](https://core.telegram.org/api/gifts.md)] eingegangen sind, wird automatisch in unserem Profil angezeigt", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyStarGiftsAutoSave"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyStarGiftsAutoSave"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyNoPaidMessages": {"title": "inputPrivacyKeyNoPaidMessages", "description": "Wer kann Ihnen Nachrichten ohne Bezahlung senden, wenn [kostenpflichtige Nachrichten »](https://core.telegram.org/api/paid-messages.md)] aktiviert sind?", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyNoPaidMessages"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeySavedMusic": {"title": "inputPrivacyKeySavedMusic", "description": "Ob der Benutzer die [Lieder, die wir an unser Profil gepinnt haben »](https://core.telegram.org/api/profile.md#music) sehen kann.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeySavedMusic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeySavedMusic"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyStatusTimestamp": {"title": "privacyKeyStatusTimestamp", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyStatusTimestamp"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyChatInvite": {"title": "privacyKeyChatInvite", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyChatInvite"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyPhoneCall": {"title": "privacyKeyPhoneCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyPhoneCall"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyPhoneP2P": {"title": "privacyKeyPhoneP2P", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyPhoneP2P"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyForwards": {"title": "privacyKeyForwards", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyForwards"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyProfilePhoto": {"title": "privacyKeyProfilePhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyProfilePhoto"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyPhoneNumber": {"title": "privacyKeyPhoneNumber", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyPhoneNumber"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyAddedByPhone": {"title": "privacyKeyAddedByPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyAddedByPhone"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyVoiceMessages": {"title": "privacyKeyVoiceMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyVoiceMessages"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyAbout": {"title": "privacyKeyAbout", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyAbout"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyBirthday": {"title": "privacyKeyBirthday", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyBirthday"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyStarGiftsAutoSave": {"title": "privacyKeyStarGiftsAutoSave", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyStarGiftsAutoSave"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyNoPaidMessages": {"title": "privacyKeyNoPaidMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyNoPaidMessages"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeySavedMusic": {"title": "privacyKeySavedMusic", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeySavedMusic"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowContacts": {"title": "inputPrivacyValueAllowContacts", "description": "Nur Kontakte zulassen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowContacts"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowAll": {"title": "inputPrivacyValueAllowAll", "description": "Alle Benutzer zulassen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowAll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowAll"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowUsers": {"title": "inputPrivacyValueAllowUsers", "description": "Nur bestimmte Benutzer zulassen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowUsers"]}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Zugelassene Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "inputPrivacyValueDisallowContacts": {"title": "inputPrivacyValueDisallowContacts", "description": "Nur Kontakte verbieten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowContacts"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueDisallowAll": {"title": "inputPrivacyValueDisallowAll", "description": "Alles verbieten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowAll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowAll"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueDisallowUsers": {"title": "inputPrivacyValueDisallowUsers", "description": "Nur bestimmte Benutzer verbieten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowUsers"]}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Benutzer können dies nicht zulassen", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "inputPrivacyValueAllowChatParticipants": {"title": "inputPrivacyValueAllowChatParticipants", "description": "Nur Teilnehmer bestimmter Chats zulassen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowChatParticipants"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowChatParticipants"]}, "chats": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Zulässige Chat-IDs (entweder eine [Chat](https://core.telegram.org/constructor/chat.md)- oder eine [Supergroup](https://core.telegram.org/constructor/channel.md)-ID, wörtlich so, wie sie im Konstruktor empfangen wird (i.e. Im Gegensatz zu Bot-API-IDs sollten hier Gruppen- und Supergruppen-IDs auf die gleiche Weise behandelt werden)).", "x-telegram-field-docs": true}}, "required": ["_", "chats"], "additionalProperties": false}, "inputPrivacyValueDisallowChatParticipants": {"title": "inputPrivacyValueDisallowChatParticipants", "description": "Nur Teilnehmer bestimmter Chats verbieten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowChatParticipants"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowChatParticipants"]}, "chats": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Unzulässige Chat-IDs (entweder eine [Chat](https://core.telegram.org/constructor/chat.md)- oder eine [Supergroup](https://core.telegram.org/constructor/channel.md)-ID, wörtlich so, wie sie im Konstruktor empfangen wird (i.e. Im Gegensatz zu Bot-API-IDs sollten hier Gruppen- und Supergruppen-IDs auf die gleiche Weise behandelt werden)).", "x-telegram-field-docs": true}}, "required": ["_", "chats"], "additionalProperties": false}, "inputPrivacyValueAllowCloseFriends": {"title": "inputPrivacyValueAllowCloseFriends", "description": "Nur [enge Freunde »](https://core.telegram.org/api/privacy.md) zulassen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowCloseFriends"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowCloseFriends"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowPremium": {"title": "inputPrivacyValueAllowPremium", "description": "Nur Benutzer mit einem [Premium-Abonnement »](https://core.telegram.org/api/premium.md) zulassen, derzeit nur nutzbar für [inputPrivacyKeyChatInvite](https://core.telegram.org/constructor/inputPrivacyKeyChatInvite.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowPremium"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowPremium"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowBots": {"title": "inputPrivacyValueAllowBots", "description": "Bots und Mini-Apps zulassen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowBots"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueDisallowBots": {"title": "inputPrivacyValueDisallowBots", "description": "Bots und Mini-Apps nicht zulassen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowBots"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowContacts": {"title": "privacyValueAllowContacts", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowContacts"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowAll": {"title": "privacyValueAllowAll", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowAll"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowUsers": {"title": "privacyValueAllowUsers", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowUsers"]}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "users"], "additionalProperties": false}, "privacyValueDisallowContacts": {"title": "privacyValueDisallowContacts", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowContacts"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueDisallowAll": {"title": "privacyValueDisallowAll", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowAll"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueDisallowUsers": {"title": "privacyValueDisallowUsers", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowUsers"]}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "users"], "additionalProperties": false}, "privacyValueAllowChatParticipants": {"title": "privacyValueAllowChatParticipants", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowChatParticipants"]}, "chats": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "chats"], "additionalProperties": false}, "privacyValueDisallowChatParticipants": {"title": "privacyValueDisallowChatParticipants", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowChatParticipants"]}, "chats": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "chats"], "additionalProperties": false}, "privacyValueAllowCloseFriends": {"title": "privacyValueAllowCloseFriends", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowCloseFriends"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowPremium": {"title": "privacyValueAllowPremium", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowPremium"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowBots": {"title": "privacyValueAllowBots", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowBots"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueDisallowBots": {"title": "privacyValueDisallowBots", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowBots"]}}, "required": ["_"], "additionalProperties": false}, "account.privacyRules": {"title": "account.privacyRules", "description": "Datenschutzregeln", "externalDocs": {"url": "https://core.telegram.org/constructor/account.privacyRules"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.privacyRules"]}, "rules": {"type": "array", "items": {"type": "object", "x-tl-type": "PrivacyRule", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["privacyValueAllowContacts", "privacyValueAllowAll", "privacyValueAllowUsers", "privacyValueDisallowContacts", "privacyValueDisallowAll", "privacyValueDisallowUsers", "privacyValueAllowChatParticipants", "privacyValueDisallowChatParticipants", "privacyValueAllowCloseFriends", "privacyValueAllowPremium", "privacyValueAllowBots", "privacyValueDisallowBots"]}}, "description": "Тип TL: PrivacyRule."}, "x-tl-type": "Vector<PrivacyRule>", "description": "Datenschutzregeln", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats, für die die Regeln gelten", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer, für die die Regeln gelten", "x-telegram-field-docs": true}}, "required": ["_", "rules", "chats", "users"], "additionalProperties": false}, "accountDaysTTL": {"title": "accountDaysTTL", "description": "Lebenszeit in Tagen des Girokontos", "externalDocs": {"url": "https://core.telegram.org/constructor/accountDaysTTL"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["accountDaysTTL"]}, "days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dieses Konto wird sich innerhalb der angegebenen Anzahl von Tagen selbst zerstören", "x-telegram-field-docs": true}}, "required": ["_", "days"], "additionalProperties": false}, "documentAttributeImageSize": {"title": "documentAttributeImageSize", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize"]}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "w", "h"], "additionalProperties": false}, "documentAttributeAnimated": {"title": "documentAttributeAnimated", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeAnimated"]}}, "required": ["_"], "additionalProperties": false}, "documentAttributeSticker": {"title": "documentAttributeSticker", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeSticker"]}, "mask": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "alt": {"type": "string", "x-tl-type": "string"}, "stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "TL Type: InputStickerSet."}, "mask_coords": {"type": "object", "x-tl-type": "MaskCoords", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["maskCoords"]}}, "description": "Тип TL: MaskCoords.", "x-tl-flag": "flags.0?MaskCoords"}}, "required": ["_", "alt", "stickerset"], "additionalProperties": false}, "documentAttributeVideo": {"title": "documentAttributeVideo", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeVideo"]}, "round_message": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "supports_streaming": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "nosound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "duration": {"type": "number", "format": "double", "x-tl-type": "double"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "preload_prefix_size": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "x-tl-flag": "flags.4?double"}, "video_codec": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string"}}, "required": ["_", "duration", "w", "h"], "additionalProperties": false}, "documentAttributeAudio": {"title": "documentAttributeAudio", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeAudio"]}, "voice": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "performer": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "waveform": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.2?bytes"}}, "required": ["_", "duration"], "additionalProperties": false}, "documentAttributeFilename": {"title": "documentAttributeFilename", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeFilename"]}, "file_name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "file_name"], "additionalProperties": false}, "documentAttributeHasStickers": {"title": "documentAttributeHasStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeHasStickers"]}}, "required": ["_"], "additionalProperties": false}, "documentAttributeCustomEmoji": {"title": "documentAttributeCustomEmoji", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeCustomEmoji"]}, "free": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "text_color": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "alt": {"type": "string", "x-tl-type": "string"}, "stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "TL Type: InputStickerSet."}}, "required": ["_", "alt", "stickerset"], "additionalProperties": false}, "messages.stickersNotModified": {"title": "messages.stickersNotModified", "description": "Für die angegebene Suchanfrage wurden keine neuen Aufkleber gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickersNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickersNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.stickers": {"title": "messages.stickers", "description": "Aufkleber gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Aufkleber", "x-telegram-field-docs": true}}, "required": ["_", "hash", "stickers"], "additionalProperties": false}, "stickerPack": {"title": "stickerPack", "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerPack"]}, "emoticon": {"type": "string", "x-tl-type": "string"}, "documents": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "emoticon", "documents"], "additionalProperties": false}, "messages.allStickersNotModified": {"title": "messages.allStickersNotModified", "description": "Die Informationen zu allen installierten Aufklebern haben sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.allStickersNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.allStickersNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.allStickers": {"title": "messages.allStickers", "description": "Infos zu allen installierten Aufklebern", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.allStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.allStickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "sets": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSet"]}}, "description": "Тип TL: StickerSet."}, "x-tl-type": "Vector<StickerSet>", "description": "Alle Stickersets", "x-telegram-field-docs": true}}, "required": ["_", "hash", "sets"], "additionalProperties": false}, "messages.affectedMessages": {"title": "messages.affectedMessages", "description": "Vom Betrieb betroffene Ereignisse", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.affectedMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.affectedMessages"]}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Ereignisanzahl nach Generierung](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Anzahl der generierten Ereignisse](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}}, "required": ["_", "pts", "pts_count"], "additionalProperties": false}, "webPageEmpty": {"title": "webPageEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "id"], "additionalProperties": false}, "webPagePending": {"title": "webPagePending", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPagePending"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "date"], "additionalProperties": false}, "webPage": {"title": "webPage", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPage"]}, "has_large_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "video_cover_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "url": {"type": "string", "x-tl-type": "string"}, "display_url": {"type": "string", "x-tl-type": "string"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "type": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "site_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.4?Photo"}, "embed_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string"}, "embed_type": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string"}, "embed_width": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.6?int"}, "embed_height": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.6?int"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.7?int"}, "author": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.8?string"}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags.9?Document"}, "cached_page": {"type": "object", "x-tl-type": "Page", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["page"]}}, "description": "Тип TL: Page.", "x-tl-flag": "flags.10?Page"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "WebPageAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet", "webPageAttributeUniqueStarGift", "webPageAttributeStarGiftCollection", "webPageAttributeStarGiftAuction", "webPageAttributeAiComposeTone"]}}, "description": "Тип TL: WebPageAttribute."}, "x-tl-type": "Vector<WebPageAttribute>", "x-tl-flag": "flags.12?Vector<WebPageAttribute>"}}, "required": ["_", "id", "url", "display_url", "hash"], "additionalProperties": false}, "webPageNotModified": {"title": "webPageNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageNotModified"]}, "cached_page_views": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_"], "additionalProperties": false}, "authorization": {"title": "authorization", "description": "Angemeldete Sitzung", "externalDocs": {"url": "https://core.telegram.org/constructor/authorization"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["authorization"]}, "current": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dies die aktuelle Sitzung ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "official_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Sitzung von einer offiziellen App stammt", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "password_pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Sitzung noch auf ein 2FA-Passwort wartet", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "encrypted_requests_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob diese Sitzung verschlüsselte Chats akzeptiert", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "call_requests_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob diese Sitzung Telefonanrufe entgegennimmt", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "unconfirmed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Sitzung [unbestätigt ist, siehe hier »](https://core.telegram.org/api/auth.md#confirming-login) für weitere Informationen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Kennung", "x-tl-type": "long", "x-telegram-field-docs": true}, "device_model": {"type": "string", "x-tl-type": "string", "description": "Gerätemodell", "x-telegram-field-docs": true}, "platform": {"type": "string", "x-tl-type": "string", "description": "Plattform", "x-telegram-field-docs": true}, "system_version": {"type": "string", "x-tl-type": "string", "description": "Systemversion", "x-telegram-field-docs": true}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[API ID](https://core.telegram.org/api/obtaining_api_id.md)", "x-telegram-field-docs": true}, "app_name": {"type": "string", "x-tl-type": "string", "description": "App-Name", "x-telegram-field-docs": true}, "app_version": {"type": "string", "x-tl-type": "string", "description": "App-Version", "x-telegram-field-docs": true}, "date_created": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wann wurde die Sitzung erstellt?", "x-telegram-field-docs": true}, "date_active": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wann war die Sitzung zuletzt aktiv?", "x-telegram-field-docs": true}, "ip": {"type": "string", "x-tl-type": "string", "description": "Letzte bekannte IP", "x-telegram-field-docs": true}, "country": {"type": "string", "x-tl-type": "string", "description": "Land anhand der IP ermittelt", "x-telegram-field-docs": true}, "region": {"type": "string", "x-tl-type": "string", "description": "Region anhand der IP ermittelt", "x-telegram-field-docs": true}}, "required": ["_", "hash", "device_model", "platform", "system_version", "api_id", "app_name", "app_version", "date_created", "date_active", "ip", "country", "region"], "additionalProperties": false}, "account.authorizations": {"title": "account.authorizations", "description": "Angemeldete Sitzungen", "externalDocs": {"url": "https://core.telegram.org/constructor/account.authorizations"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.authorizations"]}, "authorization_ttl_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gültigkeitsdauer der Sitzung", "x-telegram-field-docs": true}, "authorizations": {"type": "array", "items": {"type": "object", "x-tl-type": "Authorization", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["authorization"]}}, "description": "TL Type: Authorization."}, "x-tl-type": "Vector<Authorization>", "description": "Angemeldete Sitzungen", "x-telegram-field-docs": true}}, "required": ["_", "authorization_ttl_days", "authorizations"], "additionalProperties": false}, "account.password": {"title": "account.password", "description": "Konfiguration für Zwei-Faktor-Autorisierung", "externalDocs": {"url": "https://core.telegram.org/constructor/account.password"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.password"]}, "has_recovery": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob für den Benutzer eine Wiederherstellungsmethode konfiguriert ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "has_secure_values": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob Telegramm [Passport](https://core.telegram.org/passport.md) aktiviert ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "has_password": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Benutzer ein Passwort hat", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "current_algo": {"type": "object", "x-tl-type": "PasswordKdfAlgo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["passwordKdfAlgoUnknown", "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow"]}}, "description": "Der [KDF Algorithmus zur SRP Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md) des aktuellen Passworts", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?PasswordKdfAlgo"}, "srp_B": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Srp B-Parameter für [SRP Autorisierung](https://core.telegram.org/api/srp.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?bytes"}, "srp_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Srp-ID-Parameter für [SRP Autorisierung](https://core.telegram.org/api/srp.md)", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}, "hint": {"type": "string", "x-tl-type": "string", "description": "Texthinweis für das Passwort", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "email_unconfirmed_pattern": {"type": "string", "x-tl-type": "string", "description": "Eine [E-Mail zur Passwortwiederherstellung](https://core.telegram.org/api/srp.md#email-verification) mit dem angegebenen [Muster](https://core.telegram.org/api/pattern.md)] wartet noch auf die Überprüfung", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "new_algo": {"type": "object", "x-tl-type": "PasswordKdfAlgo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["passwordKdfAlgoUnknown", "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow"]}}, "description": "Der [KDF Algorithmus für die SRP Zwei-Faktor-Authentifizierung](https://core.telegram.org/api/srp.md) zur Verwendung beim Erstellen neuer Passwörter", "x-telegram-field-docs": true}, "new_secure_algo": {"type": "object", "x-tl-type": "SecurePasswordKdfAlgo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoUnknown", "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000", "securePasswordKdfAlgoSHA512"]}}, "description": "Der KDF-Algorithmus für Telegram [Passport](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true}, "secure_random": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Sichere Zufallszeichenfolge", "x-telegram-field-docs": true}, "pending_reset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Das 2FA-Passwort wird zu diesem Zeitpunkt automatisch entfernt, es sei denn, der Benutzer bricht den Vorgang ab", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?int"}, "login_email_pattern": {"type": "string", "x-tl-type": "string", "description": "Eine verifizierte Login-E-Mail mit dem angegebenen [Muster](https://core.telegram.org/api/pattern.md)] ist konfiguriert", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?string"}}, "required": ["_", "new_algo", "new_secure_algo", "secure_random"], "additionalProperties": false}, "account.passwordSettings": {"title": "account.passwordSettings", "description": "Private Informationen, die mit den Passwortinformationen verknüpft sind (Wiederherstellungs-E-Mail, Telegramm-[Reisepass](https://core.telegram.org/passport.md)-Informationen usw.)", "externalDocs": {"url": "https://core.telegram.org/constructor/account.passwordSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.passwordSettings"]}, "email": {"type": "string", "x-tl-type": "string", "description": "[2FA-Wiederherstellungs-E-Mail](https://core.telegram.org/api/srp.md#email-verification)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "secure_settings": {"type": "object", "x-tl-type": "SecureSecretSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureSecretSettings"]}}, "description": "Telegramm [Reisepass](https://core.telegram.org/passport.md) Einstellungen", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?SecureSecretSettings"}}, "required": ["_"], "additionalProperties": false}, "account.passwordInputSettings": {"title": "account.passwordInputSettings", "description": "Einstellungen zum Einrichten eines neuen Passworts", "externalDocs": {"url": "https://core.telegram.org/constructor/account.passwordInputSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.passwordInputSettings"]}, "new_algo": {"type": "object", "x-tl-type": "PasswordKdfAlgo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["passwordKdfAlgoUnknown", "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow"]}}, "description": "Der zu verwendende [SRP-Algorithmus](https://core.telegram.org/api/srp.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?PasswordKdfAlgo"}, "new_password_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Der [berechnete Passwort-Hash](https://core.telegram.org/api/srp.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?bytes"}, "hint": {"type": "string", "x-tl-type": "string", "description": "Texthinweis für das Passwort", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "email": {"type": "string", "x-tl-type": "string", "description": "E-Mail zur Passwortwiederherstellung", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "new_secure_settings": {"type": "object", "x-tl-type": "SecureSecretSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureSecretSettings"]}}, "description": "Telegramm [Reisepass](https://core.telegram.org/passport.md) Einstellungen", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?SecureSecretSettings"}}, "required": ["_"], "additionalProperties": false}, "auth.passwordRecovery": {"title": "auth.passwordRecovery", "description": "Wiederherstellungsinformationen eines [2FA-Passworts](https://core.telegram.org/api/srp.md), nur für Konten mit einer [Wiederherstellungs-E-Mail-Adresse konfiguriert](https://core.telegram.org/api/srp.md#email-verification).", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.passwordRecovery"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.passwordRecovery"]}, "email_pattern": {"type": "string", "x-tl-type": "string", "description": "Die E-Mail, an die der Wiederherstellungscode gesendet wurde, muss mit diesem [Muster](https://core.telegram.org/api/pattern.md)] übereinstimmen.", "x-telegram-field-docs": true}}, "required": ["_", "email_pattern"], "additionalProperties": false}, "receivedNotifyMessage": {"title": "receivedNotifyMessage", "description": "Nachrichten-ID, für die PUSH-Benachrichtigungen storniert wurden.", "externalDocs": {"url": "https://core.telegram.org/constructor/receivedNotifyMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["receivedNotifyMessage"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID, für die PUSH-Benachrichtigungen abgebrochen wurden", "x-telegram-field-docs": true}, "flags": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für zukünftige Verwendung reserviert", "x-telegram-field-docs": true}}, "required": ["_", "id", "flags"], "additionalProperties": false}, "chatInviteExported": {"title": "chatInviteExported", "description": "Exportierte Chat-Einladung", "externalDocs": {"url": "https://core.telegram.org/constructor/chatInviteExported"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatInviteExported"]}, "revoked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob diese Chat-Einladung widerrufen wurde", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "permanent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob diese Chat-Einladung kein Ablaufdatum hat", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "request_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob Benutzer, die diesen Einladungslink importieren, eine Genehmigung benötigen, um dem Kanal oder der Gruppe beizutreten", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "link": {"type": "string", "x-tl-type": "string", "description": "Link zur Chat-Einladung", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Administrators, der diese Chat-Einladung erstellt hat", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wann wurde diese Chat-Einladung erstellt?", "x-telegram-field-docs": true}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wann wurde diese Chat-Einladung zuletzt geändert?", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wann läuft diese Chat-Einladung ab?", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "usage_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximale Anzahl von Benutzern, die über diesen Link beitreten können", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "usage": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wie viele Benutzer sind über diesen Link beigetreten?", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "requested": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Benutzer, die diesen Link bereits zum Beitritt verwendet haben", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?int"}, "subscription_expired": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Enthält für [Telegram Star-Abonnements »](https://core.telegram.org/api/stars.md#star-subscriptions) die Anzahl der Chat-Mitglieder, die dem Chat bereits über den Link beigetreten sind, diesen aber aufgrund des Ablaufs ihres Abonnements bereits verlassen haben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?int"}, "title": {"type": "string", "x-tl-type": "string", "description": "Benutzerdefinierte Beschreibung für den Einladungslink, nur für Administratoren sichtbar", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?string"}, "subscription_pricing": {"type": "object", "x-tl-type": "StarsSubscriptionPricing", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsSubscriptionPricing"]}}, "description": "Enthält für [Telegram Star-Abonnements »](https://core.telegram.org/api/stars.md#star-subscriptions) den Preis des Abonnements, das der Benutzer aktivieren muss, um dem privaten Kanal beizutreten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?StarsSubscriptionPricing"}}, "required": ["_", "link", "admin_id", "date"], "additionalProperties": false}, "chatInvitePublicJoinRequests": {"title": "chatInvitePublicJoinRequests", "description": "Wird in Aktualisierungen und im Kanalprotokoll verwendet, um anzuzeigen, wenn ein Benutzer eine Beitrittsanfrage stellt oder einer [Diskussionsgruppe](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group)] beigetreten ist.", "externalDocs": {"url": "https://core.telegram.org/constructor/chatInvitePublicJoinRequests"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatInvitePublicJoinRequests"]}}, "required": ["_"], "additionalProperties": false}, "chatInviteAlready": {"title": "chatInviteAlready", "description": "Der Benutzer ist diesem Chat bereits beigetreten", "externalDocs": {"url": "https://core.telegram.org/constructor/chatInviteAlready"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatInviteAlready"]}, "chat": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Der mit der Einladung verbundene Chat", "x-telegram-field-docs": true}}, "required": ["_", "chat"], "additionalProperties": false}, "chatInvite": {"title": "chatInvite", "description": "Informationen zur Chat-Einladung", "externalDocs": {"url": "https://core.telegram.org/constructor/chatInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatInvite"]}, "channel": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um einen [Kanal/Supergruppe](https://core.telegram.org/api/channel.md) oder eine [normale Gruppe](https://core.telegram.org/api/channel.md)] handelt", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "broadcast": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um einen [Kanal](https://core.telegram.org/api/channel.md)] handelt", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "public": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um einen öffentlichen [Kanal/Supergroup](https://core.telegram.org/api/channel.md)] handelt", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "megagroup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um eine [Supergruppe](https://core.telegram.org/api/channel.md)] handelt", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "request_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die [Beitrittsanfrage »](https://core.telegram.org/api/invites.md#join-requests) zuerst von einem Administrator genehmigt werden muss", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "verified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wird dieser Chat oder Kanal von Telegram bestätigt?", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "scam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Dieser Chat ist wahrscheinlich ein Betrug", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "fake": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option aktiviert ist, wurde dieser Chat von vielen Benutzern als Fake oder Betrug gemeldet: Seien Sie vorsichtig, wenn Sie damit interagieren.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "can_refulfill_subscription": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, bedeutet dies, dass der Benutzer bereits für die zugehörigen [Telegram Star-Abonnements »](https://core.telegram.org/api/stars.md#star-subscriptions) bezahlt hat und diese noch nicht abgelaufen sind, sodass er dem Kanal mit [messages.importChatInvite](https://core.telegram.org/method/messages.importChatInvite.md) erneut beitreten kann, ohne die Zahlung zu wiederholen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "title": {"type": "string", "x-tl-type": "string", "description": "Chat-/Supergruppen-/Kanaltitel", "x-telegram-field-docs": true}, "about": {"type": "string", "x-tl-type": "string", "description": "Beschreibung der Kanalgruppe", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Chat-/Supergruppen-/Kanalfoto", "x-telegram-field-docs": true}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Teilnehmer", "x-telegram-field-docs": true}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Einige der Teilnehmer, die in der Gruppe sind", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Vector<User>"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Profil-Farbpaletten-ID](https://core.telegram.org/api/colors.md)", "x-telegram-field-docs": true}, "subscription_pricing": {"type": "object", "x-tl-type": "StarsSubscriptionPricing", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsSubscriptionPricing"]}}, "description": "Enthält für [Telegram Star-Abonnements »](https://core.telegram.org/api/stars.md#star-subscriptions) den Preis des Abonnements, das der Benutzer aktivieren muss, um dem privaten Kanal beizutreten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?StarsSubscriptionPricing"}, "subscription_form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Für [Telegram Star-Abonnements »](https://core.telegram.org/api/stars.md#star-subscriptions) die ID des Zahlungsformulars für das Abonnement.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?long"}, "bot_verification": {"type": "object", "x-tl-type": "BotVerification", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botVerification"]}}, "description": "Beschreibt ein [Bot-Verifizierungssymbol »](https://core.telegram.org/api/bots/verification.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?BotVerification"}}, "required": ["_", "title", "photo", "participants_count", "color"], "additionalProperties": false}, "chatInvitePeek": {"title": "chatInvitePeek", "description": "Eine Chat-Einladung, die es auch ermöglicht, einen Blick in die Gruppe zu werfen, um Nachrichten zu lesen, ohne ihr beizutreten.", "externalDocs": {"url": "https://core.telegram.org/constructor/chatInvitePeek"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatInvitePeek"]}, "chat": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Chat-Informationen", "x-telegram-field-docs": true}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Der schreibgeschützte anonyme Zugriff auf diese Gruppe wird zu diesem Zeitpunkt widerrufen", "x-telegram-field-docs": true}}, "required": ["_", "chat", "expires"], "additionalProperties": false}, "inputStickerSetEmpty": {"title": "inputStickerSetEmpty", "description": "Leerer Konstruktor\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetID": {"title": "inputStickerSetID", "description": "Aufkleberset von ID", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Ausweis", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputStickerSetShortName": {"title": "inputStickerSetShortName", "description": "Stickerset mit Kurznamen, von einem [Stickerset-Deep-Link »](https://core.telegram.org/api/links.md#stickerset-links)\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetShortName"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetShortName"]}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Kurzname aus einem [Stickerset Deep Link »](https://core.telegram.org/api/links.md#stickerset-links)", "x-telegram-field-docs": true}}, "required": ["_", "short_name"], "additionalProperties": false}, "inputStickerSetAnimatedEmoji": {"title": "inputStickerSetAnimatedEmoji", "description": "Animiertes Emojis-Aufkleberset", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetAnimatedEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetAnimatedEmoji"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetDice": {"title": "inputStickerSetDice", "description": "Wird zum Abrufen von [animierten Würfelaufklebern](https://core.telegram.org/api/dice.md)] verwendet.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetDice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetDice"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Die Emojis, vorerst 🏀, 🎲 und 🎯, werden unterstützt", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "inputStickerSetAnimatedEmojiAnimations": {"title": "inputStickerSetAnimatedEmojiAnimations", "description": "Animiertes Emoji-Reaktionsaufkleberset (enthält Animationen, die abgespielt werden, wenn ein Benutzer auf ein bestimmtes animiertes Emoji klickt)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetAnimatedEmojiAnimations"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetAnimatedEmojiAnimations"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetPremiumGifts": {"title": "inputStickerSetPremiumGifts", "description": "Aufkleber, die beim Erhalt eines geschenkten Telegram Premium-Abonnements angezeigt werden", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetPremiumGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetPremiumGifts"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetEmojiGenericAnimations": {"title": "inputStickerSetEmojiGenericAnimations", "description": "Generisches Animationsaufkleberset mit Animationen zum Abspielen, wenn [auf Nachrichten mit einem normalen Emoji ohne benutzerdefinierte Animation reagiert wird](https://core.telegram.org/api/reactions.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetEmojiGenericAnimations"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmojiGenericAnimations"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetEmojiDefaultStatuses": {"title": "inputStickerSetEmojiDefaultStatuses", "description": "Standardmäßiger [benutzerdefinierter Emoji-Status](https://core.telegram.org/api/emoji-status.md) Aufklebersatz", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetEmojiDefaultStatuses"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmojiDefaultStatuses"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetEmojiDefaultTopicIcons": {"title": "inputStickerSetEmojiDefaultTopicIcons", "description": "Standardmäßiges [benutzerdefiniertes Emoji](https://core.telegram.org/api/custom-emoji.md)-Aufkleberset für [Forum-Themensymbole](https://core.telegram.org/api/forum.md#forum-topics)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmojiDefaultTopicIcons"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetEmojiChannelDefaultStatuses": {"title": "inputStickerSetEmojiChannelDefaultStatuses", "description": "Standardmäßiger [benutzerdefinierter Emoji-Status](https://core.telegram.org/api/emoji-status.md)-Aufklebersatz für Kanalstatus", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetEmojiChannelDefaultStatuses"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmojiChannelDefaultStatuses"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetTonGifts": {"title": "inputStickerSetTonGifts", "description": "TON Geschenke-Aufkleberset.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetTonGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetTonGifts"]}}, "required": ["_"], "additionalProperties": false}, "stickerSet": {"title": "stickerSet", "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerSet"]}, "archived": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "official": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "masks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "text_color": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "channel_emoji_status": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "installed_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}, "short_name": {"type": "string", "x-tl-type": "string"}, "thumbs": {"type": "array", "items": {"type": "object", "x-tl-type": "PhotoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]}}, "description": "Тип TL: PhotoSize."}, "x-tl-type": "Vector<PhotoSize>", "x-tl-flag": "flags.4?Vector<PhotoSize>"}, "thumb_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "thumb_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "thumb_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "access_hash", "title", "short_name", "count", "hash"], "additionalProperties": false}, "messages.stickerSet": {"title": "messages.stickerSet", "description": "Aufkleberset und Aufkleber darin", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickerSet"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickerSet"]}, "set": {"type": "object", "x-tl-type": "StickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSet"]}}, "description": "Das Aufkleberset", "x-telegram-field-docs": true}, "packs": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerPack", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerPack"]}}, "description": "Тип TL: StickerPack."}, "x-tl-type": "Vector<StickerPack>", "description": "Emoji-Informationen für Aufkleber", "x-telegram-field-docs": true}, "keywords": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerKeyword", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerKeyword"]}}, "description": "Тип TL: StickerKeyword."}, "x-tl-type": "Vector<StickerKeyword>", "description": "Schlüsselwörter für einige oder jeden Aufkleber im Aufkleberset.", "x-telegram-field-docs": true}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Aufkleber im Aufkleberset", "x-telegram-field-docs": true}}, "required": ["_", "set", "packs", "keywords", "documents"], "additionalProperties": false}, "messages.stickerSetNotModified": {"title": "messages.stickerSetNotModified", "description": "Das Aufkleberset hat sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickerSetNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickerSetNotModified"]}}, "required": ["_"], "additionalProperties": false}, "botCommand": {"title": "botCommand", "description": "Beschreibt einen Bot-Befehl, der in einem Chat verwendet werden kann", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommand"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommand"]}, "ephemeral": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "command": {"type": "string", "x-tl-type": "string", "description": "`/command` Name", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Beschreibung des Befehls", "x-telegram-field-docs": true}}, "required": ["_", "command", "description"], "additionalProperties": false}, "botInfo": {"title": "botInfo", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInfo"]}, "has_preview_medias": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "description_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.4?Photo"}, "description_document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags.5?Document"}, "commands": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botCommand"]}}, "description": "TL Type: BotCommand."}, "x-tl-type": "Vector<BotCommand>", "x-tl-flag": "flags.2?Vector<BotCommand>"}, "menu_button": {"type": "object", "x-tl-type": "BotMenuButton", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botMenuButtonDefault", "botMenuButtonCommands", "botMenuButton"]}}, "description": "TL Type: BotMenuButton.", "x-tl-flag": "flags.3?BotMenuButton"}, "privacy_policy_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.7?string"}, "app_settings": {"type": "object", "x-tl-type": "BotAppSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botAppSettings"]}}, "description": "Тип TL: BotAppSettings.", "x-tl-flag": "flags.8?BotAppSettings"}, "verifier_settings": {"type": "object", "x-tl-type": "BotVerifierSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botVerifierSettings"]}}, "description": "Тип TL: BotVerifierSettings.", "x-tl-flag": "flags.9?BotVerifierSettings"}}, "required": ["_"], "additionalProperties": false}, "keyboardButton": {"title": "keyboardButton", "description": "Bot-Tastaturtaste\n\nNur verfügbar in [Antworttastaturen](https://core.telegram.org/constructor/replyKeyboardMarkup.md).\n\nWenn gedrückt, müssen Clients `text` als Nachricht an den aktuellen Chat senden und auf die Nachricht antworten, die das [replyKeyboardMarkup](https://core.telegram.org/constructor/replyKeyboardMarkup.md)“ angehängt hat.", "externalDocs": {"url": "https://core.telegram.org/constructor/keyboardButton"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["keyboardButton"]}, "style": {"type": "object", "x-tl-type": "KeyboardButtonStyle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["keyboardButtonStyle"]}}, "description": "Schaltflächenstil: Weitere Informationen zu Schaltflächenstilen finden Sie hier »](https://core.telegram.org/api/bots/buttons.md#button-styles).", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?KeyboardButtonStyle"}, "text": {"type": "string", "x-tl-type": "string", "description": "Schaltflächentext", "x-telegram-field-docs": true}, "type": {"type": "object", "x-tl-type": "ButtonType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["buttonTypeDefault", "buttonTypeRequestPhone", "buttonTypeRequestGeoLocation", "buttonTypeRequestPoll", "buttonTypeRequestPeer", "inputButtonTypeRequestPeer", "buttonTypeSimpleWebView"]}}, "description": "Тип TL: ButtonType."}}, "required": ["_", "text", "type"], "additionalProperties": false}, "keyboardButtonRow": {"title": "keyboardButtonRow", "type": "object", "properties": {"_": {"type": "string", "enum": ["keyboardButtonRow"]}, "buttons": {"type": "array", "items": {"type": "object", "x-tl-type": "KeyboardButton", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["keyboardButton"]}}, "description": "TL Type: KeyboardButton."}, "x-tl-type": "Vector<KeyboardButton>"}}, "required": ["_", "buttons"], "additionalProperties": false}, "replyKeyboardHide": {"title": "replyKeyboardHide", "description": "Tastatur für gesendete Antworten ausblenden", "externalDocs": {"url": "https://core.telegram.org/constructor/replyKeyboardHide"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide"]}, "selective": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Verwenden Sie dieses Flag, wenn Sie die Tastatur nur für bestimmte Benutzer entfernen möchten. Ziele: 1) Benutzer, die im Text des Message-Objekts @erwähnt werden; 2) Wenn die Nachricht des Bots eine Antwort ist (hat reply_to_message_id), Absender der ursprünglichen Nachricht.  Beispiel: Ein Benutzer stimmt in einer Umfrage ab, der Bot gibt als Antwort auf die Abstimmung eine Bestätigungsnachricht zurück und entfernt die Tastatur für diesen Benutzer, während er Benutzern, die noch nicht abgestimmt haben, weiterhin die Tastatur mit Umfrageoptionen anzeigt", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}}, "required": ["_"], "additionalProperties": false}, "replyKeyboardForceReply": {"title": "replyKeyboardForceReply", "description": "Zwingen Sie den Benutzer, eine Antwort zu senden", "externalDocs": {"url": "https://core.telegram.org/constructor/replyKeyboardForceReply"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["replyKeyboardForceReply"]}, "single_use": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Fordert Clients auf, die Tastatur auszublenden, sobald sie verwendet wird. Die Tastatur wird weiterhin verfügbar sein, aber Clients zeigen im Chat automatisch die gewohnte Buchstabentastatur an – der Benutzer kann eine spezielle Schaltfläche im Eingabefeld drücken, um die benutzerdefinierte Tastatur wieder anzuzeigen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "selective": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Verwenden Sie diesen Parameter, wenn Sie die Tastatur nur bestimmten Benutzern anzeigen möchten. Ziele: 1) Benutzer, die im Text des Message-Objekts @erwähnt werden; 2) wenn die Nachricht des Bots eine Antwort ist (hat reply_to_message_id), Absender der ursprünglichen Nachricht.  Beispiel: Ein Benutzer möchte die Sprache des Bots ändern. Der Bot antwortet auf die Anfrage mit einer Tastatur, um die neue Sprache auszuwählen. Andere Benutzer in der Gruppe sehen die Tastatur nicht.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "placeholder": {"type": "string", "x-tl-type": "string", "description": "Der Platzhalter, der im Eingabefeld angezeigt werden soll, wenn die Tastatur aktiv ist; 1-64 Zeichen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}}, "required": ["_"], "additionalProperties": false}, "replyKeyboardMarkup": {"title": "replyKeyboardMarkup", "description": "Stellt eine Antworttastatur dar", "externalDocs": {"url": "https://core.telegram.org/constructor/replyKeyboardMarkup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["replyKeyboardMarkup"]}, "resize": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Fordert Kunden auf, die Größe der Tastatur vertikal zu ändern, um eine optimale Passform zu gewährleisten (e.g. Verkleinern Sie die Tastatur, wenn nur zwei Tastenreihen vorhanden sind). Wenn nicht festgelegt, hat die benutzerdefinierte Tastatur immer die gleiche Höhe wie die Standardtastatur der App.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "single_use": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Fordert Clients auf, die Tastatur auszublenden, sobald sie verwendet wird. Die Tastatur wird weiterhin verfügbar sein, aber Clients zeigen im Chat automatisch die gewohnte Buchstabentastatur an – der Benutzer kann eine spezielle Schaltfläche im Eingabefeld drücken, um die benutzerdefinierte Tastatur wieder anzuzeigen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "selective": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Verwenden Sie diesen Parameter, wenn Sie die Tastatur nur bestimmten Benutzern anzeigen möchten. Ziele: 1) Benutzer, die im Text des Message-Objekts @erwähnt werden; 2) wenn die Nachricht des Bots eine Antwort ist (hat reply_to_message_id), Absender der ursprünglichen Nachricht.  Beispiel: Ein Benutzer möchte die Sprache des Bots ändern. Der Bot antwortet auf die Anfrage mit einer Tastatur, um die neue Sprache auszuwählen. Andere Benutzer in der Gruppe sehen die Tastatur nicht.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "persistent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Fordert Clients auf, die Tastatur immer anzuzeigen, wenn die normale Tastatur ausgeblendet ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "force_reply": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "rows": {"type": "array", "items": {"type": "object", "x-tl-type": "KeyboardButtonRow", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["keyboardButtonRow"]}}, "description": "Тип TL: KeyboardButtonRow."}, "x-tl-type": "Vector<KeyboardButtonRow>", "description": "Knopfreihe", "x-telegram-field-docs": true}, "placeholder": {"type": "string", "x-tl-type": "string", "description": "Der Platzhalter, der im Eingabefeld angezeigt werden soll, wenn die Tastatur aktiv ist; 1-64 Zeichen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}}, "required": ["_", "rows"], "additionalProperties": false}, "replyInlineMarkup": {"title": "replyInlineMarkup", "description": "Stellt eine Inline-Tastatur dar", "externalDocs": {"url": "https://core.telegram.org/constructor/replyInlineMarkup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["replyInlineMarkup"]}, "force_reply": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "rows": {"type": "array", "items": {"type": "object", "x-tl-type": "KeyboardInlineButtonRow", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["keyboardInlineButtonRow"]}}, "description": "Тип TL: KeyboardInlineButtonRow."}, "x-tl-type": "Vector<KeyboardInlineButtonRow>", "description": "Bot- oder Inline-Tastaturreihen", "x-telegram-field-docs": true}}, "required": ["_", "rows"], "additionalProperties": false}, "messageEntityUnknown": {"title": "messageEntityUnknown", "description": "Unbekannte Nachrichtenentität\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityUnknown"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityMention": {"title": "messageEntityMention", "description": "Nachrichtenentität [Erwähnung](https://core.telegram.org/api/mentions.md) eines Benutzers durch `@username`; [messageEntityMentionName](https://core.telegram.org/constructor/messageEntityMentionName.md) kann auch verwendet werden, um Benutzer anhand ihrer ID zu erwähnen.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityMention"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityMention"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityHashtag": {"title": "messageEntityHashtag", "description": "**\\#hashtag** Nachrichtenentität\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityHashtag"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityHashtag"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityBotCommand": {"title": "messageEntityBotCommand", "description": "Nachrichtenentität, die einen Bot/Befehl darstellt\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityBotCommand"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityBotCommand"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityUrl": {"title": "messageEntityUrl", "description": "Message entity representing an in-text url: <https://google.com>; for [text urls](https://google.com), use [messageEntityTextUrl](https://core.telegram.org/constructor/messageEntityTextUrl.md).\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityUrl"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityEmail": {"title": "messageEntityEmail", "description": "Nachrichtenentität, die eine <email@example.com> darstellt.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityEmail"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityEmail"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityBold": {"title": "messageEntityBold", "description": "Nachrichtenentität, die **fetten Text** darstellt.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityBold"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityBold"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityItalic": {"title": "messageEntityItalic", "description": "Nachrichtenentität, die *kursiven Text* darstellt.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityItalic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityItalic"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityCode": {"title": "messageEntityCode", "description": "Nachrichtenentität, die ein `codeblock` darstellt.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityCode"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityPre": {"title": "messageEntityPre", "description": "Nachrichtenentität, die ein vorformatiertes `codeblock` darstellt und es dem Benutzer ermöglicht, eine Programmiersprache für den Codeblock anzugeben.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityPre"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityPre"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "language": {"type": "string", "x-tl-type": "string", "description": "Programmiersprache des Codes", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "language"], "additionalProperties": false}, "messageEntityTextUrl": {"title": "messageEntityTextUrl", "description": "Message entity representing a [text url](https://google.com): for in-text urls like <https://google.com> use [messageEntityUrl](https://core.telegram.org/constructor/messageEntityUrl.md).\n\nBeachten Sie, dass dem Benutzer vor dem Öffnen dieses Links ein zusätzliches Bestätigungs-Popup mit dem vollständigen URL angezeigt werden muss, es sei denn, die Domain erfüllt die in der [Domain-Whitelist-Dokumentation »](https://core.telegram.org/api/config.md#whitelisted-domains)] angegebenen Bedingungen.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityTextUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityTextUrl"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "Die eigentliche URL", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "url"], "additionalProperties": false}, "messageEntityMentionName": {"title": "messageEntityMentionName", "description": "Nachrichtenentität, die eine [Benutzererwähnung](https://core.telegram.org/api/mentions.md) darstellt: Zum *Erstellen* einer Erwähnung verwenden Sie [inputMessageEntityMentionName](https://core.telegram.org/constructor/inputMessageEntityMentionName.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityMentionName"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityMentionName"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Kennung des erwähnten Benutzers", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "user_id"], "additionalProperties": false}, "inputMessageEntityMentionName": {"title": "inputMessageEntityMentionName", "description": "Nachrichtenentität, die zum Erstellen eines Benutzers verwendet werden kann [Benutzererwähnung](https://core.telegram.org/api/mentions.md): Empfangene Erwähnungen verwenden stattdessen den Konstruktor [messageEntityMentionName](https://core.telegram.org/constructor/messageEntityMentionName.md)].", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessageEntityMentionName"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessageEntityMentionName"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "user_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "Kennung des erwähnten Benutzers", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "user_id"], "additionalProperties": false}, "messageEntityPhone": {"title": "messageEntityPhone", "description": "Nachrichtenentität, die eine Telefonnummer darstellt.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityPhone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityPhone"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityCashtag": {"title": "messageEntityCashtag", "description": "Nachrichtenentität, die einen **$cashtag** darstellt.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityCashtag"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityCashtag"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityUnderline": {"title": "messageEntityUnderline", "description": "Nachrichtenentität, die unterstrichenen Text darstellt.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityUnderline"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityUnderline"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityStrike": {"title": "messageEntityStrike", "description": "Nachrichtenentität, die <del>durchgestrichenen</del>-Text darstellt.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityStrike"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityStrike"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityBankCard": {"title": "messageEntityBankCard", "description": "Gibt eine Kreditkartennummer an", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityBankCard"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityBankCard"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntitySpoiler": {"title": "messageEntitySpoiler", "description": "Nachrichtenentität, die einen Spoiler darstellt\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntitySpoiler"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntitySpoiler"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityCustomEmoji": {"title": "messageEntityCustomEmoji", "description": "Stellt ein benutzerdefiniertes Emoji dar.\nBeachten Sie, dass diese Entität genau ein reguläres Emoji (das in [documentAttributeCustomEmoji](https://core.telegram.org/constructor/documentAttributeCustomEmoji.md).`alt`) enthaltene) in den zugehörigen Text einschließen muss, andernfalls wird es vom Server ignoriert.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityCustomEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityCustomEmoji"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Dokument-ID des [benutzerdefinierten Emoji](https://core.telegram.org/api/custom-emoji.md), verwenden Sie [messages.getCustomEmojiDocuments](https://core.telegram.org/method/messages.getCustomEmojiDocuments.md), um die Emoji-Animation und das tatsächliche Emoji, das sie darstellt, abzurufen.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "document_id"], "additionalProperties": false}, "messageEntityBlockquote": {"title": "messageEntityBlockquote", "description": "Nachrichtenentität, die ein Blockangebot darstellt.\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityBlockquote"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityBlockquote"]}, "collapsed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob das Angebot standardmäßig minimiert ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityFormattedDate": {"title": "messageEntityFormattedDate", "description": "Stellt einen bestimmten Zeitpunkt dar, gerendert wie angegeben [hier »](https://core.telegram.org/api/entities.md#date-entities)\n\nAlle Flags sind optional, mit den folgenden Einschränkungen:\n\n- `relative` kann nicht mit anderen Flaggen kombiniert werden\n- `short_time` und `long_time` sind nicht miteinander kombinierbar\n- `short_date` und `long_date` können nicht miteinander kombiniert werden\n\nWenn einige der Flags kombiniert werden, ist ihre Darstellungsreihenfolge im Text die folgende:\n\n- `day_of_week`\n- `short_time`/`long_time`\n- `short_date`/`long_date`", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityFormattedDate"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityFormattedDate"]}, "relative": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, geben Sie ein relatives Datum wieder. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/entities.md#date-entities). Nicht mit anderen Flaggen kombinierbar.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "short_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Gibt die Zeit im Kurzformat wieder: Stunden und Minuten, entsprechend den Gebietsschemaeinstellungen des Benutzers; nicht kombinierbar mit `long_time`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "long_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Gibt die Zeit im Langformat wieder: Stunden, Minuten, Sekunden und möglicherweise die Zeitzone, je nach den Gebietsschemaeinstellungen des Benutzers; nicht kombinierbar mit `short_time`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "short_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Gibt die Uhrzeit im Kurzformat wieder: Monat, Datum (und Jahr, falls vom aktuellen abweichend), alles entsprechend den Gebietsschemaeinstellungen des Benutzers; nicht kombinierbar mit `long_date`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "long_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Gibt die Uhrzeit im Langformat wieder: immer Monat, Datum und Jahr, alles entsprechend den Gebietsschemaeinstellungen des Benutzers; nicht kombinierbar mit `short_date`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "day_of_week": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Rendert den Wochentag entsprechend den Gebietsschemaeinstellungen des Benutzers.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Das Datum als UNIX Zeitstempel: Der zulässige Wert reicht von `0` bis zum aktuellen Datum plus 1098 Tage (`time()+1098*86400`).", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "date"], "additionalProperties": false}, "messageEntityDiffInsert": {"title": "messageEntityDiffInsert", "description": "Stellt einen Diff-Zusatz dar: Rendern Sie ihn, indem Sie einfach den angegebenen Abschnitt <u>unterstreichen</u> und grün einfärben. Weitere Informationen zum Rendern von Diff-Entitäten finden Sie hier »](https://core.telegram.org/api/entities.md#diff-entities).", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityDiffInsert"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityDiffInsert"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityDiffReplace": {"title": "messageEntityDiffReplace", "description": "Stellt einen Diff-Ersatz dar. Rendern Sie ihn wie folgt:\n\n- Fügen Sie `old_text` bei Versatz `offset` in den Text ein, <u>unterstreichen</u> Sie es und färben Sie es rot: Beachten Sie, dass diese Einfügung keinen Einfluss auf die Versätze der darauf folgenden Elemente hat.\n- <u>Unterstreichen Sie</u> den durch `offset` und `limit` getrennten Abschnitt und färben Sie ihn grün.\n\nWeitere Informationen zum Rendern von Diff-Entitäten finden Sie hier »](https://core.telegram.org/api/entities.md#diff-entities).", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityDiffReplace"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityDiffReplace"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "old_text": {"type": "string", "x-tl-type": "string", "description": "Der Textabschnitt, der entfernt wurde.", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "old_text"], "additionalProperties": false}, "messageEntityDiffDelete": {"title": "messageEntityDiffDelete", "description": "Stellt eine Diff-Löschung dar: Rendern Sie sie, indem Sie einfach den angegebenen Abschnitt <u>unterstreichen</u> und rot einfärben. Weitere Informationen zum Rendern von Diff-Entitäten finden Sie [hier »](https://core.telegram.org/api/entities.md#diff-entities)].", "externalDocs": {"url": "https://core.telegram.org/constructor/messageEntityDiffDelete"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityDiffDelete"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge der Nachrichtenentität innerhalb der Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityTonAddress": {"title": "messageEntityTonAddress", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageEntityTonAddress"]}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "inputChannelEmpty": {"title": "inputChannelEmpty", "description": "Stellt das Fehlen eines Kanals dar", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChannelEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChannelEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputChannel": {"title": "inputChannel", "description": "Stellt einen Kanal dar", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChannel"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Kanal-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffs-Hash vom [channel](https://core.telegram.org/constructor/channel.md)-Konstruktor", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "channel_id", "access_hash"], "additionalProperties": false}, "inputChannelFromMessage": {"title": "inputChannelFromMessage", "description": "Definiert einen [min](https://core.telegram.org/api/min.md) Kanal, der in einer bestimmten Nachricht eines bestimmten Chats gesehen wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChannelFromMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChannelFromMessage"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Chat, in dem der Kanal gesehen wurde", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Nachrichten-ID im Chat, in dem der Kanal gesehen wurde", "x-telegram-field-docs": true}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Die Kanal-ID", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "channel_id"], "additionalProperties": false}, "contacts.resolvedPeer": {"title": "contacts.resolvedPeer", "description": "Aufgelöster Peer", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.resolvedPeer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.resolvedPeer"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Der Kollege", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "peer", "chats", "users"], "additionalProperties": false}, "messageRange": {"title": "messageRange", "description": "Zeigt eine Reihe von Chatnachrichten an", "externalDocs": {"url": "https://core.telegram.org/constructor/messageRange"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageRange"]}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Bereichsanfang (Nachrichten-ID)", "x-telegram-field-docs": true}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ende des Bereichs (Nachrichten-ID)", "x-telegram-field-docs": true}}, "required": ["_", "min_id", "max_id"], "additionalProperties": false}, "updates.channelDifferenceEmpty": {"title": "updates.channelDifferenceEmpty", "description": "Es gibt keine neuen Updates", "externalDocs": {"url": "https://core.telegram.org/constructor/updates.channelDifferenceEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updates.channelDifferenceEmpty"]}, "final": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob weitere Updates abgerufen werden müssen (immer falsch)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die neuesten [PTS](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Clients sollen die Kanaldifferenz nach Ablauf von Timeout-Sekunden erneut abrufen, wenn der Benutzer [derzeit den Chat ansieht, siehe hier »](https://core.telegram.org/api/updates.md#subscribing-to-updates-of-channels-supergroups) für weitere Informationen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "pts"], "additionalProperties": false}, "updates.channelDifferenceTooLong": {"title": "updates.channelDifferenceTooLong", "description": "Die übergebene `pts` ist zu alt: Ein oder mehrere Updates ab der angegebenen PTS wurden aus dem Meldungsfeld dieses Kanals gelöscht.\n\nBei Supergruppen/Kanälen geschieht dies normalerweise bei Updates, die älter als `latestPts - 100000` sind (verlassen Sie sich jedoch nicht auf diesen Wert, es handelt sich um ein serverseitiges Implementierungsdetail, das sich ändern kann und das von Clients in keiner Weise verwendet werden sollte).", "externalDocs": {"url": "https://core.telegram.org/constructor/updates.channelDifferenceTooLong"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updates.channelDifferenceTooLong"]}, "final": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob weitere Updates abgerufen werden müssen (immer festgelegt)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Clients sollen die Kanaldifferenz nach Ablauf der Timeout-Sekunden erneut abrufen", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.2?Vector<ForumTopic>"}, "dialog": {"type": "object", "x-tl-type": "Dialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialog", "dialogFolder", "dialogCommunity"]}}, "description": "Dialog mit den neuesten [PTS](https://core.telegram.org/api/updates.md), die zum Zurücksetzen des Kanalstatus verwendet werden können", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Die neuesten Nachrichten (nicht beginnend mit der übergebenen `pts`, sondern nur die neuesten Nachrichten).", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats aus Nachrichten", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer aus Nachrichten", "x-telegram-field-docs": true}}, "required": ["_", "dialog", "messages", "chats", "users"], "additionalProperties": false}, "updates.channelDifference": {"title": "updates.channelDifference", "description": "Die neuen Updates", "externalDocs": {"url": "https://core.telegram.org/constructor/updates.channelDifference"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updates.channelDifference"]}, "final": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob mit getDifference weitere Updates abgerufen werden müssen, beginnend mit dem bereitgestellten `pts`", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Der [PTS](https://core.telegram.org/api/updates.md), ab dem beim nächsten Mal Updates abgerufen werden sollen", "x-telegram-field-docs": true}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Clients sollen die Kanaldifferenz nach Ablauf von Timeout-Sekunden erneut abrufen, wenn der Benutzer [derzeit den Chat ansieht, siehe hier »](https://core.telegram.org/api/updates.md#subscribing-to-updates-of-channels-supergroups) für weitere Informationen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.2?Vector<ForumTopic>"}, "new_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Neue Nachrichten", "x-telegram-field-docs": true}, "other_updates": {"type": "array", "items": {"type": "object", "x-tl-type": "Update", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updateNewMessage", "updateMessageID", "updateDeleteMessages", "updateUserTyping", "updateChatUserTyping", "updateChatParticipants", "updateUserStatus", "updateUserName", "updateNewAuthorization", "updateNewEncryptedMessage", "updateEncryptedChatTyping", "updateEncryption", "updateEncryptedMessagesRead", "updateChatParticipantAdd", "updateChatParticipantDelete", "updateDcOptions", "updateNotifySettings", "updateServiceNotification", "updatePrivacy", "updateUserPhone", "updateReadHistoryInbox", "updateReadHistoryOutbox", "updateWebPage", "updateReadMessagesContents", "updateChannelTooLong", "updateChannel", "updateNewChannelMessage", "updateReadChannelInbox", "updateDeleteChannelMessages", "updateChannelMessageViews", "updateChatParticipantAdmin", "updateNewStickerSet", "updateStickerSetsOrder", "updateStickerSets", "updateSavedGifs", "updateBotInlineQuery", "updateBotInlineSend", "updateEditChannelMessage", "updateBotCallbackQuery", "updateEditMessage", "updateInlineBotCallbackQuery", "updateReadChannelOutbox", "updateDraftMessage", "updateReadFeaturedStickers", "updateRecentStickers", "updateConfig", "updatePtsChanged", "updateChannelWebPage", "updateDialogPinned", "updatePinnedDialogs", "updateBotWebhookJSON", "updateBotWebhookJSONQuery", "updateBotShippingQuery", "updateBotPrecheckoutQuery", "updatePhoneCall", "updateLangPackTooLong", "updateLangPack", "updateFavedStickers", "updateChannelReadMessagesContents", "updateContactsReset", "updateChannelAvailableMessages", "updateDialogUnreadMark", "updateMessagePoll", "updateChatDefaultBannedRights", "updateFolderPeers", "updatePeerSettings", "updatePeerLocated", "updateNewScheduledMessage", "updateDeleteScheduledMessages", "updateTheme", "updateGeoLiveViewed", "updateLoginToken", "updateMessagePollVote", "updateDialogFilter", "updateDialogFilterOrder", "updateDialogFilters", "updatePhoneCallSignalingData", "updateChannelMessageForwards", "updateReadChannelDiscussionInbox", "updateReadChannelDiscussionOutbox", "updatePeerBlocked", "updateChannelUserTyping", "updatePinnedMessages", "updatePinnedChannelMessages", "updateChat", "updateGroupCallParticipants", "updateGroupCall", "updatePeerHistoryTTL", "updateChatParticipant", "updateChannelParticipant", "updateBotStopped", "updateGroupCallConnection", "updateBotCommands", "updatePendingJoinRequests", "updateBotChatInviteRequester", "updateMessageReactions", "updateAttachMenuBots", "updateWebViewResultSent", "updateBotMenuButton", "updateSavedRingtones", "updateTranscribedAudio", "updateReadFeaturedEmojiStickers", "updateUserEmojiStatus", "updateRecentEmojiStatuses", "updateRecentReactions", "updateMoveStickerSetToTop", "updateMessageExtendedMedia", "updateUser", "updateAutoSaveSettings", "updateStory", "updateReadStories", "updateStoryID", "updateStoriesStealthMode", "updateSentStoryReaction", "updateBotChatBoost", "updateChannelViewForumAsMessages", "updatePeerWallpaper", "updateBotMessageReaction", "updateBotMessageReactions", "updateSavedDialogPinned", "updatePinnedSavedDialogs", "updateSavedReactionTags", "updateSmsJob", "updateQuickReplies", "updateNewQuickReply", "updateDeleteQuickReply", "updateQuickReplyMessage", "updateDeleteQuickReplyMessages", "updateBotBusinessConnect", "updateBotNewBusinessMessage", "updateBotEditBusinessMessage", "updateBotDeleteBusinessMessage", "updateNewStoryReaction", "updateStarsBalance", "updateBusinessBotCallbackQuery", "updateStarsRevenueStatus", "updateBotPurchasedPaidMedia", "updatePaidReactionPrivacy", "updateSentPhoneCode", "updateGroupCallChainBlocks", "updateReadMonoForumInbox", "updateReadMonoForumOutbox", "updateMonoForumNoPaidException", "updateGroupCallMessage", "updateGroupCallEncryptedMessage", "updatePinnedForumTopic", "updatePinnedForumTopics", "updateDeleteGroupCallMessages", "updateStarGiftAuctionState", "updateStarGiftAuctionUserState", "updateEmojiGameInfo", "updateStarGiftCraftFail", "updateChatParticipantRank", "updateManagedBot", "updateBotGuestChatQuery", "updateAiComposeTones", "updateJoinChatWebViewDecision", "updateNewBotConnection", "updateWebBrowserSettings", "updateWebBrowserException", "updateNewEphemeralMessage", "updateDeleteEphemeralMessages", "updateEditEphemeralMessage", "updateEphemeralBotCallbackQuery", "updateBotStarsSubscription", "updateWalletState", "updateSentWalletTransaction", "updateWalletGaslessInfo", "updateWalletTonConnectSession", "updateWalletTonConnectPendingDisconnect", "updateEditForumTopic", "updateBotWidgetQuery", "updateInlineBotWidgetQuery", "updateBotWidgetCopyQuery", "updateMessageWidgetData", "updateTranscribedAudioFile", "updateBotProfileWidgetQuery", "updateBotProfileWidgetData", "updateBotProfileWidget", "updateReadFeed"]}}, "description": "Тип TL: Update."}, "x-tl-type": "Vector<Update>", "description": "Andere Updates", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "pts", "new_messages", "other_updates", "chats", "users"], "additionalProperties": false}, "channelMessagesFilterEmpty": {"title": "channelMessagesFilterEmpty", "description": "Kein Filter", "externalDocs": {"url": "https://core.telegram.org/constructor/channelMessagesFilterEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelMessagesFilterEmpty"]}}, "required": ["_"], "additionalProperties": false}, "channelMessagesFilter": {"title": "channelMessagesFilter", "description": "Filtern Sie, um nur bestimmte Arten von Kanalnachrichten zu erhalten.\n\nDieser Filter kann nicht zum Abrufen von Nachrichten verwendet werden, die älter als die Größe des Kanalnachrichtenfelds sind.", "externalDocs": {"url": "https://core.telegram.org/constructor/channelMessagesFilter"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelMessagesFilter"]}, "exclude_new_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob neue Nachrichten von der Suche ausgeschlossen werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "ranges": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageRange", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageRange"]}}, "description": "TL Type: MessageRange."}, "x-tl-type": "Vector<MessageRange>", "description": "Eine Reihe von Nachrichten zum Abrufen", "x-telegram-field-docs": true}}, "required": ["_", "ranges"], "additionalProperties": false}, "channelParticipant": {"title": "channelParticipant", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipant"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "subscription_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "channelParticipantSelf": {"title": "channelParticipantSelf", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantSelf"]}, "via_request": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "subscription_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_", "user_id", "inviter_id", "date"], "additionalProperties": false}, "channelParticipantCreator": {"title": "channelParticipantCreator", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantCreator"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights."}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id", "admin_rights"], "additionalProperties": false}, "channelParticipantAdmin": {"title": "channelParticipantAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantAdmin"]}, "can_edit": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "self": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "promoted_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights."}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_", "user_id", "promoted_by", "date", "admin_rights"], "additionalProperties": false}, "channelParticipantBanned": {"title": "channelParticipantBanned", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantBanned"]}, "left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "kicked_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Тип TL: ChatBannedRights."}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_", "peer", "kicked_by", "date", "banned_rights"], "additionalProperties": false}, "channelParticipantLeft": {"title": "channelParticipantLeft", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantLeft"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}}, "required": ["_", "peer"], "additionalProperties": false}, "channelParticipantsRecent": {"title": "channelParticipantsRecent", "description": "Rufen Sie nur aktuelle Teilnehmer ab", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsRecent"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsRecent"]}}, "required": ["_"], "additionalProperties": false}, "channelParticipantsAdmins": {"title": "channelParticipantsAdmins", "description": "Rufen Sie nur Admin-Teilnehmer ab", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsAdmins"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsAdmins"]}}, "required": ["_"], "additionalProperties": false}, "channelParticipantsKicked": {"title": "channelParticipantsKicked", "description": "Nur gekickte Teilnehmer abrufen", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsKicked"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsKicked"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Optionaler Filter für die Suche nach gekickten Teilnehmern nach Namen (sonst leer)", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsBots": {"title": "channelParticipantsBots", "description": "Rufen Sie nur Bot-Teilnehmer ab", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsBots"]}}, "required": ["_"], "additionalProperties": false}, "channelParticipantsBanned": {"title": "channelParticipantsBanned", "description": "Rufen Sie nur gesperrte Teilnehmer ab", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsBanned"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsBanned"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Optionaler Filter zur Suche nach gesperrten Teilnehmern nach Namen (sonst leer)", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsSearch": {"title": "channelParticipantsSearch", "description": "Fragen Sie Teilnehmer nach Namen ab", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsSearch"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsSearch"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Suchanfrage", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsContacts": {"title": "channelParticipantsContacts", "description": "Rufen Sie nur Teilnehmer ab, die auch Kontakte sind", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsContacts"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Optionale Suchabfrage zur Suche von Kontaktteilnehmern nach Namen", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsMentions": {"title": "channelParticipantsMentions", "description": "Dieser Filter wird verwendet, wenn nach Supergruppenmitgliedern gesucht wird, die erwähnt werden sollen.\nDieser Filter entfernt automatisch anonyme Administratoren und gibt sogar nicht teilnehmende Benutzer zurück, die auf einen bestimmten [Thread](https://core.telegram.org/api/threads.md) über den [Kommentarbereich](https://core.telegram.org/api/threads.md#channel-comments)] eines Kanals geantwortet haben.", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsMentions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsMentions"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Filtern Sie nach Benutzername oder Benutzername", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Suchen Sie nur nach Benutzern, die in diesem [Thread](https://core.telegram.org/api/threads.md)] gepostet haben", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_"], "additionalProperties": false}, "channels.channelParticipants": {"title": "channels.channelParticipants", "description": "Stellt mehrere Kanalteilnehmer dar", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.channelParticipants"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.channelParticipants"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Teilnehmer, die der angegebenen Abfrage entsprechen", "x-telegram-field-docs": true}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant."}, "x-tl-type": "Vector<ChannelParticipant>", "description": "Teilnehmer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In den Teilnehmerinformationen erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "participants", "chats", "users"], "additionalProperties": false}, "channels.channelParticipantsNotModified": {"title": "channels.channelParticipantsNotModified", "description": "Es konnten keine neuen Teilnehmerinformationen gefunden werden", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.channelParticipantsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.channelParticipantsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "channels.channelParticipant": {"title": "channels.channelParticipant", "description": "Stellt einen Kanalteilnehmer dar", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.channelParticipant"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.channelParticipant"]}, "participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Der Kanalteilnehmer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "participant", "chats", "users"], "additionalProperties": false}, "help.termsOfService": {"title": "help.termsOfService", "type": "object", "properties": {"_": {"type": "string", "enum": ["help.termsOfService"]}, "popup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "id": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON."}, "text": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>"}, "min_age_confirm": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "id", "text", "entities"], "additionalProperties": false}, "messages.savedGifsNotModified": {"title": "messages.savedGifsNotModified", "description": "Es wurden keine neuen gespeicherten GIFs gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.savedGifsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.savedGifsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.savedGifs": {"title": "messages.savedGifs", "description": "Gifs gespeichert", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.savedGifs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.savedGifs"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "gifs": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Liste der gespeicherten GIFs", "x-telegram-field-docs": true}}, "required": ["_", "hash", "gifs"], "additionalProperties": false}, "inputBotInlineMessageMediaAuto": {"title": "inputBotInlineMessageMediaAuto", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaAuto"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message"], "additionalProperties": false}, "inputBotInlineMessageText": {"title": "inputBotInlineMessageText", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageText"]}, "no_webpage": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message"], "additionalProperties": false}, "inputBotInlineMessageMediaGeo": {"title": "inputBotInlineMessageMediaGeo", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaGeo"]}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "Тип TL: InputGeoPoint."}, "heading": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "proximity_notification_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo_point"], "additionalProperties": false}, "inputBotInlineMessageMediaVenue": {"title": "inputBotInlineMessageMediaVenue", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaVenue"]}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "Тип TL: InputGeoPoint."}, "title": {"type": "string", "x-tl-type": "string"}, "address": {"type": "string", "x-tl-type": "string"}, "provider": {"type": "string", "x-tl-type": "string"}, "venue_id": {"type": "string", "x-tl-type": "string"}, "venue_type": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo_point", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "inputBotInlineMessageMediaContact": {"title": "inputBotInlineMessageMediaContact", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaContact"]}, "phone_number": {"type": "string", "x-tl-type": "string"}, "first_name": {"type": "string", "x-tl-type": "string"}, "last_name": {"type": "string", "x-tl-type": "string"}, "vcard": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard"], "additionalProperties": false}, "inputBotInlineMessageGame": {"title": "inputBotInlineMessageGame", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageGame"]}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_"], "additionalProperties": false}, "inputBotInlineMessageMediaInvoice": {"title": "inputBotInlineMessageMediaInvoice", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaInvoice"]}, "title": {"type": "string", "x-tl-type": "string"}, "description": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "InputWebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputWebDocument"]}}, "description": "Тип TL: InputWebDocument.", "x-tl-flag": "flags.0?InputWebDocument"}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "Тип TL: Invoice."}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "provider": {"type": "string", "x-tl-type": "string"}, "provider_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON."}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "title", "description", "invoice", "payload", "provider", "provider_data"], "additionalProperties": false}, "inputBotInlineMessageMediaWebPage": {"title": "inputBotInlineMessageMediaWebPage", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaWebPage"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "force_large_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "optional": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "url": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message", "url"], "additionalProperties": false}, "inputBotInlineMessageRichMessage": {"title": "inputBotInlineMessageRichMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageRichMessage"]}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}, "rich_message": {"type": "object", "x-tl-type": "InputRichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputRichMessage", "inputRichMessageHTML", "inputRichMessageMarkdown"]}}, "description": "Тип TL: InputRichMessage."}}, "required": ["_", "rich_message"], "additionalProperties": false}, "inputBotInlineMessageWidget": {"title": "inputBotInlineMessageWidget", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageWidget"]}, "allow_queries": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "shared_widget": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "width": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "height": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "html": {"type": "string", "x-tl-type": "string"}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.4?ReplyMarkup"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.5?Vector<MessageEntity>"}}, "required": ["_", "width", "height", "html", "message"], "additionalProperties": false}, "inputBotInlineMessageWidgetId": {"title": "inputBotInlineMessageWidgetId", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageWidgetId"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.1?ReplyMarkup"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.2?Vector<MessageEntity>"}}, "required": ["_", "widget_id", "message"], "additionalProperties": false}, "inputBotInlineResult": {"title": "inputBotInlineResult", "description": "Ein Inline-Bot-Ergebnis", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResult"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResult"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID des Ergebnisses", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Ergebnistyp (siehe [bot API docs](https://core.telegram.org/bots/api/types/inlinequeryresult.md))", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Ergebnistitel", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "description": "Ergebnisbeschreibung", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL des Ergebnisses", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "thumb": {"type": "object", "x-tl-type": "InputWebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputWebDocument"]}}, "description": "Miniaturansicht des Ergebnisses", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?InputWebDocument"}, "content": {"type": "object", "x-tl-type": "InputWebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputWebDocument"]}}, "description": "Ergebnisinhalte", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?InputWebDocument"}, "send_message": {"type": "object", "x-tl-type": "InputBotInlineMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaAuto", "inputBotInlineMessageText", "inputBotInlineMessageMediaGeo", "inputBotInlineMessageMediaVenue", "inputBotInlineMessageMediaContact", "inputBotInlineMessageGame", "inputBotInlineMessageMediaInvoice", "inputBotInlineMessageMediaWebPage", "inputBotInlineMessageRichMessage", "inputBotInlineMessageWidget", "inputBotInlineMessageWidgetId"]}}, "description": "Nachricht, die gesendet werden soll, wenn das Ergebnis ausgewählt wird", "x-telegram-field-docs": true}}, "required": ["_", "id", "type", "send_message"], "additionalProperties": false}, "inputBotInlineResultPhoto": {"title": "inputBotInlineResultPhoto", "description": "Foto", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResultPhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResultPhoto"]}, "id": {"type": "string", "x-tl-type": "string", "description": "Ergebnis-ID", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Ergebnistyp (siehe [bot API docs](https://core.telegram.org/bots/api/types/inlinequeryresult.md))", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Foto zum Verschicken", "x-telegram-field-docs": true}, "send_message": {"type": "object", "x-tl-type": "InputBotInlineMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaAuto", "inputBotInlineMessageText", "inputBotInlineMessageMediaGeo", "inputBotInlineMessageMediaVenue", "inputBotInlineMessageMediaContact", "inputBotInlineMessageGame", "inputBotInlineMessageMediaInvoice", "inputBotInlineMessageMediaWebPage", "inputBotInlineMessageRichMessage", "inputBotInlineMessageWidget", "inputBotInlineMessageWidgetId"]}}, "description": "Nachricht, die gesendet werden soll, wenn das Ergebnis ausgewählt wird", "x-telegram-field-docs": true}}, "required": ["_", "id", "type", "photo", "send_message"], "additionalProperties": false}, "inputBotInlineResultDocument": {"title": "inputBotInlineResultDocument", "description": "Dokument (Medien jeglicher Art außer Fotos)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResultDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResultDocument"]}, "id": {"type": "string", "x-tl-type": "string", "description": "Ergebnis-ID", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Ergebnistyp (siehe [bot API docs](https://core.telegram.org/bots/api/types/inlinequeryresult.md))", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Ergebnistitel", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "description": "Ergebnisbeschreibung", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "document": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Zu sendendes Dokument", "x-telegram-field-docs": true}, "send_message": {"type": "object", "x-tl-type": "InputBotInlineMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaAuto", "inputBotInlineMessageText", "inputBotInlineMessageMediaGeo", "inputBotInlineMessageMediaVenue", "inputBotInlineMessageMediaContact", "inputBotInlineMessageGame", "inputBotInlineMessageMediaInvoice", "inputBotInlineMessageMediaWebPage", "inputBotInlineMessageRichMessage", "inputBotInlineMessageWidget", "inputBotInlineMessageWidgetId"]}}, "description": "Nachricht, die gesendet werden soll, wenn das Ergebnis ausgewählt wird", "x-telegram-field-docs": true}}, "required": ["_", "id", "type", "document", "send_message"], "additionalProperties": false}, "inputBotInlineResultGame": {"title": "inputBotInlineResultGame", "description": "Spiel", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResultGame"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResultGame"]}, "id": {"type": "string", "x-tl-type": "string", "description": "Ergebnis-ID", "x-telegram-field-docs": true}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Kurzname des Spiels", "x-telegram-field-docs": true}, "send_message": {"type": "object", "x-tl-type": "InputBotInlineMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageMediaAuto", "inputBotInlineMessageText", "inputBotInlineMessageMediaGeo", "inputBotInlineMessageMediaVenue", "inputBotInlineMessageMediaContact", "inputBotInlineMessageGame", "inputBotInlineMessageMediaInvoice", "inputBotInlineMessageMediaWebPage", "inputBotInlineMessageRichMessage", "inputBotInlineMessageWidget", "inputBotInlineMessageWidgetId"]}}, "description": "Nachricht, die gesendet werden soll, wenn das Ergebnis ausgewählt wird", "x-telegram-field-docs": true}}, "required": ["_", "id", "short_name", "send_message"], "additionalProperties": false}, "botInlineMessageMediaAuto": {"title": "botInlineMessageMediaAuto", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaAuto"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message"], "additionalProperties": false}, "botInlineMessageText": {"title": "botInlineMessageText", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageText"]}, "no_webpage": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message"], "additionalProperties": false}, "botInlineMessageMediaGeo": {"title": "botInlineMessageMediaGeo", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaGeo"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Тип TL: GeoPoint."}, "heading": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "proximity_notification_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo"], "additionalProperties": false}, "botInlineMessageMediaVenue": {"title": "botInlineMessageMediaVenue", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaVenue"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Тип TL: GeoPoint."}, "title": {"type": "string", "x-tl-type": "string"}, "address": {"type": "string", "x-tl-type": "string"}, "provider": {"type": "string", "x-tl-type": "string"}, "venue_id": {"type": "string", "x-tl-type": "string"}, "venue_type": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "botInlineMessageMediaContact": {"title": "botInlineMessageMediaContact", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaContact"]}, "phone_number": {"type": "string", "x-tl-type": "string"}, "first_name": {"type": "string", "x-tl-type": "string"}, "last_name": {"type": "string", "x-tl-type": "string"}, "vcard": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard"], "additionalProperties": false}, "botInlineMessageMediaInvoice": {"title": "botInlineMessageMediaInvoice", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaInvoice"]}, "shipping_address_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "test": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "title": {"type": "string", "x-tl-type": "string"}, "description": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.0?WebDocument"}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "title", "description", "currency", "total_amount"], "additionalProperties": false}, "botInlineMessageMediaWebPage": {"title": "botInlineMessageMediaWebPage", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaWebPage"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "force_large_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "manual": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "safe": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "url": {"type": "string", "x-tl-type": "string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "message", "url"], "additionalProperties": false}, "botInlineMessageRichMessage": {"title": "botInlineMessageRichMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageRichMessage"]}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}, "rich_message": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage."}}, "required": ["_", "rich_message"], "additionalProperties": false}, "botInlineMessageWidget": {"title": "botInlineMessageWidget", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMessageWidget"]}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "width": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "height": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "public_data_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.2?ReplyMarkup"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.4?Vector<MessageEntity>"}}, "required": ["_", "width", "height", "payload", "message"], "additionalProperties": false}, "botInlineResult": {"title": "botInlineResult", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineResult"]}, "id": {"type": "string", "x-tl-type": "string"}, "type": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "thumb": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.4?WebDocument"}, "content": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.5?WebDocument"}, "send_message": {"type": "object", "x-tl-type": "BotInlineMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaAuto", "botInlineMessageText", "botInlineMessageMediaGeo", "botInlineMessageMediaVenue", "botInlineMessageMediaContact", "botInlineMessageMediaInvoice", "botInlineMessageMediaWebPage", "botInlineMessageRichMessage", "botInlineMessageWidget"]}}, "description": "Тип TL: BotInlineMessage."}}, "required": ["_", "id", "type", "send_message"], "additionalProperties": false}, "botInlineMediaResult": {"title": "botInlineMediaResult", "type": "object", "properties": {"_": {"type": "string", "enum": ["botInlineMediaResult"]}, "id": {"type": "string", "x-tl-type": "string"}, "type": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.0?Photo"}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags.1?Document"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "send_message": {"type": "object", "x-tl-type": "BotInlineMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botInlineMessageMediaAuto", "botInlineMessageText", "botInlineMessageMediaGeo", "botInlineMessageMediaVenue", "botInlineMessageMediaContact", "botInlineMessageMediaInvoice", "botInlineMessageMediaWebPage", "botInlineMessageRichMessage", "botInlineMessageWidget"]}}, "description": "Тип TL: BotInlineMessage."}}, "required": ["_", "id", "type", "send_message"], "additionalProperties": false}, "messages.botResults": {"title": "messages.botResults", "description": "Ergebnis einer Anfrage an einen Inline-Bot", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.botResults"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.botResults"]}, "gallery": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob das Ergebnis eine Bildergalerie ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Abfrage-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Der nächste Offset, der beim Navigieren durch die Ergebnisse verwendet werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "switch_pm": {"type": "object", "x-tl-type": "InlineBotSwitchPM", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineBotSwitchPM"]}}, "description": "Wird als Schaltfläche über der verbleibenden Inline-Ergebnisliste angezeigt. Wenn darauf geklickt wird, wird der Benutzer zu einem privaten Chat mit dem Bot mit dem angegebenen Startparameter weitergeleitet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InlineBotSwitchPM"}, "switch_webview": {"type": "object", "x-tl-type": "InlineBotWebView", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineBotWebView"]}}, "description": "Wird als Schaltfläche über der verbleibenden Inline-Ergebnisliste angezeigt. Wenn darauf geklickt wird, wird die angegebene [Inline-Modus-Mini-App](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps)] geöffnet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InlineBotWebView"}, "results": {"type": "array", "items": {"type": "object", "x-tl-type": "BotInlineResult", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botInlineResult", "botInlineMediaResult"]}}, "description": "Тип TL: BotInlineResult."}, "x-tl-type": "Vector<BotInlineResult>", "description": "Die Ergebnisse", "x-telegram-field-docs": true}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Caching-Gültigkeit der Ergebnisse", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In den Ergebnissen erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "query_id", "results", "cache_time", "users"], "additionalProperties": false}, "exportedMessageLink": {"title": "exportedMessageLink", "description": "Link zu einer Nachricht in einer Supergruppe/einem Kanal", "externalDocs": {"url": "https://core.telegram.org/constructor/exportedMessageLink"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["exportedMessageLink"]}, "link": {"type": "string", "x-tl-type": "string", "description": "URL", "x-telegram-field-docs": true}, "html": {"type": "string", "x-tl-type": "string", "description": "Code einbetten", "x-telegram-field-docs": true}}, "required": ["_", "link", "html"], "additionalProperties": false}, "messageFwdHeader": {"title": "messageFwdHeader", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageFwdHeader"]}, "imported": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "saved_out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.0?Peer"}, "from_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "channel_post": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "post_author": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "saved_from_peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.4?Peer"}, "saved_from_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "saved_from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.8?Peer"}, "saved_from_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.9?string"}, "saved_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "psa_type": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.6?string"}}, "required": ["_", "date"], "additionalProperties": false}, "auth.codeTypeSms": {"title": "auth.codeTypeSms", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.codeTypeSms"]}}, "required": ["_"], "additionalProperties": false}, "auth.codeTypeCall": {"title": "auth.codeTypeCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.codeTypeCall"]}}, "required": ["_"], "additionalProperties": false}, "auth.codeTypeFlashCall": {"title": "auth.codeTypeFlashCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.codeTypeFlashCall"]}}, "required": ["_"], "additionalProperties": false}, "auth.codeTypeMissedCall": {"title": "auth.codeTypeMissedCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.codeTypeMissedCall"]}}, "required": ["_"], "additionalProperties": false}, "auth.codeTypeFragmentSms": {"title": "auth.codeTypeFragmentSms", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.codeTypeFragmentSms"]}}, "required": ["_"], "additionalProperties": false}, "auth.sentCodeTypeApp": {"title": "auth.sentCodeTypeApp", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeApp"]}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "length"], "additionalProperties": false}, "auth.sentCodeTypeSms": {"title": "auth.sentCodeTypeSms", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeSms"]}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "length"], "additionalProperties": false}, "auth.sentCodeTypeCall": {"title": "auth.sentCodeTypeCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeCall"]}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "length"], "additionalProperties": false}, "auth.sentCodeTypeFlashCall": {"title": "auth.sentCodeTypeFlashCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeFlashCall"]}, "pattern": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "pattern"], "additionalProperties": false}, "auth.sentCodeTypeMissedCall": {"title": "auth.sentCodeTypeMissedCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeMissedCall"]}, "prefix": {"type": "string", "x-tl-type": "string"}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "prefix", "length"], "additionalProperties": false}, "auth.sentCodeTypeEmailCode": {"title": "auth.sentCodeTypeEmailCode", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeEmailCode"]}, "apple_signin_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "google_signin_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "email_pattern": {"type": "string", "x-tl-type": "string"}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reset_available_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "reset_pending_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "email_pattern", "length"], "additionalProperties": false}, "auth.sentCodeTypeSetUpEmailRequired": {"title": "auth.sentCodeTypeSetUpEmailRequired", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeSetUpEmailRequired"]}, "apple_signin_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "google_signin_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "auth.sentCodeTypeFragmentSms": {"title": "auth.sentCodeTypeFragmentSms", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeFragmentSms"]}, "url": {"type": "string", "x-tl-type": "string"}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "url", "length"], "additionalProperties": false}, "auth.sentCodeTypeFirebaseSms": {"title": "auth.sentCodeTypeFirebaseSms", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeFirebaseSms"]}, "nonce": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "play_integrity_project_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}, "play_integrity_nonce": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.2?bytes"}, "receipt": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "push_timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "length"], "additionalProperties": false}, "auth.sentCodeTypeSmsWord": {"title": "auth.sentCodeTypeSmsWord", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeSmsWord"]}, "beginning": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_"], "additionalProperties": false}, "auth.sentCodeTypeSmsPhrase": {"title": "auth.sentCodeTypeSmsPhrase", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.sentCodeTypeSmsPhrase"]}, "beginning": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_"], "additionalProperties": false}, "messages.botCallbackAnswer": {"title": "messages.botCallbackAnswer", "description": "Vom Bot als Reaktion auf einen Tastendruck gesendete Rückrufantwort", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.botCallbackAnswer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.botCallbackAnswer"]}, "alert": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dem Benutzer anstelle einer Toastbenachrichtigung eine Warnung angezeigt werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "has_url": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob ein URL vorhanden ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "native_ui": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob Spiele in WebView oder in der nativen Benutzeroberfläche angezeigt werden sollen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "message": {"type": "string", "x-tl-type": "string", "description": "Warnung zum Anzeigen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL zum Öffnen", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wie lange soll diese Antwort zwischengespeichert werden?", "x-telegram-field-docs": true}}, "required": ["_", "cache_time"], "additionalProperties": false}, "messages.messageEditData": {"title": "messages.messageEditData", "description": "Nachrichtenbearbeitungsdaten für Medien", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.messageEditData"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.messageEditData"]}, "caption": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Medientitel, wenn der Titel des angegebenen Mediums bearbeitet werden kann", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "inputBotInlineMessageID": {"title": "inputBotInlineMessageID", "description": "Stellt eine gesendete Inline-Nachricht aus der Sicht eines Bots dar (Legacy-Konstruktor)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineMessageID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID"]}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "DC-ID, die beim Arbeiten mit dieser Inline-Nachricht verwendet werden soll", "x-telegram-field-docs": true}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID der Nachricht, enthält sowohl die (32-Bit-, Legacy-)Eigentümer-ID als auch die Nachrichten-ID und wird nur für Bot API Abwärtskompatibilität mit der 32-Bit-Benutzer-ID verwendet.", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriff auf den Hash der Nachricht", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "id", "access_hash"], "additionalProperties": false}, "inputBotInlineMessageID64": {"title": "inputBotInlineMessageID64", "description": "Stellt eine gesendete Inline-Nachricht aus der Sicht eines Bots dar", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineMessageID64"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID64"]}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "DC-ID, die beim Arbeiten mit dieser Inline-Nachricht verwendet werden soll", "x-telegram-field-docs": true}, "owner_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Eigentümers dieser Nachricht", "x-tl-type": "long", "x-telegram-field-docs": true}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID der Nachricht", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriff auf den Hash der Nachricht", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "owner_id", "id", "access_hash"], "additionalProperties": false}, "inlineBotSwitchPM": {"title": "inlineBotSwitchPM", "description": "Der Bot forderte den Benutzer auf, ihm eine private Nachricht zu senden", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineBotSwitchPM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineBotSwitchPM"]}, "text": {"type": "string", "x-tl-type": "string", "description": "Text für die Schaltfläche, die den Benutzer in einen privaten Chat mit dem Bot schaltet und dem Bot eine Startnachricht mit dem Parameter `start_parameter` sendet (kann leer sein)", "x-telegram-field-docs": true}, "start_param": {"type": "string", "x-tl-type": "string", "description": "Der Parameter für die `/start parameter`", "x-telegram-field-docs": true}}, "required": ["_", "text", "start_param"], "additionalProperties": false}, "messages.peerDialogs": {"title": "messages.peerDialogs", "description": "Dialoginformationen mehrerer Peers", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.peerDialogs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.peerDialogs"]}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "x-tl-flag": "flags.0?Vector<ForumTopic>"}, "dialogs": {"type": "array", "items": {"type": "object", "x-tl-type": "Dialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialog", "dialogFolder", "dialogCommunity"]}}, "description": "Тип TL: Dialog."}, "x-tl-type": "Vector<Dialog>", "description": "Dialoginformationen", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "In den Dialoginformationen erwähnte Nachrichten", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}, "state": {"type": "object", "x-tl-type": "updates.State", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updates.state"]}}, "description": "Aktueller [Status des Dialogs aktualisieren](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}}, "required": ["_", "dialogs", "messages", "chats", "users", "state"], "additionalProperties": false}, "topPeer": {"title": "topPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeer"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "rating": {"type": "number", "format": "double", "x-tl-type": "double"}}, "required": ["_", "peer", "rating"], "additionalProperties": false}, "topPeerCategoryBotsPM": {"title": "topPeerCategoryBotsPM", "description": "Am häufigsten verwendete Bots", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsPM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsPM"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryBotsInline": {"title": "topPeerCategoryBotsInline", "description": "Am häufigsten verwendete Inline-Bots", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsInline"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsInline"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryCorrespondents": {"title": "topPeerCategoryCorrespondents", "description": "Benutzer, mit denen wir am häufigsten gechattet haben", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryCorrespondents"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryCorrespondents"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryGroups": {"title": "topPeerCategoryGroups", "description": "Häufig eröffnete Gruppen und Supergruppen", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryGroups"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryGroups"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryChannels": {"title": "topPeerCategoryChannels", "description": "Am häufigsten besuchte Kanäle", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryChannels"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryChannels"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryPhoneCalls": {"title": "topPeerCategoryPhoneCalls", "description": "Am häufigsten angerufene Benutzer", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryPhoneCalls"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryPhoneCalls"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryForwardUsers": {"title": "topPeerCategoryForwardUsers", "description": "Benutzer, an die Benutzer häufig Nachrichten weiterleiten", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryForwardUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryForwardUsers"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryForwardChats": {"title": "topPeerCategoryForwardChats", "description": "Chats, an die die Benutzer häufig Nachrichten weiterleiten", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryForwardChats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryForwardChats"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryBotsApp": {"title": "topPeerCategoryBotsApp", "description": "Am häufigsten verwendet [Haupt-Mini-Bot-Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps).", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsApp"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsApp"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryBotsGuestChat": {"title": "topPeerCategoryBotsGuestChat", "description": "Oben [Gast-Bots »](https://core.telegram.org/api/bots/guest-mode.md), i.e. Bots werden am häufigsten als Gäste in Chats aufgerufen.", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsGuestChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsGuestChat"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryPeers": {"title": "topPeerCategoryPeers", "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryPeers"]}, "category": {"type": "object", "x-tl-type": "TopPeerCategory", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsPM", "topPeerCategoryBotsInline", "topPeerCategoryCorrespondents", "topPeerCategoryGroups", "topPeerCategoryChannels", "topPeerCategoryPhoneCalls", "topPeerCategoryForwardUsers", "topPeerCategoryForwardChats", "topPeerCategoryBotsApp", "topPeerCategoryBotsGuestChat"]}}, "description": "Тип TL: TopPeerCategory."}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "TopPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["topPeer"]}}, "description": "Тип TL: TopPeer."}, "x-tl-type": "Vector<TopPeer>"}}, "required": ["_", "category", "count", "peers"], "additionalProperties": false}, "contacts.topPeersNotModified": {"title": "contacts.topPeersNotModified", "description": "Die Top-Peer-Informationen haben sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.topPeersNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.topPeersNotModified"]}}, "required": ["_"], "additionalProperties": false}, "contacts.topPeers": {"title": "contacts.topPeers", "description": "Top-Kollegen", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.topPeers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.topPeers"]}, "categories": {"type": "array", "items": {"type": "object", "x-tl-type": "TopPeerCategoryPeers", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["topPeerCategoryPeers"]}}, "description": "Тип TL: TopPeerCategoryPeers."}, "x-tl-type": "Vector<TopPeerCategoryPeers>", "description": "Top-Peers nach Top-Peer-Kategorie", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "categories", "chats", "users"], "additionalProperties": false}, "contacts.topPeersDisabled": {"title": "contacts.topPeersDisabled", "description": "Top-Kollegen deaktiviert", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.topPeersDisabled"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.topPeersDisabled"]}}, "required": ["_"], "additionalProperties": false}, "draftMessageEmpty": {"title": "draftMessageEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["draftMessageEmpty"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "ai_style": {"type": "object", "x-tl-type": "InputAiComposeStyle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputAiComposeStyle"]}}, "description": "Тип TL: InputAiComposeStyle.", "x-tl-flag": "flags.1?InputAiComposeStyle"}}, "required": ["_"], "additionalProperties": false}, "draftMessage": {"title": "draftMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["draftMessage"]}, "no_webpage": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "reply_to": {"type": "object", "x-tl-type": "InputReplyTo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputReplyToMessage", "inputReplyToStory", "inputReplyToMonoForum", "inputReplyToEphemeralMessage"]}}, "description": "Тип TL: InputReplyTo.", "x-tl-flag": "flags.4?InputReplyTo"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>"}, "media": {"type": "object", "x-tl-type": "InputMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage", "inputMediaPaidMedia", "inputMediaTodo", "inputMediaStakeDice", "inputMediaWidget", "inputMediaWidgetId"]}}, "description": "TL Type: InputMedia.", "x-tl-flag": "flags.5?InputMedia"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.7?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["suggestedPost"]}}, "description": "Тип TL: SuggestedPost.", "x-tl-flag": "flags.8?SuggestedPost"}, "rich_message": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage.", "x-tl-flag": "flags.9?RichMessage"}, "ai_style": {"type": "object", "x-tl-type": "InputAiComposeStyle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputAiComposeStyle"]}}, "description": "Тип TL: InputAiComposeStyle.", "x-tl-flag": "flags.10?InputAiComposeStyle"}}, "required": ["_", "message", "date"], "additionalProperties": false}, "messages.featuredStickersNotModified": {"title": "messages.featuredStickersNotModified", "description": "Die vorgestellten Aufkleber haben sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.featuredStickersNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.featuredStickersNotModified"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der vorgestellten Aufkleber", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "messages.featuredStickers": {"title": "messages.featuredStickers", "description": "Ausgewählte Stickersets", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.featuredStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.featuredStickers"]}, "premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob es sich um ein Premium-Aufkleberset handelt", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der vorgestellten Aufkleber", "x-telegram-field-docs": true}, "sets": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerSetCovered", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSetCovered", "stickerSetMultiCovered", "stickerSetFullCovered", "stickerSetNoCovered"]}}, "description": "TL Type: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Ausgewählte Stickersets", "x-telegram-field-docs": true}, "unread": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "IDs der neu vorgestellten Stickersets", "x-telegram-field-docs": true}}, "required": ["_", "hash", "count", "sets", "unread"], "additionalProperties": false}, "messages.recentStickersNotModified": {"title": "messages.recentStickersNotModified", "description": "Es wurde kein neuer aktueller Aufkleber gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.recentStickersNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.recentStickersNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.recentStickers": {"title": "messages.recentStickers", "description": "Kürzlich verwendete Aufkleber", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.recentStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.recentStickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "packs": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerPack", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerPack"]}}, "description": "Тип TL: StickerPack."}, "x-tl-type": "Vector<StickerPack>", "description": "Mit Aufklebern verknüpfte Emojis", "x-telegram-field-docs": true}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Aktuelle Aufkleber", "x-telegram-field-docs": true}, "dates": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Wann wurde jeder Aufkleber zuletzt verwendet?", "x-telegram-field-docs": true}}, "required": ["_", "hash", "packs", "stickers", "dates"], "additionalProperties": false}, "messages.archivedStickers": {"title": "messages.archivedStickers", "description": "Archivierte Stickersets", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.archivedStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.archivedStickers"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der archivierten Aufkleber", "x-telegram-field-docs": true}, "sets": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerSetCovered", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSetCovered", "stickerSetMultiCovered", "stickerSetFullCovered", "stickerSetNoCovered"]}}, "description": "TL Type: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Archivierte Stickersets", "x-telegram-field-docs": true}}, "required": ["_", "count", "sets"], "additionalProperties": false}, "messages.stickerSetInstallResultSuccess": {"title": "messages.stickerSetInstallResultSuccess", "description": "Das Stickerset wurde erfolgreich installiert", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickerSetInstallResultSuccess"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickerSetInstallResultSuccess"]}}, "required": ["_"], "additionalProperties": false}, "messages.stickerSetInstallResultArchive": {"title": "messages.stickerSetInstallResultArchive", "description": "Das Stickerset wurde installiert, aber da es zu viele Stickersets gibt, wurden einige archiviert", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickerSetInstallResultArchive"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickerSetInstallResultArchive"]}, "sets": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerSetCovered", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSetCovered", "stickerSetMultiCovered", "stickerSetFullCovered", "stickerSetNoCovered"]}}, "description": "TL Type: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Archivierte Stickersets", "x-telegram-field-docs": true}}, "required": ["_", "sets"], "additionalProperties": false}, "stickerSetCovered": {"title": "stickerSetCovered", "description": "Aufkleberset mit einem einzelnen Aufkleber als Vorschau", "externalDocs": {"url": "https://core.telegram.org/constructor/stickerSetCovered"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerSetCovered"]}, "set": {"type": "object", "x-tl-type": "StickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSet"]}}, "description": "Aufkleberset", "x-telegram-field-docs": true}, "cover": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Vorschau", "x-telegram-field-docs": true}}, "required": ["_", "set", "cover"], "additionalProperties": false}, "stickerSetMultiCovered": {"title": "stickerSetMultiCovered", "description": "Stickerset, mit mehreren Stickern als Vorschau", "externalDocs": {"url": "https://core.telegram.org/constructor/stickerSetMultiCovered"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerSetMultiCovered"]}, "set": {"type": "object", "x-tl-type": "StickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSet"]}}, "description": "Aufkleberset", "x-telegram-field-docs": true}, "covers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Vorschau der Aufkleber", "x-telegram-field-docs": true}}, "required": ["_", "set", "covers"], "additionalProperties": false}, "stickerSetFullCovered": {"title": "stickerSetFullCovered", "description": "Stickerset-Vorschau mit allen Stickern des Stickersets inklusive.\nWird derzeit nur für [benutzerdefinierte Emoji-Aufklebersets](https://core.telegram.org/api/custom-emoji.md) verwendet, um einen weiteren Aufruf an [messages.getStickerSet](https://core.telegram.org/method/messages.getStickerSet.md)] zu vermeiden.", "externalDocs": {"url": "https://core.telegram.org/constructor/stickerSetFullCovered"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerSetFullCovered"]}, "set": {"type": "object", "x-tl-type": "StickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSet"]}}, "description": "Aufkleberset", "x-telegram-field-docs": true}, "packs": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerPack", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerPack"]}}, "description": "Тип TL: StickerPack."}, "x-tl-type": "Vector<StickerPack>", "description": "Emoji-Informationen zu jedem Aufkleber im Aufkleberset", "x-telegram-field-docs": true}, "keywords": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerKeyword", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerKeyword"]}}, "description": "Тип TL: StickerKeyword."}, "x-tl-type": "Vector<StickerKeyword>", "description": "Schlüsselwörter für einige oder jeden Aufkleber im Aufkleberset.", "x-telegram-field-docs": true}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Aufkleber", "x-telegram-field-docs": true}}, "required": ["_", "set", "packs", "keywords", "documents"], "additionalProperties": false}, "stickerSetNoCovered": {"title": "stickerSetNoCovered", "description": "Nur die Stickerset-Informationen, ohne Vorschau.", "externalDocs": {"url": "https://core.telegram.org/constructor/stickerSetNoCovered"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerSetNoCovered"]}, "set": {"type": "object", "x-tl-type": "StickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSet"]}}, "description": "Informationen zum Aufkleberset.", "x-telegram-field-docs": true}}, "required": ["_", "set"], "additionalProperties": false}, "maskCoords": {"title": "maskCoords", "description": "Positionieren Sie auf einem Foto die Stelle, an der eine Maske platziert werden soll, wenn [Aufkleber auf Medien angebracht werden »](https://core.telegram.org/api/stickers.md#attached-stickers)\n\nDie Position `n` gibt an, wo die Maske platziert werden soll:\n\n- 0 => Relativ zur Stirn\n- 1 => Relativ zu den Augen\n- 2 => Relativ zum Mund\n- 3 => Relativ zum Kinn", "externalDocs": {"url": "https://core.telegram.org/constructor/maskCoords"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["maskCoords"]}, "n": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Teil des Gesichts, relativ zu dem die Maske platziert werden soll", "x-telegram-field-docs": true}, "x": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Verschiebung um die X-Achse, gemessen in der Breite der Maske, skaliert auf die Gesichtsgröße, von links nach rechts. (Beispiel: -1.0 platziert die Maske direkt links von der Standardmaskenposition)", "x-telegram-field-docs": true}, "y": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Verschiebung um die Y-Achse, gemessen in der Breite der Maske, skaliert auf die Gesichtsgröße, von links nach rechts. (Zum Beispiel wird -1.0 die Maske direkt unter der Standardmaskenposition platzieren)", "x-telegram-field-docs": true}, "zoom": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Skalierungskoeffizient der Maske. (Zum Beispiel bedeutet 2,0 eine doppelte Größe)", "x-telegram-field-docs": true}}, "required": ["_", "n", "x", "y", "zoom"], "additionalProperties": false}, "inputStickeredMediaPhoto": {"title": "inputStickeredMediaPhoto", "description": "Ein Foto mit angebrachten Aufklebern", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickeredMediaPhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickeredMediaPhoto"]}, "id": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Das Foto", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputStickeredMediaDocument": {"title": "inputStickeredMediaDocument", "description": "Ein Dokument mit angebrachten Aufklebern", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickeredMediaDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickeredMediaDocument"]}, "id": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Das Dokument", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "game": {"title": "game", "type": "object", "properties": {"_": {"type": "string", "enum": ["game"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "short_name": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}, "description": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags.0?Document"}}, "required": ["_", "id", "access_hash", "short_name", "title", "description", "photo"], "additionalProperties": false}, "inputGameID": {"title": "inputGameID", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGameID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputGameShortName": {"title": "inputGameShortName", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGameShortName"]}, "bot_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser."}, "short_name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "bot_id", "short_name"], "additionalProperties": false}, "highScore": {"title": "highScore", "type": "object", "properties": {"_": {"type": "string", "enum": ["highScore"]}, "pos": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "pos", "user_id", "score"], "additionalProperties": false}, "messages.highScores": {"title": "messages.highScores", "description": "Highscores in einem Spiel", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.highScores"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.highScores"]}, "scores": {"type": "array", "items": {"type": "object", "x-tl-type": "HighScore", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["highScore"]}}, "description": "Тип TL: HighScore."}, "x-tl-type": "Vector<HighScore>", "description": "Highscores", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer, die den Highscores zugeordnet sind", "x-telegram-field-docs": true}}, "required": ["_", "scores", "users"], "additionalProperties": false}, "textEmpty": {"title": "textEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["textEmpty"]}}, "required": ["_"], "additionalProperties": false}, "textPlain": {"title": "textPlain", "type": "object", "properties": {"_": {"type": "string", "enum": ["textPlain"]}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text"], "additionalProperties": false}, "textBold": {"title": "textBold", "type": "object", "properties": {"_": {"type": "string", "enum": ["textBold"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textItalic": {"title": "textItalic", "type": "object", "properties": {"_": {"type": "string", "enum": ["textItalic"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textUnderline": {"title": "textUnderline", "type": "object", "properties": {"_": {"type": "string", "enum": ["textUnderline"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textStrike": {"title": "textStrike", "type": "object", "properties": {"_": {"type": "string", "enum": ["textStrike"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textFixed": {"title": "textFixed", "type": "object", "properties": {"_": {"type": "string", "enum": ["textFixed"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textUrl": {"title": "textUrl", "type": "object", "properties": {"_": {"type": "string", "enum": ["textUrl"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "url": {"type": "string", "x-tl-type": "string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "text", "url", "webpage_id"], "additionalProperties": false}, "textEmail": {"title": "textEmail", "type": "object", "properties": {"_": {"type": "string", "enum": ["textEmail"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "email": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "email"], "additionalProperties": false}, "textConcat": {"title": "textConcat", "type": "object", "properties": {"_": {"type": "string", "enum": ["textConcat"]}, "texts": {"type": "array", "items": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "x-tl-type": "Vector<RichText>"}}, "required": ["_", "texts"], "additionalProperties": false}, "textSubscript": {"title": "textSubscript", "type": "object", "properties": {"_": {"type": "string", "enum": ["textSubscript"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textSuperscript": {"title": "textSuperscript", "type": "object", "properties": {"_": {"type": "string", "enum": ["textSuperscript"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textMarked": {"title": "textMarked", "type": "object", "properties": {"_": {"type": "string", "enum": ["textMarked"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textPhone": {"title": "textPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["textPhone"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "phone": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "phone"], "additionalProperties": false}, "textImage": {"title": "textImage", "type": "object", "properties": {"_": {"type": "string", "enum": ["textImage"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "document_id", "w", "h"], "additionalProperties": false}, "textAnchor": {"title": "textAnchor", "type": "object", "properties": {"_": {"type": "string", "enum": ["textAnchor"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "name"], "additionalProperties": false}, "textMath": {"title": "textMath", "type": "object", "properties": {"_": {"type": "string", "enum": ["textMath"]}, "source": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "source"], "additionalProperties": false}, "textCustomEmoji": {"title": "textCustomEmoji", "type": "object", "properties": {"_": {"type": "string", "enum": ["textCustomEmoji"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "alt": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "document_id", "alt"], "additionalProperties": false}, "textSpoiler": {"title": "textSpoiler", "type": "object", "properties": {"_": {"type": "string", "enum": ["textSpoiler"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textMention": {"title": "textMention", "type": "object", "properties": {"_": {"type": "string", "enum": ["textMention"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textHashtag": {"title": "textHashtag", "type": "object", "properties": {"_": {"type": "string", "enum": ["textHashtag"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textBotCommand": {"title": "textBotCommand", "type": "object", "properties": {"_": {"type": "string", "enum": ["textBotCommand"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textCashtag": {"title": "textCashtag", "type": "object", "properties": {"_": {"type": "string", "enum": ["textCashtag"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textAutoUrl": {"title": "textAutoUrl", "type": "object", "properties": {"_": {"type": "string", "enum": ["textAutoUrl"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textAutoEmail": {"title": "textAutoEmail", "type": "object", "properties": {"_": {"type": "string", "enum": ["textAutoEmail"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textAutoPhone": {"title": "textAutoPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["textAutoPhone"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textBankCard": {"title": "textBankCard", "type": "object", "properties": {"_": {"type": "string", "enum": ["textBankCard"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "textMentionName": {"title": "textMentionName", "type": "object", "properties": {"_": {"type": "string", "enum": ["textMentionName"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "text", "user_id"], "additionalProperties": false}, "textDate": {"title": "textDate", "type": "object", "properties": {"_": {"type": "string", "enum": ["textDate"]}, "relative": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "short_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "long_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "short_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "long_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "day_of_week": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "text", "date"], "additionalProperties": false}, "textDiff": {"title": "textDiff", "type": "object", "properties": {"_": {"type": "string", "enum": ["textDiff"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "old_text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text", "old_text"], "additionalProperties": false}, "textButton": {"title": "textButton", "type": "object", "properties": {"_": {"type": "string", "enum": ["textButton"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "type": {"type": "object", "x-tl-type": "InlineButtonType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeUrl", "inlineButtonTypeUrlAuth", "inputInlineButtonTypeUrlAuth", "inlineButtonTypeWebView", "inlineButtonTypeCallback", "inlineButtonTypeGame", "inlineButtonTypeBuy", "inlineButtonTypeSwitchInline", "inlineButtonTypeUserProfile", "inputInlineButtonTypeUserProfile", "inlineButtonTypeCopy", "inlineButtonTypeDisabled"]}}, "description": "Тип TL: InlineButtonType."}, "style": {"type": "object", "x-tl-type": "RichButtonStyle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richButtonStyle"]}}, "description": "Тип TL: RichButtonStyle.", "x-tl-flag": "flags.0?RichButtonStyle"}}, "required": ["_", "text", "type"], "additionalProperties": false}, "textTonAddress": {"title": "textTonAddress", "type": "object", "properties": {"_": {"type": "string", "enum": ["textTonAddress"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockUnsupported": {"title": "pageBlockUnsupported", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "pageBlockTitle": {"title": "pageBlockTitle", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockTitle"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockSubtitle": {"title": "pageBlockSubtitle", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockSubtitle"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockAuthorDate": {"title": "pageBlockAuthorDate", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockAuthorDate"]}, "author": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "published_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "author", "published_date"], "additionalProperties": false}, "pageBlockHeader": {"title": "pageBlockHeader", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeader"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockSubheader": {"title": "pageBlockSubheader", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockSubheader"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockParagraph": {"title": "pageBlockParagraph", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockParagraph"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockPreformatted": {"title": "pageBlockPreformatted", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockPreformatted"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "language": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "language"], "additionalProperties": false}, "pageBlockFooter": {"title": "pageBlockFooter", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockFooter"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockDivider": {"title": "pageBlockDivider", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockDivider"]}}, "required": ["_"], "additionalProperties": false}, "pageBlockAnchor": {"title": "pageBlockAnchor", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockAnchor"]}, "name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "name"], "additionalProperties": false}, "pageBlockList": {"title": "pageBlockList", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockList"]}, "items": {"type": "array", "items": {"type": "object", "x-tl-type": "PageListItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageListItemText", "pageListItemBlocks"]}}, "description": "Тип TL: PageListItem."}, "x-tl-type": "Vector<PageListItem>"}}, "required": ["_", "items"], "additionalProperties": false}, "pageBlockBlockquote": {"title": "pageBlockBlockquote", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockBlockquote"]}, "collapsed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "caption": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text", "caption"], "additionalProperties": false}, "pageBlockPullquote": {"title": "pageBlockPullquote", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockPullquote"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "caption": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text", "caption"], "additionalProperties": false}, "pageBlockPhoto": {"title": "pageBlockPhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockPhoto"]}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "photo_id", "caption"], "additionalProperties": false}, "pageBlockVideo": {"title": "pageBlockVideo", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockVideo"]}, "autoplay": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "loop": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "video_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}}, "required": ["_", "video_id", "caption"], "additionalProperties": false}, "pageBlockCover": {"title": "pageBlockCover", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockCover"]}, "cover": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}}, "required": ["_", "cover"], "additionalProperties": false}, "pageBlockEmbed": {"title": "pageBlockEmbed", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockEmbed"]}, "full_width": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "allow_scrolling": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "html": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "poster_photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}}, "required": ["_", "caption"], "additionalProperties": false}, "pageBlockEmbedPost": {"title": "pageBlockEmbedPost", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockEmbedPost"]}, "url": {"type": "string", "x-tl-type": "string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "author_photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "author": {"type": "string", "x-tl-type": "string"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}}, "required": ["_", "url", "webpage_id", "author_photo_id", "author", "date", "blocks", "caption"], "additionalProperties": false}, "pageBlockCollage": {"title": "pageBlockCollage", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockCollage"]}, "items": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}}, "required": ["_", "items", "caption"], "additionalProperties": false}, "pageBlockSlideshow": {"title": "pageBlockSlideshow", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockSlideshow"]}, "items": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}}, "required": ["_", "items", "caption"], "additionalProperties": false}, "pageBlockChannel": {"title": "pageBlockChannel", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockChannel"]}, "channel": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}}, "required": ["_", "channel"], "additionalProperties": false}, "pageBlockAudio": {"title": "pageBlockAudio", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockAudio"]}, "audio_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}}, "required": ["_", "audio_id", "caption"], "additionalProperties": false}, "pageBlockKicker": {"title": "pageBlockKicker", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockKicker"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockTable": {"title": "pageBlockTable", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockTable"]}, "bordered": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "striped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "title": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "rows": {"type": "array", "items": {"type": "object", "x-tl-type": "PageTableRow", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageTableRow"]}}, "description": "Тип TL: PageTableRow."}, "x-tl-type": "Vector<PageTableRow>"}}, "required": ["_", "title", "rows"], "additionalProperties": false}, "pageBlockOrderedList": {"title": "pageBlockOrderedList", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockOrderedList"]}, "reversed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "items": {"type": "array", "items": {"type": "object", "x-tl-type": "PageListOrderedItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageListOrderedItemText", "pageListOrderedItemBlocks"]}}, "description": "Тип TL: PageListOrderedItem."}, "x-tl-type": "Vector<PageListOrderedItem>"}, "start": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "type": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "items"], "additionalProperties": false}, "pageBlockDetails": {"title": "pageBlockDetails", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockDetails"]}, "open": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "title": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "blocks", "title"], "additionalProperties": false}, "pageBlockRelatedArticles": {"title": "pageBlockRelatedArticles", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockRelatedArticles"]}, "title": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "articles": {"type": "array", "items": {"type": "object", "x-tl-type": "PageRelatedArticle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageRelatedArticle"]}}, "description": "Тип TL: PageRelatedArticle."}, "x-tl-type": "Vector<PageRelatedArticle>"}}, "required": ["_", "title", "articles"], "additionalProperties": false}, "pageBlockMap": {"title": "pageBlockMap", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockMap"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Тип TL: GeoPoint."}, "zoom": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}}, "required": ["_", "geo", "zoom", "w", "h", "caption"], "additionalProperties": false}, "pageBlockHeading1": {"title": "pageBlockHeading1", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading1"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading2": {"title": "pageBlockHeading2", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading2"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading3": {"title": "pageBlockHeading3", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading3"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading4": {"title": "pageBlockHeading4", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading4"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading5": {"title": "pageBlockHeading5", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading5"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockHeading6": {"title": "pageBlockHeading6", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockHeading6"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockMath": {"title": "pageBlockMath", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockMath"]}, "source": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "source"], "additionalProperties": false}, "pageBlockThinking": {"title": "pageBlockThinking", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockThinking"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "inputPageBlockMap": {"title": "inputPageBlockMap", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPageBlockMap"]}, "geo": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "Тип TL: InputGeoPoint."}, "zoom": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}}, "required": ["_", "geo", "zoom", "w", "h", "caption"], "additionalProperties": false}, "pageBlockBlockquoteBlocks": {"title": "pageBlockBlockquoteBlocks", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockBlockquoteBlocks"]}, "collapsed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "blocks", "caption"], "additionalProperties": false}, "pageBlockButtonRow": {"title": "pageBlockButtonRow", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockButtonRow"]}, "align_left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "align_center": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "align_right": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "buttons": {"type": "array", "items": {"type": "object", "x-tl-type": "PageButton", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageButton"]}}, "description": "Тип TL: PageButton."}, "x-tl-type": "Vector<PageButton>"}}, "required": ["_", "buttons"], "additionalProperties": false}, "pageBlockDocument": {"title": "pageBlockDocument", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockDocument"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Тип TL: PageCaption."}}, "required": ["_", "document_id", "caption"], "additionalProperties": false}, "phoneCallDiscardReasonMissed": {"title": "phoneCallDiscardReasonMissed", "description": "Der Anruf wurde verpasst, weitere Informationen finden Sie [hier »](https://core.telegram.org/api/calls.md)].", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonMissed"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMissed"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonDisconnect": {"title": "phoneCallDiscardReasonDisconnect", "description": "Das Telefongespräch wurde unterbrochen. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/calls.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonDisconnect"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonDisconnect"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonHangup": {"title": "phoneCallDiscardReasonHangup", "description": "Das Telefonat wurde normal beendet, weitere Informationen finden Sie [hier »](https://core.telegram.org/api/calls.md)].", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonHangup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonHangup"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonBusy": {"title": "phoneCallDiscardReasonBusy", "description": "Der Anruf wurde abgebrochen, da der Benutzer mit einem anderen Anruf beschäftigt ist. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/calls.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonBusy"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonBusy"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonMigrateConferenceCall": {"title": "phoneCallDiscardReasonMigrateConferenceCall", "description": "Dieses Telefongespräch wurde in eine [Telefonkonferenz](https://core.telegram.org/api/end-to-end/group-calls.md)“ migriert.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonMigrateConferenceCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMigrateConferenceCall"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "[Konferenzlink »](https://core.telegram.org/api/links.md#conference-links) Slug.", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "dataJSON": {"title": "dataJSON", "description": "Represents a json-encoded object", "externalDocs": {"url": "https://core.telegram.org/constructor/dataJSON"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dataJSON"]}, "data": {"type": "string", "x-tl-type": "string", "description": "JSON-codiertes Objekt", "x-telegram-field-docs": true}}, "required": ["_", "data"], "additionalProperties": false}, "labeledPrice": {"title": "labeledPrice", "type": "object", "properties": {"_": {"type": "string", "enum": ["labeledPrice"]}, "label": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "label", "amount"], "additionalProperties": false}, "invoice": {"title": "invoice", "type": "object", "properties": {"_": {"type": "string", "enum": ["invoice"]}, "test": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "name_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "phone_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "email_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "shipping_address_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "flexible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "phone_to_provider": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "email_to_provider": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "recurring": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "currency": {"type": "string", "x-tl-type": "string"}, "prices": {"type": "array", "items": {"type": "object", "x-tl-type": "LabeledPrice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["labeledPrice"]}}, "description": "Тип TL: LabeledPrice."}, "x-tl-type": "Vector<LabeledPrice>"}, "max_tip_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "suggested_tip_amounts": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.8?Vector<long>"}, "terms_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.10?string"}, "subscription_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}}, "required": ["_", "currency", "prices"], "additionalProperties": false}, "paymentCharge": {"title": "paymentCharge", "type": "object", "properties": {"_": {"type": "string", "enum": ["paymentCharge"]}, "id": {"type": "string", "x-tl-type": "string"}, "provider_charge_id": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "id", "provider_charge_id"], "additionalProperties": false}, "postAddress": {"title": "postAddress", "type": "object", "properties": {"_": {"type": "string", "enum": ["postAddress"]}, "street_line1": {"type": "string", "x-tl-type": "string"}, "street_line2": {"type": "string", "x-tl-type": "string"}, "city": {"type": "string", "x-tl-type": "string"}, "state": {"type": "string", "x-tl-type": "string"}, "country_iso2": {"type": "string", "x-tl-type": "string"}, "post_code": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "street_line1", "street_line2", "city", "state", "country_iso2", "post_code"], "additionalProperties": false}, "paymentRequestedInfo": {"title": "paymentRequestedInfo", "description": "Vom Benutzer bereitgestellte Bestellinformationen", "externalDocs": {"url": "https://core.telegram.org/constructor/paymentRequestedInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}, "name": {"type": "string", "x-tl-type": "string", "description": "Vollständiger Name des Benutzers", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "phone": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer des Benutzers", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "email": {"type": "string", "x-tl-type": "string", "description": "E-Mail-Adresse des Benutzers", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "shipping_address": {"type": "object", "x-tl-type": "PostAddress", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["postAddress"]}}, "description": "Lieferadresse des Benutzers", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?PostAddress"}}, "required": ["_"], "additionalProperties": false}, "paymentSavedCredentialsCard": {"title": "paymentSavedCredentialsCard", "type": "object", "properties": {"_": {"type": "string", "enum": ["paymentSavedCredentialsCard"]}, "id": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "webDocument": {"title": "webDocument", "type": "object", "properties": {"_": {"type": "string", "enum": ["webDocument"]}, "url": {"type": "string", "x-tl-type": "string"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "mime_type": {"type": "string", "x-tl-type": "string"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "DocumentAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize", "documentAttributeAnimated", "documentAttributeSticker", "documentAttributeVideo", "documentAttributeAudio", "documentAttributeFilename", "documentAttributeHasStickers", "documentAttributeCustomEmoji"]}}, "description": "Тип TL: DocumentAttribute."}, "x-tl-type": "Vector<DocumentAttribute>"}}, "required": ["_", "url", "access_hash", "size", "mime_type", "attributes"], "additionalProperties": false}, "webDocumentNoProxy": {"title": "webDocumentNoProxy", "type": "object", "properties": {"_": {"type": "string", "enum": ["webDocumentNoProxy"]}, "url": {"type": "string", "x-tl-type": "string"}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "mime_type": {"type": "string", "x-tl-type": "string"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "DocumentAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize", "documentAttributeAnimated", "documentAttributeSticker", "documentAttributeVideo", "documentAttributeAudio", "documentAttributeFilename", "documentAttributeHasStickers", "documentAttributeCustomEmoji"]}}, "description": "Тип TL: DocumentAttribute."}, "x-tl-type": "Vector<DocumentAttribute>"}}, "required": ["_", "url", "size", "mime_type", "attributes"], "additionalProperties": false}, "inputWebDocument": {"title": "inputWebDocument", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWebDocument"]}, "url": {"type": "string", "x-tl-type": "string"}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "mime_type": {"type": "string", "x-tl-type": "string"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "DocumentAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentAttributeImageSize", "documentAttributeAnimated", "documentAttributeSticker", "documentAttributeVideo", "documentAttributeAudio", "documentAttributeFilename", "documentAttributeHasStickers", "documentAttributeCustomEmoji"]}}, "description": "Тип TL: DocumentAttribute."}, "x-tl-type": "Vector<DocumentAttribute>"}}, "required": ["_", "url", "size", "mime_type", "attributes"], "additionalProperties": false}, "inputWebFileLocation": {"title": "inputWebFileLocation", "description": "Speicherort einer entfernten HTTP(s)-Datei", "externalDocs": {"url": "https://core.telegram.org/constructor/inputWebFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWebFileLocation"]}, "url": {"type": "string", "x-tl-type": "string", "description": "HTTP URL der Datei", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "url", "access_hash"], "additionalProperties": false}, "inputWebFileGeoPointLocation": {"title": "inputWebFileGeoPointLocation", "description": "Wird zum Herunterladen eines vom Server generierten Bildes mit der Kartenvorschau von einem [GeoPoint](https://core.telegram.org/constructor/geoPoint.md) verwendet. Weitere Informationen finden Sie in den [Webdatei-Dokumenten »](https://core.telegram.org/api/files.md#downloading-webfiles).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputWebFileGeoPointLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWebFileGeoPointLocation"]}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty", "inputGeoPoint"]}}, "description": "Erzeugt aus den Parametern `lat`, `long` und `accuracy_radius` des [geoPoint](https://core.telegram.org/constructor/geoPoint.md)", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffshash des [geoPoint](https://core.telegram.org/constructor/geoPoint.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Kartenbreite in Pixeln vor der Skalierung; 16-1024", "x-telegram-field-docs": true}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Kartenhöhe in Pixeln vor dem Anwenden der Skalierung; 16-1024", "x-telegram-field-docs": true}, "zoom": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Zoomstufe der Karte; 13-20", "x-telegram-field-docs": true}, "scale": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Kartenmaßstab; 1-3", "x-telegram-field-docs": true}}, "required": ["_", "geo_point", "access_hash", "w", "h", "zoom", "scale"], "additionalProperties": false}, "inputWebFileAudioAlbumThumbLocation": {"title": "inputWebFileAudioAlbumThumbLocation", "description": "Wird zum Herunterladen eines Albumcovers für eine beliebige Musikdatei mit [upload.getWebFile](https://core.telegram.org/method/upload.getWebFile.md) verwendet. Weitere Informationen finden Sie in der [Webdatei-Dokumentation »](https://core.telegram.org/api/files.md#downloading-webfiles).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputWebFileAudioAlbumThumbLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWebFileAudioAlbumThumbLocation"]}, "small": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wird verwendet, um ein Miniaturbild mit einer Auflösung von `100x100` zurückzugeben (anstelle der Standardauflösung von `600x600`).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "document": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Die betreffende Audiodatei: muss NOT in geheimen Chats bereitgestellt werden, geben Sie stattdessen die Felder `title` und `performer` an.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputDocument"}, "title": {"type": "string", "x-tl-type": "string", "description": "Songtitel: sollte nur in geheimen Chats verwendet werden, in normalen Chats stattdessen `document` angeben, da es laxere Ratenbegrenzungen gibt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "performer": {"type": "string", "x-tl-type": "string", "description": "Song-Performer: sollte nur in geheimen Chats verwendet werden, in normalen Chats stattdessen `document` bereitstellen, da es weniger strenge Ratenbeschränkungen gibt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_"], "additionalProperties": false}, "upload.webFile": {"title": "upload.webFile", "description": "Stellt einen Teil einer [HTTP Webdatei](https://core.telegram.org/api/files.md) dar, die über die sicheren MTProto-Server von Telegram heruntergeladen wurde", "externalDocs": {"url": "https://core.telegram.org/constructor/upload.webFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["upload.webFile"]}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dateigröße", "x-telegram-field-docs": true}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "Mime-Typ", "x-telegram-field-docs": true}, "file_type": {"type": "object", "x-tl-type": "storage.FileType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storage.fileUnknown", "storage.filePartial", "storage.fileJpeg", "storage.fileGif", "storage.filePng", "storage.filePdf", "storage.fileMp3", "storage.fileMov", "storage.fileMp4", "storage.fileWebp"]}}, "description": "Dateityp", "x-telegram-field-docs": true}, "mtime": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Geänderte Zeit", "x-telegram-field-docs": true}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Daten", "x-telegram-field-docs": true}}, "required": ["_", "size", "mime_type", "file_type", "mtime", "bytes"], "additionalProperties": false}, "payments.paymentForm": {"title": "payments.paymentForm", "description": "Zahlungsformular", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentForm"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentForm"]}, "can_save_credentials": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Benutzer Anmeldeinformationen speichern kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "password_missing": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Zeigt an, dass der Benutzer Zahlungsanmeldeinformationen speichern kann, jedoch erst nach der Einrichtung eines [2FA-Passworts](https://core.telegram.org/api/srp.md) (derzeit verfügt das Konto nicht über ein [2FA-Passwort](https://core.telegram.org/api/srp.md))“", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Formular-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Bot-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Formulartitel", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Beschreibung", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Produktfoto", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?WebDocument"}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "Rechnung", "x-telegram-field-docs": true}, "provider_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Zahlungsanbieters.", "x-tl-type": "long", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "Zahlungsformular URL", "x-telegram-field-docs": true}, "native_provider": {"type": "string", "x-tl-type": "string", "description": "Name des Zahlungsanbieters. Eines der folgenden: - `stripe`", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "native_params": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Enthält Informationen zum Zahlungsanbieter, sofern verfügbar, um ihn nativ zu unterstützen, ohne dass URL geöffnet werden muss. Ein JSON-Objekt, das die folgenden Felder enthalten kann: - `apple_pay_merchant_id`: Apple Pay-Händler-ID - `google_pay_public_key`: Öffentlicher Google Pay-Schlüssel - `need_country`: True, wenn das Benutzerland angegeben werden muss, - `need_zip`: True, wenn der Benutzer ZIP/Postleitzahl angegeben werden muss, - `need_cardholder_name`: True, wenn der Name des Karteninhabers angegeben werden muss\\", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?DataJSON"}, "additional_methods": {"type": "array", "items": {"type": "object", "x-tl-type": "PaymentFormMethod", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentFormMethod"]}}, "description": "Тип TL: PaymentFormMethod."}, "x-tl-type": "Vector<PaymentFormMethod>", "description": "Zusätzliche Zahlungsmethoden", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Vector<PaymentFormMethod>"}, "saved_info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}}, "description": "Gespeicherte serverseitige Bestellinformationen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?PaymentRequestedInfo"}, "saved_credentials": {"type": "array", "items": {"type": "object", "x-tl-type": "PaymentSavedCredentials", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentSavedCredentialsCard"]}}, "description": "Тип TL: PaymentSavedCredentials."}, "x-tl-type": "Vector<PaymentSavedCredentials>", "description": "Enthält Informationen zu gespeicherten Kartenanmeldeinformationen", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<PaymentSavedCredentials>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "form_id", "bot_id", "title", "description", "invoice", "provider_id", "url", "users"], "additionalProperties": false}, "payments.paymentFormStars": {"title": "payments.paymentFormStars", "description": "Stellt ein Zahlungsformular für Zahlungen mit [Telegram Stars dar, weitere Informationen finden Sie hier »](https://core.telegram.org/api/stars.md)«.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentFormStars"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentFormStars"]}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Formular-ID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Bot-ID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Formulartitel", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Beschreibung", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Produktfoto", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?WebDocument"}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "Rechnung", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Informationen zu den in den anderen Feldern genannten Benutzern.", "x-telegram-field-docs": true}}, "required": ["_", "form_id", "bot_id", "title", "description", "invoice", "users"], "additionalProperties": false}, "payments.paymentFormStarGift": {"title": "payments.paymentFormStarGift", "description": "Stellt ein Zahlungsformular für ein [Geschenk dar, weitere Informationen finden Sie hier »](https://core.telegram.org/api/gifts.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentFormStarGift"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentFormStarGift"]}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Formular-ID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "Rechnung", "x-telegram-field-docs": true}}, "required": ["_", "form_id", "invoice"], "additionalProperties": false}, "payments.validatedRequestedInfo": {"title": "payments.validatedRequestedInfo", "description": "Validierte, vom Benutzer bereitgestellte Informationen", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.validatedRequestedInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.validatedRequestedInfo"]}, "id": {"type": "string", "x-tl-type": "string", "description": "Ausweis", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "shipping_options": {"type": "array", "items": {"type": "object", "x-tl-type": "ShippingOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["shippingOption"]}}, "description": "TL Type: ShippingOption."}, "x-tl-type": "Vector<ShippingOption>", "description": "Versandoptionen", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<ShippingOption>"}}, "required": ["_"], "additionalProperties": false}, "payments.paymentResult": {"title": "payments.paymentResult", "description": "Zahlungsergebnis", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentResult"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentResult"]}, "updates": {"type": "object", "x-tl-type": "Updates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updatesTooLong", "updateShortMessage", "updateShortChatMessage", "updateShort", "updatesCombined", "updates", "updateShortSentMessage"]}}, "description": "Infos zur Zahlung", "x-telegram-field-docs": true}}, "required": ["_", "updates"], "additionalProperties": false}, "payments.paymentVerificationNeeded": {"title": "payments.paymentVerificationNeeded", "description": "Die Zahlung war nicht erfolgreich, eine zusätzliche Überprüfung ist erforderlich", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentVerificationNeeded"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentVerificationNeeded"]}, "url": {"type": "string", "x-tl-type": "string", "description": "URL zur Überprüfung zusätzlicher Zahlungsdaten", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "payments.paymentReceipt": {"title": "payments.paymentReceipt", "description": "Quittung", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentReceipt"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentReceipt"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum der Generierung", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Bot-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "provider_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Anbieter-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Titel", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Beschreibung", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Foto", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?WebDocument"}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "Rechnung", "x-telegram-field-docs": true}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}}, "description": "Infos", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?PaymentRequestedInfo"}, "shipping": {"type": "object", "x-tl-type": "ShippingOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["shippingOption"]}}, "description": "Ausgewählte Versandoption", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?ShippingOption"}, "tip_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Trinkgeldbetrag", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?long"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtbetrag in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Für einen Preis von `US$ 1.45` gehen Sie beispielsweise `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}, "credentials_title": {"type": "string", "x-tl-type": "string", "description": "Name der Zahlungsanmeldeinformationen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "date", "bot_id", "provider_id", "title", "description", "invoice", "currency", "total_amount", "credentials_title", "users"], "additionalProperties": false}, "payments.paymentReceiptStars": {"title": "payments.paymentReceiptStars", "description": "Quittung für [Zahlung mit Telegram Stars](https://core.telegram.org/api/stars.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentReceiptStars"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentReceiptStars"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum der Generierung", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Bot-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Titel", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Beschreibung", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Produktfoto", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?WebDocument"}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "Rechnung", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Währung, immer `XTR`.", "x-telegram-field-docs": true}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Anzahl von [Telegram Stars](https://core.telegram.org/api/stars.md).", "x-tl-type": "long", "x-telegram-field-docs": true}, "transaction_id": {"type": "string", "x-tl-type": "string", "description": "Transaktions-ID", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Informationen zu den in den anderen Feldern genannten Benutzern.", "x-telegram-field-docs": true}}, "required": ["_", "date", "bot_id", "title", "description", "invoice", "currency", "total_amount", "transaction_id", "users"], "additionalProperties": false}, "payments.savedInfo": {"title": "payments.savedInfo", "description": "Gespeicherte serverseitige Bestellinformationen", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.savedInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.savedInfo"]}, "has_saved_credentials": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Benutzer einige gespeicherte Zahlungsanmeldeinformationen hat", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "saved_info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}}, "description": "Gespeicherte serverseitige Bestellinformationen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?PaymentRequestedInfo"}}, "required": ["_"], "additionalProperties": false}, "inputPaymentCredentialsSaved": {"title": "inputPaymentCredentialsSaved", "description": "Zahlungsdaten gespeichert", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPaymentCredentialsSaved"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPaymentCredentialsSaved"]}, "id": {"type": "string", "x-tl-type": "string", "description": "Anmeldeinformations-ID", "x-telegram-field-docs": true}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Temporäres Passwort", "x-telegram-field-docs": true}}, "required": ["_", "id", "tmp_password"], "additionalProperties": false}, "inputPaymentCredentials": {"title": "inputPaymentCredentials", "description": "Zahlungsinformationen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPaymentCredentials"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPaymentCredentials"]}, "save": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Bewahren Sie die Zahlungsanmeldedaten für die zukünftige Verwendung auf", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Zahlungsinformationen", "x-telegram-field-docs": true}}, "required": ["_", "data"], "additionalProperties": false}, "inputPaymentCredentialsApplePay": {"title": "inputPaymentCredentialsApplePay", "description": "Apple Pay-Zahlungsdaten", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPaymentCredentialsApplePay"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPaymentCredentialsApplePay"]}, "payment_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Zahlungsdaten", "x-telegram-field-docs": true}}, "required": ["_", "payment_data"], "additionalProperties": false}, "inputPaymentCredentialsGooglePay": {"title": "inputPaymentCredentialsGooglePay", "description": "Anmeldedaten für die Google Pay-Zahlung", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPaymentCredentialsGooglePay"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPaymentCredentialsGooglePay"]}, "payment_token": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Zahlungstoken", "x-telegram-field-docs": true}}, "required": ["_", "payment_token"], "additionalProperties": false}, "account.tmpPassword": {"title": "account.tmpPassword", "description": "Temporäres Zahlungspasswort", "externalDocs": {"url": "https://core.telegram.org/constructor/account.tmpPassword"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.tmpPassword"]}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Temporäres Passwort", "x-telegram-field-docs": true}, "valid_until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gültigkeitsdauer", "x-telegram-field-docs": true}}, "required": ["_", "tmp_password", "valid_until"], "additionalProperties": false}, "shippingOption": {"title": "shippingOption", "description": "Versandoption", "externalDocs": {"url": "https://core.telegram.org/constructor/shippingOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["shippingOption"]}, "id": {"type": "string", "x-tl-type": "string", "description": "Options-ID", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Titel", "x-telegram-field-docs": true}, "prices": {"type": "array", "items": {"type": "object", "x-tl-type": "LabeledPrice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["labeledPrice"]}}, "description": "Тип TL: LabeledPrice."}, "x-tl-type": "Vector<LabeledPrice>", "description": "Liste der Preisanteile", "x-telegram-field-docs": true}}, "required": ["_", "id", "title", "prices"], "additionalProperties": false}, "inputStickerSetItem": {"title": "inputStickerSetItem", "description": "Aufkleber im Stickerset", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetItem"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetItem"]}, "document": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Der Aufkleber", "x-telegram-field-docs": true}, "emoji": {"type": "string", "x-tl-type": "string", "description": "Zugehöriges Emoji", "x-telegram-field-docs": true}, "mask_coords": {"type": "object", "x-tl-type": "MaskCoords", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["maskCoords"]}}, "description": "Koordinaten für Maskenaufkleber", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?MaskCoords"}, "keywords": {"type": "string", "x-tl-type": "string", "description": "Satz von Schlüsselwörtern, durch Kommas getrennt (kann für Maskenaufkleber nicht bereitgestellt werden)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_", "document", "emoji"], "additionalProperties": false}, "inputPhoneCall": {"title": "inputPhoneCall", "description": "Identifiziert einen [Telefonanruf](https://core.telegram.org/api/calls.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhoneCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhoneCall"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Anruf-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "phoneCallEmpty": {"title": "phoneCallEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "phoneCallWaiting": {"title": "phoneCallWaiting", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallWaiting"]}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Тип TL: PhoneCallProtocol."}, "receive_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "protocol"], "additionalProperties": false}, "phoneCallRequested": {"title": "phoneCallRequested", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallRequested"]}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "g_a_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Тип TL: PhoneCallProtocol."}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "g_a_hash", "protocol"], "additionalProperties": false}, "phoneCallAccepted": {"title": "phoneCallAccepted", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallAccepted"]}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "g_b": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Тип TL: PhoneCallProtocol."}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "g_b", "protocol"], "additionalProperties": false}, "phoneCall": {"title": "phoneCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCall"]}, "p2p_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "conference_supported": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "g_a_or_b": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Тип TL: PhoneCallProtocol."}, "connections": {"type": "array", "items": {"type": "object", "x-tl-type": "PhoneConnection", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneConnection", "phoneConnectionWebrtc"]}}, "description": "Тип TL: PhoneConnection."}, "x-tl-type": "Vector<PhoneConnection>"}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "custom_parameters": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON.", "x-tl-flag": "flags.7?DataJSON"}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "g_a_or_b", "key_fingerprint", "protocol", "connections", "start_date"], "additionalProperties": false}, "phoneCallDiscarded": {"title": "phoneCallDiscarded", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscarded"]}, "need_rating": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "need_debug": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "reason": {"type": "object", "x-tl-type": "PhoneCallDiscardReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonMigrateConferenceCall"]}}, "description": "Тип TL: PhoneCallDiscardReason.", "x-tl-flag": "flags.0?PhoneCallDiscardReason"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "id"], "additionalProperties": false}, "phoneConnection": {"title": "phoneConnection", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneConnection"]}, "tcp": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "ip": {"type": "string", "x-tl-type": "string"}, "ipv6": {"type": "string", "x-tl-type": "string"}, "port": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer_tag": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "id", "ip", "ipv6", "port", "peer_tag"], "additionalProperties": false}, "phoneConnectionWebrtc": {"title": "phoneConnectionWebrtc", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneConnectionWebrtc"]}, "turn": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "stun": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "ip": {"type": "string", "x-tl-type": "string"}, "ipv6": {"type": "string", "x-tl-type": "string"}, "port": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "username": {"type": "string", "x-tl-type": "string"}, "password": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "id", "ip", "ipv6", "port", "username", "password"], "additionalProperties": false}, "phoneCallProtocol": {"title": "phoneCallProtocol", "description": "Protokollinformationen für die VoIP-Bibliothek finden Sie [hier »](https://core.telegram.org/api/calls.md#populating-phonecallprotocol)] für Einzelheiten zum Auffüllen.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallProtocol"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}, "udp_p2p": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob eine P2P Verbindung zum anderen Teilnehmer zugelassen werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "udp_reflector": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Verbindung zu den anderen Teilnehmern über die Reflektorserver zugelassen werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "min_layer": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Mindestebene für Remote-Libtgvoip", "x-telegram-field-docs": true}, "max_layer": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximale Ebene für Remote-Libtgvoip", "x-telegram-field-docs": true}, "library_versions": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Geben Sie bei Verwendung von [phone.requestCall](https://core.telegram.org/method/phone.requestCall.md) und [phone.acceptCall](https://core.telegram.org/method/phone.acceptCall.md)] alle vom Client unterstützten Bibliotheksversionen an.  Der Server führt die Zusammenführung durch und wählt die beste Bibliotheksversion aus, die von beiden Peers unterstützt wird, und gibt nur den besten Wert im Ergebnis des [phone.acceptCall](https://core.telegram.org/method/phone.acceptCall.md) des Angerufenen und im vom Anrufer empfangenen [phoneCallAccepted](https://core.telegram.org/constructor/phoneCallAccepted.md)]-Update zurück.", "x-telegram-field-docs": true}}, "required": ["_", "min_layer", "max_layer", "library_versions"], "additionalProperties": false}, "phone.phoneCall": {"title": "phone.phoneCall", "description": "Ein VoIP-Telefonanruf", "externalDocs": {"url": "https://core.telegram.org/constructor/phone.phoneCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phone.phoneCall"]}, "phone_call": {"type": "object", "x-tl-type": "PhoneCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallEmpty", "phoneCallWaiting", "phoneCallRequested", "phoneCallAccepted", "phoneCall", "phoneCallDiscarded"]}}, "description": "Der VoIP-Telefonanruf", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "VoIP-Telefonanrufteilnehmer", "x-telegram-field-docs": true}}, "required": ["_", "phone_call", "users"], "additionalProperties": false}, "upload.cdnFileReuploadNeeded": {"title": "upload.cdnFileReuploadNeeded", "description": "Die Datei wurde aus dem temporären RAM-Cache des [CDN](https://core.telegram.org/cdn.md) gelöscht und muss erneut hochgeladen werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/upload.cdnFileReuploadNeeded"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["upload.cdnFileReuploadNeeded"]}, "request_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Anforderungstoken (siehe [CDN](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}}, "required": ["_", "request_token"], "additionalProperties": false}, "upload.cdnFile": {"title": "upload.cdnFile", "description": "Stellt einen Teil einer [CDN](https://core.telegram.org/cdn.md)-Datei dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/upload.cdnFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["upload.cdnFile"]}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Die Daten", "x-telegram-field-docs": true}}, "required": ["_", "bytes"], "additionalProperties": false}, "cdnPublicKey": {"title": "cdnPublicKey", "type": "object", "properties": {"_": {"type": "string", "enum": ["cdnPublicKey"]}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "public_key": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "dc_id", "public_key"], "additionalProperties": false}, "cdnConfig": {"title": "cdnConfig", "description": "Konfiguration für [CDN](https://core.telegram.org/cdn.md) Dateidownloads.", "externalDocs": {"url": "https://core.telegram.org/constructor/cdnConfig"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["cdnConfig"]}, "public_keys": {"type": "array", "items": {"type": "object", "x-tl-type": "CdnPublicKey", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["cdnPublicKey"]}}, "description": "Тип TL: CdnPublicKey."}, "x-tl-type": "Vector<CdnPublicKey>", "description": "Vektor öffentlicher Schlüssel, die **nur** während Handshakes an [CDN](https://core.telegram.org/cdn.md) DCs verwendet werden sollen.", "x-telegram-field-docs": true}}, "required": ["_", "public_keys"], "additionalProperties": false}, "langPackString": {"title": "langPackString", "description": "Übersetzte Lokalisierungszeichenfolge", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackString"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackString"]}, "key": {"type": "string", "x-tl-type": "string", "description": "Sprachschlüssel", "x-telegram-field-docs": true}, "value": {"type": "string", "x-tl-type": "string", "description": "Wert", "x-telegram-field-docs": true}}, "required": ["_", "key", "value"], "additionalProperties": false}, "langPackStringPluralized": {"title": "langPackStringPluralized", "description": "Eine Sprachpaketzeichenfolge, die je nach der Nummer eines erwähnten Objekts unterschiedliche Formen hat. Weitere Informationen finden Sie unter [https://www.unicode.org/cldr/charts/latest/supplemental/sprache\\_plural\\_rules.html](https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html)", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackStringPluralized"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackStringPluralized"]}, "key": {"type": "string", "x-tl-type": "string", "description": "Lokalisierungsschlüssel", "x-telegram-field-docs": true}, "zero_value": {"type": "string", "x-tl-type": "string", "description": "Wert für Nullobjekte", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "one_value": {"type": "string", "x-tl-type": "string", "description": "Wert für ein Objekt", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "two_value": {"type": "string", "x-tl-type": "string", "description": "Wert für zwei Objekte", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "few_value": {"type": "string", "x-tl-type": "string", "description": "Wert für ein paar Objekte", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "many_value": {"type": "string", "x-tl-type": "string", "description": "Wert für viele Objekte", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "other_value": {"type": "string", "x-tl-type": "string", "description": "Standardwert", "x-telegram-field-docs": true}}, "required": ["_", "key", "other_value"], "additionalProperties": false}, "langPackStringDeleted": {"title": "langPackStringDeleted", "description": "Lokalisierungszeichenfolge gelöscht", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackStringDeleted"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackStringDeleted"]}, "key": {"type": "string", "x-tl-type": "string", "description": "Lokalisierungsschlüssel", "x-telegram-field-docs": true}}, "required": ["_", "key"], "additionalProperties": false}, "langPackDifference": {"title": "langPackDifference", "description": "Änderungen am Lokalisierungspaket der App", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackDifference"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackDifference"]}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode", "x-telegram-field-docs": true}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Vorherige Versionsnummer", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Neue Versionsnummer", "x-telegram-field-docs": true}, "strings": {"type": "array", "items": {"type": "object", "x-tl-type": "LangPackString", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["langPackString", "langPackStringPluralized", "langPackStringDeleted"]}}, "description": "TL Type: LangPackString."}, "x-tl-type": "Vector<LangPackString>", "description": "Lokalisierte Zeichenfolgen", "x-telegram-field-docs": true}}, "required": ["_", "lang_code", "from_version", "version", "strings"], "additionalProperties": false}, "langPackLanguage": {"title": "langPackLanguage", "description": "Identifiziert ein Lokalisierungspaket", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackLanguage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackLanguage"]}, "official": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob das Sprachpaket offiziell ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Handelt es sich um ein Lokalisierungspaket für eine RTL-Sprache?", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "beta": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Handelt es sich um ein Beta-Lokalisierungspaket?", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "name": {"type": "string", "x-tl-type": "string", "description": "Sprachname", "x-telegram-field-docs": true}, "native_name": {"type": "string", "x-tl-type": "string", "description": "Sprachname in der Sprache selbst", "x-telegram-field-docs": true}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode (Paketkennung)", "x-telegram-field-docs": true}, "base_lang_code": {"type": "string", "x-tl-type": "string", "description": "Bezeichner eines Basissprachpakets; kann leer sein. Wenn im Sprachpaket eine Zeichenfolge fehlt, sollte sie aus dem Basissprachpaket abgerufen werden. Wird in benutzerdefinierten Sprachpaketen nicht unterstützt", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "plural_code": {"type": "string", "x-tl-type": "string", "description": "Ein Sprachcode, der zum Anwenden von Pluralformen verwendet wird. Weitere Informationen finden Sie unter [https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html](https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html)", "x-telegram-field-docs": true}, "strings_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der nicht gelöschten Zeichenfolgen aus dem Sprachpaket", "x-telegram-field-docs": true}, "translated_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der übersetzten Zeichenfolgen aus dem Sprachpaket", "x-telegram-field-docs": true}, "translations_url": {"type": "string", "x-tl-type": "string", "description": "Link zur Sprachübersetzungsschnittstelle; leer für benutzerdefinierte lokale Sprachpakete", "x-telegram-field-docs": true}}, "required": ["_", "name", "native_name", "lang_code", "plural_code", "strings_count", "translated_count", "translations_url"], "additionalProperties": false}, "channelAdminLogEventActionChangeTitle": {"title": "channelAdminLogEventActionChangeTitle", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeTitle"]}, "prev_value": {"type": "string", "x-tl-type": "string"}, "new_value": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeAbout": {"title": "channelAdminLogEventActionChangeAbout", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeAbout"]}, "prev_value": {"type": "string", "x-tl-type": "string"}, "new_value": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeUsername": {"title": "channelAdminLogEventActionChangeUsername", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeUsername"]}, "prev_value": {"type": "string", "x-tl-type": "string"}, "new_value": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangePhoto": {"title": "channelAdminLogEventActionChangePhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangePhoto"]}, "prev_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}, "new_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}}, "required": ["_", "prev_photo", "new_photo"], "additionalProperties": false}, "channelAdminLogEventActionToggleInvites": {"title": "channelAdminLogEventActionToggleInvites", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleInvites"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionToggleSignatures": {"title": "channelAdminLogEventActionToggleSignatures", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleSignatures"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionUpdatePinned": {"title": "channelAdminLogEventActionUpdatePinned", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionUpdatePinned"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionEditMessage": {"title": "channelAdminLogEventActionEditMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionEditMessage"]}, "prev_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "new_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "prev_message", "new_message"], "additionalProperties": false}, "channelAdminLogEventActionDeleteMessage": {"title": "channelAdminLogEventActionDeleteMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionDeleteMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionParticipantJoin": {"title": "channelAdminLogEventActionParticipantJoin", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantJoin"]}}, "required": ["_"], "additionalProperties": false}, "channelAdminLogEventActionParticipantLeave": {"title": "channelAdminLogEventActionParticipantLeave", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantLeave"]}}, "required": ["_"], "additionalProperties": false}, "channelAdminLogEventActionParticipantInvite": {"title": "channelAdminLogEventActionParticipantInvite", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantInvite"]}, "participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant."}}, "required": ["_", "participant"], "additionalProperties": false}, "channelAdminLogEventActionParticipantToggleBan": {"title": "channelAdminLogEventActionParticipantToggleBan", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantToggleBan"]}, "prev_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant."}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant."}}, "required": ["_", "prev_participant", "new_participant"], "additionalProperties": false}, "channelAdminLogEventActionParticipantToggleAdmin": {"title": "channelAdminLogEventActionParticipantToggleAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantToggleAdmin"]}, "prev_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant."}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant."}}, "required": ["_", "prev_participant", "new_participant"], "additionalProperties": false}, "channelAdminLogEventActionChangeStickerSet": {"title": "channelAdminLogEventActionChangeStickerSet", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeStickerSet"]}, "prev_stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "TL Type: InputStickerSet."}, "new_stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "TL Type: InputStickerSet."}}, "required": ["_", "prev_stickerset", "new_stickerset"], "additionalProperties": false}, "channelAdminLogEventActionTogglePreHistoryHidden": {"title": "channelAdminLogEventActionTogglePreHistoryHidden", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionTogglePreHistoryHidden"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionDefaultBannedRights": {"title": "channelAdminLogEventActionDefaultBannedRights", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionDefaultBannedRights"]}, "prev_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Тип TL: ChatBannedRights."}, "new_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Тип TL: ChatBannedRights."}}, "required": ["_", "prev_banned_rights", "new_banned_rights"], "additionalProperties": false}, "channelAdminLogEventActionStopPoll": {"title": "channelAdminLogEventActionStopPoll", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionStopPoll"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionChangeLinkedChat": {"title": "channelAdminLogEventActionChangeLinkedChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeLinkedChat"]}, "prev_value": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "new_value": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeLocation": {"title": "channelAdminLogEventActionChangeLocation", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeLocation"]}, "prev_value": {"type": "object", "x-tl-type": "ChannelLocation", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty", "channelLocation"]}}, "description": "Тип TL: ChannelLocation."}, "new_value": {"type": "object", "x-tl-type": "ChannelLocation", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty", "channelLocation"]}}, "description": "Тип TL: ChannelLocation."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionToggleSlowMode": {"title": "channelAdminLogEventActionToggleSlowMode", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleSlowMode"]}, "prev_value": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "new_value": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionStartGroupCall": {"title": "channelAdminLogEventActionStartGroupCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionStartGroupCall"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}}, "required": ["_", "call"], "additionalProperties": false}, "channelAdminLogEventActionDiscardGroupCall": {"title": "channelAdminLogEventActionDiscardGroupCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionDiscardGroupCall"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Тип TL: InputGroupCall."}}, "required": ["_", "call"], "additionalProperties": false}, "channelAdminLogEventActionParticipantMute": {"title": "channelAdminLogEventActionParticipantMute", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantMute"]}, "participant": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Тип TL: GroupCallParticipant."}}, "required": ["_", "participant"], "additionalProperties": false}, "channelAdminLogEventActionParticipantUnmute": {"title": "channelAdminLogEventActionParticipantUnmute", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantUnmute"]}, "participant": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Тип TL: GroupCallParticipant."}}, "required": ["_", "participant"], "additionalProperties": false}, "channelAdminLogEventActionToggleGroupCallSetting": {"title": "channelAdminLogEventActionToggleGroupCallSetting", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleGroupCallSetting"]}, "join_muted": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "join_muted"], "additionalProperties": false}, "channelAdminLogEventActionParticipantJoinByInvite": {"title": "channelAdminLogEventActionParticipantJoinByInvite", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantJoinByInvite"]}, "via_chatlist": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite."}}, "required": ["_", "invite"], "additionalProperties": false}, "channelAdminLogEventActionExportedInviteDelete": {"title": "channelAdminLogEventActionExportedInviteDelete", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionExportedInviteDelete"]}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite."}}, "required": ["_", "invite"], "additionalProperties": false}, "channelAdminLogEventActionExportedInviteRevoke": {"title": "channelAdminLogEventActionExportedInviteRevoke", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionExportedInviteRevoke"]}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite."}}, "required": ["_", "invite"], "additionalProperties": false}, "channelAdminLogEventActionExportedInviteEdit": {"title": "channelAdminLogEventActionExportedInviteEdit", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionExportedInviteEdit"]}, "prev_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite."}, "new_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite."}}, "required": ["_", "prev_invite", "new_invite"], "additionalProperties": false}, "channelAdminLogEventActionParticipantVolume": {"title": "channelAdminLogEventActionParticipantVolume", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantVolume"]}, "participant": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Тип TL: GroupCallParticipant."}}, "required": ["_", "participant"], "additionalProperties": false}, "channelAdminLogEventActionChangeHistoryTTL": {"title": "channelAdminLogEventActionChangeHistoryTTL", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeHistoryTTL"]}, "prev_value": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "new_value": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionParticipantJoinByRequest": {"title": "channelAdminLogEventActionParticipantJoinByRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantJoinByRequest"]}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite."}, "approved_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "invite", "approved_by"], "additionalProperties": false}, "channelAdminLogEventActionToggleNoForwards": {"title": "channelAdminLogEventActionToggleNoForwards", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleNoForwards"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionSendMessage": {"title": "channelAdminLogEventActionSendMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionSendMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionChangeAvailableReactions": {"title": "channelAdminLogEventActionChangeAvailableReactions", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeAvailableReactions"]}, "prev_value": {"type": "object", "x-tl-type": "ChatReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatReactionsNone", "chatReactionsAll", "chatReactionsSome"]}}, "description": "Тип TL: ChatReactions."}, "new_value": {"type": "object", "x-tl-type": "ChatReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatReactionsNone", "chatReactionsAll", "chatReactionsSome"]}}, "description": "Тип TL: ChatReactions."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeUsernames": {"title": "channelAdminLogEventActionChangeUsernames", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeUsernames"]}, "prev_value": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}, "new_value": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionToggleForum": {"title": "channelAdminLogEventActionToggleForum", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleForum"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionCreateTopic": {"title": "channelAdminLogEventActionCreateTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionCreateTopic"]}, "topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}}, "required": ["_", "topic"], "additionalProperties": false}, "channelAdminLogEventActionEditTopic": {"title": "channelAdminLogEventActionEditTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionEditTopic"]}, "prev_topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "new_topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}}, "required": ["_", "prev_topic", "new_topic"], "additionalProperties": false}, "channelAdminLogEventActionDeleteTopic": {"title": "channelAdminLogEventActionDeleteTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionDeleteTopic"]}, "topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}}, "required": ["_", "topic"], "additionalProperties": false}, "channelAdminLogEventActionPinTopic": {"title": "channelAdminLogEventActionPinTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionPinTopic"]}, "prev_topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic.", "x-tl-flag": "flags.0?ForumTopic"}, "new_topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic.", "x-tl-flag": "flags.1?ForumTopic"}}, "required": ["_"], "additionalProperties": false}, "channelAdminLogEventActionToggleAntiSpam": {"title": "channelAdminLogEventActionToggleAntiSpam", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleAntiSpam"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangePeerColor": {"title": "channelAdminLogEventActionChangePeerColor", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangePeerColor"]}, "prev_value": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Тип TL: PeerColor."}, "new_value": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Тип TL: PeerColor."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeProfilePeerColor": {"title": "channelAdminLogEventActionChangeProfilePeerColor", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeProfilePeerColor"]}, "prev_value": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Тип TL: PeerColor."}, "new_value": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Тип TL: PeerColor."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeWallpaper": {"title": "channelAdminLogEventActionChangeWallpaper", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeWallpaper"]}, "prev_value": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "TL Type: WallPaper."}, "new_value": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "TL Type: WallPaper."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeEmojiStatus": {"title": "channelAdminLogEventActionChangeEmojiStatus", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeEmojiStatus"]}, "prev_value": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "Тип TL: EmojiStatus."}, "new_value": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "Тип TL: EmojiStatus."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeEmojiStickerSet": {"title": "channelAdminLogEventActionChangeEmojiStickerSet", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeEmojiStickerSet"]}, "prev_stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "TL Type: InputStickerSet."}, "new_stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "TL Type: InputStickerSet."}}, "required": ["_", "prev_stickerset", "new_stickerset"], "additionalProperties": false}, "channelAdminLogEventActionToggleSignatureProfiles": {"title": "channelAdminLogEventActionToggleSignatureProfiles", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleSignatureProfiles"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionParticipantSubExtend": {"title": "channelAdminLogEventActionParticipantSubExtend", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantSubExtend"]}, "prev_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant."}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Тип TL: ChannelParticipant."}}, "required": ["_", "prev_participant", "new_participant"], "additionalProperties": false}, "channelAdminLogEventActionToggleAutotranslation": {"title": "channelAdminLogEventActionToggleAutotranslation", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleAutotranslation"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionParticipantEditRank": {"title": "channelAdminLogEventActionParticipantEditRank", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantEditRank"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "prev_rank": {"type": "string", "x-tl-type": "string"}, "new_rank": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "user_id", "prev_rank", "new_rank"], "additionalProperties": false}, "channelAdminLogEvent": {"title": "channelAdminLogEvent", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEvent"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "action": {"type": "object", "x-tl-type": "ChannelAdminLogEventAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeTitle", "channelAdminLogEventActionChangeAbout", "channelAdminLogEventActionChangeUsername", "channelAdminLogEventActionChangePhoto", "channelAdminLogEventActionToggleInvites", "channelAdminLogEventActionToggleSignatures", "channelAdminLogEventActionUpdatePinned", "channelAdminLogEventActionEditMessage", "channelAdminLogEventActionDeleteMessage", "channelAdminLogEventActionParticipantJoin", "channelAdminLogEventActionParticipantLeave", "channelAdminLogEventActionParticipantInvite", "channelAdminLogEventActionParticipantToggleBan", "channelAdminLogEventActionParticipantToggleAdmin", "channelAdminLogEventActionChangeStickerSet", "channelAdminLogEventActionTogglePreHistoryHidden", "channelAdminLogEventActionDefaultBannedRights", "channelAdminLogEventActionStopPoll", "channelAdminLogEventActionChangeLinkedChat", "channelAdminLogEventActionChangeLocation", "channelAdminLogEventActionToggleSlowMode", "channelAdminLogEventActionStartGroupCall", "channelAdminLogEventActionDiscardGroupCall", "channelAdminLogEventActionParticipantMute", "channelAdminLogEventActionParticipantUnmute", "channelAdminLogEventActionToggleGroupCallSetting", "channelAdminLogEventActionParticipantJoinByInvite", "channelAdminLogEventActionExportedInviteDelete", "channelAdminLogEventActionExportedInviteRevoke", "channelAdminLogEventActionExportedInviteEdit", "channelAdminLogEventActionParticipantVolume", "channelAdminLogEventActionChangeHistoryTTL", "channelAdminLogEventActionParticipantJoinByRequest", "channelAdminLogEventActionToggleNoForwards", "channelAdminLogEventActionSendMessage", "channelAdminLogEventActionChangeAvailableReactions", "channelAdminLogEventActionChangeUsernames", "channelAdminLogEventActionToggleForum", "channelAdminLogEventActionCreateTopic", "channelAdminLogEventActionEditTopic", "channelAdminLogEventActionDeleteTopic", "channelAdminLogEventActionPinTopic", "channelAdminLogEventActionToggleAntiSpam", "channelAdminLogEventActionChangePeerColor", "channelAdminLogEventActionChangeProfilePeerColor", "channelAdminLogEventActionChangeWallpaper", "channelAdminLogEventActionChangeEmojiStatus", "channelAdminLogEventActionChangeEmojiStickerSet", "channelAdminLogEventActionToggleSignatureProfiles", "channelAdminLogEventActionParticipantSubExtend", "channelAdminLogEventActionToggleAutotranslation", "channelAdminLogEventActionParticipantEditRank"]}}, "description": "Тип TL: ChannelAdminLogEventAction."}}, "required": ["_", "id", "date", "user_id", "action"], "additionalProperties": false}, "channels.adminLogResults": {"title": "channels.adminLogResults", "description": "Admin-Protokollereignisse", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.adminLogResults"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.adminLogResults"]}, "events": {"type": "array", "items": {"type": "object", "x-tl-type": "ChannelAdminLogEvent", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelAdminLogEvent"]}}, "description": "Тип TL: ChannelAdminLogEvent."}, "x-tl-type": "Vector<ChannelAdminLogEvent>", "description": "Admin-Protokollereignisse", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "In Veranstaltungen erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In Veranstaltungen erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "events", "chats", "users"], "additionalProperties": false}, "channelAdminLogEventsFilter": {"title": "channelAdminLogEventsFilter", "description": "Filtern Sie nur bestimmte Administratorprotokollereignisse", "externalDocs": {"url": "https://core.telegram.org/constructor/channelAdminLogEventsFilter"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventsFilter"]}, "join": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[An Veranstaltungen teilnehmen](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoin.md), einschließlich [Beitritt über Einladungslinks](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByInvite.md) und [Beitrittsanfragen](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByRequest.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "leave": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Ereignisse verlassen](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantLeave.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "invite": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Veranstaltungen einladen](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantInvite.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "ban": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Veranstaltungen verbieten](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleBan.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "unban": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Events entsperren](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleBan.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "kick": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Kick-Events](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleBan.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "unkick": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Ereignisse aufheben](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleBan.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "promote": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Admin-Werbeveranstaltungen](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleAdmin.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "demote": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Admin-Herabstufungsereignisse](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantToggleAdmin.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "info": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Infoänderungsereignisse (wenn [über](https://core.telegram.org/constructor/channelAdminLogEventActionChangeAbout.md), [verknüpfter Chat](https://core.telegram.org/constructor/channelAdminLogEventActionChangeLinkedChat.md), [Standort](https://core.telegram.org/constructor/channelAdminLogEventActionChangeLocation.md), [Foto](https://core.telegram.org/constructor/channelAdminLogEventActionChangePhoto.md), [Stickerset](https://core.telegram.org/constructor/channelAdminLogEventActionChangeStickerSet.md), [Titel](https://core.telegram.org/constructor/channelAdminLogEventActionChangeTitle.md) oder [Benutzername](https://core.telegram.org/constructor/channelAdminLogEventActionChangeUsername.md), [Slowmode](https://core.telegram.org/constructor/channelAdminLogEventActionToggleSlowMode.md), [Verlauf TTL](https://core.telegram.org/constructor/channelAdminLogEventActionChangeHistoryTTL.md)] Einstellungen eines Kanals erhält geändert)", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "settings": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Einstellungen ändern Ereignisse ([Einladungen](https://core.telegram.org/constructor/channelAdminLogEventActionToggleInvites.md), [versteckte Vorgeschichte](https://core.telegram.org/constructor/channelAdminLogEventActionTogglePreHistoryHidden.md), [Signaturen](https://core.telegram.org/constructor/channelAdminLogEventActionToggleSignatures.md), [Standard gesperrte Rechte](https://core.telegram.org/constructor/channelAdminLogEventActionDefaultBannedRights.md), [Forum-Toggle-Ereignisse](https://core.telegram.org/constructor/channelAdminLogEventActionToggleForum.md))]", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Nachrichten-Pin-Ereignisse](https://core.telegram.org/constructor/channelAdminLogEventActionUpdatePinned.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "edit": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Nachrichtenbearbeitungsereignisse](https://core.telegram.org/constructor/channelAdminLogEventActionEditMessage.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "delete": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Ereignisse zum Löschen von Nachrichten](https://core.telegram.org/constructor/channelAdminLogEventActionDeleteMessage.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "group_call": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Gruppenanrufereignisse", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?true"}, "invites": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Veranstaltungen einladen", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "send": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "In einem Kanal wurde eine Nachricht gepostet", "x-telegram-field-docs": true, "x-tl-flag": "flags.16?true"}, "forums": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Forum](https://core.telegram.org/api/forum.md)-bezogene Veranstaltungen", "x-telegram-field-docs": true, "x-tl-flag": "flags.17?true"}, "sub_extend": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Telegram Star-Abonnementverlängerungsereignisse »](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantSubExtend.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?true"}, "edit_rank": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ereignisse, bei denen der benutzerdefinierte [Tag (Rang) »](https://core.telegram.org/api/rank.md) eines Teilnehmers geändert wurde ([channelAdminLogEventActionParticipantEditRank](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantEditRank.md)).", "x-telegram-field-docs": true, "x-tl-flag": "flags.19?true"}}, "required": ["_"], "additionalProperties": false}, "popularContact": {"title": "popularContact", "type": "object", "properties": {"_": {"type": "string", "enum": ["popularContact"]}, "client_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "importers": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "client_id", "importers"], "additionalProperties": false}, "messages.favedStickersNotModified": {"title": "messages.favedStickersNotModified", "description": "Es wurden keine neuen Lieblingsaufkleber gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.favedStickersNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.favedStickersNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.favedStickers": {"title": "messages.favedStickers", "description": "Lieblingsaufkleber", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.favedStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.favedStickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "packs": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerPack", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerPack"]}}, "description": "Тип TL: StickerPack."}, "x-tl-type": "Vector<StickerPack>", "description": "Mit Aufklebern verknüpfte Emojis", "x-telegram-field-docs": true}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Lieblingsaufkleber", "x-telegram-field-docs": true}}, "required": ["_", "hash", "packs", "stickers"], "additionalProperties": false}, "recentMeUrlUnknown": {"title": "recentMeUrlUnknown", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlUnknown"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "recentMeUrlUser": {"title": "recentMeUrlUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlUser"]}, "url": {"type": "string", "x-tl-type": "string"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "url", "user_id"], "additionalProperties": false}, "recentMeUrlChat": {"title": "recentMeUrlChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlChat"]}, "url": {"type": "string", "x-tl-type": "string"}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "url", "chat_id"], "additionalProperties": false}, "recentMeUrlChatInvite": {"title": "recentMeUrlChatInvite", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlChatInvite"]}, "url": {"type": "string", "x-tl-type": "string"}, "chat_invite": {"type": "object", "x-tl-type": "ChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteAlready", "chatInvite", "chatInvitePeek"]}}, "description": "TL Type: ChatInvite."}}, "required": ["_", "url", "chat_invite"], "additionalProperties": false}, "recentMeUrlStickerSet": {"title": "recentMeUrlStickerSet", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlStickerSet"]}, "url": {"type": "string", "x-tl-type": "string"}, "set": {"type": "object", "x-tl-type": "StickerSetCovered", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSetCovered", "stickerSetMultiCovered", "stickerSetFullCovered", "stickerSetNoCovered"]}}, "description": "TL Type: StickerSetCovered."}}, "required": ["_", "url", "set"], "additionalProperties": false}, "help.recentMeUrls": {"title": "help.recentMeUrls", "description": "Aktuelle t.me URLs", "externalDocs": {"url": "https://core.telegram.org/constructor/help.recentMeUrls"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.recentMeUrls"]}, "urls": {"type": "array", "items": {"type": "object", "x-tl-type": "RecentMeUrl", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["recentMeUrlUnknown", "recentMeUrlUser", "recentMeUrlChat", "recentMeUrlChatInvite", "recentMeUrlStickerSet"]}}, "description": "Тип TL: RecentMeUrl."}, "x-tl-type": "Vector<RecentMeUrl>", "description": "URLs", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "urls", "chats", "users"], "additionalProperties": false}, "inputSingleMedia": {"title": "inputSingleMedia", "description": "Ein einzelnes Medium in einem [Album oder gruppierte Medien](https://core.telegram.org/api/files.md#albums-grouped-media), gesendet mit [messages.sendMultiMedia](https://core.telegram.org/method/messages.sendMultiMedia.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputSingleMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSingleMedia"]}, "media": {"type": "object", "x-tl-type": "InputMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage", "inputMediaPaidMedia", "inputMediaTodo", "inputMediaStakeDice", "inputMediaWidget", "inputMediaWidgetId"]}}, "description": "Die Medien", "x-telegram-field-docs": true}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Eindeutige Client-Medien-ID erforderlich, um ein erneutes Senden der Nachricht zu verhindern. Weitere Informationen zur zufälligen ID-Deduplizierung und updateMessageID-Zuordnung finden Sie hier »](https://core.telegram.org/api/updates.md#updatemessageid-updates).", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Eine Bildunterschrift für die Medien", "x-telegram-field-docs": true}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "Nachricht [entities](https://core.telegram.org/api/entities.md) für formatierten Text", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<MessageEntity>"}}, "required": ["_", "media", "random_id", "message"], "additionalProperties": false}, "webAuthorization": {"title": "webAuthorization", "type": "object", "properties": {"_": {"type": "string", "enum": ["webAuthorization"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "domain": {"type": "string", "x-tl-type": "string"}, "browser": {"type": "string", "x-tl-type": "string"}, "platform": {"type": "string", "x-tl-type": "string"}, "date_created": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date_active": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "ip": {"type": "string", "x-tl-type": "string"}, "region": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "hash", "bot_id", "domain", "browser", "platform", "date_created", "date_active", "ip", "region"], "additionalProperties": false}, "account.webAuthorizations": {"title": "account.webAuthorizations", "description": "Web-Autorisierungen", "externalDocs": {"url": "https://core.telegram.org/constructor/account.webAuthorizations"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.webAuthorizations"]}, "authorizations": {"type": "array", "items": {"type": "object", "x-tl-type": "WebAuthorization", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webAuthorization"]}}, "description": "Тип TL: WebAuthorization."}, "x-tl-type": "Vector<WebAuthorization>", "description": "Web-Autorisierungsliste", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "authorizations", "users"], "additionalProperties": false}, "inputMessageID": {"title": "inputMessageID", "description": "Nachricht nach ID", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessageID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessageID"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMessageReplyTo": {"title": "inputMessageReplyTo", "description": "Nachricht, auf die die angegebene Nachricht antwortet", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessageReplyTo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessageReplyTo"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID der Nachricht, die auf die von uns benötigte Nachricht antwortet", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMessagePinned": {"title": "inputMessagePinned", "description": "Angeheftete Nachricht", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagePinned"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagePinned"]}}, "required": ["_"], "additionalProperties": false}, "inputMessageCallbackQuery": {"title": "inputMessageCallbackQuery", "description": "Wird von Bots zum Abrufen von Informationen über die Nachricht verwendet, die eine Rückrufabfrage ausgelöst hat", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessageCallbackQuery"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessageCallbackQuery"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID", "x-telegram-field-docs": true}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Rückrufabfrage-ID", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "query_id"], "additionalProperties": false}, "inputDialogPeer": {"title": "inputDialogPeer", "description": "Ein Gleichgesinnter", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDialogPeer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDialogPeer"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Peer", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "inputDialogPeerFolder": {"title": "inputDialogPeerFolder", "description": "Alle Peers in einem [Peer-Ordner](https://core.telegram.org/api/folders.md#peer-folders)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDialogPeerFolder"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDialogPeerFolder"]}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders)", "x-telegram-field-docs": true}}, "required": ["_", "folder_id"], "additionalProperties": false}, "inputDialogPeerCommunity": {"title": "inputDialogPeerCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDialogPeerCommunity"]}, "community": {"type": "object", "x-tl-type": "InputChannel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputChannelEmpty", "inputChannel", "inputChannelFromMessage"]}}, "description": "TL Type: InputChannel."}}, "required": ["_", "community"], "additionalProperties": false}, "dialogPeer": {"title": "dialogPeer", "description": "Peer", "externalDocs": {"url": "https://core.telegram.org/constructor/dialogPeer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogPeer"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Peer", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "dialogPeerFolder": {"title": "dialogPeerFolder", "description": "[Peer-Ordner](https://core.telegram.org/api/folders.md#peer-folders)", "externalDocs": {"url": "https://core.telegram.org/constructor/dialogPeerFolder"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogPeerFolder"]}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders)", "x-telegram-field-docs": true}}, "required": ["_", "folder_id"], "additionalProperties": false}, "dialogPeerCommunity": {"title": "dialogPeerCommunity", "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogPeerCommunity"]}, "community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "community_id"], "additionalProperties": false}, "messages.foundStickerSetsNotModified": {"title": "messages.foundStickerSetsNotModified", "description": "Es wurden keine weiteren Ergebnisse gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.foundStickerSetsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.foundStickerSetsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.foundStickerSets": {"title": "messages.foundStickerSets", "description": "Aufklebersätze gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.foundStickerSets"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.foundStickerSets"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "sets": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerSetCovered", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSetCovered", "stickerSetMultiCovered", "stickerSetFullCovered", "stickerSetNoCovered"]}}, "description": "TL Type: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Aufklebersätze gefunden", "x-telegram-field-docs": true}}, "required": ["_", "hash", "sets"], "additionalProperties": false}, "fileHash": {"title": "fileHash", "description": "SHA256 Hash einer hochgeladenen Datei, der nach dem Download auf Gültigkeit überprüft werden soll", "externalDocs": {"url": "https://core.telegram.org/constructor/fileHash"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["fileHash"]}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Versatz, von dem aus mit der Berechnung des SHA-256-Hashs begonnen werden soll", "x-tl-type": "long", "x-telegram-field-docs": true}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Länge", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "SHA-256 Hash des Dateiblocks, der nach dem Download auf Gültigkeit überprüft werden soll", "x-telegram-field-docs": true}}, "required": ["_", "offset", "limit", "hash"], "additionalProperties": false}, "inputClientProxy": {"title": "inputClientProxy", "description": "Informationen zu einem [MTProxy](https://core.telegram.org/mtproto/mtproto-transports.md#transport-obfuscation), der für die Verbindung verwendet wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputClientProxy"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputClientProxy"]}, "address": {"type": "string", "x-tl-type": "string", "description": "Proxy-Adresse", "x-telegram-field-docs": true}, "port": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Proxy-Port", "x-telegram-field-docs": true}}, "required": ["_", "address", "port"], "additionalProperties": false}, "help.termsOfServiceUpdateEmpty": {"title": "help.termsOfServiceUpdateEmpty", "description": "An den Nutzungsbedingungen von Telegram wurden keine Änderungen vorgenommen", "externalDocs": {"url": "https://core.telegram.org/constructor/help.termsOfServiceUpdateEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.termsOfServiceUpdateEmpty"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Neue TOS Updates müssen mit [help.getTermsOfServiceUpdate](https://core.telegram.org/method/help.getTermsOfServiceUpdate.md) in `expires` Sekunden abgefragt werden", "x-telegram-field-docs": true}}, "required": ["_", "expires"], "additionalProperties": false}, "help.termsOfServiceUpdate": {"title": "help.termsOfServiceUpdate", "description": "Informationen zu einer Aktualisierung der Nutzungsbedingungen von Telegram. Wenn die Nutzungsbedingungen abgelehnt werden, sollte die Methode [account.deleteAccount](https://core.telegram.org/method/account.deleteAccount.md)) mit dem Grund „ToS-Update ablehnen“ aufgerufen werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/help.termsOfServiceUpdate"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.termsOfServiceUpdate"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Neue TOS Updates müssen mit [help.getTermsOfServiceUpdate](https://core.telegram.org/method/help.getTermsOfServiceUpdate.md) in `expires` Sekunden abgefragt werden", "x-telegram-field-docs": true}, "terms_of_service": {"type": "object", "x-tl-type": "help.TermsOfService", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["help.termsOfService"]}}, "description": "Neue Nutzungsbedingungen", "x-telegram-field-docs": true}}, "required": ["_", "expires", "terms_of_service"], "additionalProperties": false}, "inputSecureFileUploaded": {"title": "inputSecureFileUploaded", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSecureFileUploaded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "md5_checksum": {"type": "string", "x-tl-type": "string"}, "file_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "id", "parts", "md5_checksum", "file_hash", "secret"], "additionalProperties": false}, "inputSecureFile": {"title": "inputSecureFile", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSecureFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "secureFileEmpty": {"title": "secureFileEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureFileEmpty"]}}, "required": ["_"], "additionalProperties": false}, "secureFile": {"title": "secureFile", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "file_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "id", "access_hash", "size", "dc_id", "date", "file_hash", "secret"], "additionalProperties": false}, "secureData": {"title": "secureData", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureData"]}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "data_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "data", "data_hash", "secret"], "additionalProperties": false}, "securePlainPhone": {"title": "securePlainPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePlainPhone"]}, "phone": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "phone"], "additionalProperties": false}, "securePlainEmail": {"title": "securePlainEmail", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePlainEmail"]}, "email": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "email"], "additionalProperties": false}, "secureValueTypePersonalDetails": {"title": "secureValueTypePersonalDetails", "description": "Persönliche Daten", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePersonalDetails"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypePassport": {"title": "secureValueTypePassport", "description": "Reisepass", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePassport"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePassport"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeDriverLicense": {"title": "secureValueTypeDriverLicense", "description": "Führerschein", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeDriverLicense"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeDriverLicense"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeIdentityCard": {"title": "secureValueTypeIdentityCard", "description": "Personalausweis", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeIdentityCard"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeIdentityCard"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeInternalPassport": {"title": "secureValueTypeInternalPassport", "description": "Interner [Reisepass](https://core.telegram.org/passport.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeInternalPassport"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeInternalPassport"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeAddress": {"title": "secureValueTypeAddress", "description": "Adresse", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeAddress"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeAddress"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeUtilityBill": {"title": "secureValueTypeUtilityBill", "description": "Stromrechnung", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeUtilityBill"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeUtilityBill"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeBankStatement": {"title": "secureValueTypeBankStatement", "description": "Kontoauszug", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeBankStatement"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeBankStatement"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeRentalAgreement": {"title": "secureValueTypeRentalAgreement", "description": "Mietvertrag", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeRentalAgreement"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeRentalAgreement"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypePassportRegistration": {"title": "secureValueTypePassportRegistration", "description": "Interne Registrierung [Reisepass](https://core.telegram.org/passport.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePassportRegistration"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePassportRegistration"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeTemporaryRegistration": {"title": "secureValueTypeTemporaryRegistration", "description": "Vorübergehende Registrierung", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeTemporaryRegistration"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeTemporaryRegistration"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypePhone": {"title": "secureValueTypePhone", "description": "Telefon", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePhone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePhone"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeEmail": {"title": "secureValueTypeEmail", "description": "E-Mail", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeEmail"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeEmail"]}}, "required": ["_"], "additionalProperties": false}, "secureValue": {"title": "secureValue", "description": "Sicherer Wert", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValue"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValue"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Sicherer Werttyp [Passport](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true}, "data": {"type": "object", "x-tl-type": "SecureData", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureData"]}}, "description": "Verschlüsselte [Telegram Passport](https://core.telegram.org/passport.md) Elementdaten", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?SecureData"}, "front_side": {"type": "object", "x-tl-type": "SecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureFileEmpty", "secureFile"]}}, "description": "Verschlüsselte [Reisepass](https://core.telegram.org/passport.md)-Datei mit der Vorderseite des Dokuments", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?SecureFile"}, "reverse_side": {"type": "object", "x-tl-type": "SecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureFileEmpty", "secureFile"]}}, "description": "Verschlüsselte [Reisepass](https://core.telegram.org/passport.md)-Datei mit der Rückseite des Dokuments", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?SecureFile"}, "selfie": {"type": "object", "x-tl-type": "SecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureFileEmpty", "secureFile"]}}, "description": "Verschlüsselte [Reisepass](https://core.telegram.org/passport.md)-Datei mit einem Selfie des Benutzers, der das Dokument in der Hand hält", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?SecureFile"}, "translation": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureFileEmpty", "secureFile"]}}, "description": "Тип TL: SecureFile."}, "x-tl-type": "Vector<SecureFile>", "description": "Array verschlüsselter [passport](https://core.telegram.org/passport.md)-Dateien mit übersetzten Versionen der bereitgestellten Dokumente", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Vector<SecureFile>"}, "files": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureFileEmpty", "secureFile"]}}, "description": "Тип TL: SecureFile."}, "x-tl-type": "Vector<SecureFile>", "description": "Array verschlüsselter [Reisepass](https://core.telegram.org/passport.md)-Dateien mit Fotos der Dokumente", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Vector<SecureFile>"}, "plain_data": {"type": "object", "x-tl-type": "SecurePlainData", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["securePlainPhone", "securePlainEmail"]}}, "description": "Klartext verifizierte [Reisepass](https://core.telegram.org/passport.md) Daten", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?SecurePlainData"}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Daten-Hash", "x-telegram-field-docs": true}}, "required": ["_", "type", "hash"], "additionalProperties": false}, "inputSecureValue": {"title": "inputSecureValue", "description": "Sicherer Wert, [weitere Informationen finden Sie in den Passdokumenten »](https://core.telegram.org/passport/encryption.md#encryption)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputSecureValue"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSecureValue"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Sicherer Werttyp [Passport](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true}, "data": {"type": "object", "x-tl-type": "SecureData", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureData"]}}, "description": "Verschlüsselte [Telegram Passport](https://core.telegram.org/passport.md) Elementdaten", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?SecureData"}, "front_side": {"type": "object", "x-tl-type": "InputSecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputSecureFileUploaded", "inputSecureFile"]}}, "description": "Verschlüsselte [Reisepass](https://core.telegram.org/passport.md)-Datei mit der Vorderseite des Dokuments", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?InputSecureFile"}, "reverse_side": {"type": "object", "x-tl-type": "InputSecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputSecureFileUploaded", "inputSecureFile"]}}, "description": "Verschlüsselte [Reisepass](https://core.telegram.org/passport.md)-Datei mit der Rückseite des Dokuments", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputSecureFile"}, "selfie": {"type": "object", "x-tl-type": "InputSecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputSecureFileUploaded", "inputSecureFile"]}}, "description": "Verschlüsselte [Reisepass](https://core.telegram.org/passport.md)-Datei mit einem Selfie des Benutzers, der das Dokument in der Hand hält", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputSecureFile"}, "translation": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputSecureFileUploaded", "inputSecureFile"]}}, "description": "Тип TL: InputSecureFile."}, "x-tl-type": "Vector<InputSecureFile>", "description": "Array verschlüsselter [passport](https://core.telegram.org/passport.md)-Dateien mit übersetzten Versionen der bereitgestellten Dokumente", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Vector<InputSecureFile>"}, "files": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSecureFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputSecureFileUploaded", "inputSecureFile"]}}, "description": "Тип TL: InputSecureFile."}, "x-tl-type": "Vector<InputSecureFile>", "description": "Array verschlüsselter [Reisepass](https://core.telegram.org/passport.md)-Dateien mit Fotos der Dokumente", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Vector<InputSecureFile>"}, "plain_data": {"type": "object", "x-tl-type": "SecurePlainData", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["securePlainPhone", "securePlainEmail"]}}, "description": "Klartext verifizierte [Reisepass](https://core.telegram.org/passport.md) Daten", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?SecurePlainData"}}, "required": ["_", "type"], "additionalProperties": false}, "secureValueHash": {"title": "secureValueHash", "description": "Sicherer Wert-Hash", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueHash"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueHash"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Sicherer Werttyp", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Hash", "x-telegram-field-docs": true}}, "required": ["_", "type", "hash"], "additionalProperties": false}, "secureValueErrorData": {"title": "secureValueErrorData", "description": "Stellt ein Problem in einem der vom Benutzer bereitgestellten Datenfelder dar. Der Fehler gilt als behoben, wenn sich der Wert des Feldes ändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueErrorData"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueErrorData"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Der Abschnitt des Telegram-Passports des Benutzers, der den Fehler aufweist, einer von [secureValueTypePersonalDetails](https://core.telegram.org/constructor/secureValueTypePersonalDetails.md), [secureValueTypePassport](https://core.telegram.org/constructor/secureValueTypePassport.md), [secureValueTypeDriverLicense](https://core.telegram.org/constructor/secureValueTypeDriverLicense.md), [secureValueTypeIdentityCard](https://core.telegram.org/constructor/secureValueTypeIdentityCard.md), [secureValueTypeInternalPassport](https://core.telegram.org/constructor/secureValueTypeInternalPassport.md), [secureValueTypeAddress](https://core.telegram.org/constructor/secureValueTypeAddress.md)", "x-telegram-field-docs": true}, "data_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Daten-Hash", "x-telegram-field-docs": true}, "field": {"type": "string", "x-tl-type": "string", "description": "Name des Datenfeldes, das den Fehler aufweist", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Fehlermeldung", "x-telegram-field-docs": true}}, "required": ["_", "type", "data_hash", "field", "text"], "additionalProperties": false}, "secureValueErrorFrontSide": {"title": "secureValueErrorFrontSide", "description": "Stellt ein Problem mit der Vorderseite eines Dokuments dar. Der Fehler gilt als behoben, wenn sich die Datei mit der Vorderseite des Dokuments ändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueErrorFrontSide"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueErrorFrontSide"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Einer von [secureValueTypePassport](https://core.telegram.org/constructor/secureValueTypePassport.md), [secureValueTypeDriverLicense](https://core.telegram.org/constructor/secureValueTypeDriverLicense.md), [secureValueTypeIdentityCard](https://core.telegram.org/constructor/secureValueTypeIdentityCard.md), [secureValueTypeInternalPassport](https://core.telegram.org/constructor/secureValueTypeInternalPassport.md)]", "x-telegram-field-docs": true}, "file_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datei-Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Fehlermeldung", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorReverseSide": {"title": "secureValueErrorReverseSide", "description": "Stellt ein Problem mit der Rückseite eines Dokuments dar. Der Fehler gilt als behoben, wenn sich die Datei mit der Rückseite des Dokuments ändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueErrorReverseSide"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueErrorReverseSide"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Einer von [secureValueTypeDriverLicense](https://core.telegram.org/constructor/secureValueTypeDriverLicense.md), [secureValueTypeIdentityCard](https://core.telegram.org/constructor/secureValueTypeIdentityCard.md)", "x-telegram-field-docs": true}, "file_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datei-Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Fehlermeldung", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorSelfie": {"title": "secureValueErrorSelfie", "description": "Stellt ein Problem mit dem Selfie mit einem Dokument dar. Der Fehler gilt als behoben, wenn sich die Datei mit dem Selfie ändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueErrorSelfie"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueErrorSelfie"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Einer von [secureValueTypePassport](https://core.telegram.org/constructor/secureValueTypePassport.md), [secureValueTypeDriverLicense](https://core.telegram.org/constructor/secureValueTypeDriverLicense.md), [secureValueTypeIdentityCard](https://core.telegram.org/constructor/secureValueTypeIdentityCard.md), [secureValueTypeInternalPassport](https://core.telegram.org/constructor/secureValueTypeInternalPassport.md)]", "x-telegram-field-docs": true}, "file_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datei-Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Fehlermeldung", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorFile": {"title": "secureValueErrorFile", "description": "Stellt ein Problem beim Scannen eines Dokuments dar. Der Fehler gilt als behoben, wenn sich die Datei mit dem Dokumentenscan ändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueErrorFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueErrorFile"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Einer von [secureValueTypeUtilityBill](https://core.telegram.org/constructor/secureValueTypeUtilityBill.md), [secureValueTypeBankStatement](https://core.telegram.org/constructor/secureValueTypeBankStatement.md), [secureValueTypeRentalAgreement](https://core.telegram.org/constructor/secureValueTypeRentalAgreement.md), [secureValueTypePassportRegistration](https://core.telegram.org/constructor/secureValueTypePassportRegistration.md), [secureValueTypeTemporaryRegistration](https://core.telegram.org/constructor/secureValueTypeTemporaryRegistration.md)]", "x-telegram-field-docs": true}, "file_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datei-Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Fehlermeldung", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorFiles": {"title": "secureValueErrorFiles", "description": "Stellt ein Problem mit einer Liste von Scans dar. Der Fehler gilt als behoben, wenn sich die Liste der Dateien mit den Scans ändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueErrorFiles"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueErrorFiles"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Einer von [secureValueTypeUtilityBill](https://core.telegram.org/constructor/secureValueTypeUtilityBill.md), [secureValueTypeBankStatement](https://core.telegram.org/constructor/secureValueTypeBankStatement.md), [secureValueTypeRentalAgreement](https://core.telegram.org/constructor/secureValueTypeRentalAgreement.md), [secureValueTypePassportRegistration](https://core.telegram.org/constructor/secureValueTypePassportRegistration.md), [secureValueTypeTemporaryRegistration](https://core.telegram.org/constructor/secureValueTypeTemporaryRegistration.md)]", "x-telegram-field-docs": true}, "file_hash": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>", "description": "Datei-Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Fehlermeldung", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueError": {"title": "secureValueError", "description": "Fehler beim sicheren Wert", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueError"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueError"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Typ des Elements, bei dem das Problem auftritt", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Fehlermeldung", "x-telegram-field-docs": true}}, "required": ["_", "type", "hash", "text"], "additionalProperties": false}, "secureValueErrorTranslationFile": {"title": "secureValueErrorTranslationFile", "description": "Stellt ein Problem mit einer der Dateien dar, aus denen die Übersetzung eines Dokuments besteht. Der Fehler gilt als behoben, wenn sich die Datei ändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueErrorTranslationFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueErrorTranslationFile"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Einer von [secureValueTypePersonalDetails](https://core.telegram.org/constructor/secureValueTypePersonalDetails.md), [secureValueTypePassport](https://core.telegram.org/constructor/secureValueTypePassport.md), [secureValueTypeDriverLicense](https://core.telegram.org/constructor/secureValueTypeDriverLicense.md), [secureValueTypeIdentityCard](https://core.telegram.org/constructor/secureValueTypeIdentityCard.md), [secureValueTypeInternalPassport](https://core.telegram.org/constructor/secureValueTypeInternalPassport.md), [secureValueTypeUtilityBill](https://core.telegram.org/constructor/secureValueTypeUtilityBill.md), [secureValueTypeBankStatement](https://core.telegram.org/constructor/secureValueTypeBankStatement.md), [secureValueTypeRentalAgreement](https://core.telegram.org/constructor/secureValueTypeRentalAgreement.md), [secureValueTypePassportRegistration](https://core.telegram.org/constructor/secureValueTypePassportRegistration.md), [secureValueTypeTemporaryRegistration](https://core.telegram.org/constructor/secureValueTypeTemporaryRegistration.md)", "x-telegram-field-docs": true}, "file_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datei-Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Fehlermeldung", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorTranslationFiles": {"title": "secureValueErrorTranslationFiles", "description": "Stellt ein Problem mit der übersetzten Version eines Dokuments dar. Der Fehler gilt als behoben, wenn sich eine Datei mit der Dokumentübersetzung ändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueErrorTranslationFiles"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueErrorTranslationFiles"]}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "Einer von [secureValueTypePersonalDetails](https://core.telegram.org/constructor/secureValueTypePersonalDetails.md), [secureValueTypePassport](https://core.telegram.org/constructor/secureValueTypePassport.md), [secureValueTypeDriverLicense](https://core.telegram.org/constructor/secureValueTypeDriverLicense.md), [secureValueTypeIdentityCard](https://core.telegram.org/constructor/secureValueTypeIdentityCard.md), [secureValueTypeInternalPassport](https://core.telegram.org/constructor/secureValueTypeInternalPassport.md), [secureValueTypeUtilityBill](https://core.telegram.org/constructor/secureValueTypeUtilityBill.md), [secureValueTypeBankStatement](https://core.telegram.org/constructor/secureValueTypeBankStatement.md), [secureValueTypeRentalAgreement](https://core.telegram.org/constructor/secureValueTypeRentalAgreement.md), [secureValueTypePassportRegistration](https://core.telegram.org/constructor/secureValueTypePassportRegistration.md), [secureValueTypeTemporaryRegistration](https://core.telegram.org/constructor/secureValueTypeTemporaryRegistration.md)", "x-telegram-field-docs": true}, "file_hash": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>", "description": "Hash", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Fehlermeldung", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureCredentialsEncrypted": {"title": "secureCredentialsEncrypted", "description": "Zum Entschlüsseln von [Telegram Passport](https://core.telegram.org/passport.md)]-Daten sind verschlüsselte Anmeldeinformationen erforderlich.", "externalDocs": {"url": "https://core.telegram.org/constructor/secureCredentialsEncrypted"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureCredentialsEncrypted"]}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Verschlüsselte JSON-serialisierte Daten mit eindeutiger Benutzernutzlast, Daten-Hashes und Geheimnissen, die für die Entschlüsselung und Authentifizierung von EncryptedPassportElement erforderlich sind, wie in [Daten entschlüsseln »](https://core.telegram.org/passport.md#decrypting-data)] beschrieben.", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Daten-Hash zur Datenauthentifizierung, wie in [Daten entschlüsseln »](https://core.telegram.org/passport.md#decrypting-data)] beschrieben.", "x-telegram-field-docs": true}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Geheimnis, verschlüsselt mit dem öffentlichen RSA-Schlüssel des Bots, erforderlich für die Datenentschlüsselung, wie in [Daten entschlüsseln »](https://core.telegram.org/passport.md#decrypting-data)“ beschrieben.", "x-telegram-field-docs": true}}, "required": ["_", "data", "hash", "secret"], "additionalProperties": false}, "account.authorizationForm": {"title": "account.authorizationForm", "description": "[Telegram Passport](https://core.telegram.org/passport.md) Autorisierungsformular", "externalDocs": {"url": "https://core.telegram.org/constructor/account.authorizationForm"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.authorizationForm"]}, "required_types": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureRequiredType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureRequiredType", "secureRequiredTypeOneOf"]}}, "description": "Тип TL: SecureRequiredType."}, "x-tl-type": "Vector<SecureRequiredType>", "description": "Erforderliche [Telegram Passport](https://core.telegram.org/passport.md)-Dokumente", "x-telegram-field-docs": true}, "values": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValue"]}}, "description": "TL Type: SecureValue."}, "x-tl-type": "Vector<SecureValue>", "description": "Bereits eingereichte [Telegram Passport](https://core.telegram.org/passport.md)-Dokumente", "x-telegram-field-docs": true}, "errors": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValueError", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueErrorData", "secureValueErrorFrontSide", "secureValueErrorReverseSide", "secureValueErrorSelfie", "secureValueErrorFile", "secureValueErrorFiles", "secureValueError", "secureValueErrorTranslationFile", "secureValueErrorTranslationFiles"]}}, "description": "TL Type: SecureValueError."}, "x-tl-type": "Vector<SecureValueError>", "description": "[Telegram Passport](https://core.telegram.org/passport.md) Fehler", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Informationen zum Bot, an den das Formular gesendet wird", "x-telegram-field-docs": true}, "privacy_policy_url": {"type": "string", "x-tl-type": "string", "description": "URL der Datenschutzrichtlinie des Dienstes", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "required_types", "values", "errors", "users"], "additionalProperties": false}, "account.sentEmailCode": {"title": "account.sentEmailCode", "description": "Der gesendete E-Mail-Code", "externalDocs": {"url": "https://core.telegram.org/constructor/account.sentEmailCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.sentEmailCode"]}, "email_pattern": {"type": "string", "x-tl-type": "string", "description": "Die E-Mail (an die der Code gesendet wurde) muss mit diesem [Muster](https://core.telegram.org/api/pattern.md)] übereinstimmen", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Länge des Bestätigungscodes", "x-telegram-field-docs": true}}, "required": ["_", "email_pattern", "length"], "additionalProperties": false}, "help.deepLinkInfoEmpty": {"title": "help.deepLinkInfoEmpty", "description": "Deep-Link-Informationen leer", "externalDocs": {"url": "https://core.telegram.org/constructor/help.deepLinkInfoEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.deepLinkInfoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "help.deepLinkInfo": {"title": "help.deepLinkInfo", "description": "Deep-Link-Informationen finden Sie [hier für weitere Details](https://core.telegram.org/api/links.md#unsupported-links)", "externalDocs": {"url": "https://core.telegram.org/constructor/help.deepLinkInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.deepLinkInfo"]}, "update_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Zum Parsen dieses Links ist ein Update der App erforderlich", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "message": {"type": "string", "x-tl-type": "string", "description": "Nachricht, die dem Benutzer angezeigt werden soll", "x-telegram-field-docs": true}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<MessageEntity>"}}, "required": ["_", "message"], "additionalProperties": false}, "savedPhoneContact": {"title": "savedPhoneContact", "description": "Kontakt gespeichert", "externalDocs": {"url": "https://core.telegram.org/constructor/savedPhoneContact"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["savedPhoneContact"]}, "phone": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Vorname", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Nachname", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum hinzugefügt", "x-telegram-field-docs": true}}, "required": ["_", "phone", "first_name", "last_name", "date"], "additionalProperties": false}, "account.takeout": {"title": "account.takeout", "description": "Informationen zum Mitnehmen", "externalDocs": {"url": "https://core.telegram.org/constructor/account.takeout"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.takeout"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Ausweis zum Mitnehmen", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "passwordKdfAlgoUnknown": {"title": "passwordKdfAlgoUnknown", "type": "object", "properties": {"_": {"type": "string", "enum": ["passwordKdfAlgoUnknown"]}}, "required": ["_"], "additionalProperties": false}, "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow": {"title": "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow", "type": "object", "properties": {"_": {"type": "string", "enum": ["passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow"]}, "salt1": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "salt2": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "g": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "p": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "salt1", "salt2", "g", "p"], "additionalProperties": false}, "securePasswordKdfAlgoUnknown": {"title": "securePasswordKdfAlgoUnknown", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoUnknown"]}}, "required": ["_"], "additionalProperties": false}, "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000": {"title": "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoPBKDF2HMACSHA512iter100000"]}, "salt": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "salt"], "additionalProperties": false}, "securePasswordKdfAlgoSHA512": {"title": "securePasswordKdfAlgoSHA512", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoSHA512"]}, "salt": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "salt"], "additionalProperties": false}, "secureSecretSettings": {"title": "secureSecretSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureSecretSettings"]}, "secure_algo": {"type": "object", "x-tl-type": "SecurePasswordKdfAlgo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoUnknown", "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000", "securePasswordKdfAlgoSHA512"]}}, "description": "Тип TL: SecurePasswordKdfAlgo."}, "secure_secret": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "secure_secret_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "secure_algo", "secure_secret", "secure_secret_id"], "additionalProperties": false}, "inputCheckPasswordEmpty": {"title": "inputCheckPasswordEmpty", "description": "Es gibt kein Passwort", "externalDocs": {"url": "https://core.telegram.org/constructor/inputCheckPasswordEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputCheckPasswordEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputCheckPasswordSRP": {"title": "inputCheckPasswordSRP", "description": "Konstruktor zur Überprüfung der Gültigkeit eines 2FA SRP Passworts (siehe [SRP](https://core.telegram.org/api/srp.md))", "externalDocs": {"url": "https://core.telegram.org/constructor/inputCheckPasswordSRP"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputCheckPasswordSRP"]}, "srp_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[SRP ID](https://core.telegram.org/api/srp.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "A": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`A` Parameter (siehe [SRP](https://core.telegram.org/api/srp.md))", "x-telegram-field-docs": true}, "M1": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`M1` Parameter (siehe [SRP](https://core.telegram.org/api/srp.md))", "x-telegram-field-docs": true}}, "required": ["_", "srp_id", "A", "M1"], "additionalProperties": false}, "secureRequiredType": {"title": "secureRequiredType", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureRequiredType"]}, "native_names": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "selfie_required": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "translation_required": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "type": {"type": "object", "x-tl-type": "SecureValueType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails", "secureValueTypePassport", "secureValueTypeDriverLicense", "secureValueTypeIdentityCard", "secureValueTypeInternalPassport", "secureValueTypeAddress", "secureValueTypeUtilityBill", "secureValueTypeBankStatement", "secureValueTypeRentalAgreement", "secureValueTypePassportRegistration", "secureValueTypeTemporaryRegistration", "secureValueTypePhone", "secureValueTypeEmail"]}}, "description": "TL Type: SecureValueType."}}, "required": ["_", "type"], "additionalProperties": false}, "secureRequiredTypeOneOf": {"title": "secureRequiredTypeOneOf", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureRequiredTypeOneOf"]}, "types": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureRequiredType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureRequiredType", "secureRequiredTypeOneOf"]}}, "description": "Тип TL: SecureRequiredType."}, "x-tl-type": "Vector<SecureRequiredType>"}}, "required": ["_", "types"], "additionalProperties": false}, "help.passportConfigNotModified": {"title": "help.passportConfigNotModified", "description": "Passwortkonfiguration nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/help.passportConfigNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.passportConfigNotModified"]}}, "required": ["_"], "additionalProperties": false}, "help.passportConfig": {"title": "help.passportConfig", "description": "Telegramm [Reisepass](https://core.telegram.org/passport.md) Konfiguration", "externalDocs": {"url": "https://core.telegram.org/constructor/help.passportConfig"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.passportConfig"]}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}, "countries_langs": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Lokalisierung", "x-telegram-field-docs": true}}, "required": ["_", "hash", "countries_langs"], "additionalProperties": false}, "inputAppEvent": {"title": "inputAppEvent", "description": "Ereignis, das in der Anwendung aufgetreten ist.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputAppEvent"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAppEvent"]}, "time": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Der genaue Zeitstempel des Kunden für das Ereignis", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Art der Veranstaltung", "x-telegram-field-docs": true}, "peer": {"type": "string", "pattern": "^-?\\d+$", "description": "Beliebiger numerischer Wert zur bequemeren Auswahl bestimmter Ereignistypen oder Ereignisse, die sich auf ein bestimmtes Objekt beziehen", "x-tl-type": "long", "x-telegram-field-docs": true}, "data": {"type": "object", "x-tl-type": "JSONValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["jsonNull", "jsonBool", "jsonNumber", "jsonString", "jsonArray", "jsonObject"]}}, "description": "Details zur Veranstaltung", "x-telegram-field-docs": true}}, "required": ["_", "time", "type", "peer", "data"], "additionalProperties": false}, "jsonObjectValue": {"title": "jsonObjectValue", "type": "object", "properties": {"_": {"type": "string", "enum": ["jsonObjectValue"]}, "key": {"type": "string", "x-tl-type": "string"}, "value": {"type": "object", "x-tl-type": "JSONValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["jsonNull", "jsonBool", "jsonNumber", "jsonString", "jsonArray", "jsonObject"]}}, "description": "Тип TL: JSONValue."}}, "required": ["_", "key", "value"], "additionalProperties": false}, "jsonNull": {"title": "jsonNull", "description": "null JSON Wert\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/jsonNull"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["jsonNull"]}}, "required": ["_"], "additionalProperties": false}, "jsonBool": {"title": "jsonBool", "description": "JSON boolescher Wert\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/jsonBool"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["jsonBool"]}, "value": {"type": "boolean", "x-tl-type": "Bool", "description": "Wert", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "jsonNumber": {"title": "jsonNumber", "description": "JSON numerischer Wert\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/jsonNumber"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["jsonNumber"]}, "value": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Wert", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "jsonString": {"title": "jsonString", "description": "JSON Zeichenfolge\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/jsonString"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["jsonString"]}, "value": {"type": "string", "x-tl-type": "string", "description": "Wert", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "jsonArray": {"title": "jsonArray", "description": "JSON-Array\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/jsonArray"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["jsonArray"]}, "value": {"type": "array", "items": {"type": "object", "x-tl-type": "JSONValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["jsonNull", "jsonBool", "jsonNumber", "jsonString", "jsonArray", "jsonObject"]}}, "description": "Тип TL: JSONValue."}, "x-tl-type": "Vector<JSONValue>", "description": "JSON Werte", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "jsonObject": {"title": "jsonObject", "description": "JSON Objektwert\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/jsonObject"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["jsonObject"]}, "value": {"type": "array", "items": {"type": "object", "x-tl-type": "JSONObjectValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["jsonObjectValue"]}}, "description": "Тип TL: JSONObjectValue."}, "x-tl-type": "Vector<JSONObjectValue>", "description": "Werte", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "pageTableCell": {"title": "pageTableCell", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageTableCell"]}, "header": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "align_center": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "align_right": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "valign_middle": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "valign_bottom": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText.", "x-tl-flag": "flags.7?RichText"}, "colspan": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "rowspan": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}}, "required": ["_"], "additionalProperties": false}, "pageTableRow": {"title": "pageTableRow", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageTableRow"]}, "cells": {"type": "array", "items": {"type": "object", "x-tl-type": "PageTableCell", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageTableCell"]}}, "description": "Тип TL: PageTableCell."}, "x-tl-type": "Vector<PageTableCell>"}}, "required": ["_", "cells"], "additionalProperties": false}, "pageCaption": {"title": "pageCaption", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageCaption"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "credit": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text", "credit"], "additionalProperties": false}, "pageListItemText": {"title": "pageListItemText", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageListItemText"]}, "checkbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "checked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}}, "required": ["_", "text"], "additionalProperties": false}, "pageListItemBlocks": {"title": "pageListItemBlocks", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageListItemBlocks"]}, "checkbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "checked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}}, "required": ["_", "blocks"], "additionalProperties": false}, "pageListOrderedItemText": {"title": "pageListOrderedItemText", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageListOrderedItemText"]}, "checkbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "checked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "num": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "value": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "type": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}}, "required": ["_", "text"], "additionalProperties": false}, "pageListOrderedItemBlocks": {"title": "pageListOrderedItemBlocks", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageListOrderedItemBlocks"]}, "checkbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "checked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "num": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "value": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "type": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}}, "required": ["_", "blocks"], "additionalProperties": false}, "pageRelatedArticle": {"title": "pageRelatedArticle", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageRelatedArticle"]}, "url": {"type": "string", "x-tl-type": "string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}, "author": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "published_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "url", "webpage_id"], "additionalProperties": false}, "page": {"title": "page", "type": "object", "properties": {"_": {"type": "string", "enum": ["page"]}, "part": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "v2": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "url": {"type": "string", "x-tl-type": "string"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}, "x-tl-type": "Vector<Photo>"}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}}, "required": ["_", "url", "blocks", "photos", "documents"], "additionalProperties": false}, "help.supportName": {"title": "help.supportName", "description": "Lokalisierter Name für Telegrammunterstützung", "externalDocs": {"url": "https://core.telegram.org/constructor/help.supportName"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.supportName"]}, "name": {"type": "string", "x-tl-type": "string", "description": "Lokalisierter Name", "x-telegram-field-docs": true}}, "required": ["_", "name"], "additionalProperties": false}, "help.userInfoEmpty": {"title": "help.userInfoEmpty", "description": "Interner Gebrauch", "externalDocs": {"url": "https://core.telegram.org/constructor/help.userInfoEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.userInfoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "help.userInfo": {"title": "help.userInfo", "description": "Interner Gebrauch", "externalDocs": {"url": "https://core.telegram.org/constructor/help.userInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.userInfo"]}, "message": {"type": "string", "x-tl-type": "string", "description": "Infos", "x-telegram-field-docs": true}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true}, "author": {"type": "string", "x-tl-type": "string", "description": "Autor", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum", "x-telegram-field-docs": true}}, "required": ["_", "message", "entities", "author", "date"], "additionalProperties": false}, "pollAnswer": {"title": "pollAnswer", "description": "Eine mögliche Antwort einer Umfrage", "externalDocs": {"url": "https://core.telegram.org/constructor/pollAnswer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["pollAnswer"]}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Textdarstellung der Antwort (nur [Premium](https://core.telegram.org/api/premium.md)-Benutzer können hier [benutzerdefinierte Emoji-Entitäten](https://core.telegram.org/api/custom-emoji.md)] verwenden).", "x-telegram-field-docs": true}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Der Parameter, der an [messages.sendVote](https://core.telegram.org/method/messages.sendVote.md).", "x-telegram-field-docs": true}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "Optionaler Medienanhang, der neben der Antwort angezeigt wird", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?MessageMedia"}, "added_by": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Der Peer, der diese Antwort hinzugefügt hat; Nur für Antworten festgelegt, die dynamisch zu einer Umfrage mit offenen Antworten hinzugefügt werden, siehe [Umfragen »](https://core.telegram.org/api/poll.md#open-answer-polls)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Peer"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Als diese Antwort hinzugefügt wurde; Wird nur für Antworten festgelegt, die einer Umfrage mit offenen Antworten dynamisch hinzugefügt werden", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "text", "option"], "additionalProperties": false}, "inputPollAnswer": {"title": "inputPollAnswer", "description": "Eine Antwortoption zum Hinzufügen zu einer [Umfrage mit offenen Antworten »](https://core.telegram.org/api/poll.md#open-answer-polls)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPollAnswer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPollAnswer"]}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Der Antworttext", "x-telegram-field-docs": true}, "media": {"type": "object", "x-tl-type": "InputMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage", "inputMediaPaidMedia", "inputMediaTodo", "inputMediaStakeDice", "inputMediaWidget", "inputMediaWidgetId"]}}, "description": "Optionaler Medienanhang zur Anzeige neben der Antwort", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputMedia"}}, "required": ["_", "text"], "additionalProperties": false}, "poll": {"title": "poll", "type": "object", "properties": {"_": {"type": "string", "enum": ["poll"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "closed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "public_voters": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "multiple_choice": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "quiz": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "open_answers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "revoting_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "shuffle_answers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "hide_results_until_close": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "subscribers_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "question": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities."}, "answers": {"type": "array", "items": {"type": "object", "x-tl-type": "PollAnswer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollAnswer", "inputPollAnswer"]}}, "description": "Тип TL: PollAnswer."}, "x-tl-type": "Vector<PollAnswer>"}, "close_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "close_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "countries_iso2": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "x-tl-flag": "flags.12?Vector<string>"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "question", "answers", "hash"], "additionalProperties": false}, "pollAnswerVoters": {"title": "pollAnswerVoters", "type": "object", "properties": {"_": {"type": "string", "enum": ["pollAnswerVoters"]}, "chosen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "correct": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "voters": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "recent_voters": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "x-tl-flag": "flags.2?Vector<Peer>"}}, "required": ["_", "option"], "additionalProperties": false}, "pollResults": {"title": "pollResults", "type": "object", "properties": {"_": {"type": "string", "enum": ["pollResults"]}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "has_unread_votes": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "can_view_stats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "results": {"type": "array", "items": {"type": "object", "x-tl-type": "PollAnswerVoters", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollAnswerVoters"]}}, "description": "Тип TL: PollAnswerVoters."}, "x-tl-type": "Vector<PollAnswerVoters>", "x-tl-flag": "flags.1?Vector<PollAnswerVoters>"}, "total_voters": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "recent_voters": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "x-tl-flag": "flags.3?Vector<Peer>"}, "solution": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}, "solution_entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.4?Vector<MessageEntity>"}, "solution_media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "TL Type: MessageMedia.", "x-tl-flag": "flags.5?MessageMedia"}}, "required": ["_"], "additionalProperties": false}, "chatOnlines": {"title": "chatOnlines", "description": "Anzahl der Online-Benutzer in einem Chat", "externalDocs": {"url": "https://core.telegram.org/constructor/chatOnlines"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatOnlines"]}, "onlines": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Online-Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "onlines"], "additionalProperties": false}, "statsURL": {"title": "statsURL", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsURL"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "chatAdminRights": {"title": "chatAdminRights", "description": "Stellt die Rechte eines Administrators in einem [Kanal/Supergruppe](https://core.telegram.org/api/channel.md)“ dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/chatAdminRights"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}, "change_info": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator die Beschreibung des [Kanals/der Supergruppe](https://core.telegram.org/api/channel.md)] ändern.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "post_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator Nachrichten im [Kanal](https://core.telegram.org/api/channel.md)] posten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "edit_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator auch Nachrichten von anderen Administratoren im [Kanal](https://core.telegram.org/api/channel.md)] bearbeiten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "delete_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator auch Nachrichten von anderen Administratoren im [Kanal](https://core.telegram.org/api/channel.md)] löschen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "ban_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator Benutzer aus dem [Kanal/Supergruppe](https://core.telegram.org/api/channel.md)] verbannen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "invite_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator Benutzer im [Kanal/Supergruppe](https://core.telegram.org/api/channel.md)] einladen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "pin_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator Nachrichten im [Kanal/Supergruppe](https://core.telegram.org/api/channel.md)] anheften.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "add_admins": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator andere Administratoren mit denselben (oder eingeschränkteren) Berechtigungen im [Kanal/Supergruppe](https://core.telegram.org/api/channel.md)] hinzufügen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "anonymous": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieser Administrator anonym ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "manage_call": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator [Video-Chats/Livestreams »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) erstellen und verwalten", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "other": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Setzen Sie dieses Flag, wenn keines der anderen Flags gesetzt ist, Sie aber dennoch möchten, dass der Benutzer ein Administrator ist: Wenn dieses oder eines der anderen Flags gesetzt ist, kann der Administrator das Chat-[Administratorprotokoll](https://core.telegram.org/api/recent-actions.md), [Chat-Statistiken](https://core.telegram.org/api/stats.md)], [Nachrichtenstatistiken in Kanälen](https://core.telegram.org/api/stats.md)] abrufen, Kanalmitglieder abrufen, anonyme Administratoren in Supergruppen sehen und den langsamen Modus ignorieren.", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "manage_topics": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator [Forumsthemen »](https://core.telegram.org/api/forum.md#forum-topics)] erstellen, löschen oder ändern.", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "post_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator [Geschichten](https://core.telegram.org/api/stories.md) als [Kanal](https://core.telegram.org/api/channel.md)] veröffentlichen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?true"}, "edit_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator [Stories](https://core.telegram.org/api/stories.md) bearbeiten, die von anderen Administratoren des [Kanals](https://core.telegram.org/api/channel.md)] gepostet wurden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "delete_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator [Storys](https://core.telegram.org/api/stories.md) löschen, die von den anderen Administratoren des [Kanals](https://core.telegram.org/api/channel.md)] gepostet wurden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.16?true"}, "manage_direct_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator das [Direktnachrichten-Monoforum »](https://core.telegram.org/api/monoforum.md) und [vorgeschlagene Beiträge ablehnen »](https://core.telegram.org/api/suggested-posts.md)] verwalten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.17?true"}, "manage_ranks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann der Administrator das [Mitglieds-Tag »](https://core.telegram.org/api/rank.md)] jedes Benutzers ändern.", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?true"}, "manage_linked_peers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "manage_welcome_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.20?true"}}, "required": ["_"], "additionalProperties": false}, "chatBannedRights": {"title": "chatBannedRights", "description": "Stellt die Rechte eines normalen Benutzers in einer [Supergruppe/Kanal/Chat](https://core.telegram.org/api/channel.md)“ dar. In diesem Fall sind die Flags invertiert: Wenn sie gesetzt sind, erlaubt ein Flag einem Benutzer nicht, X auszuführen.", "externalDocs": {"url": "https://core.telegram.org/constructor/chatBannedRights"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}, "view_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, wird einem Benutzer nicht gestattet, Nachrichten in einer [Supergruppe/Kanal/Chat](https://core.telegram.org/api/channel.md)“ anzuzeigen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "send_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Nachrichten in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "send_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Einstellung festgelegt ist, ist es einem Benutzer nicht gestattet, Medien in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "send_stickers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Sticker in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "send_gifs": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, GIFs in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "send_games": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Spiele in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "send_inline": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Inline-Bots in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu verwenden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "embed_links": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Links in die Nachrichten einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)“ einzubetten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "send_polls": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Umfragen in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "change_info": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, kann ein Benutzer die Beschreibung einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] nicht ändern.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "invite_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Benutzer in eine [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] einzuladen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "pin_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Nachrichten in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] anzuheften.", "x-telegram-field-docs": true, "x-tl-flag": "flags.17?true"}, "manage_topics": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, [Forumsthemen »](https://core.telegram.org/api/forum.md#forum-topics)] zu erstellen, zu löschen oder zu ändern.", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?true"}, "send_photos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Fotos in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.19?true"}, "send_videos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Videos in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.20?true"}, "send_roundvideos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Einstellung festgelegt ist, ist es einem Benutzer nicht gestattet, Rundenvideos in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.21?true"}, "send_audios": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Audiodateien in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.22?true"}, "send_voices": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, ist es einem Benutzer nicht gestattet, Sprachnachrichten in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.23?true"}, "send_docs": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Dokumente in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.24?true"}, "send_plain": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist es einem Benutzer nicht gestattet, Textnachrichten in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)] zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?true"}, "edit_rank": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, kann ein Benutzer seinen eigenen benutzerdefinierten [Tag (Rang) »](https://core.telegram.org/api/rank.md) in einer [Supergruppe/Chat](https://core.telegram.org/api/channel.md)) nicht bearbeiten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.26?true"}, "send_reactions": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, kann ein Benutzer nicht auf Nachrichten in einem Chat reagieren.", "x-telegram-field-docs": true, "x-tl-flag": "flags.27?true"}, "manage_linked_peers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.28?true"}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gültigkeit dieser Berechtigungen (jeder Wert von weniger als 30 Sekunden oder mehr als 366 Tagen gilt als dauerhaft).", "x-telegram-field-docs": true}}, "required": ["_", "until_date"], "additionalProperties": false}, "inputWallPaper": {"title": "inputWallPaper", "description": "[Hintergrund](https://core.telegram.org/api/wallpapers.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputWallPaper"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWallPaper"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hintergrund](https://core.telegram.org/api/wallpapers.md) ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputWallPaperSlug": {"title": "inputWallPaperSlug", "description": "[Hintergrundbild](https://core.telegram.org/api/wallpapers.md) von Slug (eine eindeutige ID, erhalten von einem [Hintergrundbild-Link »](https://core.telegram.org/api/links.md#wallpaper-links))“", "externalDocs": {"url": "https://core.telegram.org/constructor/inputWallPaperSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWallPaperSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Eindeutige Hintergrund-ID", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputWallPaperNoFile": {"title": "inputWallPaperNoFile", "description": "[Hintergrund](https://core.telegram.org/api/wallpapers.md) ohne Dateizugriffs-Hash, wird beispielsweise verwendet, wenn (`unsave=true`) Hintergrundbilder mit [account.saveWallPaper](https://core.telegram.org/method/account.saveWallPaper.md) gelöscht werden, wobei nur die Hintergrundbild-ID angegeben wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputWallPaperNoFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWallPaperNoFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Wallpaper-ID", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "account.wallPapersNotModified": {"title": "account.wallPapersNotModified", "description": "Es wurden keine neuen [Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)] gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/account.wallPapersNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.wallPapersNotModified"]}}, "required": ["_"], "additionalProperties": false}, "account.wallPapers": {"title": "account.wallPapers", "description": "[Hintergrundbilder](https://core.telegram.org/api/wallpapers.md)] installiert", "externalDocs": {"url": "https://core.telegram.org/constructor/account.wallPapers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.wallPapers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "wallpapers": {"type": "array", "items": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "TL Type: WallPaper."}, "x-tl-type": "Vector<WallPaper>", "description": "[Hintergründe](https://core.telegram.org/api/wallpapers.md)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "wallpapers"], "additionalProperties": false}, "codeSettings": {"title": "codeSettings", "description": "Einstellungen, die von Telegram-Servern zum Senden des Bestätigungscodes verwendet werden.\n\nBeispielimplementierungen: [telegram für Android](https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java), [tdlib](https://github.com/tdlib/td/tree/master/td/telegram/SendCodeHelper.cpp).", "externalDocs": {"url": "https://core.telegram.org/constructor/codeSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["codeSettings"]}, "allow_flashcall": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die telefonische Verifizierung über [Telefonanrufe](https://core.telegram.org/api/auth.md)] zugelassen werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "current_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Übergeben Sie true, wenn die Telefonnummer auf dem aktuellen Gerät verwendet wird. Wird ignoriert, wenn allow_flashcall nicht gesetzt ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "allow_app_hash": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "If a token that will be included in eventually sent SMSs is required: required in newer versions of android, to use the [android SMS receiver APIs](https://developers.google.com/identity/sms-retriever/overview)", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "allow_missed_call": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Gerät den Empfang des Codes mit der Methode [auth.codeTypeMissedCall](https://core.telegram.org/constructor/auth.codeTypeMissedCall.md)] unterstützt", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "allow_firebase": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Firebase-Authentifizierung unterstützt wird", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "unknown_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Setzen Sie dieses Flag, wenn sich im aktuellen Gerät eine SIM-Karte befindet, aber nicht überprüft werden kann, ob die angegebene Telefonnummer mit der Telefonnummer des SIM übereinstimmt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "logout_tokens": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>", "description": "Zuvor gespeicherte zukünftige Authentifizierungstoken finden Sie in der Dokumentation für weitere Informationen »](https://core.telegram.org/api/auth.md#future-auth-tokens)", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Vector<bytes>"}, "token": {"type": "string", "x-tl-type": "string", "description": "Wird nur von offiziellen iOS-Apps für Firebase-Authentifizierung verwendet: Gerätetoken für Apple Push.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?string"}, "app_sandbox": {"type": "boolean", "x-tl-type": "Bool", "description": "Wird nur von offiziellen iOS-Apps für die Firebase-Authentifizierung verwendet: Gibt an, ob bei der Übertragung der Push-Benachrichtigung ein Sandbox-Zertifikat verwendet wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?Bool"}}, "required": ["_"], "additionalProperties": false}, "wallPaperSettings": {"title": "wallPaperSettings", "description": "[Hintergrund](https://core.telegram.org/api/wallpapers.md) Rendering-Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/wallPaperSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["wallPaperSettings"]}, "blur": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Für [Bildhintergründe »](https://core.telegram.org/api/wallpapers.md#image-wallpapers): Wenn festgelegt, muss JPEG verkleinert werden, um in ein 450x450-Quadrat zu passen, und dann mit einem Radius von 12 unscharf gemacht werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "motion": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, muss der Hintergrund beim Drehen des Geräts leicht verschoben werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wird für Füllungen mit [Vollton »](https://core.telegram.org/api/wallpapers.md#solid-fill), [Verlauf »](https://core.telegram.org/api/wallpapers.md#gradient-fill)] und [Freiform-Verlauf »](https://core.telegram.org/api/wallpapers.md#freeform-gradient-fill)« verwendet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "second_background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wird für Füllungen mit Farbverlauf »](https://core.telegram.org/api/wallpapers.md#gradient-fill) und Freiform-Farbverlauf »](https://core.telegram.org/api/wallpapers.md#freeform-gradient-fill) verwendet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "third_background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wird für [Freiform-Verlaufsfüllungen »](https://core.telegram.org/api/wallpapers.md#freeform-gradient-fill)« verwendet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?int"}, "fourth_background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wird für [Freiform-Verlaufsfüllungen »](https://core.telegram.org/api/wallpapers.md#freeform-gradient-fill)« verwendet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?int"}, "intensity": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wird für [Mustertapeten »](https://core.telegram.org/api/wallpapers.md#pattern-wallpapers)] verwendet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "rotation": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Drehwinkel des Farbverlaufs im Uhrzeigersinn in Grad; 0-359. Sollte immer durch 45 teilbar sein.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Wenn festgelegt, kann dieses Hintergrundbild als Kanalhintergrund verwendet werden und wird durch das angegebene Emoji UTF-8 dargestellt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?string"}}, "required": ["_"], "additionalProperties": false}, "autoDownloadSettings": {"title": "autoDownloadSettings", "description": "Einstellungen für den automatischen Download", "externalDocs": {"url": "https://core.telegram.org/constructor/autoDownloadSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["autoDownloadSettings"]}, "disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Automatische Medien-Downloads deaktivieren?", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "video_preload_large": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die ersten Sekunden von Videos vorgeladen werden sollen, die länger als das angegebene Limit sind", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "audio_preload_next": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Legt fest, ob beim Musikhören der nächste Audiotitel vorab geladen werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "phonecalls_less_data": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Datensparmodus bei Telefonanrufen aktiviert werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "stories_preload": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob [stories](https://core.telegram.org/api/stories.md); Insbesondere sollten die ersten [documentAttributeVideo](https://core.telegram.org/constructor/documentAttributeVideo.md).`preload_prefix_size` Bytes der Story-Videos vorab geladen werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "photo_size_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximale Größe der vorab zu ladenden Fotos", "x-telegram-field-docs": true}, "video_size_max": {"type": "string", "pattern": "^-?\\d+$", "description": "Maximale Größe der vorab zu ladenden Videos", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_size_max": {"type": "string", "pattern": "^-?\\d+$", "description": "Maximale Größe anderer vorab zu ladender Dateien", "x-tl-type": "long", "x-telegram-field-docs": true}, "video_upload_maxbitrate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Maximale empfohlene Bitrate für das **Hochladen** von Videos", "x-telegram-field-docs": true}, "small_queue_active_operations_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ein Grenzwert, der die maximale Anzahl von Dateien angibt, die parallel vom selben Domänencontroller heruntergeladen werden sollen, für Dateien kleiner als 20 MB.", "x-telegram-field-docs": true}, "large_queue_active_operations_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ein Grenzwert, der die maximale Anzahl von Dateien angibt, die parallel vom selben DC heruntergeladen werden sollen, für Dateien, die größer als 20 MB sind.", "x-telegram-field-docs": true}}, "required": ["_", "photo_size_max", "video_size_max", "file_size_max", "video_upload_maxbitrate", "small_queue_active_operations_max", "large_queue_active_operations_max"], "additionalProperties": false}, "account.autoDownloadSettings": {"title": "account.autoDownloadSettings", "description": "Einstellungen für den automatischen Medien-Download", "externalDocs": {"url": "https://core.telegram.org/constructor/account.autoDownloadSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.autoDownloadSettings"]}, "low": {"type": "object", "x-tl-type": "AutoDownloadSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoDownloadSettings"]}}, "description": "Voreinstellung für geringe Datennutzung", "x-telegram-field-docs": true}, "medium": {"type": "object", "x-tl-type": "AutoDownloadSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoDownloadSettings"]}}, "description": "Voreinstellung für mittlere Datennutzung", "x-telegram-field-docs": true}, "high": {"type": "object", "x-tl-type": "AutoDownloadSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoDownloadSettings"]}}, "description": "Voreinstellung für hohe Datennutzung", "x-telegram-field-docs": true}}, "required": ["_", "low", "medium", "high"], "additionalProperties": false}, "emojiKeyword": {"title": "emojiKeyword", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiKeyword"]}, "keyword": {"type": "string", "x-tl-type": "string"}, "emoticons": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "keyword", "emoticons"], "additionalProperties": false}, "emojiKeywordDeleted": {"title": "emojiKeywordDeleted", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiKeywordDeleted"]}, "keyword": {"type": "string", "x-tl-type": "string"}, "emoticons": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "keyword", "emoticons"], "additionalProperties": false}, "emojiKeywordsDifference": {"title": "emojiKeywordsDifference", "description": "Änderungen an Emoji-Schlüsselwörtern", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiKeywordsDifference"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiKeywordsDifference"]}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode für Schlüsselwörter", "x-telegram-field-docs": true}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Vorherige Version der Emoji-Schlüsselwortliste", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Aktuelle Version der Emoji-Schlüsselwortliste", "x-telegram-field-docs": true}, "keywords": {"type": "array", "items": {"type": "object", "x-tl-type": "EmojiKeyword", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiKeyword", "emojiKeywordDeleted"]}}, "description": "Тип TL: EmojiKeyword."}, "x-tl-type": "Vector<EmojiKeyword>", "description": "Mit Schlüsselwörtern verknüpfte Emojis", "x-telegram-field-docs": true}}, "required": ["_", "lang_code", "from_version", "version", "keywords"], "additionalProperties": false}, "emojiURL": {"title": "emojiURL", "description": "Ein HTTP URL, mit dem Sie sich automatisch bei der Übersetzungsplattform anmelden und neue Emoji-Ersetzungen vorschlagen können. Die URL ist nach der Generierung 30 Sekunden lang gültig", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiURL"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiURL"]}, "url": {"type": "string", "x-tl-type": "string", "description": "Ein HTTP URL, mit dem Sie sich automatisch bei der Übersetzungsplattform anmelden und neue Emoji-Ersetzungen vorschlagen können. Die URL ist nach der Generierung 30 Sekunden lang gültig", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "emojiLanguage": {"title": "emojiLanguage", "description": "Emoji-Sprache", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiLanguage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiLanguage"]}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Sprachcode", "x-telegram-field-docs": true}}, "required": ["_", "lang_code"], "additionalProperties": false}, "folder": {"title": "folder", "type": "object", "properties": {"_": {"type": "string", "enum": ["folder"]}, "autofill_new_broadcasts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "autofill_public_groups": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "autofill_new_correspondents": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "title": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "ChatPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty", "chatPhoto"]}}, "description": "Тип TL: ChatPhoto.", "x-tl-flag": "flags.3?ChatPhoto"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "inputFolderPeer": {"title": "inputFolderPeer", "description": "Peer in einem Ordner", "externalDocs": {"url": "https://core.telegram.org/constructor/inputFolderPeer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFolderPeer"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Peer", "x-telegram-field-docs": true}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Peer-Ordner-ID, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/folders.md#peer-folders)", "x-telegram-field-docs": true}}, "required": ["_", "peer", "folder_id"], "additionalProperties": false}, "folderPeer": {"title": "folderPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["folderPeer"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "folder_id"], "additionalProperties": false}, "messages.searchCounter": {"title": "messages.searchCounter", "description": "Gibt an, wie viele Ergebnisse ein [messages.search](https://core.telegram.org/method/messages.search.md)-Aufruf mit denselben Parametern finden würde", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.searchCounter"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.searchCounter"]}, "inexact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, können die Ergebnisse ungenau sein", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "filter": {"type": "object", "x-tl-type": "MessagesFilter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterEmpty", "inputMessagesFilterPhotos", "inputMessagesFilterVideo", "inputMessagesFilterPhotoVideo", "inputMessagesFilterDocument", "inputMessagesFilterUrl", "inputMessagesFilterGif", "inputMessagesFilterVoice", "inputMessagesFilterMusic", "inputMessagesFilterChatPhotos", "inputMessagesFilterPhoneCalls", "inputMessagesFilterRoundVoice", "inputMessagesFilterRoundVideo", "inputMessagesFilterMyMentions", "inputMessagesFilterGeo", "inputMessagesFilterContacts", "inputMessagesFilterPinned", "inputMessagesFilterPoll"]}}, "description": "Bereitgestellter Nachrichtenfilter", "x-telegram-field-docs": true}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Ergebnisse, die serverseitig gefunden wurden", "x-telegram-field-docs": true}}, "required": ["_", "filter", "count"], "additionalProperties": false}, "urlAuthResultRequest": {"title": "urlAuthResultRequest", "description": "Details zum Autorisierungsantrag, für weitere Informationen [hier klicken »](https://core.telegram.org/api/url-authorization.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/urlAuthResultRequest"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["urlAuthResultRequest"]}, "request_write_access": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot Nachrichten an den Benutzer senden möchte", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "request_phone_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Die App/Website fordert die Telefonnummer des Benutzers an; Wenn der Benutzer zustimmt, setzen Sie `share_phone_number` beim Aufruf von [messages.acceptUrlAuth](https://core.telegram.org/method/messages.acceptUrlAuth.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "match_codes_first": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Kann nur eingestellt werden, wenn auch `match_codes` eingestellt ist; Wenn diese Option festgelegt ist, müssen Clients den Benutzer auffordern, den passenden Code auszuwählen, *bevor* der Rest der Benutzeroberfläche zur Anmeldebestätigung angezeigt wird, und sie müssen die Auswahl mit [messages.checkUrlAuthMatchCode](https://core.telegram.org/method/messages.checkUrlAuthMatchCode.md)] bestätigen, bevor sie fortfahren", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "is_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Legen Sie fest, ob eine OAuth-Anfrage von einer App und nicht von einer Website stammt. Wenn gesetzt, muss `domain` in der Bestätigungsaufforderung durch `verified_app_name` (falls vorhanden) oder „Unverified App“ ersetzt werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "request_wallet": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "bot": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Username of a bot, which will be used for user authorization. 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.md#linking-your-domain-to-the-bot) for more details.", "x-telegram-field-docs": true}, "domain": {"type": "string", "x-tl-type": "string", "description": "Der Domänenname der Website, auf der sich der Benutzer anmeldet.", "x-telegram-field-docs": true}, "browser": {"type": "string", "x-tl-type": "string", "description": "Der Browser, den der Benutzer zum Stellen der OAuth-Anfrage verwendet hat", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Die Plattform (Betriebssystem) des Benutzers, der die OAuth-Anfrage gestellt hat", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "ip": {"type": "string", "x-tl-type": "string", "description": "Die IP-Adresse des Benutzers, der die OAuth-Anfrage stellt", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "region": {"type": "string", "x-tl-type": "string", "description": "Der Standort des Benutzers, abgeleitet aus der IP-Adresse", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "match_codes": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Eine Liste von Emojis oder Codes, von denen einer derzeit auf der Anmeldeseite der Website/App angezeigt wird; Der Benutzer muss das passende auswählen und an [messages.acceptUrlAuth](https://core.telegram.org/method/messages.acceptUrlAuth.md).`match_code` übergeben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<string>"}, "user_id_hint": {"type": "string", "pattern": "^-?\\d+$", "description": "Kann die ID des Kontos enthalten, für das die Anmeldeanforderung erstellt wurde; Wenn es mit einem angemeldeten Konto übereinstimmt, sollten Clients automatisch zu diesem Konto wechseln und [messages.requestUrlAuth](https://core.telegram.org/method/messages.requestUrlAuth.md) erneut aufrufen, bevor die Eingabeaufforderung angezeigt wird", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?long"}, "verified_app_name": {"type": "string", "x-tl-type": "string", "description": "Kann nur eingestellt werden, wenn `is_app` eingestellt ist und die App verifiziert ist; muss `domain` in der Bestätigungsaufforderung ersetzen, sofern vorhanden", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?string"}, "tc_session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.9?long"}, "tc_client_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.10?string"}}, "required": ["_", "bot", "domain"], "additionalProperties": false}, "urlAuthResultAccepted": {"title": "urlAuthResultAccepted", "description": "Details zu einer angenommenen Autorisierungsanfrage, für weitere Informationen [hier klicken »](https://core.telegram.org/api/url-authorization.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/urlAuthResultAccepted"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["urlAuthResultAccepted"]}, "url": {"type": "string", "x-tl-type": "string", "description": "Falls vorhanden, URL zum Öffnen im externen Browser (kann ein benutzerdefiniertes Schema für den direkten Wechsel zu einer anderen App verwenden); Wenn nicht, war die Anmeldung erfolgreich und die Kunden sollten lediglich einen Bestätigungs-Toast anzeigen.  Immer auf [Bot-Button URL Autorisierung](https://core.telegram.org/api/url-authorization.md#bot-button-url-authorization) und [Link URL Autorisierung](https://core.telegram.org/api/url-authorization.md#link-url-authorization)] eingestellt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_"], "additionalProperties": false}, "urlAuthResultDefault": {"title": "urlAuthResultDefault", "description": "Details zu einer angenommenen Autorisierungsanfrage, für weitere Informationen [hier klicken »](https://core.telegram.org/api/url-authorization.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/urlAuthResultDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["urlAuthResultDefault"]}}, "required": ["_"], "additionalProperties": false}, "channelLocationEmpty": {"title": "channelLocationEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty"]}}, "required": ["_"], "additionalProperties": false}, "channelLocation": {"title": "channelLocation", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelLocation"]}, "geo_point": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Тип TL: GeoPoint."}, "address": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "geo_point", "address"], "additionalProperties": false}, "peerLocated": {"title": "peerLocated", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerLocated"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "distance": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "expires", "distance"], "additionalProperties": false}, "peerSelfLocated": {"title": "peerSelfLocated", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerSelfLocated"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "expires"], "additionalProperties": false}, "restrictionReason": {"title": "restrictionReason", "type": "object", "properties": {"_": {"type": "string", "enum": ["restrictionReason"]}, "platform": {"type": "string", "x-tl-type": "string"}, "reason": {"type": "string", "x-tl-type": "string"}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "platform", "reason", "text"], "additionalProperties": false}, "inputTheme": {"title": "inputTheme", "description": "Thema", "externalDocs": {"url": "https://core.telegram.org/constructor/inputTheme"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputTheme"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Ausweis", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputThemeSlug": {"title": "inputThemeSlug", "description": "Theme nach Theme-ID", "externalDocs": {"url": "https://core.telegram.org/constructor/inputThemeSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputThemeSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Eindeutige Theme-ID, erhalten von einem [Theme-Deep-Link »](https://core.telegram.org/api/links.md#theme-links)", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "theme": {"title": "theme", "description": "Thema", "externalDocs": {"url": "https://core.telegram.org/constructor/theme"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["theme"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der aktuelle Benutzer der Ersteller dieses Themes ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dies das Standardthema ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "for_chat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieses Thema als [Chat-Thema](https://telegram.org/blog/chat-themes-interactive-emoji-read-receipts)] verwendet werden soll", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Themen-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Theme-Zugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "Eindeutige Theme-ID", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Themenname", "x-telegram-field-docs": true}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Thema", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Document"}, "settings": {"type": "array", "items": {"type": "object", "x-tl-type": "ThemeSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["themeSettings"]}}, "description": "Тип TL: ThemeSettings."}, "x-tl-type": "Vector<ThemeSettings>", "description": "Theme-Einstellungen", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<ThemeSettings>"}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Themen-Emoji", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?string"}, "installs_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Installationen", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}}, "required": ["_", "id", "access_hash", "slug", "title"], "additionalProperties": false}, "account.themesNotModified": {"title": "account.themesNotModified", "description": "Es wurden keine neuen Themes installiert", "externalDocs": {"url": "https://core.telegram.org/constructor/account.themesNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.themesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "account.themes": {"title": "account.themes", "description": "Installierte Themes", "externalDocs": {"url": "https://core.telegram.org/constructor/account.themes"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.themes"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "themes": {"type": "array", "items": {"type": "object", "x-tl-type": "Theme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["theme"]}}, "description": "TL Type: Theme."}, "x-tl-type": "Vector<Theme>", "description": "Themen", "x-telegram-field-docs": true}}, "required": ["_", "hash", "themes"], "additionalProperties": false}, "auth.loginToken": {"title": "auth.loginToken", "description": "Login-Token (für [QR-Code-Login](https://core.telegram.org/api/qr-login.md))“", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.loginToken"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.loginToken"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ablaufdatum des QR-Codes", "x-telegram-field-docs": true}, "token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Token zum Rendern im QR-Code", "x-telegram-field-docs": true}}, "required": ["_", "expires", "token"], "additionalProperties": false}, "auth.loginTokenMigrateTo": {"title": "auth.loginTokenMigrateTo", "description": "Wiederholen Sie die Abfrage an den angegebenen DC", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.loginTokenMigrateTo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.loginTokenMigrateTo"]}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "DC-ID", "x-telegram-field-docs": true}, "token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Token zur Anmeldung", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "token"], "additionalProperties": false}, "auth.loginTokenSuccess": {"title": "auth.loginTokenSuccess", "description": "Anmeldung per Token (QR-Code) erfolgreich!", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.loginTokenSuccess"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.loginTokenSuccess"]}, "authorization": {"type": "object", "x-tl-type": "auth.Authorization", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["auth.authorization", "auth.authorizationSignUpRequired"]}}, "description": "Informationen zur Autorisierung", "x-telegram-field-docs": true}}, "required": ["_", "authorization"], "additionalProperties": false}, "account.contentSettings": {"title": "account.contentSettings", "description": "Einstellungen für sensible Inhalte", "externalDocs": {"url": "https://core.telegram.org/constructor/account.contentSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.contentSettings"]}, "sensitive_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Anzeige sensibler (NSFW) Inhalte aktiviert ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "sensitive_can_change": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der aktuelle Client die Einstellungen für vertrauliche Inhalte ändern kann, um NSFW Inhalte anzuzeigen", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "messages.inactiveChats": {"title": "messages.inactiveChats", "description": "Inaktive Chatliste", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.inactiveChats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.inactiveChats"]}, "dates": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Wann war der Chat zuletzt aktiv?", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chat-Liste", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In der Chat-Liste erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "dates", "chats", "users"], "additionalProperties": false}, "baseThemeClassic": {"title": "baseThemeClassic", "description": "Klassisches Thema", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeClassic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeClassic"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeDay": {"title": "baseThemeDay", "description": "Tagesthema", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeDay"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeDay"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeNight": {"title": "baseThemeNight", "description": "Nachtthema", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeNight"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeNight"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeTinted": {"title": "baseThemeTinted", "description": "Getöntes Thema", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeTinted"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeTinted"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeArctic": {"title": "baseThemeArctic", "description": "Arktisches Thema", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeArctic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeArctic"]}}, "required": ["_"], "additionalProperties": false}, "inputThemeSettings": {"title": "inputThemeSettings", "description": "Theme-Einstellungen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputThemeSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputThemeSettings"]}, "message_colors_animated": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, muss die Freiform-Verlaufsfüllung bei jeder gesendeten Nachricht animiert werden", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "base_theme": {"type": "object", "x-tl-type": "BaseTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["baseThemeClassic", "baseThemeDay", "baseThemeNight", "baseThemeTinted", "baseThemeArctic"]}}, "description": "Standardthema, auf dem dieses Thema basiert", "x-telegram-field-docs": true}, "accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Akzentfarbe, ARGB-Format", "x-telegram-field-docs": true}, "outbox_accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Akzentfarbe ausgehender Nachrichten im ARGB-Format", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "message_colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Die Füllung, die als Hintergrund für ausgehende Nachrichten verwendet werden soll, im RGB24-Format.  Wenn nur eine oder zwei gleiche Farben bereitgestellt werden, beschreibt dies eine durchgehende Füllung eines Hintergrunds.  Wenn zwei verschiedene Farben bereitgestellt werden, beschreibt dies die obere und untere Farbe eines 0-Grad-Farbverlaufs. Wenn drei oder vier Farben bereitgestellt werden, beschreibt dies eine Freiform-Verlaufsfüllung eines Hintergrunds.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<int>"}, "wallpaper": {"type": "object", "x-tl-type": "InputWallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputWallPaper", "inputWallPaperSlug", "inputWallPaperNoFile"]}}, "description": "[inputWallPaper](https://core.telegram.org/constructor/inputWallPaper.md) oder [inputWallPaperSlug](https://core.telegram.org/constructor/inputWallPaper.md) beim Übergeben von Hintergrundbilddateien für [image](https://core.telegram.org/api/wallpapers.md#image-wallpapers) oder [pattern](https://core.telegram.org/api/wallpapers.md#pattern-wallpapers) Hintergrundbilder, [inputWallPaperNoFile](https://core.telegram.org/constructor/inputWallPaperNoFile.md) mit `id=0`] andernfalls.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?InputWallPaper"}, "wallpaper_settings": {"type": "object", "x-tl-type": "WallPaperSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaperSettings"]}}, "description": "[Hintergrund](https://core.telegram.org/api/wallpapers.md) Einstellungen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?WallPaperSettings"}}, "required": ["_", "base_theme", "accent_color"], "additionalProperties": false}, "themeSettings": {"title": "themeSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["themeSettings"]}, "message_colors_animated": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "base_theme": {"type": "object", "x-tl-type": "BaseTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["baseThemeClassic", "baseThemeDay", "baseThemeNight", "baseThemeTinted", "baseThemeArctic"]}}, "description": "Тип TL: BaseTheme."}, "accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "outbox_accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "message_colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.0?Vector<int>"}, "wallpaper": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "TL Type: WallPaper.", "x-tl-flag": "flags.1?WallPaper"}}, "required": ["_", "base_theme", "accent_color"], "additionalProperties": false}, "webPageAttributeTheme": {"title": "webPageAttributeTheme", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeTheme"]}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "x-tl-flag": "flags.0?Vector<Document>"}, "settings": {"type": "object", "x-tl-type": "ThemeSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["themeSettings"]}}, "description": "Тип TL: ThemeSettings.", "x-tl-flag": "flags.1?ThemeSettings"}}, "required": ["_"], "additionalProperties": false}, "webPageAttributeStory": {"title": "webPageAttributeStory", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeStory"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Тип TL: StoryItem.", "x-tl-flag": "flags.0?StoryItem"}}, "required": ["_", "peer", "id"], "additionalProperties": false}, "webPageAttributeStickerSet": {"title": "webPageAttributeStickerSet", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeStickerSet"]}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "text_color": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>"}}, "required": ["_", "stickers"], "additionalProperties": false}, "webPageAttributeUniqueStarGift": {"title": "webPageAttributeUniqueStarGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeUniqueStarGift"]}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}}, "required": ["_", "gift"], "additionalProperties": false}, "webPageAttributeStarGiftCollection": {"title": "webPageAttributeStarGiftCollection", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeStarGiftCollection"]}, "icons": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>"}}, "required": ["_", "icons"], "additionalProperties": false}, "webPageAttributeStarGiftAuction": {"title": "webPageAttributeStarGiftAuction", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeStarGiftAuction"]}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "gift", "end_date"], "additionalProperties": false}, "webPageAttributeAiComposeTone": {"title": "webPageAttributeAiComposeTone", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeAiComposeTone"]}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "emoji_id"], "additionalProperties": false}, "messages.votesList": {"title": "messages.votesList", "description": "Wie Benutzer in einer Umfrage abgestimmt haben", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.votesList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.votesList"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Stimmen für alle Optionen (oder nur für die ausgewählten `option`, falls angegeben für [messages.getPollVotes](https://core.telegram.org/method/messages.getPollVotes.md))", "x-telegram-field-docs": true}, "votes": {"type": "array", "items": {"type": "object", "x-tl-type": "MessagePeerVote", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messagePeerVote", "messagePeerVoteInputOption", "messagePeerVoteMultiple"]}}, "description": "Тип TL: MessagePeerVote."}, "x-tl-type": "Vector<MessagePeerVote>", "description": "Abstimmungsinformationen für jeden Benutzer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Informationen zu Benutzern, die an der Umfrage teilgenommen haben", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Offset zur Verwendung mit der nächsten [messages.getPollVotes](https://core.telegram.org/method/messages.getPollVotes.md)-Anfrage, leere Zeichenfolge, wenn keine weiteren Ergebnisse verfügbar sind.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "count", "votes", "chats", "users"], "additionalProperties": false}, "bankCardOpenUrl": {"title": "bankCardOpenUrl", "type": "object", "properties": {"_": {"type": "string", "enum": ["bankCardOpenUrl"]}, "url": {"type": "string", "x-tl-type": "string"}, "name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url", "name"], "additionalProperties": false}, "payments.bankCardData": {"title": "payments.bankCardData", "description": "Kreditkarteninformationen, bereitgestellt von der/den Bank(en) der Karte", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.bankCardData"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.bankCardData"]}, "title": {"type": "string", "x-tl-type": "string", "description": "Kreditkartentitel", "x-telegram-field-docs": true}, "open_urls": {"type": "array", "items": {"type": "object", "x-tl-type": "BankCardOpenUrl", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["bankCardOpenUrl"]}}, "description": "Тип TL: BankCardOpenUrl."}, "x-tl-type": "Vector<BankCardOpenUrl>", "description": "Informationen URL(s) bereitgestellt von der/den Bank(en) der Karte", "x-telegram-field-docs": true}}, "required": ["_", "title", "open_urls"], "additionalProperties": false}, "dialogFilter": {"title": "dialogFilter", "description": "Dialogfilter AKA [Ordner](https://core.telegram.org/api/folders.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/dialogFilter"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogFilter"]}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob alle Kontakte in diesem [Ordner](https://core.telegram.org/api/folders.md)] eingeschlossen werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob alle Nichtkontakte in diesen [Ordner](https://core.telegram.org/api/folders.md)] einbezogen werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "groups": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob alle Gruppen in diesem [Ordner](https://core.telegram.org/api/folders.md)] einbezogen werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "broadcasts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob alle Kanäle in diesem [Ordner](https://core.telegram.org/api/folders.md)] enthalten sein sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "bots": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob alle Bots in diesem [Ordner](https://core.telegram.org/api/folders.md)] eingeschlossen werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "exclude_muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob stummgeschaltete Chats aus diesem [Ordner](https://core.telegram.org/api/folders.md)] ausgeschlossen werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "exclude_read": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob gelesene Chats aus diesem [Ordner](https://core.telegram.org/api/folders.md)] ausgeschlossen werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "exclude_archived": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob archivierte Chats aus diesem [Ordner](https://core.telegram.org/api/folders.md)] ausgeschlossen werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "title_noanimate": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn dies festgelegt ist, sollten alle in `title` vorhandenen animierten Emojis nicht animiert und stattdessen im ersten Frame eingefroren werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.28?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Ordner](https://core.telegram.org/api/folders.md) ID", "x-telegram-field-docs": true}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "[Ordner](https://core.telegram.org/api/folders.md) Name (max. 12 UTF-8 Zeichen)", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji, das als Symbol für den Ordner verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?string"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Eine Farb-ID für das [Ordner-Tag, das diesem Ordner zugeordnet ist. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/folders.md#folder-tags).", "x-telegram-field-docs": true, "x-tl-flag": "flags.27?int"}, "pinned_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Angepinnte Chats, [Ordner](https://core.telegram.org/api/folders.md) können unbegrenzt angeheftete Chats enthalten", "x-telegram-field-docs": true}, "include_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Fügen Sie die folgenden Chats in diesen [Ordner](https://core.telegram.org/api/folders.md)] ein", "x-telegram-field-docs": true}, "exclude_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Schließen Sie die folgenden Chats aus diesem [Ordner](https://core.telegram.org/api/folders.md) aus]", "x-telegram-field-docs": true}}, "required": ["_", "id", "title", "pinned_peers", "include_peers", "exclude_peers"], "additionalProperties": false}, "dialogFilterDefault": {"title": "dialogFilterDefault", "description": "Wird nur beim Neuordnen von Ordnern verwendet, um den Standardordner (alle Chats) anzugeben.", "externalDocs": {"url": "https://core.telegram.org/constructor/dialogFilterDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogFilterDefault"]}}, "required": ["_"], "additionalProperties": false}, "dialogFilterChatlist": {"title": "dialogFilterChatlist", "description": "Ein Ordner, der über einen [Chat-Ordner-Deep-Link »](https://core.telegram.org/api/links.md#chat-folder-links)“ importiert wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/dialogFilterChatlist"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogFilterChatlist"]}, "has_my_invites": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der aktuelle Benutzer einige [Chat-Ordner-Deep-Links »](https://core.telegram.org/api/links.md#chat-folder-links) erstellt hat, um den Ordner ebenfalls freizugeben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.26?true"}, "title_noanimate": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn dies festgelegt ist, sollten alle in `title` vorhandenen animierten Emojis nicht animiert und stattdessen im ersten Frame eingefroren werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.28?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID des Ordners", "x-telegram-field-docs": true}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Name des Ordners (maximal 12 UTF-8 Zeichen)", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji, das als Symbol für den Ordner verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?string"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Eine Farb-ID für das [Ordner-Tag, das diesem Ordner zugeordnet ist. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/folders.md#folder-tags).", "x-telegram-field-docs": true, "x-tl-flag": "flags.27?int"}, "pinned_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Angepinnte Chats, [Ordner](https://core.telegram.org/api/folders.md) können unbegrenzt angeheftete Chats enthalten", "x-telegram-field-docs": true}, "include_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Chats, die in den Ordner aufgenommen werden sollen", "x-telegram-field-docs": true}}, "required": ["_", "id", "title", "pinned_peers", "include_peers"], "additionalProperties": false}, "dialogFilterSuggested": {"title": "dialogFilterSuggested", "description": "Vorgeschlagene [Ordner](https://core.telegram.org/api/folders.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/dialogFilterSuggested"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogFilterSuggested"]}, "filter": {"type": "object", "x-tl-type": "DialogFilter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogFilter", "dialogFilterDefault", "dialogFilterChatlist"]}}, "description": "[Ordnerinfo](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "[Ordner](https://core.telegram.org/api/folders.md) Beschreibung", "x-telegram-field-docs": true}}, "required": ["_", "filter", "description"], "additionalProperties": false}, "statsDateRangeDays": {"title": "statsDateRangeDays", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsDateRangeDays"]}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "min_date", "max_date"], "additionalProperties": false}, "statsAbsValueAndPrev": {"title": "statsAbsValueAndPrev", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}, "current": {"type": "number", "format": "double", "x-tl-type": "double"}, "previous": {"type": "number", "format": "double", "x-tl-type": "double"}}, "required": ["_", "current", "previous"], "additionalProperties": false}, "statsPercentValue": {"title": "statsPercentValue", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsPercentValue"]}, "part": {"type": "number", "format": "double", "x-tl-type": "double"}, "total": {"type": "number", "format": "double", "x-tl-type": "double"}}, "required": ["_", "part", "total"], "additionalProperties": false}, "statsGraphAsync": {"title": "statsGraphAsync", "description": "Dieses [Kanalstatistikdiagramm](https://core.telegram.org/api/stats.md) muss asynchron mit [stats.loadAsyncGraph](https://core.telegram.org/method/stats.loadAsyncGraph.md) generiert werden, um die Serverlast zu reduzieren", "externalDocs": {"url": "https://core.telegram.org/constructor/statsGraphAsync"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGraphAsync"]}, "token": {"type": "string", "x-tl-type": "string", "description": "Token, der zum Abrufen des asynchronen Diagramms verwendet werden soll", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "statsGraphError": {"title": "statsGraphError", "description": "Beim Generieren des [Statistikdiagramms](https://core.telegram.org/api/stats.md) ist ein Fehler aufgetreten", "externalDocs": {"url": "https://core.telegram.org/constructor/statsGraphError"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGraphError"]}, "error": {"type": "string", "x-tl-type": "string", "description": "Der Fehler", "x-telegram-field-docs": true}}, "required": ["_", "error"], "additionalProperties": false}, "statsGraph": {"title": "statsGraph", "description": "[Kanalstatistikdiagramm](https://core.telegram.org/api/stats.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/statsGraph"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGraph"]}, "json": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Statistikdaten", "x-telegram-field-docs": true}, "zoom_token": {"type": "string", "x-tl-type": "string", "description": "Zoom-Token", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "json"], "additionalProperties": false}, "stats.broadcastStats": {"title": "stats.broadcastStats", "description": "[Kanalstatistik](https://core.telegram.org/api/stats.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/stats.broadcastStats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stats.broadcastStats"]}, "period": {"type": "object", "x-tl-type": "StatsDateRangeDays", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsDateRangeDays"]}}, "description": "Berücksichtigter Zeitraum", "x-telegram-field-docs": true}, "followers": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Änderung der Follower-Anzahl für den betrachteten Zeitraum", "x-telegram-field-docs": true}, "views_per_post": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "`total_viewcount/postcount`, für Beiträge, die im betrachteten Zeitraum veröffentlicht wurden.  Beachten Sie, dass sich in diesem Fall `current` auf den betrachteten `period` bezieht (`min_date` bis `max_date`) und `prev` sich auf den vorherigen Zeitraum (`(min_date - (max_date - min_date))` bis `min_date`) bezieht.", "x-telegram-field-docs": true}, "shares_per_post": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "`total_sharecount/postcount`, für Beiträge, die im betrachteten Zeitraum veröffentlicht wurden.  Beachten Sie, dass sich in diesem Fall `current` auf das betrachtete `period` bezieht (`min_date` bis `max_date`) und `prev` sich auf den vorherigen Zeitraum (`(min_date - (max_date - min_date))` bis `min_date`) bezieht.", "x-telegram-field-docs": true}, "reactions_per_post": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "`total_reactions/postcount`, für Beiträge, die im betrachteten Zeitraum veröffentlicht wurden.  Beachten Sie, dass sich in diesem Fall `current` auf den betrachteten `period` bezieht (`min_date` bis `max_date`) und `prev` sich auf den vorherigen Zeitraum (`(min_date - (max_date - min_date))` bis `min_date`) bezieht.", "x-telegram-field-docs": true}, "views_per_story": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "`total_views/storycount`, für Beiträge, die im betrachteten Zeitraum veröffentlicht wurden.  Beachten Sie, dass sich in diesem Fall `current` auf den betrachteten `period` bezieht (`min_date` bis `max_date`) und `prev` sich auf den vorherigen Zeitraum (`(min_date - (max_date - min_date))` bis `min_date`) bezieht.", "x-telegram-field-docs": true}, "shares_per_story": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "`total_shares/storycount`, für Beiträge, die im betrachteten Zeitraum veröffentlicht wurden.  Beachten Sie, dass sich in diesem Fall `current` auf den betrachteten `period` bezieht (`min_date` bis `max_date`) und `prev` sich auf den vorherigen Zeitraum (`(min_date - (max_date - min_date))` bis `min_date`) bezieht.", "x-telegram-field-docs": true}, "reactions_per_story": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "`total_reactions/storycount`, für Beiträge, die im betrachteten Zeitraum veröffentlicht wurden.  Beachten Sie, dass sich in diesem Fall `current` auf die betrachtete `period` bezieht (`min_date` bis `max_date`) und `prev` sich auf den vorherigen Zeitraum (`(min_date - (max_date - min_date))` bis `min_date`) bezieht.", "x-telegram-field-docs": true}, "enabled_notifications": {"type": "object", "x-tl-type": "StatsPercentValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsPercentValue"]}}, "description": "Prozentsatz der Abonnenten mit aktivierten Benachrichtigungen", "x-telegram-field-docs": true}, "growth_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Diagramm zum Kanalwachstum (absolute Abonnentenzahl)", "x-telegram-field-docs": true}, "followers_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Diagramm zum Follower-Wachstum (relative Abonnentenzahl)", "x-telegram-field-docs": true}, "mute_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Diagramm stummgeschalteter Benutzer (relativ)", "x-telegram-field-docs": true}, "top_hours_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Diagramm „Aufrufe pro Stunde“ (absolut)", "x-telegram-field-docs": true}, "interactions_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Interaktionsdiagramm (absolut)", "x-telegram-field-docs": true}, "iv_interactions_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "IV-Interaktionsdiagramm (absolut)", "x-telegram-field-docs": true}, "views_by_source_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Aufrufe nach Quelldiagramm (absolut)", "x-telegram-field-docs": true}, "new_followers_by_source_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Neue Follower nach Quelldiagramm (absolut)", "x-telegram-field-docs": true}, "languages_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Diagramm der Abonnentensprache (Tortendiagramm)", "x-telegram-field-docs": true}, "reactions_by_emotion_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Ein Diagramm mit der Anzahl der Reaktionen auf Beiträge, kategorisiert nach Emotionen", "x-telegram-field-docs": true}, "story_interactions_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Ein Diagramm mit der Anzahl der Story-Aufrufe und Shares", "x-telegram-field-docs": true}, "story_reactions_by_emotion_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Ein Diagramm mit der Anzahl der Reaktionen auf Geschichten, kategorisiert nach Emotionen", "x-telegram-field-docs": true}, "recent_posts_interactions": {"type": "array", "items": {"type": "object", "x-tl-type": "PostInteractionCounters", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["postInteractionCountersMessage", "postInteractionCountersStory"]}}, "description": "Тип TL: PostInteractionCounters."}, "x-tl-type": "Vector<PostInteractionCounters>", "description": "Detaillierte Statistiken über die Anzahl der Aufrufe und Freigaben kürzlich gesendeter Nachrichten und Geschichten", "x-telegram-field-docs": true}}, "required": ["_", "period", "followers", "views_per_post", "shares_per_post", "reactions_per_post", "views_per_story", "shares_per_story", "reactions_per_story", "enabled_notifications", "growth_graph", "followers_graph", "mute_graph", "top_hours_graph", "interactions_graph", "iv_interactions_graph", "views_by_source_graph", "new_followers_by_source_graph", "languages_graph", "reactions_by_emotion_graph", "story_interactions_graph", "story_reactions_by_emotion_graph", "recent_posts_interactions"], "additionalProperties": false}, "help.promoDataEmpty": {"title": "help.promoDataEmpty", "description": "Es sind keine PSA/MTProxy-Informationen verfügbar", "externalDocs": {"url": "https://core.telegram.org/constructor/help.promoDataEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.promoDataEmpty"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Rufen Sie die PSA/MTProxy-Informationen nach der angegebenen Anzahl von Sekunden erneut ab", "x-telegram-field-docs": true}}, "required": ["_", "expires"], "additionalProperties": false}, "help.promoData": {"title": "help.promoData", "description": "Eine Reihe nützlicher Vorschläge und ein von PSA/MTProxy gesponserter Peer finden Sie [hier »](https://core.telegram.org/api/config.md#suggestions)] für weitere Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/help.promoData"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.promoData"]}, "proxy": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wird festgelegt, wenn eine Verbindung über einen MTProxy hergestellt wird, der einen zugehörigen Peer konfiguriert hat (der in `peer`, i.e. dem Kanal übergeben wird, der den MTProxy gesponsert hat), der oben in der Chat-Liste angeheftet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Unixzeit, wann [help.getPromoData](https://core.telegram.org/method/help.getPromoData.md) erneut aufgerufen werden soll.", "x-telegram-field-docs": true}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "MTProxy/PSA Peer", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Peer"}, "psa_type": {"type": "string", "x-tl-type": "string", "description": "Gibt bei öffentlichen Bekanntmachungen `peer`s den Typ des PSA an.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "psa_message": {"type": "string", "x-tl-type": "string", "description": "Für öffentliche Bekanntmachungen enthält `peer`s das PSA selbst.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "pending_suggestions": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Enthält eine Liste von [ausstehenden Vorschlägen »](https://core.telegram.org/api/config.md#basic-suggestions).", "x-telegram-field-docs": true}, "dismissed_suggestions": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Enthält eine Liste von [invertierten Vorschlägen »](https://core.telegram.org/api/config.md#inverted-suggestions).", "x-telegram-field-docs": true}, "custom_pending_suggestion": {"type": "object", "x-tl-type": "PendingSuggestion", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pendingSuggestion"]}}, "description": "Enthält eine Liste von [benutzerdefinierten ausstehenden Vorschlägen »](https://core.telegram.org/api/config.md#custom-suggestions).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?PendingSuggestion"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chat-Informationen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzerinformationen", "x-telegram-field-docs": true}}, "required": ["_", "expires", "pending_suggestions", "dismissed_suggestions", "chats", "users"], "additionalProperties": false}, "videoSize": {"title": "videoSize", "description": "Ein [animiertes Profilbild](https://core.telegram.org/api/files.md#animated-profile-pictures) im MPEG4-Format", "externalDocs": {"url": "https://core.telegram.org/constructor/videoSize"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["videoSize"]}, "type": {"type": "string", "x-tl-type": "string", "description": "[videoSize.type Wert »](https://core.telegram.org/api/files.md#videosizetype-values)", "x-telegram-field-docs": true}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Videobreite", "x-telegram-field-docs": true}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Videohöhe", "x-telegram-field-docs": true}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dateigröße", "x-telegram-field-docs": true}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Zeitstempel, der dem Benutzer als statische Vorschau angezeigt werden soll (Sekunden)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?double"}}, "required": ["_", "type", "w", "h", "size"], "additionalProperties": false}, "videoSizeEmojiMarkup": {"title": "videoSizeEmojiMarkup", "description": "Ein [animiertes Profilbild](https://core.telegram.org/api/files.md#animated-profile-pictures) basierend auf einem [benutzerdefinierten Emoji-Aufkleber](https://core.telegram.org/api/custom-emoji.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/videoSizeEmojiMarkup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["videoSizeEmojiMarkup"]}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Benutzerdefinierte Emoji-ID](https://core.telegram.org/api/custom-emoji.md): Der benutzerdefinierte Emoji-Aufkleber wird in der Mitte des Profilbilds angezeigt und nimmt höchstens 67 % davon ein.", "x-tl-type": "long", "x-telegram-field-docs": true}, "background_colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "1, 2, 3 oder 4 RBG-24 Farben werden verwendet, um einen einfarbigen (1), Farbverlaufs- (2) oder Freiform-Farbverlaufshintergrund (3, 4) zu erzeugen, ähnlich wie [Füllhintergründe](https://core.telegram.org/api/wallpapers.md#fill-types)] generiert werden. Der Drehwinkel für Verlaufshintergründe beträgt 0.", "x-telegram-field-docs": true}}, "required": ["_", "emoji_id", "background_colors"], "additionalProperties": false}, "videoSizeStickerMarkup": {"title": "videoSizeStickerMarkup", "description": "Ein [animiertes Profilbild](https://core.telegram.org/api/files.md#animated-profile-pictures) basierend auf einem [Aufkleber](https://core.telegram.org/api/stickers.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/videoSizeStickerMarkup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["videoSizeStickerMarkup"]}, "stickerset": {"type": "object", "x-tl-type": "InputStickerSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmpty", "inputStickerSetID", "inputStickerSetShortName", "inputStickerSetAnimatedEmoji", "inputStickerSetDice", "inputStickerSetAnimatedEmojiAnimations", "inputStickerSetPremiumGifts", "inputStickerSetEmojiGenericAnimations", "inputStickerSetEmojiDefaultStatuses", "inputStickerSetEmojiDefaultTopicIcons", "inputStickerSetEmojiChannelDefaultStatuses", "inputStickerSetTonGifts"]}}, "description": "Aufkleberset", "x-telegram-field-docs": true}, "sticker_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Aufkleber-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "background_colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "1, 2, 3 oder 4 RBG-24 Farben werden verwendet, um einen einfarbigen (1), Farbverlaufs- (2) oder Freiform-Farbverlaufshintergrund (3, 4) zu erzeugen, ähnlich wie [Füllhintergründe](https://core.telegram.org/api/wallpapers.md#fill-types)] generiert werden. Der Drehwinkel für Verlaufshintergründe beträgt 0.", "x-telegram-field-docs": true}}, "required": ["_", "stickerset", "sticker_id", "background_colors"], "additionalProperties": false}, "statsGroupTopPoster": {"title": "statsGroupTopPoster", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGroupTopPoster"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "messages": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "avg_chars": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "messages", "avg_chars"], "additionalProperties": false}, "statsGroupTopAdmin": {"title": "statsGroupTopAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGroupTopAdmin"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "deleted": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "kicked": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "banned": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "deleted", "kicked", "banned"], "additionalProperties": false}, "statsGroupTopInviter": {"title": "statsGroupTopInviter", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGroupTopInviter"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "invitations": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "invitations"], "additionalProperties": false}, "stats.megagroupStats": {"title": "stats.megagroupStats", "description": "Supergruppe [Statistik](https://core.telegram.org/api/stats.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/stats.megagroupStats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stats.megagroupStats"]}, "period": {"type": "object", "x-tl-type": "StatsDateRangeDays", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsDateRangeDays"]}}, "description": "Berücksichtigter Zeitraum", "x-telegram-field-docs": true}, "members": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Änderung der Mitgliederzahl für den betrachteten Zeitraum", "x-telegram-field-docs": true}, "messages": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Änderung der Nachrichtennummer für den betrachteten Zeitraum", "x-telegram-field-docs": true}, "viewers": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Anzahl der Benutzer, die Nachrichten angesehen haben, für den jeweiligen Bereich", "x-telegram-field-docs": true}, "posters": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Anzahl der Benutzer, die Nachrichten gepostet haben, für den jeweiligen Bereich", "x-telegram-field-docs": true}, "growth_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Supergroup-Wachstumsdiagramm (absolute Abonnentenzahl)", "x-telegram-field-docs": true}, "members_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Mitgliederwachstum (relative Abonnentenzahl)", "x-telegram-field-docs": true}, "new_members_by_source_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Neue Mitglieder nach Quelldiagramm", "x-telegram-field-docs": true}, "languages_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Diagramm der Abonnentensprache (Tortendiagramm)", "x-telegram-field-docs": true}, "messages_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Nachrichtenaktivitätsdiagramm (gestapeltes Balkendiagramm, Nachrichtentyp)", "x-telegram-field-docs": true}, "actions_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gruppenaktivitätsdiagramm (gelöschte, geänderte Nachrichten, blockierte Benutzer)", "x-telegram-field-docs": true}, "top_hours_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Diagramm „Aktivität pro Stunde“ (absolut)", "x-telegram-field-docs": true}, "weekdays_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Diagramm „Aktivität pro Wochentag“ (absolut)", "x-telegram-field-docs": true}, "top_posters": {"type": "array", "items": {"type": "object", "x-tl-type": "StatsGroupTopPoster", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGroupTopPoster"]}}, "description": "Тип TL: StatsGroupTopPoster."}, "x-tl-type": "Vector<StatsGroupTopPoster>", "description": "Informationen zu den aktivsten Gruppenmitgliedern", "x-telegram-field-docs": true}, "top_admins": {"type": "array", "items": {"type": "object", "x-tl-type": "StatsGroupTopAdmin", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGroupTopAdmin"]}}, "description": "Тип TL: StatsGroupTopAdmin."}, "x-tl-type": "Vector<StatsGroupTopAdmin>", "description": "Informationen zu den aktivsten Gruppenadministratoren", "x-telegram-field-docs": true}, "top_inviters": {"type": "array", "items": {"type": "object", "x-tl-type": "StatsGroupTopInviter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGroupTopInviter"]}}, "description": "Тип TL: StatsGroupTopInviter."}, "x-tl-type": "Vector<StatsGroupTopInviter>", "description": "Informationen zu den aktivsten Gruppeneinladungen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Informationen zu den in der Statistik genannten Benutzern", "x-telegram-field-docs": true}}, "required": ["_", "period", "members", "messages", "viewers", "posters", "growth_graph", "members_graph", "new_members_by_source_graph", "languages_graph", "messages_graph", "actions_graph", "top_hours_graph", "weekdays_graph", "top_posters", "top_admins", "top_inviters", "users"], "additionalProperties": false}, "globalPrivacySettings": {"title": "globalPrivacySettings", "description": "Globale Datenschutzeinstellungen", "externalDocs": {"url": "https://core.telegram.org/constructor/globalPrivacySettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["globalPrivacySettings"]}, "archive_and_mute_new_noncontact_peers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob neue Chats von Nicht-Kontakten archiviert und stummgeschaltet werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "keep_archived_unmuted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob nicht stummgeschaltete Chats in der Archiv-Chat-Liste behalten werden, wenn sie eine neue Nachricht erhalten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "keep_archived_folders": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob nicht stummgeschaltete Chats, die immer enthalten oder in einem [Ordner](https://core.telegram.org/api/folders.md) angeheftet sind, werden in der Archiv-Chat-Liste gespeichert, wenn sie eine neue Nachricht erhalten. Wird ignoriert, wenn `keep_archived_unmuted` gesetzt ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "hide_read_marks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn dieses Flag gesetzt ist, gilt der Schlüssel [inputPrivacyKeyStatusTimestamp](https://core.telegram.org/constructor/inputPrivacyKeyStatusTimestamp.md)] auch für die Möglichkeit, [messages.getOutboxReadDate](https://core.telegram.org/method/messages.getOutboxReadDate.md) für an uns gesendete Nachrichten zu verwenden.  Das bedeutet, dass Benutzer, die *unser* genaues letztes Online-Datum aufgrund des aktuellen Werts des Schlüssels [inputPrivacyKeyStatusTimestamp](https://core.telegram.org/constructor/inputPrivacyKeyStatusTimestamp.md)] nicht sehen können, einen `403 USER_PRIVACY_RESTRICTED`-Fehler erhalten, wenn sie [messages.getOutboxReadDate](https://core.telegram.org/method/messages.getOutboxReadDate.md) aufrufen, um das genaue Lesedatum einer an uns gesendeten Nachricht abzurufen.  Das Flag [userFull](https://core.telegram.org/constructor/userFull.md).`read_dates_private`] wird für Benutzer gesetzt, die dieses Flag aktiviert haben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "new_noncontact_peers_require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Weitere Informationen zu dieser Flagge finden Sie hier »](https://core.telegram.org/api/privacy.md#require-premium-for-new-non-contact-users).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "display_gifts_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Aktiviert oder deaktiviert unser [userFull](https://core.telegram.org/constructor/userFull.md).`display_gifts_button`-Flag: Wenn das [userFull](https://core.telegram.org/constructor/userFull.md).`display_gifts_button`-Flag von uns und einem anderen Benutzer gesetzt ist, sollte in privaten Chats mit dem anderen Benutzer immer eine Geschenkschaltfläche im Textfeld angezeigt werden: Nach dem Klicken sollte die Geschenk-Benutzeroberfläche angezeigt werden, die dem Benutzer die Möglichkeit bietet, [Telegram Premium »](https://core.telegram.org/api/premium.md#gifting-telegram-premium)-Abonnements oder [Telegram-Geschenke »](https://core.telegram.org/api/gifts.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "noncontact_peers_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Wenn konfiguriert, wird die Anzahl der [Sterne](https://core.telegram.org/api/stars.md)] angegeben, die Benutzer uns bezahlen müssen, um uns eine Nachricht zu senden. Weitere Informationen zu kostenpflichtigen Nachrichten finden Sie hier »](https://core.telegram.org/api/paid-messages.md).", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?long"}, "disallowed_gifts": {"type": "object", "x-tl-type": "DisallowedGiftsSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["disallowedGiftsSettings"]}}, "description": "Verbietet den Empfang bestimmter Geschenkarten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?DisallowedGiftsSettings"}}, "required": ["_"], "additionalProperties": false}, "help.countryCode": {"title": "help.countryCode", "type": "object", "properties": {"_": {"type": "string", "enum": ["help.countryCode"]}, "country_code": {"type": "string", "x-tl-type": "string"}, "prefixes": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "x-tl-flag": "flags.0?Vector<string>"}, "patterns": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "x-tl-flag": "flags.1?Vector<string>"}}, "required": ["_", "country_code"], "additionalProperties": false}, "help.country": {"title": "help.country", "type": "object", "properties": {"_": {"type": "string", "enum": ["help.country"]}, "hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "iso2": {"type": "string", "x-tl-type": "string"}, "default_name": {"type": "string", "x-tl-type": "string"}, "name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "country_codes": {"type": "array", "items": {"type": "object", "x-tl-type": "help.CountryCode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["help.countryCode"]}}, "description": "Тип TL: help.CountryCode."}, "x-tl-type": "Vector<help.CountryCode>"}}, "required": ["_", "iso2", "default_name", "country_codes"], "additionalProperties": false}, "help.countriesListNotModified": {"title": "help.countriesListNotModified", "description": "Die Länderliste hat sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/help.countriesListNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.countriesListNotModified"]}}, "required": ["_"], "additionalProperties": false}, "help.countriesList": {"title": "help.countriesList", "description": "Name, ISO-Code, lokalisierter Name und Telefoncodes/-muster aller verfügbaren Länder", "externalDocs": {"url": "https://core.telegram.org/constructor/help.countriesList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.countriesList"]}, "countries": {"type": "array", "items": {"type": "object", "x-tl-type": "help.Country", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["help.country"]}}, "description": "Тип TL: help.Country."}, "x-tl-type": "Vector<help.Country>", "description": "Name, ISO-Code, lokalisierter Name und Telefoncodes/-muster aller verfügbaren Länder", "x-telegram-field-docs": true}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}}, "required": ["_", "countries", "hash"], "additionalProperties": false}, "messageViews": {"title": "messageViews", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageViews"]}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "forwards": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "replies": {"type": "object", "x-tl-type": "MessageReplies", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplies"]}}, "description": "Тип TL: MessageReplies.", "x-tl-flag": "flags.2?MessageReplies"}}, "required": ["_"], "additionalProperties": false}, "messages.messageViews": {"title": "messages.messageViews", "description": "Anzeigen, Weiterleitungszähler + Informationen zu Antworten", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.messageViews"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.messageViews"]}, "views": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageViews", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageViews"]}}, "description": "Тип TL: MessageViews."}, "x-tl-type": "Vector<MessageViews>", "description": "Anzeigen, Weiterleitungszähler + Informationen zu Antworten", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Im Konstruktor erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Im Konstruktor erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "views", "chats", "users"], "additionalProperties": false}, "messages.discussionMessage": {"title": "messages.discussionMessage", "description": "Informationen zu einem [Nachrichtenthread](https://core.telegram.org/api/threads.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.discussionMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.discussionMessage"]}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Die Nachrichten, mit denen der Thread beginnt. Die Nachrichten werden in umgekehrter chronologischer Reihenfolge zurückgegeben (i.e., in der Reihenfolge absteigender Nachrichten-ID).", "x-telegram-field-docs": true}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID der letzten Antwort in diesem [Thread](https://core.telegram.org/api/threads.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "read_inbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID der zuletzt gelesenen eingehenden Nachricht in diesem [Thread](https://core.telegram.org/api/threads.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "read_outbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID der zuletzt gelesenen ausgehenden Nachricht in diesem [Thread](https://core.telegram.org/api/threads.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl ungelesener Nachrichten", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Im Konstruktor erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Im Konstruktor erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "messages", "unread_count", "chats", "users"], "additionalProperties": false}, "messageReplyHeader": {"title": "messageReplyHeader", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageReplyHeader"]}, "reply_to_scheduled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "forum_topic": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "quote": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "reply_to_ephemeral": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "reply_to_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "reply_to_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.0?Peer"}, "reply_from": {"type": "object", "x-tl-type": "MessageFwdHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageFwdHeader"]}}, "description": "Тип TL: MessageFwdHeader.", "x-tl-flag": "flags.5?MessageFwdHeader"}, "reply_media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "TL Type: MessageMedia.", "x-tl-flag": "flags.8?MessageMedia"}, "reply_to_top_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "quote_text": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.6?string"}, "quote_entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "quote_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "todo_item_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}, "poll_option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.12?bytes"}, "quote_rich": {"type": "array", "items": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "x-tl-type": "Vector<RichText>", "x-tl-flag": "flags.14?Vector<RichText>"}}, "required": ["_"], "additionalProperties": false}, "messageReplyStoryHeader": {"title": "messageReplyStoryHeader", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageReplyStoryHeader"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "story_id"], "additionalProperties": false}, "messageReplies": {"title": "messageReplies", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageReplies"]}, "comments": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "replies": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "replies_pts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "recent_repliers": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "x-tl-flag": "flags.1?Vector<Peer>"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}}, "required": ["_", "replies", "replies_pts"], "additionalProperties": false}, "peerBlocked": {"title": "peerBlocked", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerBlocked"]}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer_id", "date"], "additionalProperties": false}, "stats.messageStats": {"title": "stats.messageStats", "description": "Nachrichtenstatistiken", "externalDocs": {"url": "https://core.telegram.org/constructor/stats.messageStats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stats.messageStats"]}, "views_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Diagramm der Nachrichtenansicht", "x-telegram-field-docs": true}, "reactions_by_emotion_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Ein Diagramm mit der Anzahl der Reaktionen auf Geschichten, kategorisiert nach Emotionen", "x-telegram-field-docs": true}}, "required": ["_", "views_graph", "reactions_by_emotion_graph"], "additionalProperties": false}, "groupCallDiscarded": {"title": "groupCallDiscarded", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallDiscarded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "access_hash", "duration"], "additionalProperties": false}, "groupCall": {"title": "groupCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCall"]}, "join_muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "can_change_join_muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "join_date_asc": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "schedule_start_subscribed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "can_start_video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "record_video_active": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "rtmp_stream": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "listeners_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "conference": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true"}, "messages_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true"}, "can_change_messages_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.18?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "stream_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "record_start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.7?int"}, "unmuted_video_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int"}, "unmuted_video_limit": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "invite_link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.20?long"}, "default_send_as": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.21?Peer"}}, "required": ["_", "id", "access_hash", "participants_count", "unmuted_video_limit", "version"], "additionalProperties": false}, "inputGroupCall": {"title": "inputGroupCall", "description": "Zeigt auf einen bestimmten [Gruppenanruf](https://core.telegram.org/api/group-calls.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGroupCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGroupCall"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Gruppenanruf-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Gruppenanruf-Zugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputGroupCallSlug": {"title": "inputGroupCallSlug", "description": "Identifizieren Sie eine [Telefonkonferenz »](https://core.telegram.org/api/group-calls.md#conference-calls) anhand des Slugs aus dem Einladungslink.\n\nDieser Konstruktor kann nur für Konferenzgespräche verwendet werden. Es kann nicht für Video-Chats/Livestreams, Live-Storys oder andere Arten von Gruppenanrufen verwendet werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGroupCallSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGroupCallSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Beitrag vom [Konferenzlink »](https://core.telegram.org/api/links.md#conference-links).", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputGroupCallInviteMessage": {"title": "inputGroupCallInviteMessage", "description": "Identifiziert einen [Konferenzanruf »](https://core.telegram.org/api/group-calls.md#conference-calls) anhand seiner [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md) Einladungsdienstnachricht.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGroupCallInviteMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGroupCallInviteMessage"]}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID des [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md).", "x-telegram-field-docs": true}}, "required": ["_", "msg_id"], "additionalProperties": false}, "groupCallParticipant": {"title": "groupCallParticipant", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}, "muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "left": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "can_self_unmute": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "just_joined": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "versioned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "muted_by_you": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "volume_by_admin": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "self": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "video_joined": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "active_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "source": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "volume": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.7?int"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.11?string"}, "raise_hand_rating": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.13?long"}, "video": {"type": "object", "x-tl-type": "GroupCallParticipantVideo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipantVideo"]}}, "description": "Тип TL: GroupCallParticipantVideo.", "x-tl-flag": "flags.6?GroupCallParticipantVideo"}, "presentation": {"type": "object", "x-tl-type": "GroupCallParticipantVideo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipantVideo"]}}, "description": "Тип TL: GroupCallParticipantVideo.", "x-tl-flag": "flags.14?GroupCallParticipantVideo"}, "paid_stars_total": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.16?long"}}, "required": ["_", "peer", "date", "source"], "additionalProperties": false}, "phone.groupCall": {"title": "phone.groupCall", "description": "Enthält Informationen zu Gruppenanrufen und eine erste Teilnehmerseite, siehe [Informationen zu einem Gruppenanruf abrufen »](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call).", "externalDocs": {"url": "https://core.telegram.org/constructor/phone.groupCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phone.groupCall"]}, "call": {"type": "object", "x-tl-type": "GroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallDiscarded", "groupCall"]}}, "description": "Infos zum Gruppenanruf", "x-telegram-field-docs": true}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Тип TL: GroupCallParticipant."}, "x-tl-type": "Vector<GroupCallParticipant>", "description": "Eine unvollständige Teilnehmerliste.", "x-telegram-field-docs": true}, "participants_next_offset": {"type": "string", "x-tl-type": "string", "description": "Nächster Offset, der beim Abrufen der verbleibenden Teilnehmer mit [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md)] verwendet werden soll", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Im Teilnehmervektor erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Im Teilnehmervektor erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "call", "participants", "participants_next_offset", "chats", "users"], "additionalProperties": false}, "phone.groupParticipants": {"title": "phone.groupParticipants", "description": "Enthält eine Seite mit Gruppenanrufteilnehmern, siehe [Informationen zu einem Gruppenanruf abrufen »](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call).", "externalDocs": {"url": "https://core.telegram.org/constructor/phone.groupParticipants"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phone.groupParticipants"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Teilnehmer", "x-telegram-field-docs": true}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Тип TL: GroupCallParticipant."}, "x-tl-type": "Vector<GroupCallParticipant>", "description": "Teilnehmerliste", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Wenn nicht leer, ist die angegebene Teilnehmerliste unvollständig und es können mehr Teilnehmer abgerufen werden, indem dieser Parameter als `offset` in [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md) angegeben wird.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Aktuelle Teilnehmerlistenversion, die zum Anwenden und Erkennen von Lücken in versionierten [updateGroupCallParticipants](https://core.telegram.org/constructor/updateGroupCallParticipants.md)-Updates] verwendet wird", "x-telegram-field-docs": true}}, "required": ["_", "count", "participants", "next_offset", "chats", "users", "version"], "additionalProperties": false}, "inlineQueryPeerTypeSameBotPM": {"title": "inlineQueryPeerTypeSameBotPM", "description": "Peer-Typ: Privater Chat mit dem Bot selbst", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineQueryPeerTypeSameBotPM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeSameBotPM"]}}, "required": ["_"], "additionalProperties": false}, "inlineQueryPeerTypePM": {"title": "inlineQueryPeerTypePM", "description": "Peer-Typ: privater Chat", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineQueryPeerTypePM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypePM"]}}, "required": ["_"], "additionalProperties": false}, "inlineQueryPeerTypeChat": {"title": "inlineQueryPeerTypeChat", "description": "Peer-Typ: [chat](https://core.telegram.org/api/channel.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineQueryPeerTypeChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeChat"]}}, "required": ["_"], "additionalProperties": false}, "inlineQueryPeerTypeMegagroup": {"title": "inlineQueryPeerTypeMegagroup", "description": "Peer-Typ: [Supergruppe](https://core.telegram.org/api/channel.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineQueryPeerTypeMegagroup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeMegagroup"]}}, "required": ["_"], "additionalProperties": false}, "inlineQueryPeerTypeBroadcast": {"title": "inlineQueryPeerTypeBroadcast", "description": "Peer-Typ: [Kanal](https://core.telegram.org/api/channel.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineQueryPeerTypeBroadcast"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeBroadcast"]}}, "required": ["_"], "additionalProperties": false}, "inlineQueryPeerTypeBotPM": {"title": "inlineQueryPeerTypeBotPM", "description": "Peer-Typ: Privater Chat mit einem Bot.", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineQueryPeerTypeBotPM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeBotPM"]}}, "required": ["_"], "additionalProperties": false}, "messages.historyImport": {"title": "messages.historyImport", "description": "ID einer bestimmten [Chat-Importsitzung, klicken Sie hier für weitere Informationen »](https://core.telegram.org/api/import.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.historyImport"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.historyImport"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Verlaufsimport-ID](https://core.telegram.org/api/import.md)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "messages.historyImportParsed": {"title": "messages.historyImportParsed", "description": "Enthält Informationen zu einer Chat-Exportdatei [erstellt von einer fremden Chat-App, klicken Sie hier für weitere Informationen](https://core.telegram.org/api/import.md).\nWenn weder die Flags `pm` noch `group` gesetzt sind, wurde der angegebene Chat-Export aus einem Chat unbekannten Typs generiert.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.historyImportParsed"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.historyImportParsed"]}, "pm": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Die Chat-Exportdatei wurde aus einem privaten Chat generiert.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "group": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Die Chat-Exportdatei wurde aus einem Gruppenchat generiert.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "title": {"type": "string", "x-tl-type": "string", "description": "Titel des Chats.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}}, "required": ["_"], "additionalProperties": false}, "messages.affectedFoundMessages": {"title": "messages.affectedFoundMessages", "description": "Gefundene und von Änderungen betroffene Nachrichten", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.affectedFoundMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.affectedFoundMessages"]}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Ereignisanzahl nach Generierung](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Anzahl der generierten Ereignisse](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn der Wert größer als Null ist, muss die Anfrage wiederholt werden, um weitere Nachrichten zu entfernen", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Betroffene Nachrichten-IDs", "x-telegram-field-docs": true}}, "required": ["_", "pts", "pts_count", "offset", "messages"], "additionalProperties": false}, "chatInviteImporter": {"title": "chatInviteImporter", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatInviteImporter"]}, "requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "via_chatlist": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "approved_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "messages.exportedChatInvites": {"title": "messages.exportedChatInvites", "description": "Informationen zu Chat-Einladungen, die von einem bestimmten Administrator exportiert wurden.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.exportedChatInvites"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.exportedChatInvites"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der vom Administrator exportierten Einladungen", "x-telegram-field-docs": true}, "invites": {"type": "array", "items": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "TL Type: ExportedChatInvite."}, "x-tl-type": "Vector<ExportedChatInvite>", "description": "Exportierte Einladungen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Infos zum Admin", "x-telegram-field-docs": true}}, "required": ["_", "count", "invites", "users"], "additionalProperties": false}, "messages.exportedChatInvite": {"title": "messages.exportedChatInvite", "description": "Informationen zu einer Chat-Einladung", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.exportedChatInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.exportedChatInvite"]}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Infos zur Chat-Einladung", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "invite", "users"], "additionalProperties": false}, "messages.exportedChatInviteReplaced": {"title": "messages.exportedChatInviteReplaced", "description": "Die angegebene Chat-Einladung wurde durch eine andere ersetzt", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.exportedChatInviteReplaced"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.exportedChatInviteReplaced"]}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Die ersetzte Chat-Einladung", "x-telegram-field-docs": true}, "new_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Die Einladung, die die vorherige Einladung ersetzt", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "invite", "new_invite", "users"], "additionalProperties": false}, "messages.chatInviteImporters": {"title": "messages.chatInviteImporters", "description": "Informationen zu den Benutzern, die dem Chat über eine bestimmte Chat-Einladung beigetreten sind", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.chatInviteImporters"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.chatInviteImporters"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Benutzer, die beigetreten sind", "x-telegram-field-docs": true}, "importers": {"type": "array", "items": {"type": "object", "x-tl-type": "ChatInviteImporter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteImporter"]}}, "description": "Тип TL: ChatInviteImporter."}, "x-tl-type": "Vector<ChatInviteImporter>", "description": "Die Benutzer, die beigetreten sind", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Die Benutzer, die beigetreten sind", "x-telegram-field-docs": true}}, "required": ["_", "count", "importers", "users"], "additionalProperties": false}, "chatAdminWithInvites": {"title": "chatAdminWithInvites", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatAdminWithInvites"]}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "invites_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "revoked_invites_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "admin_id", "invites_count", "revoked_invites_count"], "additionalProperties": false}, "messages.chatAdminsWithInvites": {"title": "messages.chatAdminsWithInvites", "description": "Informationen zu Chat-Einladungen, die von Administratoren generiert wurden.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.chatAdminsWithInvites"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.chatAdminsWithInvites"]}, "admins": {"type": "array", "items": {"type": "object", "x-tl-type": "ChatAdminWithInvites", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminWithInvites"]}}, "description": "Тип TL: ChatAdminWithInvites."}, "x-tl-type": "Vector<ChatAdminWithInvites>", "description": "Informationen zu Chat-Einladungen, die von Administratoren generiert wurden.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "admins", "users"], "additionalProperties": false}, "messages.checkedHistoryImportPeer": {"title": "messages.checkedHistoryImportPeer", "description": "Enthält einen Bestätigungstext, der dem Benutzer beim Importieren des Chatverlaufs angezeigt wird. Klicken Sie hier für weitere Informationen »](https://core.telegram.org/api/import.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.checkedHistoryImportPeer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.checkedHistoryImportPeer"]}, "confirm_text": {"type": "string", "x-tl-type": "string", "description": "Ein Bestätigungstext, der dem Benutzer beim [Importieren des Chat-Verlaufs »](https://core.telegram.org/api/import.md) angezeigt wird.", "x-telegram-field-docs": true}}, "required": ["_", "confirm_text"], "additionalProperties": false}, "phone.joinAsPeers": {"title": "phone.joinAsPeers", "description": "Enthält die Peers, die zum Beitritt zu einem Video-Chat/Livestream verwendet werden können, siehe [Beitritt im Namen eigener Kanäle »](https://core.telegram.org/api/group-calls.md#joining-a-group-call-on-behalf-of-owned-channels).", "externalDocs": {"url": "https://core.telegram.org/constructor/phone.joinAsPeers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phone.joinAsPeers"]}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "description": "Kollegen", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Im Peers-Vektor erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Im Peers-Vektor erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "peers", "chats", "users"], "additionalProperties": false}, "phone.exportedGroupCallInvite": {"title": "phone.exportedGroupCallInvite", "description": "Eine Einladung zu einem Gruppenanruf oder Livestream", "externalDocs": {"url": "https://core.telegram.org/constructor/phone.exportedGroupCallInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phone.exportedGroupCallInvite"]}, "link": {"type": "string", "x-tl-type": "string", "description": "Einladungslink", "x-telegram-field-docs": true}}, "required": ["_", "link"], "additionalProperties": false}, "groupCallParticipantVideoSourceGroup": {"title": "groupCallParticipantVideoSourceGroup", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallParticipantVideoSourceGroup"]}, "semantics": {"type": "string", "x-tl-type": "string"}, "sources": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "semantics", "sources"], "additionalProperties": false}, "groupCallParticipantVideo": {"title": "groupCallParticipantVideo", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallParticipantVideo"]}, "paused": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "endpoint": {"type": "string", "x-tl-type": "string"}, "source_groups": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallParticipantVideoSourceGroup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipantVideoSourceGroup"]}}, "description": "Тип TL: GroupCallParticipantVideoSourceGroup."}, "x-tl-type": "Vector<GroupCallParticipantVideoSourceGroup>"}, "audio_source": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "endpoint", "source_groups"], "additionalProperties": false}, "stickers.suggestedShortName": {"title": "stickers.suggestedShortName", "description": "Ein vorgeschlagener Kurzname für ein Stickerpack", "externalDocs": {"url": "https://core.telegram.org/constructor/stickers.suggestedShortName"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stickers.suggestedShortName"]}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Vorgeschlagener Kurzname", "x-telegram-field-docs": true}}, "required": ["_", "short_name"], "additionalProperties": false}, "botCommandScopeDefault": {"title": "botCommandScopeDefault", "description": "Die Befehle sind in allen Dialogen gültig", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopeDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopeDefault"]}}, "required": ["_"], "additionalProperties": false}, "botCommandScopeUsers": {"title": "botCommandScopeUsers", "description": "Die angegebenen Bot-Befehle sind nur in allen privaten Chats mit Benutzern gültig.", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopeUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopeUsers"]}}, "required": ["_"], "additionalProperties": false}, "botCommandScopeChats": {"title": "botCommandScopeChats", "description": "Die angegebenen Bot-Befehle gelten in allen [Gruppen und Supergruppen](https://core.telegram.org/api/channel.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopeChats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopeChats"]}}, "required": ["_"], "additionalProperties": false}, "botCommandScopeChatAdmins": {"title": "botCommandScopeChatAdmins", "description": "Die angegebenen Bot-Befehle gelten nur für Chat-Administratoren in allen [Gruppen und Supergruppen](https://core.telegram.org/api/channel.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopeChatAdmins"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopeChatAdmins"]}}, "required": ["_"], "additionalProperties": false}, "botCommandScopePeer": {"title": "botCommandScopePeer", "description": "Die angegebenen Bot-Befehle sind nur in einem bestimmten Dialog gültig.", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopePeer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopePeer"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Dialog", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "botCommandScopePeerAdmins": {"title": "botCommandScopePeerAdmins", "description": "Die angegebenen Bot-Befehle gelten für alle Administratoren der angegebenen [Gruppe oder Supergruppe](https://core.telegram.org/api/channel.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopePeerAdmins"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopePeerAdmins"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Chat", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "botCommandScopePeerUser": {"title": "botCommandScopePeerUser", "description": "Die angegebenen Bot-Befehle gelten nur für einen bestimmten Benutzer in der angegebenen [Gruppe oder Supergruppe](https://core.telegram.org/api/channel.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopePeerUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopePeerUser"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Chat", "x-telegram-field-docs": true}, "user_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "Der Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "peer", "user_id"], "additionalProperties": false}, "account.resetPasswordFailedWait": {"title": "account.resetPasswordFailedWait", "description": "Sie haben kürzlich eine Passwort-Zurücksetzung beantragt, die jedoch abgebrochen wurde. Bitte warten Sie bis zum angegebenen Datum, bevor Sie eine weitere Zurücksetzung beantragen.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.resetPasswordFailedWait"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.resetPasswordFailedWait"]}, "retry_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Warten Sie bis zu diesem Datum, bevor Sie ein weiteres Zurücksetzen anfordern.", "x-telegram-field-docs": true}}, "required": ["_", "retry_date"], "additionalProperties": false}, "account.resetPasswordRequestedWait": {"title": "account.resetPasswordRequestedWait", "description": "Sie haben erfolgreich eine Passwortzurücksetzung beantragt. Bitte warten Sie bis zum angegebenen Datum, bevor Sie die Zurücksetzung abschließen.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.resetPasswordRequestedWait"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.resetPasswordRequestedWait"]}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Warten Sie bis zu diesem Datum, bevor Sie den Reset abschließen.", "x-telegram-field-docs": true}}, "required": ["_", "until_date"], "additionalProperties": false}, "account.resetPasswordOk": {"title": "account.resetPasswordOk", "description": "Das 2FA-Passwort wurde erfolgreich zurückgesetzt.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.resetPasswordOk"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.resetPasswordOk"]}}, "required": ["_"], "additionalProperties": false}, "chatTheme": {"title": "chatTheme", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatTheme"]}, "emoticon": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "emoticon"], "additionalProperties": false}, "chatThemeUniqueGift": {"title": "chatThemeUniqueGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatThemeUniqueGift"]}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "theme_settings": {"type": "array", "items": {"type": "object", "x-tl-type": "ThemeSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["themeSettings"]}}, "description": "Тип TL: ThemeSettings."}, "x-tl-type": "Vector<ThemeSettings>"}}, "required": ["_", "gift", "theme_settings"], "additionalProperties": false}, "account.chatThemesNotModified": {"title": "account.chatThemesNotModified", "description": "Die verfügbaren Chat-Themen wurden nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/account.chatThemesNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.chatThemesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "account.chatThemes": {"title": "account.chatThemes", "description": "Verfügbar [Chat-Themen](https://core.telegram.org/api/themes.md#chat-themes)", "externalDocs": {"url": "https://core.telegram.org/constructor/account.chatThemes"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.chatThemes"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash, der an die Methode übergeben wird, die diesen Konstruktor zurückgegeben hat, um zu vermeiden, dass das Ergebnis erneut abgerufen wird, wenn es sich nicht geändert hat.", "x-tl-type": "long", "x-telegram-field-docs": true}, "themes": {"type": "array", "items": {"type": "object", "x-tl-type": "ChatTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatTheme", "chatThemeUniqueGift"]}}, "description": "Тип TL: ChatTheme."}, "x-tl-type": "Vector<ChatTheme>", "description": "Themen.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Im Feld `themes` erwähnte Chats.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Im Feld `themes` erwähnte Benutzer.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Nächster Offset für die Paginierung.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "hash", "themes", "chats", "users"], "additionalProperties": false}, "sponsoredMessage": {"title": "sponsoredMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["sponsoredMessage"]}, "recommended": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "can_report": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "random_id": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "url": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.6?Photo"}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "TL Type: MessageMedia.", "x-tl-flag": "flags.14?MessageMedia"}, "color": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Тип TL: PeerColor.", "x-tl-flag": "flags.13?PeerColor"}, "button_text": {"type": "string", "x-tl-type": "string"}, "sponsor_info": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.7?string"}, "additional_info": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.8?string"}, "min_display_duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int"}, "max_display_duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int"}}, "required": ["_", "random_id", "url", "title", "message", "button_text"], "additionalProperties": false}, "messages.sponsoredMessages": {"title": "messages.sponsoredMessages", "description": "Eine Reihe gesponserter Nachrichten, die einem Kanal zugeordnet sind", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.sponsoredMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.sponsoredMessages"]}, "posts_between": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn festgelegt, wird die Mindestanzahl an Nachrichten zwischen den angezeigten gesponserten Nachrichten angegeben. Andernfalls darf nach allen normalen Nachrichten nur eine gesponserte Nachricht angezeigt werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "start_delay": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für [gesponserte Nachrichten, die auf Kanalvideos angezeigt werden sollen »](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements), die Anzahl der Sekunden, die gewartet werden muss, bevor die erste Anzeige geschaltet wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "between_delay": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für [gesponserte Nachrichten, die auf Kanalvideos angezeigt werden »](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements), die Anzahl der Sekunden, die nach dem Ausblenden der vorherigen Anzeige gewartet werden soll, bevor die nächste Anzeige geschaltet wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "first_after_posts": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "SponsoredMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sponsoredMessage"]}}, "description": "Тип TL: SponsoredMessage."}, "x-tl-type": "Vector<SponsoredMessage>", "description": "Gesponserte Nachrichten", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "In den gesponserten Nachrichten erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In den gesponserten Nachrichten erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "messages", "chats", "users"], "additionalProperties": false}, "messages.sponsoredMessagesEmpty": {"title": "messages.sponsoredMessagesEmpty", "description": "Es sind keine gesponserten Nachrichten verfügbar.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.sponsoredMessagesEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.sponsoredMessagesEmpty"]}}, "required": ["_"], "additionalProperties": false}, "searchResultsCalendarPeriod": {"title": "searchResultsCalendarPeriod", "type": "object", "properties": {"_": {"type": "string", "enum": ["searchResultsCalendarPeriod"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "min_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "max_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "date", "min_msg_id", "max_msg_id", "count"], "additionalProperties": false}, "messages.searchResultsCalendar": {"title": "messages.searchResultsCalendar", "description": "Informationen zu gefundenen Nachrichten, die an einem bestimmten Tag gesendet wurden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.searchResultsCalendar"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.searchResultsCalendar"]}, "inexact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, bedeutet dies, dass die Ergebnisse möglicherweise ungenau sind", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Ergebnisse, die mit der Abfrage übereinstimmen", "x-telegram-field-docs": true}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Startzeitstempel der angehängten Nachrichten", "x-telegram-field-docs": true}, "min_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Endzeitstempel der angehängten Nachrichten", "x-telegram-field-docs": true}, "offset_id_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gibt die absolute Position von `messages[0]` innerhalb der gesamten Ergebnismenge mit der Anzahl `count` an.  Dies ist beispielsweise nützlich, wenn wir einen `progress/total`-Zähler anzeigen müssen (wie `photo 134 of 200`, für alle Medien in einem Chat könnten wir einfach `photo ${offset_id_offset} of ${count}` verwenden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "periods": {"type": "array", "items": {"type": "object", "x-tl-type": "SearchResultsCalendarPeriod", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["searchResultsCalendarPeriod"]}}, "description": "Тип TL: SearchResultsCalendarPeriod."}, "x-tl-type": "Vector<SearchResultsCalendarPeriod>", "description": "Wird verwendet, um die `messages` nach Tagen aufzuteilen: Es werden mehrere [SearchResultsCalendarPeriod](https://core.telegram.org/type/SearchResultsCalendarPeriod.md)-Konstruktoren zurückgegeben, die jeweils Informationen über die erste, letzte und Gesamtzahl der Nachrichten enthalten, die dem Filter entsprechen und an einem bestimmten Tag gesendet wurden.   Diese Informationen können leicht verwendet werden, um die zurückgegebenen `messages` nach Tag aufzuteilen.", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Nachrichten", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "min_date", "min_msg_id", "periods", "messages", "chats", "users"], "additionalProperties": false}, "searchResultPosition": {"title": "searchResultPosition", "type": "object", "properties": {"_": {"type": "string", "enum": ["searchResultPosition"]}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "msg_id", "date", "offset"], "additionalProperties": false}, "messages.searchResultsPositions": {"title": "messages.searchResultsPositions", "description": "Informationen zu spärlichen Positionen von Nachrichten", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.searchResultsPositions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.searchResultsPositions"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der gefundenen Nachrichten", "x-telegram-field-docs": true}, "positions": {"type": "array", "items": {"type": "object", "x-tl-type": "SearchResultsPosition", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["searchResultPosition"]}}, "description": "Тип TL: SearchResultsPosition."}, "x-tl-type": "Vector<SearchResultsPosition>", "description": "Liste der Nachrichtenpositionen", "x-telegram-field-docs": true}}, "required": ["_", "count", "positions"], "additionalProperties": false}, "channels.sendAsPeers": {"title": "channels.sendAsPeers", "description": "Eine Liste von Peers, die zum Senden von Nachrichten in einer bestimmten Gruppe verwendet werden können", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.sendAsPeers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.sendAsPeers"]}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "SendAsPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sendAsPeer"]}}, "description": "Тип TL: SendAsPeer."}, "x-tl-type": "Vector<SendAsPeer>", "description": "Peers, die zum Senden von Nachrichten an die Gruppe verwendet werden können", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "peers", "chats", "users"], "additionalProperties": false}, "users.userFull": {"title": "users.userFull", "description": "Vollständige Benutzerinformationen", "externalDocs": {"url": "https://core.telegram.org/constructor/users.userFull"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["users.userFull"]}, "full_user": {"type": "object", "x-tl-type": "UserFull", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userFull"]}}, "description": "Vollständige Benutzerinformationen", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "full_user", "chats", "users"], "additionalProperties": false}, "messages.peerSettings": {"title": "messages.peerSettings", "description": "Peer-Einstellungen", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.peerSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.peerSettings"]}, "settings": {"type": "object", "x-tl-type": "PeerSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerSettings"]}}, "description": "Peer-Einstellungen", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "settings", "chats", "users"], "additionalProperties": false}, "auth.loggedOut": {"title": "auth.loggedOut", "description": "[Zukünftiges Authentifizierungstoken »](https://core.telegram.org/api/auth.md#future-auth-tokens) zur Verwendung bei nachfolgenden Autorisierungen", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.loggedOut"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.loggedOut"]}, "future_auth_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Zukünftiges Authentifizierungstoken »](https://core.telegram.org/api/auth.md#future-auth-tokens) zur Verwendung bei nachfolgenden Autorisierungen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?bytes"}}, "required": ["_"], "additionalProperties": false}, "reactionCount": {"title": "reactionCount", "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionCount"]}, "chosen_order": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "reaction", "count"], "additionalProperties": false}, "messageReactions": {"title": "messageReactions", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageReactions"]}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "can_see_list": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "reactions_as_tags": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "results": {"type": "array", "items": {"type": "object", "x-tl-type": "ReactionCount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionCount"]}}, "description": "Тип TL: ReactionCount."}, "x-tl-type": "Vector<ReactionCount>"}, "recent_reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "MessagePeerReaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messagePeerReaction"]}}, "description": "Тип TL: MessagePeerReaction."}, "x-tl-type": "Vector<MessagePeerReaction>", "x-tl-flag": "flags.1?Vector<MessagePeerReaction>"}, "top_reactors": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageReactor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReactor"]}}, "description": "Тип TL: MessageReactor."}, "x-tl-type": "Vector<MessageReactor>", "x-tl-flag": "flags.4?Vector<MessageReactor>"}}, "required": ["_", "results"], "additionalProperties": false}, "messages.messageReactionsList": {"title": "messages.messageReactionsList", "description": "Liste der Peers, die auf eine bestimmte Nachricht reagiert haben", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.messageReactionsList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.messageReactionsList"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Reaktionen, die mit der Abfrage übereinstimmen", "x-telegram-field-docs": true}, "reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "MessagePeerReaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messagePeerReaction"]}}, "description": "Тип TL: MessagePeerReaction."}, "x-tl-type": "Vector<MessagePeerReaction>", "description": "Liste der Peers, die auf eine bestimmte Nachricht reagiert haben", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Wenn festgelegt, gibt es den nächsten Offset an, der zum Laden weiterer Ergebnisse durch Aufrufen von [messages.getMessageReactionsList](https://core.telegram.org/method/messages.getMessageReactionsList.md)] verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "count", "reactions", "chats", "users"], "additionalProperties": false}, "availableReaction": {"title": "availableReaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["availableReaction"]}, "inactive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "reaction": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}, "static_icon": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "appear_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "select_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "activate_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "effect_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "around_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags.1?Document"}, "center_icon": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags.1?Document"}}, "required": ["_", "reaction", "title", "static_icon", "appear_animation", "select_animation", "activate_animation", "effect_animation"], "additionalProperties": false}, "messages.availableReactionsNotModified": {"title": "messages.availableReactionsNotModified", "description": "Es liegen keine neuen Reaktionen vor", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.availableReactionsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.availableReactionsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.availableReactions": {"title": "messages.availableReactions", "description": "Animationen und Metadaten im Zusammenhang mit [Nachrichtenreaktionen »](https://core.telegram.org/api/reactions.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.availableReactions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.availableReactions"]}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}, "reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "AvailableReaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["availableReaction"]}}, "description": "Тип TL: AvailableReaction."}, "x-tl-type": "Vector<AvailableReaction>", "description": "Animationen und Metadaten im Zusammenhang mit [Nachrichtenreaktionen »](https://core.telegram.org/api/reactions.md)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "reactions"], "additionalProperties": false}, "messagePeerReaction": {"title": "messagePeerReaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["messagePeerReaction"]}, "big": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "my": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}}, "required": ["_", "peer_id", "date", "reaction"], "additionalProperties": false}, "groupCallStreamChannel": {"title": "groupCallStreamChannel", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallStreamChannel"]}, "channel": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "scale": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "last_timestamp_ms": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "channel", "scale", "last_timestamp_ms"], "additionalProperties": false}, "phone.groupCallStreamChannels": {"title": "phone.groupCallStreamChannels", "description": "Enthält die verfügbaren Kanäle eines Gruppenanrufs im RTMP-Modus, siehe [Wiedergabe eines RTMP-Livestreams »](https://core.telegram.org/api/group-calls.md#rtmp-mode).", "externalDocs": {"url": "https://core.telegram.org/constructor/phone.groupCallStreamChannels"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phone.groupCallStreamChannels"]}, "channels": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallStreamChannel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallStreamChannel"]}}, "description": "Тип TL: GroupCallStreamChannel."}, "x-tl-type": "Vector<GroupCallStreamChannel>", "description": "Verfügbare RTMP Stream-Kanäle; kann leer sein, während der externe Herausgeber keine Medien sendet", "x-telegram-field-docs": true}}, "required": ["_", "channels"], "additionalProperties": false}, "phone.groupCallStreamRtmpUrl": {"title": "phone.groupCallStreamRtmpUrl", "description": "Enthält die RTMP Veröffentlichung URL und den geheimen Stream-Schlüssel, siehe [Erstellen und Veröffentlichen eines RTMP Livestreams »](https://core.telegram.org/api/group-calls.md#creating-and-publishing-an-rtmp-livestream).", "externalDocs": {"url": "https://core.telegram.org/constructor/phone.groupCallStreamRtmpUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phone.groupCallStreamRtmpUrl"]}, "url": {"type": "string", "x-tl-type": "string", "description": "RTMP URL", "x-telegram-field-docs": true}, "key": {"type": "string", "x-tl-type": "string", "description": "Geheimer Stream-Schlüssel", "x-telegram-field-docs": true}}, "required": ["_", "url", "key"], "additionalProperties": false}, "attachMenuBotIconColor": {"title": "attachMenuBotIconColor", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuBotIconColor"]}, "name": {"type": "string", "x-tl-type": "string"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "name", "color"], "additionalProperties": false}, "attachMenuBotIcon": {"title": "attachMenuBotIcon", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuBotIcon"]}, "name": {"type": "string", "x-tl-type": "string"}, "icon": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "colors": {"type": "array", "items": {"type": "object", "x-tl-type": "AttachMenuBotIconColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["attachMenuBotIconColor"]}}, "description": "Тип TL: AttachMenuBotIconColor."}, "x-tl-type": "Vector<AttachMenuBotIconColor>", "x-tl-flag": "flags.0?Vector<AttachMenuBotIconColor>"}}, "required": ["_", "name", "icon"], "additionalProperties": false}, "attachMenuBot": {"title": "attachMenuBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuBot"]}, "inactive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "has_settings": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "request_write_access": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "show_in_attach_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "show_in_side_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "side_menu_disclaimer_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "short_name": {"type": "string", "x-tl-type": "string"}, "peer_types": {"type": "array", "items": {"type": "object", "x-tl-type": "AttachMenuPeerType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]}}, "description": "Тип TL: AttachMenuPeerType."}, "x-tl-type": "Vector<AttachMenuPeerType>", "x-tl-flag": "flags.3?Vector<AttachMenuPeerType>"}, "icons": {"type": "array", "items": {"type": "object", "x-tl-type": "AttachMenuBotIcon", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["attachMenuBotIcon"]}}, "description": "Тип TL: AttachMenuBotIcon."}, "x-tl-type": "Vector<AttachMenuBotIcon>"}}, "required": ["_", "bot_id", "short_name", "icons"], "additionalProperties": false}, "attachMenuBotsNotModified": {"title": "attachMenuBotsNotModified", "description": "Die Liste der Bot-Mini-Apps hat sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/attachMenuBotsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuBotsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuBots": {"title": "attachMenuBots", "description": "Stellt eine Liste von [Bot-Mini-Apps dar, die über das Anhangsmenü gestartet werden können »](https://core.telegram.org/api/bots/attach.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/attachMenuBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuBots"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "bots": {"type": "array", "items": {"type": "object", "x-tl-type": "AttachMenuBot", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["attachMenuBot"]}}, "description": "Тип TL: AttachMenuBot."}, "x-tl-type": "Vector<AttachMenuBot>", "description": "Liste der [Bot-Mini-Apps, die über das Anhangsmenü gestartet werden können »](https://core.telegram.org/api/bots/attach.md)", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Informationen zu verwandten Benutzern/Bots", "x-telegram-field-docs": true}}, "required": ["_", "hash", "bots", "users"], "additionalProperties": false}, "attachMenuBotsBot": {"title": "attachMenuBotsBot", "description": "Stellt eine [Bot-Mini-App dar, die über das Anhangsmenü gestartet werden kann »](https://core.telegram.org/api/bots/attach.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/attachMenuBotsBot"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuBotsBot"]}, "bot": {"type": "object", "x-tl-type": "AttachMenuBot", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["attachMenuBot"]}}, "description": "Stellt eine [Bot-Mini-App dar, die über das Anhangsmenü »](https://core.telegram.org/api/bots/attach.md)\\ gestartet werden kann.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Informationen zu verwandten Benutzern und Bots", "x-telegram-field-docs": true}}, "required": ["_", "bot", "users"], "additionalProperties": false}, "webViewResultUrl": {"title": "webViewResultUrl", "description": "Enthält die Webansicht URL mit den entsprechenden hinzugefügten Design- und Benutzerinfo-Parametern", "externalDocs": {"url": "https://core.telegram.org/constructor/webViewResultUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["webViewResultUrl"]}, "fullsize": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, muss die App im Vollbildmodus statt im Kompaktmodus geöffnet werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, muss die App im Vollbildmodus geöffnet werden", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "same_origin": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Webview-Sitzungs-ID (wird nur von [Inline-Button-Mini-Apps](https://core.telegram.org/api/bots/webapps.md#inline-button-mini-apps), [Menü-Button-Mini-Apps](https://core.telegram.org/api/bots/webapps.md#menu-button-mini-apps), [Anhang-Menü-Mini-Apps](https://core.telegram.org/api/bots/webapps.md#attachment-menu-mini-apps)] zurückgegeben).", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?long"}, "url": {"type": "string", "x-tl-type": "string", "description": "Webansicht URL zum Öffnen", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "webViewMessageSent": {"title": "webViewMessageSent", "description": "Informationen zu einer gesendeten Inline-Webview-Nachricht", "externalDocs": {"url": "https://core.telegram.org/constructor/webViewMessageSent"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["webViewMessageSent"]}, "msg_id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID", "inputBotInlineMessageID64"]}}, "description": "Nachrichten-ID", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputBotInlineMessageID"}}, "required": ["_"], "additionalProperties": false}, "botMenuButtonDefault": {"title": "botMenuButtonDefault", "description": "Der Platzhalter [Bot-Menüschaltfläche](https://core.telegram.org/api/bots/menu.md) wurde nie an Benutzer zurückgegeben: Weitere Informationen finden Sie in den Dokumenten](https://core.telegram.org/api/bots/menu.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/botMenuButtonDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botMenuButtonDefault"]}}, "required": ["_"], "additionalProperties": false}, "botMenuButtonCommands": {"title": "botMenuButtonCommands", "description": "[Bot-Menüschaltfläche](https://core.telegram.org/api/bots/menu.md), die beim Klicken die Bot-Befehlsliste öffnet.", "externalDocs": {"url": "https://core.telegram.org/constructor/botMenuButtonCommands"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botMenuButtonCommands"]}}, "required": ["_"], "additionalProperties": false}, "botMenuButton": {"title": "botMenuButton", "description": "[Bot-Menü-Schaltfläche](https://core.telegram.org/api/bots/menu.md), die beim Klicken eine [Web-App](https://core.telegram.org/api/bots/webapps.md) öffnet.", "externalDocs": {"url": "https://core.telegram.org/constructor/botMenuButton"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botMenuButton"]}, "text": {"type": "string", "x-tl-type": "string", "description": "Titel, der auf der Menüschaltfläche anstelle von „Menü“ angezeigt wird", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "URL einer [Web-App](https://core.telegram.org/api/bots/webapps.md), die geöffnet wird, wenn der Benutzer auf die Schaltfläche klickt", "x-telegram-field-docs": true}}, "required": ["_", "text", "url"], "additionalProperties": false}, "account.savedRingtonesNotModified": {"title": "account.savedRingtonesNotModified", "description": "Die Liste der Benachrichtigungstöne hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.savedRingtonesNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.savedRingtonesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "account.savedRingtones": {"title": "account.savedRingtones", "description": "Eine Liste gespeicherter Benachrichtigungstöne", "externalDocs": {"url": "https://core.telegram.org/constructor/account.savedRingtones"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.savedRingtones"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "ringtones": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Gespeicherte Benachrichtigungstöne", "x-telegram-field-docs": true}}, "required": ["_", "hash", "ringtones"], "additionalProperties": false}, "notificationSoundDefault": {"title": "notificationSoundDefault", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault"]}}, "required": ["_"], "additionalProperties": false}, "notificationSoundNone": {"title": "notificationSoundNone", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundNone"]}}, "required": ["_"], "additionalProperties": false}, "notificationSoundLocal": {"title": "notificationSoundLocal", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundLocal"]}, "title": {"type": "string", "x-tl-type": "string"}, "data": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "title", "data"], "additionalProperties": false}, "notificationSoundRingtone": {"title": "notificationSoundRingtone", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundRingtone"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "account.savedRingtone": {"title": "account.savedRingtone", "description": "Der Benachrichtigungston hatte bereits das Format MP3 und wurde ohne Änderungen gespeichert", "externalDocs": {"url": "https://core.telegram.org/constructor/account.savedRingtone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.savedRingtone"]}}, "required": ["_"], "additionalProperties": false}, "account.savedRingtoneConverted": {"title": "account.savedRingtoneConverted", "description": "Der Benachrichtigungston hatte nicht das Format MP3 und wurde erfolgreich konvertiert und gespeichert. Verwenden Sie von nun an das zurückgegebene [Dokument](https://core.telegram.org/type/Document.md), um auf den Benachrichtigungston zu verweisen", "externalDocs": {"url": "https://core.telegram.org/constructor/account.savedRingtoneConverted"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.savedRingtoneConverted"]}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Der konvertierte Benachrichtigungston", "x-telegram-field-docs": true}}, "required": ["_", "document"], "additionalProperties": false}, "attachMenuPeerTypeSameBotPM": {"title": "attachMenuPeerTypeSameBotPM", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeSameBotPM"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypeBotPM": {"title": "attachMenuPeerTypeBotPM", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeBotPM"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypePM": {"title": "attachMenuPeerTypePM", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypePM"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypeChat": {"title": "attachMenuPeerTypeChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeChat"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypeBroadcast": {"title": "attachMenuPeerTypeBroadcast", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeBroadcast"]}}, "required": ["_"], "additionalProperties": false}, "inputInvoiceMessage": {"title": "inputInvoiceMessage", "description": "Eine Rechnung, die in einer [messageMediaInvoice](https://core.telegram.org/constructor/messageMediaInvoice.md)-Nachricht oder [bezahlten Medien »](https://core.telegram.org/api/paid-media.md)] enthalten ist.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceMessage"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Chat, wohin die Rechnung/bezahlte Medien gesendet wurden", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id"], "additionalProperties": false}, "inputInvoiceSlug": {"title": "inputInvoiceSlug", "description": "Ein Rechnungs-Slug, der von einem [Rechnungs-Deep-Link](https://core.telegram.org/api/links.md#invoice-links) oder vom [`premium_invoice_slug` App-Konfigurationsparameter »](https://core.telegram.org/api/config.md#premium-invoice-slug)“ stammt", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Der Rechnungsblock", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputInvoicePremiumGiftCode": {"title": "inputInvoicePremiumGiftCode", "description": "Wird verwendet, wenn der Benutzer einen Kanal/eine Supergruppe [Giveaway](https://core.telegram.org/api/giveaways.md)] starten oder einige [Geschenkcodes](https://core.telegram.org/api/giveaways.md)] an Mitglieder eines Kanals/einer Supergruppe im Austausch gegen [Boosts](https://core.telegram.org/api/boost.md)] senden möchte.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoicePremiumGiftCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoicePremiumGiftCode"]}, "purpose": {"type": "object", "x-tl-type": "InputStorePaymentPurpose", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStorePaymentPremiumSubscription", "inputStorePaymentGiftPremium", "inputStorePaymentPremiumGiftCode", "inputStorePaymentPremiumGiveaway", "inputStorePaymentStarsTopup", "inputStorePaymentStarsGift", "inputStorePaymentStarsGiveaway", "inputStorePaymentAuthCode"]}}, "description": "Sollte mit [inputStorePaymentPremiumGiveaway](https://core.telegram.org/constructor/inputStorePaymentPremiumGiveaway.md) für [Geschenke](https://core.telegram.org/api/giveaways.md)] und [inputStorePaymentPremiumGiftCode](https://core.telegram.org/constructor/inputStorePaymentPremiumGiftCode.md) für [Geschenke](https://core.telegram.org/api/giveaways.md)] gefüllt werden.", "x-telegram-field-docs": true}, "option": {"type": "object", "x-tl-type": "PremiumGiftCodeOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["premiumGiftCodeOption"]}}, "description": "Sollte mit einer der von [payments.getPremiumGiftCodeOptions](https://core.telegram.org/method/payments.getPremiumGiftCodeOptions.md) zurückgegebenen Giveaway-Optionen gefüllt werden. Weitere Informationen finden Sie in der Dokumentation zu [Giveaways »](https://core.telegram.org/api/giveaways.md).", "x-telegram-field-docs": true}}, "required": ["_", "purpose", "option"], "additionalProperties": false}, "inputInvoiceStars": {"title": "inputInvoiceStars", "description": "Wird zum Aufladen des [Telegram Stars](https://core.telegram.org/api/stars.md)-Guthabens des Girokontos oder des Kontos einer anderen Person oder zum Starten einer [Telegram Star-Verlosung »](https://core.telegram.org/api/giveaways.md#star-giveaways)] verwendet.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceStars"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceStars"]}, "purpose": {"type": "object", "x-tl-type": "InputStorePaymentPurpose", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStorePaymentPremiumSubscription", "inputStorePaymentGiftPremium", "inputStorePaymentPremiumGiftCode", "inputStorePaymentPremiumGiveaway", "inputStorePaymentStarsTopup", "inputStorePaymentStarsGift", "inputStorePaymentStarsGiveaway", "inputStorePaymentAuthCode"]}}, "description": "Ein [inputStorePaymentStarsGiveaway](https://core.telegram.org/constructor/inputStorePaymentStarsGiveaway.md), [inputStorePaymentStarsTopup](https://core.telegram.org/constructor/inputStorePaymentStarsTopup.md) oder [inputStorePaymentStarsGift](https://core.telegram.org/constructor/inputStorePaymentStarsGift.md).", "x-telegram-field-docs": true}}, "required": ["_", "purpose"], "additionalProperties": false}, "inputInvoiceChatInviteSubscription": {"title": "inputInvoiceChatInviteSubscription", "description": "Wird verwendet, um ein [Telegram Star-Abonnement »](https://core.telegram.org/api/stars.md#star-subscriptions) zu bezahlen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceChatInviteSubscription"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceChatInviteSubscription"]}, "hash": {"type": "string", "x-tl-type": "string", "description": "Der [Einladungslink des Telegram Star-Abonnements »](https://core.telegram.org/api/stars.md#star-subscriptions)", "x-telegram-field-docs": true}}, "required": ["_", "hash"], "additionalProperties": false}, "inputInvoiceStarGift": {"title": "inputInvoiceStarGift", "description": "Wird verwendet, um ein [Telegram Star-Geschenk zu kaufen, siehe hier »](https://core.telegram.org/api/gifts.md) für weitere Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceStarGift"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceStarGift"]}, "hide_name": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn dies festgelegt ist, wird Ihr Name ausgeblendet, wenn der Zielbenutzer beschließt, das Geschenk in seinem Profil anzuzeigen (er sieht weiterhin, dass Sie das Geschenk gesendet haben).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "include_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Bezahlen Sie auch für eine eventuelle Aufwertung des Geschenks zu einem [Sammelgeschenk »](https://core.telegram.org/api/gifts.md#collectible-gifts).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Empfänger des Geschenks.", "x-telegram-field-docs": true}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Kennung des Geschenks, von [starGift](https://core.telegram.org/constructor/starGift.md).`id`", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Optionale Nachricht, dem Geschenk beigefügt.  Die maximale Länge für dieses Feld wird im [stargifts_message_length_max Client-Konfigurationswert »](https://core.telegram.org/api/config.md#stargifts-message-length-max)“ angegeben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "peer", "gift_id"], "additionalProperties": false}, "inputInvoiceStarGiftUpgrade": {"title": "inputInvoiceStarGiftUpgrade", "description": "Wird verwendet, um ein Geschenk zu einem Sammelgeschenk aufzuwerten](https://core.telegram.org/api/gifts.md#upgrade-a-gift-to-a-collectible-gift). Weitere Informationen zum gesamten Ablauf finden Sie in der Dokumentation zu [Sammelgeschenken »](https://core.telegram.org/api/gifts.md#collectible-gifts).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceStarGiftUpgrade"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceStarGiftUpgrade"]}, "keep_original_details": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Setzen Sie dieses Flag, um den ursprünglichen Geschenktext, Absender und Empfänger im aktualisierten Geschenk als [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md)-Attribut] beizubehalten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputSavedStarGiftUser", "inputSavedStarGiftChat", "inputSavedStarGiftSlug"]}}, "description": "Die Kennung des erhaltenen Geschenks zum Upgraden.", "x-telegram-field-docs": true}}, "required": ["_", "stargift"], "additionalProperties": false}, "inputInvoiceStarGiftTransfer": {"title": "inputInvoiceStarGiftTransfer", "description": "Wird verwendet, um [zu bezahlen, um ein Sammelgeschenk an einen anderen Partner zu übertragen](https://core.telegram.org/api/gifts.md#transferring-collectible-gifts), weitere Informationen finden Sie in der Dokumentation zu [Geschenken »](https://core.telegram.org/api/gifts.md#transferring-collectible-gifts).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceStarGiftTransfer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceStarGiftTransfer"]}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputSavedStarGiftUser", "inputSavedStarGiftChat", "inputSavedStarGiftSlug"]}}, "description": "Die Kennung des erhaltenen Geschenks", "x-telegram-field-docs": true}, "to_id": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Ziel-Peer", "x-telegram-field-docs": true}}, "required": ["_", "stargift", "to_id"], "additionalProperties": false}, "inputInvoicePremiumGiftStars": {"title": "inputInvoicePremiumGiftStars", "description": "Wird verwendet, um einem anderen Benutzer ein [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnement zu schenken und mit [Telegram Stars](https://core.telegram.org/api/stars.md)] zu bezahlen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoicePremiumGiftStars"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoicePremiumGiftStars"]}, "user_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "Wer erhält das geschenkte Abonnement?", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Dauer des Abonnements in Monaten muss eine der Optionen sein, wobei `currency == \"XTR\"` von [payments.getPremiumGiftCodeOptions](https://core.telegram.org/method/payments.getPremiumGiftCodeOptions.md) zurückgegeben wird.", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Dem Geschenk beigefügte Nachricht.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "user_id", "months"], "additionalProperties": false}, "inputInvoiceBusinessBotTransferStars": {"title": "inputInvoiceBusinessBotTransferStars", "description": "Übertragen Sie Sterne vom Guthaben eines Benutzerkontos [, das mit einem Business-Bot](https://core.telegram.org/api/bots/connected-business-bots.md) verbunden ist, auf das Guthaben des [Business-Bot](https://core.telegram.org/api/bots/connected-business-bots.md). Weitere Informationen zum gesamten Ablauf finden Sie hier »](https://core.telegram.org/api/stars.md#transferring-stars-from-a-business-account-to-the-business-bot).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceBusinessBotTransferStars"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceBusinessBotTransferStars"]}, "bot": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "Immer [inputUserSelf](https://core.telegram.org/constructor/inputUserSelf.md).", "x-telegram-field-docs": true}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Die Anzahl der zu übertragenden Sterne.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "bot", "stars"], "additionalProperties": false}, "inputInvoiceStarGiftResale": {"title": "inputInvoiceStarGiftResale", "description": "Wird verwendet, um ein [Sammelgeschenk](https://core.telegram.org/api/gifts.md#collectible-gifts) zu kaufen, das derzeit zum Weiterverkauf angeboten wird. Weitere Informationen zum gesamten Ablauf finden Sie [hier](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts)].", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceStarGiftResale"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceStarGiftResale"]}, "ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Kaufen Sie das Geschenk mit TON.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "show_name": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "slug": {"type": "string", "x-tl-type": "string", "description": "Slug des Geschenks zum Kaufen.", "x-telegram-field-docs": true}, "to_id": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Empfänger des Geschenks.", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "slug", "to_id"], "additionalProperties": false}, "inputInvoiceStarGiftPrepaidUpgrade": {"title": "inputInvoiceStarGiftPrepaidUpgrade", "description": "[Bezahlen Sie das Upgrade eines Geschenks separat im Voraus »](https://core.telegram.org/api/gifts.md#prepaying-for-someone-elses-upgrade).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceStarGiftPrepaidUpgrade"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceStarGiftPrepaidUpgrade"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Peer, dem das Geschenk gehört.", "x-telegram-field-docs": true}, "hash": {"type": "string", "x-tl-type": "string", "description": "Der Upgrade-Hash von [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md).`prepaid_upgrade_hash` oder [savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`prepaid_upgrade_hash`.", "x-telegram-field-docs": true}}, "required": ["_", "peer", "hash"], "additionalProperties": false}, "inputInvoicePremiumAuthCode": {"title": "inputInvoicePremiumAuthCode", "description": "Wird zum Bezahlen von Anmeldecodes verwendet. Bei hohen Kosten für SMS Verifizierungscodes für das Land/den Anbieter des Benutzers finden Sie [hier »](https://core.telegram.org/api/auth.md#paid-auth)] für weitere Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoicePremiumAuthCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoicePremiumAuthCode"]}, "purpose": {"type": "object", "x-tl-type": "InputStorePaymentPurpose", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputStorePaymentPremiumSubscription", "inputStorePaymentGiftPremium", "inputStorePaymentPremiumGiftCode", "inputStorePaymentPremiumGiveaway", "inputStorePaymentStarsTopup", "inputStorePaymentStarsGift", "inputStorePaymentStarsGiveaway", "inputStorePaymentAuthCode"]}}, "description": "Muss einen [inputStorePaymentAuthCode](https://core.telegram.org/constructor/inputStorePaymentAuthCode.md)] enthalten.", "x-telegram-field-docs": true}}, "required": ["_", "purpose"], "additionalProperties": false}, "inputInvoiceStarGiftDropOriginalDetails": {"title": "inputInvoiceStarGiftDropOriginalDetails", "description": "Wird verwendet, um die Entfernung des Attributs [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md)] aus einem Sammelgeschenk zu bezahlen. Den vollständigen Ablauf finden Sie [hier »](https://core.telegram.org/api/gifts.md#dropping-the-original-details-of-an-upgraded-gift)].", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceStarGiftDropOriginalDetails"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceStarGiftDropOriginalDetails"]}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputSavedStarGiftUser", "inputSavedStarGiftChat", "inputSavedStarGiftSlug"]}}, "description": "Das Sammelgeschenk, dessen Attribut [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md)] entfernt werden soll.", "x-telegram-field-docs": true}}, "required": ["_", "stargift"], "additionalProperties": false}, "inputInvoiceStarGiftAuctionBid": {"title": "inputInvoiceStarGiftAuctionBid", "description": "Wird verwendet, um ein Gebot in einer [Sammelgeschenkauktion »](https://core.telegram.org/api/auctions.md)] abzugeben.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceStarGiftAuctionBid"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceStarGiftAuctionBid"]}, "hide_name": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn dies festgelegt ist, wird Ihr Name ausgeblendet, wenn der Zielpartner beschließt, das Geschenk in seinem Profil anzuzeigen (er sieht weiterhin, dass Sie das Geschenk gesendet haben).     Darf beim Aktualisieren eines bestehenden Gebots nicht festgelegt werden, da der Wert für bestehende Gebote nicht geändert werden kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "update_bid": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Muss eingestellt werden, wenn ein bereits bestehendes Gebot erhöht wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Kennung des Benutzers oder Kanals (nur wenn [channelFull](https://core.telegram.org/constructor/channelFull.md).`stargifts_available` eingestellt ist), der das Geschenk erhält.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputPeer"}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Kennung des Geschenks, von [starGift](https://core.telegram.org/constructor/starGift.md).`id`", "x-tl-type": "long", "x-telegram-field-docs": true}, "bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtbetrag des Gebots in [Telegram Stars](https://core.telegram.org/api/stars.md).", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Optionale Nachricht, die dem Geschenk beigefügt wird, wenn wir diese Runde gewinnen: Die maximale Länge für dieses Feld ist im [stargifts_message_length_max Client-Konfigurationswert »](https://core.telegram.org/api/config.md#stargifts-message-length-max) angegeben.     Darf beim Aktualisieren eines bestehenden Gebots nicht festgelegt werden, da der Wert für bestehende Gebote nicht geändert werden kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "gift_id", "bid_amount"], "additionalProperties": false}, "payments.exportedInvoice": {"title": "payments.exportedInvoice", "description": "Exportiert [Rechnung Deep Link](https://core.telegram.org/api/links.md#invoice-links)", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.exportedInvoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.exportedInvoice"]}, "url": {"type": "string", "x-tl-type": "string", "description": "Exportiert [Rechnung Deep Link](https://core.telegram.org/api/links.md#invoice-links)", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "messages.transcribedAudio": {"title": "messages.transcribedAudio", "description": "[Transkribierter Text aus einer Sprachnachricht »](https://core.telegram.org/api/transcribe.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.transcribedAudio"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.transcribedAudio"]}, "pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Gibt an, ob die Transkription teilweise erfolgt, weil die Audiotranskription noch läuft. Wenn diese Option festgelegt ist, erhält der Benutzer möglicherweise weitere [updateTranscribedAudio](https://core.telegram.org/constructor/updateTranscribedAudio.md)-Updates mit der aktualisierten Transkription.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Transkriptions-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Transkriptierter Text", "x-telegram-field-docs": true}, "trial_remains_num": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für Nicht-[Premium](https://core.telegram.org/api/premium.md)-Benutzer wird dieses Flag gesetzt und zeigt die verbleibenden Transkriptionen im kostenlosen Testzeitraum an.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "trial_remains_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Für Nicht-[Premium](https://core.telegram.org/api/premium.md)-Benutzer wird dieses Flag gesetzt und gibt das Datum an, an dem der `trial_remains_num`-Zähler auf den Maximalwert von [transcribe_audio_trial_weekly_number](https://core.telegram.org/api/config.md#transcribe-audio-trial-weekly-number) zurückgesetzt wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "transcription_id", "text"], "additionalProperties": false}, "help.premiumPromo": {"title": "help.premiumPromo", "description": "Informationen zur Telegram Premium-Aktion\n\nBeachten Sie, dass es sich bei den Feldern `video_sections`+`videos` um eine Liste von Videos und die entsprechenden Premium-Funktionskennungen handelt.\nSie entsprechen einem Abschnitt => Videowörterbuch mit Schlüsseln ab `video_section` und Werten ab `videos`.\nDie Tasten in `video_sections` entsprechen einer bestimmten Funktionskennung und das zugehörige Werbevideo sollte angezeigt werden, wenn auf die zugehörige Funktionszeile geklickt wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/help.premiumPromo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.premiumPromo"]}, "status_text": {"type": "string", "x-tl-type": "string", "description": "Beschreibung des aktuellen Status des Telegram Premium-Abonnements des Benutzers", "x-telegram-field-docs": true}, "status_entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true}, "video_sections": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Eine Liste von [Premium-Funktionskennungen »](https://core.telegram.org/api/premium.md), die jedem Video zugeordnet sind", "x-telegram-field-docs": true}, "videos": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Eine Liste von Videos", "x-telegram-field-docs": true}, "period_options": {"type": "array", "items": {"type": "object", "x-tl-type": "PremiumSubscriptionOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["premiumSubscriptionOption"]}}, "description": "Тип TL: PremiumSubscriptionOption."}, "x-tl-type": "Vector<PremiumSubscriptionOption>", "description": "Optionen für Telegram Premium-Abonnements", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Verwandte Benutzerinformationen", "x-telegram-field-docs": true}}, "required": ["_", "status_text", "status_entities", "video_sections", "videos", "period_options", "users"], "additionalProperties": false}, "inputStorePaymentPremiumSubscription": {"title": "inputStorePaymentPremiumSubscription", "description": "Informationen zu einem Telegram Premium-Kauf", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentPremiumSubscription"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentPremiumSubscription"]}, "restore": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Übergeben Sie „true“, wenn es sich um eine Wiederherstellung eines Telegram Premium-Kaufs handelt; Nur für den App Store", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Übergeben Sie true, wenn es sich um ein Upgrade von einem Monatsabonnement auf ein Jahresabonnement handelt. Nur für den App Store", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "inputStorePaymentGiftPremium": {"title": "inputStorePaymentGiftPremium", "description": "Informationen zu einem geschenkten Telegram Premium-Kauf", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentGiftPremium"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentGiftPremium"]}, "user_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "Der Benutzer, dem das Telegram Premium-Abonnement geschenkt wurde", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preis des Produkts in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel, für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Sehen Sie sich den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json) an. Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentPremiumGiftCode": {"title": "inputStorePaymentPremiumGiftCode", "description": "Wird verwendet, um [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnements nur an bestimmte Abonnenten eines Kanals/einer Supergruppe oder an einige unserer Kontakte zu verschenken. Weitere Informationen zu Giveaways und Geschenken finden Sie [hier »](https://core.telegram.org/api/giveaways.md)].", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentPremiumGiftCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentPremiumGiftCode"]}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Die Benutzer, die die [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnements] erhalten.", "x-telegram-field-docs": true}, "boost_peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Wenn dies festgelegt ist, werden die Geschenke im Namen eines Kanals/einer Supergruppe gesendet, deren Administrator wir sind, und der/die ihm auch einige [Boosts](https://core.telegram.org/api/boost.md)] zuweist. Andernfalls wird das Geschenk direkt vom aktuell angemeldeten Benutzer gesendet und wir erhalten einige zusätzliche [Boost-Slots](https://core.telegram.org/api/boost.md). Weitere Informationen zu Giveaways und Geschenken finden Sie [hier »](https://core.telegram.org/api/giveaways.md)].", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputPeer"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Dem Geschenk beigefügte Nachricht", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "users", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentPremiumGiveaway": {"title": "inputStorePaymentPremiumGiveaway", "description": "Wird zur Bezahlung eines [Werbegeschenks verwendet, weitere Informationen finden Sie hier »](https://core.telegram.org/api/giveaways.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentPremiumGiveaway"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentPremiumGiveaway"]}, "only_new_subscribers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn dies festgelegt ist, können nur neue Abonnenten ab dem Erstellungsdatum des Gewinnspiels am Gewinnspiel teilnehmen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "winners_are_visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, sind die Gewinner des Gewinnspiels öffentlich und werden in einer [messageMediaGiveawayResults](https://core.telegram.org/constructor/messageMediaGiveawayResults.md)-Nachricht aufgeführt, die automatisch an den Kanal gesendet wird, sobald das Gewinnspiel endet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "boost_peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Kanal/die Supergruppe, die das Gewinnspiel startet, dem der Benutzer beitreten muss, um teilzunehmen, der das Gewinnspiel erhält [boosts](https://core.telegram.org/api/boost.md); Weitere Informationen zu Giveaways finden Sie [hier »](https://core.telegram.org/api/giveaways.md)].", "x-telegram-field-docs": true}, "additional_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Hier können zusätzliche Kanäle angegeben werden, denen der Benutzer beitreten muss, um an der Verlosung teilzunehmen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<InputPeer>"}, "countries_iso2": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Die Gruppe der Benutzer, die an der Verlosung teilnehmen können, kann eingeschränkt werden, indem hier eine explizite Whitelist mit bis zu [giveaway_countries_max](https://core.telegram.org/api/config.md#giveaway-countries-max) Ländern, angegeben als zweibuchstabige ISO 3166-1 Alpha-2-Ländercodes, übergeben wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<string>"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Kann eine Textbeschreibung zusätzlicher Giveaway-Preise enthalten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Zufällige ID, um ein erneutes Versenden des Werbegeschenks zu vermeiden. Weitere Informationen zur zufälligen ID-Deduplizierung und updateMessageID-Zuordnung finden Sie [hier »](https://core.telegram.org/api/updates.md#updatemessageid-updates)].", "x-tl-type": "long", "x-telegram-field-docs": true}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Das Enddatum des Gewinnspiels darf höchstens [giveaway_period_max](https://core.telegram.org/api/config.md#giveaway-period-max) Sekunden in der Zukunft liegen; Weitere Informationen zu Giveaways finden Sie [hier »](https://core.telegram.org/api/giveaways.md)].", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "boost_peer", "random_id", "until_date", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentStarsTopup": {"title": "inputStorePaymentStarsTopup", "description": "Wird zum Aufladen des [Telegram Stars-Guthabens](https://core.telegram.org/api/stars.md)] des Girokontos verwendet.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentStarsTopup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentStarsTopup"]}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Anzahl der aufzuladenden Sterne", "x-tl-type": "long", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}, "spend_purpose_peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Sollte mit dem Peer gefüllt werden, bei dem der Aufladevorgang aufgrund geringer Mittel initiiert wurde (i.e. ein Bot für Bot-Zahlungen, ein Kanal für kostenpflichtige Medien/Reaktionen usw.); Lassen Sie dieses Flag leer, wenn der Aufladevorgang nicht eingeleitet wurde, als versucht wurde, mehr Sterne auszugeben, als derzeit auf dem Kontostand verfügbar sind.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputPeer"}}, "required": ["_", "stars", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentStarsGift": {"title": "inputStorePaymentStarsGift", "description": "Wird verwendet, um [Telegram Stars](https://core.telegram.org/api/stars.md)] an einen Freund zu verschenken.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentStarsGift"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentStarsGift"]}, "user_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "Der Benutzer, dem die Sterne geschenkt werden sollen.", "x-telegram-field-docs": true}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Anzahl der zu verschenkenden Sterne", "x-tl-type": "long", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "stars", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentStarsGiveaway": {"title": "inputStorePaymentStarsGiveaway", "description": "Wird verwendet, um ein [Star-Werbegeschenk zu bezahlen, siehe hier »](https://core.telegram.org/api/giveaways.md#star-giveaways) für weitere Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentStarsGiveaway"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentStarsGiveaway"]}, "only_new_subscribers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn dies festgelegt ist, können nur neue Abonnenten ab dem Erstellungsdatum des Gewinnspiels am Gewinnspiel teilnehmen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "winners_are_visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, sind die Gewinner des Gewinnspiels öffentlich und werden in einer [messageMediaGiveawayResults](https://core.telegram.org/constructor/messageMediaGiveawayResults.md)-Nachricht aufgeführt, die automatisch an den Kanal gesendet wird, sobald das Gewinnspiel endet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtzahl der vergebenen Telegram-Sterne (jeder Benutzer erhält `stars/users` Sterne).", "x-tl-type": "long", "x-telegram-field-docs": true}, "boost_peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Kanal/die Supergruppe, die das Gewinnspiel startet, dem der Benutzer beitreten muss, um teilzunehmen, der das Gewinnspiel erhält [boosts](https://core.telegram.org/api/boost.md); Weitere Informationen zu Giveaways finden Sie [hier »](https://core.telegram.org/api/giveaways.md)].", "x-telegram-field-docs": true}, "additional_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "TL Type: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Hier können zusätzliche Kanäle angegeben werden, denen der Benutzer beitreten muss, um an der Verlosung teilzunehmen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<InputPeer>"}, "countries_iso2": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Die Gruppe der Benutzer, die an der Verlosung teilnehmen können, kann eingeschränkt werden, indem hier eine explizite Whitelist mit bis zu [giveaway_countries_max](https://core.telegram.org/api/config.md#giveaway-countries-max) Ländern, angegeben als zweibuchstabige ISO 3166-1 Alpha-2-Ländercodes, übergeben wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<string>"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Kann eine Textbeschreibung zusätzlicher Giveaway-Preise enthalten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Zufällige ID, um ein erneutes Versenden des Werbegeschenks zu vermeiden. Weitere Informationen zur zufälligen ID-Deduplizierung und updateMessageID-Zuordnung finden Sie [hier »](https://core.telegram.org/api/updates.md#updatemessageid-updates)].", "x-tl-type": "long", "x-telegram-field-docs": true}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Das Enddatum des Gewinnspiels darf höchstens [giveaway_period_max](https://core.telegram.org/api/config.md#giveaway-period-max) Sekunden in der Zukunft liegen; Weitere Informationen zu Giveaways finden Sie [hier »](https://core.telegram.org/api/giveaways.md)].", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}, "users": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Gewinner.", "x-telegram-field-docs": true}}, "required": ["_", "stars", "boost_peer", "random_id", "until_date", "currency", "amount", "users"], "additionalProperties": false}, "inputStorePaymentAuthCode": {"title": "inputStorePaymentAuthCode", "description": "Zeigt die Zahlung für einen Anmeldecode an.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentAuthCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentAuthCode"]}, "restore": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Setzen Sie dieses Flag, um einen zuvor getätigten Kauf wiederherzustellen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer.", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "`phone_code_hash` zurückgegeben von [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md).", "x-telegram-field-docs": true}, "premium_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dauer in Tagen des durch diesen Kauf gewährten [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnements, wie in [auth.sentCodePaymentRequired](https://core.telegram.org/constructor/auth.sentCodePaymentRequired.md).`premium_days`] angegeben.", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preis des Produkts in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel, für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Sehen Sie sich den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json) an. Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "phone_code_hash", "premium_days", "currency", "amount"], "additionalProperties": false}, "paymentFormMethod": {"title": "paymentFormMethod", "type": "object", "properties": {"_": {"type": "string", "enum": ["paymentFormMethod"]}, "url": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url", "title"], "additionalProperties": false}, "emojiStatusEmpty": {"title": "emojiStatusEmpty", "description": "Es ist kein Emoji-Status festgelegt", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiStatusEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty"]}}, "required": ["_"], "additionalProperties": false}, "emojiStatus": {"title": "emojiStatus", "description": "Ein [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiStatus"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiStatus"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Benutzerdefinierte Emoji-Dokument-ID](https://core.telegram.org/api/custom-emoji.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn festgelegt, bleibt der Emoji-Status bis zur angegebenen Unix-Zeit aktiv.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "document_id"], "additionalProperties": false}, "emojiStatusCollectible": {"title": "emojiStatusCollectible", "description": "Ein eigenes oder [gehostetes Sammlergeschenk »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) als Emoji-Status.\n\n**Kann** nicht an [account.updateEmojiStatus](https://core.telegram.org/method/account.updateEmojiStatus.md) übergeben werden, muss zuerst in ein [inputEmojiStatusCollectible](https://core.telegram.org/constructor/inputEmojiStatusCollectible.md) konvertiert werden, bevor es an diese Methode übergeben wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiStatusCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiStatusCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Sammlerstücks (von [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`id`).", "x-tl-type": "long", "x-telegram-field-docs": true}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des [benutzerdefinierten Emoji](https://core.telegram.org/api/custom-emoji.md), das den Status darstellt.", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Name des Sammlerstücks.", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "Eindeutige Kennung des Sammlerstücks, die verwendet werden kann, um einen [Sammlerstück-Geschenklink »](https://core.telegram.org/api/links.md#collectible-gift-link) für das aktuelle Sammlerstück zu erstellen oder um weitere Informationen über das Sammlerstück mit [payments.getUniqueStarGift](https://core.telegram.org/method/payments.getUniqueStarGift.md)] abzurufen.", "x-telegram-field-docs": true}, "pattern_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Die ID eines Musters, das auf den Hintergrund des Profils angewendet werden soll, korreliert mit dem [starGiftAttributePattern](https://core.telegram.org/constructor/starGiftAttributePattern.md) aus dem Geschenk in `slug`.", "x-tl-type": "long", "x-telegram-field-docs": true}, "center_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Farbe der Mitte des Profilhintergrunds im RGB24-Format, aus dem [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md)] des Geschenks.", "x-telegram-field-docs": true}, "edge_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Farbe der Kanten des Profilhintergrunds im RGB24-Format aus dem [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md)] des Geschenks.", "x-telegram-field-docs": true}, "pattern_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Farbe der `pattern_document_id`, die auf dem Profilhintergrund im RGB24-Format angewendet wird, aus dem [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md)] des Geschenks.", "x-telegram-field-docs": true}, "text_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Textfarbe auf dem Profilhintergrund im Format RGB24, aus dem [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md)] des Geschenks.", "x-telegram-field-docs": true}, "until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn festgelegt, bleibt der Emoji-Status bis zur angegebenen Unix-Zeit aktiv.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "collectible_id", "document_id", "title", "slug", "pattern_document_id", "center_color", "edge_color", "pattern_color", "text_color"], "additionalProperties": false}, "inputEmojiStatusCollectible": {"title": "inputEmojiStatusCollectible", "description": "Ein im Besitz befindliches oder [gehostetes Sammelgeschenk »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) als Emoji-Status: kann nur in [account.updateEmojiStatus](https://core.telegram.org/method/account.updateEmojiStatus.md) verwendet werden, wird vom API niemals zurückgegeben.\n\nBeachten Sie, dass der Status nach dem Festlegen stattdessen als [emojiStatusCollectible](https://core.telegram.org/constructor/emojiStatusCollectible.md)-Konstruktor an Benutzer zurückgegeben wird (der **nicht** an [account.updateEmojiStatus](https://core.telegram.org/method/account.updateEmojiStatus.md) übergeben werden kann und zuerst in einen [inputEmojiStatusCollectible](https://core.telegram.org/constructor/inputEmojiStatusCollectible.md)) konvertiert werden muss).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEmojiStatusCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEmojiStatusCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Sammlerstücks (von [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`id`).", "x-tl-type": "long", "x-telegram-field-docs": true}, "until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn festgelegt, bleibt der Emoji-Status bis zur angegebenen Unix-Zeit aktiv.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "collectible_id"], "additionalProperties": false}, "account.emojiStatusesNotModified": {"title": "account.emojiStatusesNotModified", "description": "Die serverseitige Liste der [Emoji-Status](https://core.telegram.org/api/emoji-status.md)] hat sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/account.emojiStatusesNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.emojiStatusesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "account.emojiStatuses": {"title": "account.emojiStatuses", "description": "Eine Liste von [Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/account.emojiStatuses"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.emojiStatuses"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "statuses": {"type": "array", "items": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "Тип TL: EmojiStatus."}, "x-tl-type": "Vector<EmojiStatus>", "description": "[Emoji-Status](https://core.telegram.org/api/emoji-status.md)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "statuses"], "additionalProperties": false}, "reactionEmpty": {"title": "reactionEmpty", "description": "Keine Reaktion", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionEmpty"]}}, "required": ["_"], "additionalProperties": false}, "reactionEmoji": {"title": "reactionEmoji", "description": "Normale Reaktion auf Emoji-Nachrichten", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionEmoji"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "reactionCustomEmoji": {"title": "reactionCustomEmoji", "description": "[Benutzerdefiniertes Emoji](https://core.telegram.org/api/custom-emoji.md) Nachrichtenreaktion", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionCustomEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionCustomEmoji"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Benutzerdefinierte Emoji-Dokument-ID](https://core.telegram.org/api/custom-emoji.md)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "document_id"], "additionalProperties": false}, "reactionPaid": {"title": "reactionPaid", "description": "Stellt eine [bezahlte Telegram Star-Reaktion »](https://core.telegram.org/api/reactions.md#paid-reactions) dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionPaid"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionPaid"]}}, "required": ["_"], "additionalProperties": false}, "chatReactionsNone": {"title": "chatReactionsNone", "description": "Es sind keine Reaktionen erlaubt", "externalDocs": {"url": "https://core.telegram.org/constructor/chatReactionsNone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatReactionsNone"]}}, "required": ["_"], "additionalProperties": false}, "chatReactionsAll": {"title": "chatReactionsAll", "description": "Alle Reaktionen oder alle nicht benutzerdefinierten Reaktionen sind zulässig", "externalDocs": {"url": "https://core.telegram.org/constructor/chatReactionsAll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatReactionsAll"]}, "allow_custom": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob benutzerdefinierte Reaktionen zugelassen werden sollen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "chatReactionsSome": {"title": "chatReactionsSome", "description": "Einige Reaktionen sind erlaubt", "externalDocs": {"url": "https://core.telegram.org/constructor/chatReactionsSome"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatReactionsSome"]}, "reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}, "x-tl-type": "Vector<Reaction>", "description": "Zulässiger Satz an Reaktionen: Das Konfigurationsfeld [reactions_in_chat_max](https://core.telegram.org/api/config.md#reactions-in-chat-max) gibt die maximale Anzahl von Reaktionen an, die in diesem Feld angegeben werden können.", "x-telegram-field-docs": true}}, "required": ["_", "reactions"], "additionalProperties": false}, "messages.reactionsNotModified": {"title": "messages.reactionsNotModified", "description": "Die serverseitige Liste der [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)] hat sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.reactionsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.reactionsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.reactions": {"title": "messages.reactions", "description": "Liste der [Nachrichtenreaktionen](https://core.telegram.org/api/reactions.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.reactions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.reactions"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Der für das Caching verwendete Hash kann mit dem [hier »](https://core.telegram.org/api/reactions.md#recent-reactions)] angegebenen Algorithmus auch lokal neu generiert werden.", "x-tl-type": "long", "x-telegram-field-docs": true}, "reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}, "x-tl-type": "Vector<Reaction>", "description": "Reaktionen", "x-telegram-field-docs": true}}, "required": ["_", "hash", "reactions"], "additionalProperties": false}, "emailVerifyPurposeLoginSetup": {"title": "emailVerifyPurposeLoginSetup", "description": "Zweck der E-Mail-Bestätigung: Login-E-Mail einrichten", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerifyPurposeLoginSetup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerifyPurposeLoginSetup"]}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Telefoncode-Hash gemäß der [Dokumentation](https://core.telegram.org/api/auth.md#email-verification)", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "phone_code_hash"], "additionalProperties": false}, "emailVerifyPurposeLoginChange": {"title": "emailVerifyPurposeLoginChange", "description": "Zweck der E-Mail-Bestätigung: Anmelde-E-Mail ändern", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerifyPurposeLoginChange"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerifyPurposeLoginChange"]}}, "required": ["_"], "additionalProperties": false}, "emailVerifyPurposePassport": {"title": "emailVerifyPurposePassport", "description": "Überprüfen Sie eine E-Mail zur Verwendung in [Telegram Passport](https://core.telegram.org/api/passport.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerifyPurposePassport"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerifyPurposePassport"]}}, "required": ["_"], "additionalProperties": false}, "emailVerificationCode": {"title": "emailVerificationCode", "description": "E-Mail-Bestätigungscode", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerificationCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerificationCode"]}, "code": {"type": "string", "x-tl-type": "string", "description": "Bestätigungscode erhalten", "x-telegram-field-docs": true}}, "required": ["_", "code"], "additionalProperties": false}, "emailVerificationGoogle": {"title": "emailVerificationGoogle", "description": "E-Mail-Bestätigungstoken für die Google-ID", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerificationGoogle"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerificationGoogle"]}, "token": {"type": "string", "x-tl-type": "string", "description": "Token", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "emailVerificationApple": {"title": "emailVerificationApple", "description": "E-Mail-Verifizierungstoken für die Apple-ID", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerificationApple"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerificationApple"]}, "token": {"type": "string", "x-tl-type": "string", "description": "Token", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "account.emailVerified": {"title": "account.emailVerified", "description": "Die E-Mail wurde korrekt verifiziert.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.emailVerified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.emailVerified"]}, "email": {"type": "string", "x-tl-type": "string", "description": "Die verifizierte E-Mail-Adresse.", "x-telegram-field-docs": true}}, "required": ["_", "email"], "additionalProperties": false}, "account.emailVerifiedLogin": {"title": "account.emailVerifiedLogin", "description": "Die E-Mail wurde korrekt verifiziert und es wurde gerade ein Login-Code an sie gesendet.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.emailVerifiedLogin"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.emailVerifiedLogin"]}, "email": {"type": "string", "x-tl-type": "string", "description": "Die verifizierte E-Mail-Adresse.", "x-telegram-field-docs": true}, "sent_code": {"type": "object", "x-tl-type": "auth.SentCode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["auth.sentCode", "auth.sentCodeSuccess", "auth.sentCodePaymentRequired"]}}, "description": "Info zum gesendeten [Login-Code](https://core.telegram.org/api/auth.md)", "x-telegram-field-docs": true}}, "required": ["_", "email", "sent_code"], "additionalProperties": false}, "premiumSubscriptionOption": {"title": "premiumSubscriptionOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["premiumSubscriptionOption"]}, "current": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "can_purchase_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "transaction": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "bot_url": {"type": "string", "x-tl-type": "string"}, "store_product": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "months", "currency", "amount", "bot_url"], "additionalProperties": false}, "sendAsPeer": {"title": "sendAsPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["sendAsPeer"]}, "premium_required": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}}, "required": ["_", "peer"], "additionalProperties": false}, "messageExtendedMediaPreview": {"title": "messageExtendedMediaPreview", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageExtendedMediaPreview"]}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "thumb": {"type": "object", "x-tl-type": "PhotoSize", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]}}, "description": "Тип TL: PhotoSize.", "x-tl-flag": "flags.1?PhotoSize"}, "video_duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}}, "required": ["_"], "additionalProperties": false}, "messageExtendedMedia": {"title": "messageExtendedMedia", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageExtendedMedia"]}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "TL Type: MessageMedia."}}, "required": ["_", "media"], "additionalProperties": false}, "stickerKeyword": {"title": "stickerKeyword", "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerKeyword"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "keyword": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "document_id", "keyword"], "additionalProperties": false}, "username": {"title": "username", "type": "object", "properties": {"_": {"type": "string", "enum": ["username"]}, "editable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "active": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "deletable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "expired": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "username": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "username"], "additionalProperties": false}, "forumTopicDeleted": {"title": "forumTopicDeleted", "type": "object", "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id"], "additionalProperties": false}, "forumTopic": {"title": "forumTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["forumTopic"]}, "my": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "closed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "short": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "title_missing": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "title": {"type": "string", "x-tl-type": "string"}, "icon_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "top_message": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_inbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_outbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_mentions_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_reactions_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_poll_votes_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "TL Type: PeerNotifySettings."}, "draft": {"type": "object", "x-tl-type": "DraftMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["draftMessageEmpty", "draftMessage"]}}, "description": "Тип TL: DraftMessage.", "x-tl-flag": "flags.4?DraftMessage"}}, "required": ["_", "id", "date", "peer", "title", "icon_color", "top_message", "read_inbox_max_id", "read_outbox_max_id", "unread_count", "unread_mentions_count", "unread_reactions_count", "unread_poll_votes_count", "from_id", "notify_settings"], "additionalProperties": false}, "messages.forumTopics": {"title": "messages.forumTopics", "description": "Enthält Informationen zu mehreren [Forumsthemen](https://core.telegram.org/api/forum.md#forum-topics)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.forumTopics"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.forumTopics"]}, "order_by_create_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die zurückgegebenen Themen nach Erstellungsdatum sortiert sind; Wenn festgelegt, sollte die Paginierung nach `offset_date` [forumTopic](https://core.telegram.org/constructor/forumTopic.md).`date`; Andernfalls werden die Themen nach dem Datum der letzten Nachricht sortiert. Paginieren Sie also nach dem `date` der [Nachricht](https://core.telegram.org/type/Message.md), auf die von [forumTopic](https://core.telegram.org/constructor/forumTopic.md).`top_message`] verwiesen wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "top_icons": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.1?Vector<long>"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der mit der Suchanfrage übereinstimmenden Themen; kann mehr als die in `topics` enthaltenen Themen umfassen, in diesem Fall ist [Paginierung](https://core.telegram.org/api/offsets.md) erforderlich.", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Тип TL: ForumTopic."}, "x-tl-type": "Vector<ForumTopic>", "description": "Forumsthemen", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Verwandte Nachrichten (enthält die von [forumTopic](https://core.telegram.org/constructor/forumTopic.md).`top_message`) erwähnten Nachrichten.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Verwandte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Verwandte Benutzer", "x-telegram-field-docs": true}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Ereignisanzahl nach Generierung](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}}, "required": ["_", "count", "topics", "messages", "chats", "users", "pts"], "additionalProperties": false}, "defaultHistoryTTL": {"title": "defaultHistoryTTL", "description": "Enthält Informationen zum Standardwert der Time-To-Live-Einstellung, der auf alle neuen Chats angewendet wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/defaultHistoryTTL"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["defaultHistoryTTL"]}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Time-To-Live-Einstellung wird auf alle neuen Chats angewendet.", "x-telegram-field-docs": true}}, "required": ["_", "period"], "additionalProperties": false}, "exportedContactToken": {"title": "exportedContactToken", "description": "Beschreibt einen [temporären Profillink](https://core.telegram.org/api/links.md#temporary-profile-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/exportedContactToken"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["exportedContactToken"]}, "url": {"type": "string", "x-tl-type": "string", "description": "Der [temporäre Profillink](https://core.telegram.org/api/links.md#temporary-profile-links).", "x-telegram-field-docs": true}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Sein Ablaufdatum", "x-telegram-field-docs": true}}, "required": ["_", "url", "expires"], "additionalProperties": false}, "requestPeerTypeUser": {"title": "requestPeerTypeUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestPeerTypeUser"]}, "bot": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool"}, "premium": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool"}}, "required": ["_"], "additionalProperties": false}, "requestPeerTypeChat": {"title": "requestPeerTypeChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestPeerTypeChat"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "bot_participant": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "has_username": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool"}, "forum": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.4?Bool"}, "user_admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights.", "x-tl-flag": "flags.1?ChatAdminRights"}, "bot_admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights.", "x-tl-flag": "flags.2?ChatAdminRights"}}, "required": ["_"], "additionalProperties": false}, "requestPeerTypeBroadcast": {"title": "requestPeerTypeBroadcast", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestPeerTypeBroadcast"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "has_username": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool"}, "user_admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights.", "x-tl-flag": "flags.1?ChatAdminRights"}, "bot_admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Тип TL: ChatAdminRights.", "x-tl-flag": "flags.2?ChatAdminRights"}}, "required": ["_"], "additionalProperties": false}, "requestPeerTypeCreateBot": {"title": "requestPeerTypeCreateBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestPeerTypeCreateBot"]}, "bot_managed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "suggested_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "suggested_username": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_"], "additionalProperties": false}, "emojiListNotModified": {"title": "emojiListNotModified", "description": "Die Liste der [benutzerdefinierten Emojis](https://core.telegram.org/api/custom-emoji.md) hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiListNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiListNotModified"]}}, "required": ["_"], "additionalProperties": false}, "emojiList": {"title": "emojiList", "description": "Stellt eine Liste von [benutzerdefinierten Emojis](https://core.telegram.org/api/custom-emoji.md) dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiList"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "document_id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Benutzerdefinierte Emoji-IDs", "x-telegram-field-docs": true}}, "required": ["_", "hash", "document_id"], "additionalProperties": false}, "emojiGroup": {"title": "emojiGroup", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiGroup"]}, "title": {"type": "string", "x-tl-type": "string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "emoticons": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "title", "icon_emoji_id", "emoticons"], "additionalProperties": false}, "emojiGroupGreeting": {"title": "emojiGroupGreeting", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiGroupGreeting"]}, "title": {"type": "string", "x-tl-type": "string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "emoticons": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "title", "icon_emoji_id", "emoticons"], "additionalProperties": false}, "emojiGroupPremium": {"title": "emojiGroupPremium", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiGroupPremium"]}, "title": {"type": "string", "x-tl-type": "string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "title", "icon_emoji_id"], "additionalProperties": false}, "messages.emojiGroupsNotModified": {"title": "messages.emojiGroupsNotModified", "description": "Die Liste der [Emoji-Kategorien](https://core.telegram.org/api/emoji-categories.md) hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.emojiGroupsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.emojiGroupsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.emojiGroups": {"title": "messages.emojiGroups", "description": "Stellt eine Liste von [Emoji-Kategorien](https://core.telegram.org/api/emoji-categories.md)“ dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.emojiGroups"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.emojiGroups"]}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}, "groups": {"type": "array", "items": {"type": "object", "x-tl-type": "EmojiGroup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiGroup", "emojiGroupGreeting", "emojiGroupPremium"]}}, "description": "Тип TL: EmojiGroup."}, "x-tl-type": "Vector<EmojiGroup>", "description": "Eine Liste von [Emoji-Kategorien](https://core.telegram.org/api/emoji-categories.md).", "x-telegram-field-docs": true}}, "required": ["_", "hash", "groups"], "additionalProperties": false}, "textWithEntities": {"title": "textWithEntities", "description": "Gestalteter Text mit [Nachrichtenentitäten](https://core.telegram.org/api/entities.md)\n\n<!-- schema-blocks -->\n#### [End-to-End-Schema](https://core.telegram.org/schema/end-to-end.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/textWithEntities"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}, "text": {"type": "string", "x-tl-type": "string", "description": "Text", "x-telegram-field-docs": true}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true}}, "required": ["_", "text", "entities"], "additionalProperties": false}, "messages.translateResult": {"title": "messages.translateResult", "description": "Übersetzter Text mit [entities](https://core.telegram.org/api/entities.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.translateResult"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.translateResult"]}, "result": {"type": "array", "items": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities."}, "x-tl-type": "Vector<TextWithEntities>", "description": "Text+[Entitäten](https://core.telegram.org/api/entities.md), für jede Eingabenachricht.", "x-telegram-field-docs": true}}, "required": ["_", "result"], "additionalProperties": false}, "autoSaveSettings": {"title": "autoSaveSettings", "description": "Einstellungen für die automatische Medienspeicherung", "externalDocs": {"url": "https://core.telegram.org/constructor/autoSaveSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["autoSaveSettings"]}, "photos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob Fotos automatisch in der Galerie gespeichert werden sollen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "videos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob Videos automatisch in der Galerie gespeichert werden sollen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "video_max_size": {"type": "string", "pattern": "^-?\\d+$", "description": "Wenn festgelegt, wird eine Größenbeschränkung für automatisch speicherbare Videos festgelegt", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}}, "required": ["_"], "additionalProperties": false}, "autoSaveException": {"title": "autoSaveException", "type": "object", "properties": {"_": {"type": "string", "enum": ["autoSaveException"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoSaveSettings"]}}, "description": "Тип TL: AutoSaveSettings."}}, "required": ["_", "peer", "settings"], "additionalProperties": false}, "account.autoSaveSettings": {"title": "account.autoSaveSettings", "description": "Enthält Einstellungen für die automatische Medienspeicherung", "externalDocs": {"url": "https://core.telegram.org/constructor/account.autoSaveSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.autoSaveSettings"]}, "users_settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoSaveSettings"]}}, "description": "Standardeinstellungen für die automatische Medienspeicherung für private Chats", "x-telegram-field-docs": true}, "chats_settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoSaveSettings"]}}, "description": "Standardeinstellungen für die automatische Medienspeicherung für [Gruppen und Supergruppen](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true}, "broadcasts_settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoSaveSettings"]}}, "description": "Standardeinstellungen für die automatische Medienspeicherung für [Kanäle](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true}, "exceptions": {"type": "array", "items": {"type": "object", "x-tl-type": "AutoSaveException", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoSaveException"]}}, "description": "Тип TL: AutoSaveException."}, "x-tl-type": "Vector<AutoSaveException>", "description": "Peer-spezifische granulare Einstellungen für die automatische Speicherung", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats, die in den Peer-spezifischen granularen Einstellungen für die automatische Speicherung erwähnt werden", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer, die in den Peer-spezifischen granularen Einstellungen für die automatische Speicherung erwähnt werden", "x-telegram-field-docs": true}}, "required": ["_", "users_settings", "chats_settings", "broadcasts_settings", "exceptions", "chats", "users"], "additionalProperties": false}, "help.appConfigNotModified": {"title": "help.appConfigNotModified", "description": "Die Client-Konfigurationsparameter haben sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/help.appConfigNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.appConfigNotModified"]}}, "required": ["_"], "additionalProperties": false}, "help.appConfig": {"title": "help.appConfig", "description": "Enthält verschiedene [Client-Konfigurationsparameter](https://core.telegram.org/api/config.md#client-configuration)", "externalDocs": {"url": "https://core.telegram.org/constructor/help.appConfig"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.appConfig"]}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}, "config": {"type": "object", "x-tl-type": "JSONValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["jsonNull", "jsonBool", "jsonNumber", "jsonString", "jsonArray", "jsonObject"]}}, "description": "[Client-Konfigurationsparameter](https://core.telegram.org/api/config.md#client-configuration)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "config"], "additionalProperties": false}, "inputBotAppID": {"title": "inputBotAppID", "description": "Wird verwendet, um Informationen über eine [Direktlink-Mini-App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps) anhand ihrer ID abzurufen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotAppID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotAppID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Direktlink Mini App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps) ID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Zugriffshash, erhalten vom Konstruktor [botApp](https://core.telegram.org/constructor/botApp.md).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputBotAppShortName": {"title": "inputBotAppShortName", "description": "Wird verwendet, um Informationen über eine [Direktlink Mini-App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps) anhand ihres Kurznamens abzurufen", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotAppShortName"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotAppShortName"]}, "bot_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "ID des Bots, der die Bot-Mini-App besitzt", "x-telegram-field-docs": true}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Kurzname, erhalten von einem [Direct Mini App Deep Link](https://core.telegram.org/api/links.md#direct-mini-app-links)", "x-telegram-field-docs": true}}, "required": ["_", "bot_id", "short_name"], "additionalProperties": false}, "botAppNotModified": {"title": "botAppNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["botAppNotModified"]}}, "required": ["_"], "additionalProperties": false}, "botApp": {"title": "botApp", "type": "object", "properties": {"_": {"type": "string", "enum": ["botApp"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "short_name": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}, "description": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags.0?Document"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "access_hash", "short_name", "title", "description", "photo", "hash"], "additionalProperties": false}, "messages.botApp": {"title": "messages.botApp", "description": "Enthält Informationen zu einer [Direktlink-Mini-App](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.botApp"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.botApp"]}, "inactive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Web-App noch nie vom Benutzer verwendet wurde, und vor dem Öffnen muss der Benutzer um Bestätigung gebeten werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "request_write_access": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Der Bot bittet um Erlaubnis, Nachrichten an den Benutzer zu senden: Wenn der Benutzer zustimmt, setzen Sie beim Aufruf von [messages.requestAppWebView](https://core.telegram.org/method/messages.requestAppWebView.md)] das Flag `write_allowed`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "has_settings": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Veraltete Flagge, kann ignoriert werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "app": {"type": "object", "x-tl-type": "BotApp", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botAppNotModified", "botApp"]}}, "description": "Informationen zur Bot-App", "x-telegram-field-docs": true}}, "required": ["_", "app"], "additionalProperties": false}, "inlineBotWebView": {"title": "inlineBotWebView", "description": "Gibt eine [Inline-Modus-Mini-App](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps)-Schaltfläche an, die oben in der Ergebnisliste der Inline-Abfrage angezeigt wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineBotWebView"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineBotWebView"]}, "text": {"type": "string", "x-tl-type": "string", "description": "Text der Schaltfläche", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "Webapp URL", "x-telegram-field-docs": true}}, "required": ["_", "text", "url"], "additionalProperties": false}, "readParticipantDate": {"title": "readParticipantDate", "description": "Enthält Informationen darüber, wann ein bestimmter Teilnehmer eine Nachricht gelesen hat", "externalDocs": {"url": "https://core.telegram.org/constructor/readParticipantDate"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["readParticipantDate"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Benutzer-ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn der Benutzer die Nachricht gelesen hat", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "inputChatlistDialogFilter": {"title": "inputChatlistDialogFilter", "description": "Ordner-ID", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatlistDialogFilter"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatlistDialogFilter"]}, "filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Ordner](https://core.telegram.org/api/folders.md) ID", "x-telegram-field-docs": true}}, "required": ["_", "filter_id"], "additionalProperties": false}, "exportedChatlistInvite": {"title": "exportedChatlistInvite", "description": "Exportiert [Chat-Ordner Deep Link »](https://core.telegram.org/api/links.md#chat-folder-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/exportedChatlistInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["exportedChatlistInvite"]}, "title": {"type": "string", "x-tl-type": "string", "description": "Name des Links", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "Der [Chat-Ordner Deep Link »](https://core.telegram.org/api/links.md#chat-folder-links).", "x-telegram-field-docs": true}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "description": "Zu importierende Peers", "x-telegram-field-docs": true}}, "required": ["_", "title", "url", "peers"], "additionalProperties": false}, "chatlists.exportedChatlistInvite": {"title": "chatlists.exportedChatlistInvite", "description": "Infos zu einem exportierten [Chat-Ordner Deep Link »](https://core.telegram.org/api/links.md#chat-folder-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/chatlists.exportedChatlistInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatlists.exportedChatlistInvite"]}, "filter": {"type": "object", "x-tl-type": "DialogFilter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogFilter", "dialogFilterDefault", "dialogFilterChatlist"]}}, "description": "Ordner-ID", "x-telegram-field-docs": true}, "invite": {"type": "object", "x-tl-type": "ExportedChatlistInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["exportedChatlistInvite"]}}, "description": "Der exportierte [Chat-Ordner Deep Link »](https://core.telegram.org/api/links.md#chat-folder-links).", "x-telegram-field-docs": true}}, "required": ["_", "filter", "invite"], "additionalProperties": false}, "chatlists.exportedInvites": {"title": "chatlists.exportedInvites", "description": "Infos zu mehreren [Chat-Ordner-Deeplinks »](https://core.telegram.org/api/links.md#chat-folder-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/chatlists.exportedInvites"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatlists.exportedInvites"]}, "invites": {"type": "array", "items": {"type": "object", "x-tl-type": "ExportedChatlistInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["exportedChatlistInvite"]}}, "description": "TL Type: ExportedChatlistInvite."}, "x-tl-type": "Vector<ExportedChatlistInvite>", "description": "Die [Chat-Ordner-Deeplinks »](https://core.telegram.org/api/links.md#chat-folder-links).", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Verwandte Chat-Informationen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Verwandte Benutzerinformationen", "x-telegram-field-docs": true}}, "required": ["_", "invites", "chats", "users"], "additionalProperties": false}, "chatlists.chatlistInviteAlready": {"title": "chatlists.chatlistInviteAlready", "description": "Aktualisierte Informationen zu einem [Chat-Ordner-Deep-Link »](https://core.telegram.org/api/links.md#chat-folder-links), den wir bereits importiert haben.", "externalDocs": {"url": "https://core.telegram.org/constructor/chatlists.chatlistInviteAlready"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatlists.chatlistInviteAlready"]}, "filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID des importierten Ordners", "x-telegram-field-docs": true}, "missing_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "description": "Neue Peers sollen importiert werden", "x-telegram-field-docs": true}, "already_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "description": "Peers, die bereits importiert wurden", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Verwandte Chat-Informationen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Verwandte Benutzerinformationen", "x-telegram-field-docs": true}}, "required": ["_", "filter_id", "missing_peers", "already_peers", "chats", "users"], "additionalProperties": false}, "chatlists.chatlistInvite": {"title": "chatlists.chatlistInvite", "description": "Infos zu einem [Chat-Ordner-Deeplink »](https://core.telegram.org/api/links.md#chat-folder-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/chatlists.chatlistInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatlists.chatlistInvite"]}, "title_noanimate": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn dies festgelegt ist, sollten alle in `title` vorhandenen animierten Emojis nicht animiert und stattdessen im ersten Frame eingefroren werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Name des Links", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji, das als Symbol für den Ordner verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "description": "Supergruppen und Kanäle zum Beitritt", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Verwandte Chat-Informationen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Verwandte Benutzerinformationen", "x-telegram-field-docs": true}}, "required": ["_", "title", "peers", "chats", "users"], "additionalProperties": false}, "chatlists.chatlistUpdates": {"title": "chatlists.chatlistUpdates", "description": "Aktualisierte Informationen zu einem [Chat-Ordner-Deep-Link »](https://core.telegram.org/api/links.md#chat-folder-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/chatlists.chatlistUpdates"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatlists.chatlistUpdates"]}, "missing_peers": {"type": "array", "items": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "x-tl-type": "Vector<Peer>", "description": "Neue Kollegen zum Beitritt", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Verwandte Chat-Informationen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Verwandte Benutzerinformationen", "x-telegram-field-docs": true}}, "required": ["_", "missing_peers", "chats", "users"], "additionalProperties": false}, "bots.botInfo": {"title": "bots.botInfo", "description": "Lokalisierte Informationen über einen Bot.", "externalDocs": {"url": "https://core.telegram.org/constructor/bots.botInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["bots.botInfo"]}, "name": {"type": "string", "x-tl-type": "string", "description": "Bot-Name", "x-telegram-field-docs": true}, "about": {"type": "string", "x-tl-type": "string", "description": "Bot über Text", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Bot-Beschreibung", "x-telegram-field-docs": true}}, "required": ["_", "name", "about", "description"], "additionalProperties": false}, "messagePeerVote": {"title": "messagePeerVote", "type": "object", "properties": {"_": {"type": "string", "enum": ["messagePeerVote"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "option", "date"], "additionalProperties": false}, "messagePeerVoteInputOption": {"title": "messagePeerVoteInputOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["messagePeerVoteInputOption"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "date"], "additionalProperties": false}, "messagePeerVoteMultiple": {"title": "messagePeerVoteMultiple", "type": "object", "properties": {"_": {"type": "string", "enum": ["messagePeerVoteMultiple"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "options": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "options", "date"], "additionalProperties": false}, "storyViews": {"title": "storyViews", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyViews"]}, "has_viewers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "views_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "forwards_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "ReactionCount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionCount"]}}, "description": "Тип TL: ReactionCount."}, "x-tl-type": "Vector<ReactionCount>", "x-tl-flag": "flags.3?Vector<ReactionCount>"}, "reactions_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "recent_viewers": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.0?Vector<long>"}}, "required": ["_", "views_count"], "additionalProperties": false}, "storyItemDeleted": {"title": "storyItemDeleted", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyItemDeleted"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id"], "additionalProperties": false}, "storyItemSkipped": {"title": "storyItemSkipped", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyItemSkipped"]}, "close_friends": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "live": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "date", "expire_date"], "additionalProperties": false}, "storyItem": {"title": "storyItem", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyItem"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "public": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "close_friends": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "edited": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "selected_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.13?true"}, "out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.18?Peer"}, "fwd_from": {"type": "object", "x-tl-type": "StoryFwdHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyFwdHeader"]}}, "description": "Тип TL: StoryFwdHeader.", "x-tl-flag": "flags.17?StoryFwdHeader"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>"}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "TL Type: MessageMedia."}, "media_areas": {"type": "array", "items": {"type": "object", "x-tl-type": "MediaArea", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaVenue", "inputMediaAreaVenue", "mediaAreaGeoPoint", "mediaAreaSuggestedReaction", "mediaAreaChannelPost", "inputMediaAreaChannelPost", "mediaAreaUrl", "mediaAreaWeather", "mediaAreaStarGift"]}}, "description": "TL Type: MediaArea."}, "x-tl-type": "Vector<MediaArea>", "x-tl-flag": "flags.14?Vector<MediaArea>"}, "privacy": {"type": "array", "items": {"type": "object", "x-tl-type": "PrivacyRule", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["privacyValueAllowContacts", "privacyValueAllowAll", "privacyValueAllowUsers", "privacyValueDisallowContacts", "privacyValueDisallowAll", "privacyValueDisallowUsers", "privacyValueAllowChatParticipants", "privacyValueDisallowChatParticipants", "privacyValueAllowCloseFriends", "privacyValueAllowPremium", "privacyValueAllowBots", "privacyValueDisallowBots"]}}, "description": "Тип TL: PrivacyRule."}, "x-tl-type": "Vector<PrivacyRule>", "x-tl-flag": "flags.2?Vector<PrivacyRule>"}, "views": {"type": "object", "x-tl-type": "StoryViews", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyViews"]}}, "description": "Тип TL: StoryViews.", "x-tl-flag": "flags.3?StoryViews"}, "sent_reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction.", "x-tl-flag": "flags.15?Reaction"}, "albums": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.19?Vector<int>"}, "music": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags.20?Document"}}, "required": ["_", "id", "date", "expire_date", "media"], "additionalProperties": false}, "stories.allStoriesNotModified": {"title": "stories.allStoriesNotModified", "description": "Die Liste der aktiven (oder aktiven und ausgeblendeten) [Geschichten](https://core.telegram.org/api/stories.md#watching-stories)] hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.allStoriesNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.allStoriesNotModified"]}, "state": {"type": "string", "x-tl-type": "string", "description": "Status, der zum Anfordern von Updates verwendet werden soll", "x-telegram-field-docs": true}, "stealth_mode": {"type": "object", "x-tl-type": "StoriesStealthMode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}}, "description": "Aktuelle [Stealth-Modus](https://core.telegram.org/api/stories.md#stealth-mode)-Informationen", "x-telegram-field-docs": true}}, "required": ["_", "state", "stealth_mode"], "additionalProperties": false}, "stories.allStories": {"title": "stories.allStories", "description": "Vollständige Liste der aktiven (oder aktiven und ausgeblendeten) [Geschichten](https://core.telegram.org/api/stories.md#watching-stories).", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.allStories"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.allStories"]}, "has_more": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob weitere Ergebnisse abgerufen werden können, wie hier beschrieben »](https://core.telegram.org/api/stories.md#watching-stories).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der aktiven (oder aktiven und ausgeblendeten) Storys", "x-telegram-field-docs": true}, "state": {"type": "string", "x-tl-type": "string", "description": "Für die Paginierung zu verwendender Status", "x-telegram-field-docs": true}, "peer_stories": {"type": "array", "items": {"type": "object", "x-tl-type": "PeerStories", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerStories"]}}, "description": "Тип TL: PeerStories."}, "x-tl-type": "Vector<PeerStories>", "description": "Geschichten", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}, "stealth_mode": {"type": "object", "x-tl-type": "StoriesStealthMode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}}, "description": "Aktuelle [Stealth-Modus](https://core.telegram.org/api/stories.md#stealth-mode)-Informationen", "x-telegram-field-docs": true}}, "required": ["_", "count", "state", "peer_stories", "chats", "users", "stealth_mode"], "additionalProperties": false}, "stories.stories": {"title": "stories.stories", "description": "Liste der [Geschichten](https://core.telegram.org/api/stories.md#pinned-or-archived-stories)", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.stories"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.stories"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Geschichten, die abgerufen werden können", "x-telegram-field-docs": true}, "stories": {"type": "array", "items": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Тип TL: StoryItem."}, "x-tl-type": "Vector<StoryItem>", "description": "Geschichten", "x-telegram-field-docs": true}, "pinned_to_top": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "IDs der angehefteten Geschichten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<int>"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "stories", "chats", "users"], "additionalProperties": false}, "storyView": {"title": "storyView", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyView"]}, "blocked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "blocked_my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction.", "x-tl-flag": "flags.2?Reaction"}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "storyViewPublicForward": {"title": "storyViewPublicForward", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyViewPublicForward"]}, "blocked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "blocked_my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "storyViewPublicRepost": {"title": "storyViewPublicRepost", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyViewPublicRepost"]}, "blocked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "blocked_my_stories_from": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Тип TL: StoryItem."}}, "required": ["_", "peer_id", "story"], "additionalProperties": false}, "stories.storyViewsList": {"title": "stories.storyViewsList", "description": "Reaktions- und Aufrufzähler für eine [Story](https://core.telegram.org/api/stories.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.storyViewsList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.storyViewsList"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Ergebnisse, die abgerufen werden können", "x-telegram-field-docs": true}, "views_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Story-Aufrufe", "x-telegram-field-docs": true}, "forwards_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Story-Weiterleitungen/Reposts", "x-telegram-field-docs": true}, "reactions_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Reaktionen, die der Geschichte hinzugefügt wurden", "x-telegram-field-docs": true}, "views": {"type": "array", "items": {"type": "object", "x-tl-type": "StoryView", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyView", "storyViewPublicForward", "storyViewPublicRepost"]}}, "description": "Тип TL: StoryView."}, "x-tl-type": "Vector<StoryView>", "description": "Datum und Reaktionsinformationen der Story-Ansicht", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Offset für Paginierung", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "count", "views_count", "forwards_count", "reactions_count", "views", "chats", "users"], "additionalProperties": false}, "stories.storyViews": {"title": "stories.storyViews", "description": "Reaktions- und Ansichtszähler für eine Liste von [Geschichten](https://core.telegram.org/api/stories.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.storyViews"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.storyViews"]}, "views": {"type": "array", "items": {"type": "object", "x-tl-type": "StoryViews", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyViews"]}}, "description": "Тип TL: StoryViews."}, "x-tl-type": "Vector<StoryViews>", "description": "Sehen Sie sich Datums- und Reaktionsinformationen mehrerer Geschichten an", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "views", "users"], "additionalProperties": false}, "inputReplyToMessage": {"title": "inputReplyToMessage", "description": "Auf eine Nachricht antworten.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReplyToMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReplyToMessage"]}, "reply_to_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Nachrichten-ID, auf die geantwortet werden soll.", "x-telegram-field-docs": true}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dieses Feld muss **nur** die Themen-ID enthalten, wenn auf Nachrichten in anderen Forenthemen als dem Thema „Allgemein“ geantwortet wird (i.e. `reply_to_msg_id` ist festgelegt und `reply_to_msg_id != topicID` und `topicID != 1`).   Wenn die beantwortete Nachricht gelöscht wird, bevor die Ausführung der Methode abgeschlossen ist, wird der Wert in diesem Feld verwendet, um die Nachricht an das richtige Thema und nicht an das Thema „Allgemein“ zu senden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "reply_to_peer_id": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Wird zum Beantworten von Nachrichten verwendet, die an einen anderen Chat (hier angegeben) gesendet wurden. Kann nur für Nicht-`protected`-Chats und -Nachrichten verwendet werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?InputPeer"}, "quote_text": {"type": "string", "x-tl-type": "string", "description": "Wird verwendet, um nur einen bestimmten Abschnitt (hier angegeben) der ursprünglichen Nachricht zu zitieren und zu antworten. Die maximale Länge von UTF-8 für Anführungszeichen wird im Konfigurationsschlüssel [quote_length_max](https://core.telegram.org/api/config.md#quote-length-max)] angegeben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "quote_entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md) aus dem Feld `quote_text`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<MessageEntity>"}, "quote_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset der Nachricht `quote_text` innerhalb der ursprünglichen Nachricht (in [UTF-16 Codeeinheiten](https://core.telegram.org/api/entities.md#entity-length)).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "monoforum_peer_id": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Muss auf die ID des Themas eingestellt werden, wenn auf eine Nachricht innerhalb eines [Monoforum-Themas](https://core.telegram.org/api/monoforum.md)] geantwortet wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?InputPeer"}, "todo_item_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Kann so eingestellt werden, dass auf das angegebene Element einer [Todo-Liste »](https://core.telegram.org/api/todo.md) geantwortet wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?int"}, "poll_option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Wenn festgelegt, wird die Nachricht als [Antwort auf eine bestimmte Umfrage-Antwortoption »](https://core.telegram.org/api/poll.md#replying-to-poll-options) gesendet, die die `option` Bytes der gewünschten Antwort enthält.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?bytes"}, "quote_rich": {"type": "array", "items": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "x-tl-type": "Vector<RichText>", "x-tl-flag": "flags.8?Vector<RichText>"}}, "required": ["_", "reply_to_msg_id"], "additionalProperties": false}, "inputReplyToStory": {"title": "inputReplyToStory", "description": "Auf eine Geschichte antworten.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReplyToStory"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReplyToStory"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Absender der Geschichte", "x-telegram-field-docs": true}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID der Story, auf die geantwortet werden soll.", "x-telegram-field-docs": true}}, "required": ["_", "peer", "story_id"], "additionalProperties": false}, "inputReplyToMonoForum": {"title": "inputReplyToMonoForum", "description": "Wird verwendet, um Nachrichten an ein [Monoforum-Thema](https://core.telegram.org/api/monoforum.md)] zu senden.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReplyToMonoForum"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReplyToMonoForum"]}, "monoforum_peer_id": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Die Themen-ID.", "x-telegram-field-docs": true}}, "required": ["_", "monoforum_peer_id"], "additionalProperties": false}, "inputReplyToEphemeralMessage": {"title": "inputReplyToEphemeralMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReplyToEphemeralMessage"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id"], "additionalProperties": false}, "exportedStoryLink": {"title": "exportedStoryLink", "description": "Stellt einen [Story Deep Link](https://core.telegram.org/api/stories.md#story-links)] dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/exportedStoryLink"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["exportedStoryLink"]}, "link": {"type": "string", "x-tl-type": "string", "description": "Der [Story Deep Link](https://core.telegram.org/api/stories.md#story-links).", "x-telegram-field-docs": true}}, "required": ["_", "link"], "additionalProperties": false}, "storiesStealthMode": {"title": "storiesStealthMode", "type": "object", "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}, "active_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "cooldown_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_"], "additionalProperties": false}, "mediaAreaCoordinates": {"title": "mediaAreaCoordinates", "type": "object", "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}, "x": {"type": "number", "format": "double", "x-tl-type": "double"}, "y": {"type": "number", "format": "double", "x-tl-type": "double"}, "w": {"type": "number", "format": "double", "x-tl-type": "double"}, "h": {"type": "number", "format": "double", "x-tl-type": "double"}, "rotation": {"type": "number", "format": "double", "x-tl-type": "double"}, "radius": {"type": "number", "format": "double", "x-tl-type": "double", "x-tl-flag": "flags.0?double"}}, "required": ["_", "x", "y", "w", "h", "rotation"], "additionalProperties": false}, "mediaAreaVenue": {"title": "mediaAreaVenue", "description": "Stellt ein Standort-Tag dar, das an eine [Story](https://core.telegram.org/api/stories.md)] angehängt ist, mit zusätzlichen Informationen zum Veranstaltungsort.", "externalDocs": {"url": "https://core.telegram.org/constructor/mediaAreaVenue"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["mediaAreaVenue"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Die Größe und Position des Medienbereichs entspricht dem Standortaufkleber oben auf dem Story-Medium.", "x-telegram-field-docs": true}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Koordinaten des Veranstaltungsortes", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Name des Veranstaltungsortes", "x-telegram-field-docs": true}, "address": {"type": "string", "x-tl-type": "string", "description": "Adresse", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Veranstaltungsortanbieter: Derzeit muss nur „foursquare“ unterstützt werden.", "x-telegram-field-docs": true}, "venue_id": {"type": "string", "x-tl-type": "string", "description": "Veranstaltungsort-ID in der Datenbank des Anbieters", "x-telegram-field-docs": true}, "venue_type": {"type": "string", "x-tl-type": "string", "description": "Veranstaltungsorttyp in der Datenbank des Anbieters", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "geo", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "inputMediaAreaVenue": {"title": "inputMediaAreaVenue", "description": "Stellt einen [Standort-Tag](https://core.telegram.org/api/stories.md#media-areas) dar, der an eine [Story](https://core.telegram.org/api/stories.md)) angehängt ist, mit zusätzlichen Informationen zum Veranstaltungsort.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaAreaVenue"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaAreaVenue"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Die Größe und Position des Medienbereichs entspricht dem Standortaufkleber oben auf dem Story-Medium.", "x-telegram-field-docs": true}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Die `query_id` von [messages.botResults](https://core.telegram.org/constructor/messages.botResults.md), siehe [hier »](https://core.telegram.org/api/stories.md#media-areas) für weitere Informationen.", "x-tl-type": "long", "x-telegram-field-docs": true}, "result_id": {"type": "string", "x-tl-type": "string", "description": "Die `id` des gewählten Ergebnisses, siehe [hier »](https://core.telegram.org/api/stories.md#media-areas) für weitere Informationen“.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "query_id", "result_id"], "additionalProperties": false}, "mediaAreaGeoPoint": {"title": "mediaAreaGeoPoint", "description": "Stellt ein Geolocation-Tag dar, das an eine [Story](https://core.telegram.org/api/stories.md)] angehängt ist.", "externalDocs": {"url": "https://core.telegram.org/constructor/mediaAreaGeoPoint"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["mediaAreaGeoPoint"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Die Größe und Position des Medienbereichs entspricht dem Standortaufkleber oben auf dem Story-Medium.", "x-telegram-field-docs": true}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Koordinaten des Geolocation-Tags.", "x-telegram-field-docs": true}, "address": {"type": "object", "x-tl-type": "GeoPointAddress", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointAddress"]}}, "description": "Optionale Textdarstellung der Adresse.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?GeoPointAddress"}}, "required": ["_", "coordinates", "geo"], "additionalProperties": false}, "mediaAreaSuggestedReaction": {"title": "mediaAreaSuggestedReaction", "description": "Stellt eine Reaktionsblase dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/mediaAreaSuggestedReaction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["mediaAreaSuggestedReaction"]}, "dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Reaktionsblase einen dunklen Hintergrund hat.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "flipped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob die Reaktionsblase gespiegelt ist (weitere Infos finden Sie hier »](https://core.telegram.org/api/stories.md#reactions)).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Die Koordinaten des Medienbereichs, der der Reaktionsschaltfläche entspricht.", "x-telegram-field-docs": true}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "Die Reaktion, die gesendet werden soll, wenn auf diesen Bereich geklickt wird.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "reaction"], "additionalProperties": false}, "mediaAreaChannelPost": {"title": "mediaAreaChannelPost", "description": "Stellt einen Kanalbeitrag dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/mediaAreaChannelPost"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["mediaAreaChannelPost"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Die Größe und Position des Medienbereichs entspricht dem Standortaufkleber oben auf dem Story-Medium.", "x-telegram-field-docs": true}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Der Kanal, der die Nachricht gepostet hat", "x-tl-type": "long", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID der Kanalnachricht", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "channel_id", "msg_id"], "additionalProperties": false}, "inputMediaAreaChannelPost": {"title": "inputMediaAreaChannelPost", "description": "Stellt einen Kanalbeitrag dar", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaAreaChannelPost"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaAreaChannelPost"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Die Größe und Position des Medienbereichs entspricht dem Standortaufkleber oben auf dem Story-Medium.", "x-telegram-field-docs": true}, "channel": {"type": "object", "x-tl-type": "InputChannel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputChannelEmpty", "inputChannel", "inputChannelFromMessage"]}}, "description": "Der Kanal, der die Nachricht gepostet hat", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID der Kanalnachricht", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "channel", "msg_id"], "additionalProperties": false}, "mediaAreaUrl": {"title": "mediaAreaUrl", "description": "Stellt einen [URL Medienbereich](https://core.telegram.org/api/stories.md#urls) dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/mediaAreaUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["mediaAreaUrl"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Die Größe und Position des Medienbereichs entspricht der Schaltfläche URL oben auf dem Story-Medium.", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "URL zum Öffnen, wenn darauf geklickt wird.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "url"], "additionalProperties": false}, "mediaAreaWeather": {"title": "mediaAreaWeather", "description": "Stellt ein [Wetter-Widget »](https://core.telegram.org/api/stories.md#weather) dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/mediaAreaWeather"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["mediaAreaWeather"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Die Größe und Position des Medienbereichs, der dem Widget über den Story-Medien entspricht.", "x-telegram-field-docs": true}, "emoji": {"type": "string", "x-tl-type": "string", "description": "Wetter-Emoji, sollte als [animiertes Emoji](https://core.telegram.org/api/animated-emojis.md)] gerendert werden.", "x-telegram-field-docs": true}, "temperature_c": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Temperatur in Grad Celsius.", "x-telegram-field-docs": true}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ARGB Hintergrundfarbe.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "emoji", "temperature_c", "color"], "additionalProperties": false}, "mediaAreaStarGift": {"title": "mediaAreaStarGift", "description": "Stellt ein [Sammelgeschenk »](https://core.telegram.org/api/gifts.md#collectible-gifts) dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/mediaAreaStarGift"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["mediaAreaStarGift"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Koordinaten des Medienbereichs.", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "`slug` von [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`slug`, das aufgelöst werden kann als [hier angegeben »](https://core.telegram.org/api/gifts.md#sharing-and-getting-info-about-a-collectible-gift).", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "slug"], "additionalProperties": false}, "peerStories": {"title": "peerStories", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerStories"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "max_read_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "stories": {"type": "array", "items": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Тип TL: StoryItem."}, "x-tl-type": "Vector<StoryItem>"}}, "required": ["_", "peer", "stories"], "additionalProperties": false}, "stories.peerStories": {"title": "stories.peerStories", "description": "[Aktive Story-Liste](https://core.telegram.org/api/stories.md#watching-stories) eines bestimmten Peers.", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.peerStories"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.peerStories"]}, "stories": {"type": "object", "x-tl-type": "PeerStories", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerStories"]}}, "description": "Geschichten", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "stories", "chats", "users"], "additionalProperties": false}, "messages.webPage": {"title": "messages.webPage", "description": "Stellt eine Instant View-Webseite dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.webPage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.webPage"]}, "webpage": {"type": "object", "x-tl-type": "WebPage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webPageEmpty", "webPagePending", "webPage", "webPageNotModified"]}}, "description": "Die Sofortansicht-Webseite.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Auf der Webseite erwähnte Chats.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Auf der Webseite erwähnte Benutzer.", "x-telegram-field-docs": true}}, "required": ["_", "webpage", "chats", "users"], "additionalProperties": false}, "premiumGiftCodeOption": {"title": "premiumGiftCodeOption", "description": "Enthält Informationen zu einer [Giveaway/Geschenk](https://core.telegram.org/api/giveaways.md)-Option.", "externalDocs": {"url": "https://core.telegram.org/constructor/premiumGiftCodeOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["premiumGiftCodeOption"]}, "users": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Benutzer, die die Geschenkcodes aktivieren können.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dauer in Monaten jedes geschenkten [Telegram Premium](https://core.telegram.org/api/premium.md)-Abonnements.", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Kennung des mit der Option verknüpften Store-Produkts, nur offizielle Apps.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "store_quantity": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Häufigkeit, mit der das Ladenprodukt bezahlt werden muss", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "users", "months", "currency", "amount"], "additionalProperties": false}, "payments.checkedGiftCode": {"title": "payments.checkedGiftCode", "description": "Enthält Informationen zu einem [Telegram Premium-Geschenkcode-Link](https://core.telegram.org/api/links.md#premium-giftcode-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.checkedGiftCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.checkedGiftCode"]}, "via_giveaway": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieser Geschenkcode durch ein [Giveaway](https://core.telegram.org/api/giveaways.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Der Peer, der den Geschenkcode erstellt hat.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Peer"}, "giveaway_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nachrichten-ID des Giveaways in dem in `from_id` angegebenen Kanal.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "to_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Der Zielbenutzer des Geschenks.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Erstellungsdatum des Geschenkcodes.", "x-telegram-field-docs": true}, "days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Dauer des verschenkten Telegram Premium-Abonnements in Tagen.", "x-telegram-field-docs": true}, "used_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wann wurde der Geschenkcode importiert, falls er importiert wurde?", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "date", "days", "chats", "users"], "additionalProperties": false}, "payments.giveawayInfo": {"title": "payments.giveawayInfo", "description": "Enthält Informationen zu einem laufenden [Gewinnspiel](https://core.telegram.org/api/giveaways.md).\n\nWenn weder die Flags `participating`, `joined_too_early_date`, `admin_disallowed_chat_id` noch `disallowed_country` gesetzt sind, nimmt der Benutzer derzeit nicht an der Verlosung teil, könnte aber teilnehmen, indem er allen im Feld [messageMediaGiveaway](https://core.telegram.org/constructor/messageMediaGiveaway.md).`channels`] angegebenen Kanälen beitritt.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.giveawayInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.giveawayInfo"]}, "participating": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Der aktuelle Benutzer nimmt am Gewinnspiel teil.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "preparing_results": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, ist die Verlosung beendet und die Ergebnisse werden vorbereitet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wann hat die Verlosung begonnen?", "x-telegram-field-docs": true}, "joined_too_early_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Der aktuelle Benutzer kann nicht an der Verlosung teilnehmen, da er bereits Mitglied des Kanals war, als die Verlosung begann, und die `only_new_subscribers` beim Start der Verlosung festgelegt wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "admin_disallowed_chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Wenn diese Option festgelegt ist, kann der aktuelle Benutzer nicht an der Verlosung teilnehmen, da er Administrator in einem der Kanäle ist (ID in diesem Flag angegeben), der die Verlosung erstellt hat.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}, "disallowed_country": {"type": "string", "x-tl-type": "string", "description": "Wenn diese Option festgelegt ist, kann der aktuelle Benutzer nicht an dieser Verlosung teilnehmen, da seine Telefonnummer aus dem angegebenen nicht zulässigen Land stammt (angegeben als zweibuchstabige ISO 3166-1 Alpha-2-Ländervorwahl).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}}, "required": ["_", "start_date"], "additionalProperties": false}, "payments.giveawayInfoResults": {"title": "payments.giveawayInfoResults", "description": "Ein [Gewinnspiel](https://core.telegram.org/api/giveaways.md) ist beendet.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.giveawayInfoResults"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.giveawayInfoResults"]}, "winner": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob wir zu den Gewinnern dieser Verlosung gehören.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "refunded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob das Giveaway storniert und vollständig zurückerstattet wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Startdatum des Gewinnspiels", "x-telegram-field-docs": true}, "gift_code_slug": {"type": "string", "x-tl-type": "string", "description": "Wenn wir zu den Gewinnern dieses Gewinnspiels gehören, enthält es den [Premium-Geschenkcode](https://core.telegram.org/api/links.md#premium-giftcode-links). Weitere Informationen zum gesamten Ablauf des Gewinnspiels finden Sie hier »](https://core.telegram.org/api/giveaways.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "stars_prize": {"type": "string", "pattern": "^-?\\d+$", "description": "Wenn wir zu den Gewinnern dieses [Telegram Star-Gewinnspiels](https://core.telegram.org/api/giveaways.md#star-giveaways) gehören, ist die Anzahl der [Telegram Stars](https://core.telegram.org/api/stars.md)], die wir gewonnen haben.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?long"}, "finish_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Enddatum des Gewinnspiels. Kann größer sein als das in den Parametern des Gewinnspiels angegebene Enddatum.", "x-telegram-field-docs": true}, "winners_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Gewinner des Gewinnspiels", "x-telegram-field-docs": true}, "activated_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Gewinner, die ihre [Geschenkcodes](https://core.telegram.org/api/links.md#premium-giftcode-links)] aktiviert haben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}}, "required": ["_", "start_date", "finish_date", "winners_count"], "additionalProperties": false}, "prepaidGiveaway": {"title": "prepaidGiveaway", "type": "object", "properties": {"_": {"type": "string", "enum": ["prepaidGiveaway"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "quantity": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "months", "quantity", "date"], "additionalProperties": false}, "prepaidStarsGiveaway": {"title": "prepaidStarsGiveaway", "type": "object", "properties": {"_": {"type": "string", "enum": ["prepaidStarsGiveaway"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "quantity": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "stars", "quantity", "boosts", "date"], "additionalProperties": false}, "boost": {"title": "boost", "type": "object", "properties": {"_": {"type": "string", "enum": ["boost"]}, "gift": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "giveaway": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "unclaimed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "id": {"type": "string", "x-tl-type": "string"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "giveaway_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "used_gift_slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}, "multiplier": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.6?long"}}, "required": ["_", "id", "date", "expires"], "additionalProperties": false}, "premium.boostsList": {"title": "premium.boostsList", "description": "Liste der [Boosts](https://core.telegram.org/api/boost.md), die von mehreren Benutzern auf einen Peer angewendet wurden.", "externalDocs": {"url": "https://core.telegram.org/constructor/premium.boostsList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["premium.boostsList"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Ergebnisse", "x-telegram-field-docs": true}, "boosts": {"type": "array", "items": {"type": "object", "x-tl-type": "Boost", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["boost"]}}, "description": "Тип TL: Boost."}, "x-tl-type": "Vector<Boost>", "description": "[Boosts](https://core.telegram.org/api/boost.md)", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Offset, der für [Paginierung](https://core.telegram.org/api/offsets.md)] verwendet werden kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "boosts", "users"], "additionalProperties": false}, "myBoost": {"title": "myBoost", "type": "object", "properties": {"_": {"type": "string", "enum": ["myBoost"]}, "slot": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.0?Peer"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "cooldown_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "slot", "date", "expires"], "additionalProperties": false}, "premium.myBoosts": {"title": "premium.myBoosts", "description": "Eine Liste der Peers, die wir derzeit [boosten](https://core.telegram.org/api/boost.md)], und wie viele [Boost-Slots](https://core.telegram.org/api/boost.md) wir noch haben“.", "externalDocs": {"url": "https://core.telegram.org/constructor/premium.myBoosts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["premium.myBoosts"]}, "my_boosts": {"type": "array", "items": {"type": "object", "x-tl-type": "MyBoost", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["myBoost"]}}, "description": "Тип TL: MyBoost."}, "x-tl-type": "Vector<MyBoost>", "description": "Informationen zu geboosteten Peers und verbleibenden Boost-Slots.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Referenzierte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Referenzierte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "my_boosts", "chats", "users"], "additionalProperties": false}, "premium.boostsStatus": {"title": "premium.boostsStatus", "description": "Enthält Informationen zum aktuellen [Boost-Status](https://core.telegram.org/api/boost.md) eines Peers.", "externalDocs": {"url": "https://core.telegram.org/constructor/premium.boostsStatus"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["premium.boostsStatus"]}, "my_boost": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob wir diesen Kanal/diese Supergruppe derzeit verstärken, `my_boost_slots` wird ebenfalls festgelegt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "level": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Der aktuelle Boost-Level des Kanals/der Supergruppe.", "x-telegram-field-docs": true}, "current_level_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Anzahl der bisher im aktuellen Level erzielten Boosts.", "x-telegram-field-docs": true}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der bisher erworbenen Boosts.", "x-telegram-field-docs": true}, "gift_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Anzahl der durch erstellte Telegram Premium erhaltenen Boosts [Geschenkcodes](https://core.telegram.org/api/giveaways.md) und [Werbegeschenke](https://core.telegram.org/api/giveaways.md); Wird nur an Kanal-/Supergruppenadministratoren zurückgegeben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "next_level_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der nötigen Boosts, um das nächste Level zu erreichen; Wenn es nicht vorhanden ist, ist die nächste Ebene nicht verfügbar.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "premium_audience": {"type": "object", "x-tl-type": "StatsPercentValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsPercentValue"]}}, "description": "Wird nur an Kanal-/Supergruppenadministratoren zurückgegeben: Enthält die ungefähre Anzahl der Premium-Benutzer, die den Kanal/die Supergruppe abonniert haben, bezogen auf die Gesamtzahl der Abonnenten.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?StatsPercentValue"}, "boost_url": {"type": "string", "x-tl-type": "string", "description": "[Boost-Deep-Link »](https://core.telegram.org/api/links.md#boost-links), der zur Steigerung des Chats verwendet werden kann.", "x-telegram-field-docs": true}, "prepaid_giveaways": {"type": "array", "items": {"type": "object", "x-tl-type": "PrepaidGiveaway", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["prepaidGiveaway", "prepaidStarsGiveaway"]}}, "description": "Тип TL: PrepaidGiveaway."}, "x-tl-type": "Vector<PrepaidGiveaway>", "description": "Eine Liste der im Voraus bezahlten [Werbegeschenke](https://core.telegram.org/api/giveaways.md), die für den Chat verfügbar sind; Wird nur an Kanal-/Supergruppenadministratoren zurückgegeben.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<PrepaidGiveaway>"}, "my_boost_slots": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Gibt an, welchen unserer [Boost-Slots](https://core.telegram.org/api/boost.md) wir diesem Peer zugewiesen haben (wird ausgefüllt, wenn `my_boost` festgelegt ist).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<int>"}}, "required": ["_", "level", "current_level_boosts", "boosts", "boost_url"], "additionalProperties": false}, "storyFwdHeader": {"title": "storyFwdHeader", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyFwdHeader"]}, "modified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "from": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.0?Peer"}, "from_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}}, "required": ["_"], "additionalProperties": false}, "postInteractionCountersMessage": {"title": "postInteractionCountersMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["postInteractionCountersMessage"]}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "forwards": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reactions": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "msg_id", "views", "forwards", "reactions"], "additionalProperties": false}, "postInteractionCountersStory": {"title": "postInteractionCountersStory", "type": "object", "properties": {"_": {"type": "string", "enum": ["postInteractionCountersStory"]}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "forwards": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reactions": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "story_id", "views", "forwards", "reactions"], "additionalProperties": false}, "stats.storyStats": {"title": "stats.storyStats", "description": "Enthält [Statistiken](https://core.telegram.org/api/stats.md) über eine [Geschichte](https://core.telegram.org/api/stories.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/stats.storyStats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stats.storyStats"]}, "views_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Ein Diagramm mit der Anzahl der Story-Aufrufe und Shares", "x-telegram-field-docs": true}, "reactions_by_emotion_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Ein Balkendiagramm mit der Anzahl der Story-Reaktionen, kategorisiert nach „Emotion“ (i.e. Positiv, Negativ, Sonstiges usw.)", "x-telegram-field-docs": true}}, "required": ["_", "views_graph", "reactions_by_emotion_graph"], "additionalProperties": false}, "publicForwardMessage": {"title": "publicForwardMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["publicForwardMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "publicForwardStory": {"title": "publicForwardStory", "type": "object", "properties": {"_": {"type": "string", "enum": ["publicForwardStory"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Тип TL: StoryItem."}}, "required": ["_", "peer", "story"], "additionalProperties": false}, "stats.publicForwards": {"title": "stats.publicForwards", "description": "Enthält Informationen über die Weiterleitungen einer [Story](https://core.telegram.org/api/stories.md) als Nachricht an öffentliche Chats und Reposts durch öffentliche Kanäle.", "externalDocs": {"url": "https://core.telegram.org/constructor/stats.publicForwards"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stats.publicForwards"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Ergebnisse", "x-telegram-field-docs": true}, "forwards": {"type": "array", "items": {"type": "object", "x-tl-type": "PublicForward", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["publicForwardMessage", "publicForwardStory"]}}, "description": "Тип TL: PublicForward."}, "x-tl-type": "Vector<PublicForward>", "description": "Informationen über die Vorgeschichte einer Geschichte.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Versatz, der für [Paginierung](https://core.telegram.org/api/offsets.md)] verwendet wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "forwards", "chats", "users"], "additionalProperties": false}, "peerColor": {"title": "peerColor", "description": "Stellt eine [Farbpalette »](https://core.telegram.org/api/colors.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/peerColor"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerColor"]}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Farbpaletten-ID, siehe hier »](https://core.telegram.org/api/colors.md) für weitere Informationen; Wenn nicht festgelegt, sollte die Standardpalette verwendet werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "background_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Optional [benutzerdefinierte Emoji-ID](https://core.telegram.org/api/custom-emoji.md), die zum Generieren des Musters verwendet wird.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?long"}}, "required": ["_"], "additionalProperties": false}, "peerColorCollectible": {"title": "peerColorCollectible", "description": "Stellt eine [Farbpalette »](https://core.telegram.org/api/colors.md) dar, die einem [Sammelgeschenk »](https://core.telegram.org/api/gifts.md#collectible-gifts) zugeordnet ist, siehe [hier »](https://core.telegram.org/api/colors.md#collectible-gift-palettes) für weitere Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/peerColorCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerColorCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des [Sammelgeschenks »](https://core.telegram.org/api/gifts.md#collectible-gifts).", "x-tl-type": "long", "x-telegram-field-docs": true}, "gift_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Benutzerdefinierte Emoji-ID »](https://core.telegram.org/api/custom-emoji.md) des Sammelgeschenks: Eine einzelne Kopie dieses benutzerdefinierten Emojis sollte unverändert (ohne Umfärbung, anders als bei `background_emoji_id`) in der oberen rechten Ecke der Palette angezeigt werden.", "x-tl-type": "long", "x-telegram-field-docs": true}, "background_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Benutzerdefinierte Emoji-ID »](https://core.telegram.org/api/custom-emoji.md), die zum Generieren des Musters verwendet wird.", "x-tl-type": "long", "x-telegram-field-docs": true}, "accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Akzentfarbe im RGB24-Format, die für Antworthintergründe und den Namen des Benutzers in Nachrichten verwendet wird.", "x-telegram-field-docs": true}, "colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "1-3 RGB24 Farben, die im Antwortstreifen verwendet werden sollen.", "x-telegram-field-docs": true}, "dark_accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Akzentfarbe im RGB24-Format, die für Antworthintergründe und den Namen des Benutzers in Nachrichten im dunklen Modus verwendet wird (Fallback auf `accent_color`, falls nicht vorhanden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "dark_colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "1-3 RGB24 Farben, die im Antwortstreifen im Dunkelmodus verwendet werden sollen (Fallback auf `colors`, falls nicht vorhanden).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<int>"}}, "required": ["_", "collectible_id", "gift_emoji_id", "background_emoji_id", "accent_color", "colors"], "additionalProperties": false}, "inputPeerColorCollectible": {"title": "inputPeerColorCollectible", "description": "Stellt eine [Farbpalette »](https://core.telegram.org/api/colors.md) dar, die einem [Sammelgeschenk »](https://core.telegram.org/api/gifts.md#collectible-gifts) zugeordnet ist, siehe [hier »](https://core.telegram.org/api/colors.md#collectible-gift-palettes) für weitere Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerColorCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerColorCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des [Sammelgeschenks »](https://core.telegram.org/api/gifts.md#collectible-gifts).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "collectible_id"], "additionalProperties": false}, "help.peerColorSet": {"title": "help.peerColorSet", "type": "object", "properties": {"_": {"type": "string", "enum": ["help.peerColorSet"]}, "colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "colors"], "additionalProperties": false}, "help.peerColorProfileSet": {"title": "help.peerColorProfileSet", "type": "object", "properties": {"_": {"type": "string", "enum": ["help.peerColorProfileSet"]}, "palette_colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "bg_colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}, "story_colors": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "palette_colors", "bg_colors", "story_colors"], "additionalProperties": false}, "help.peerColorOption": {"title": "help.peerColorOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["help.peerColorOption"]}, "hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "color_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "colors": {"type": "object", "x-tl-type": "help.PeerColorSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["help.peerColorSet", "help.peerColorProfileSet"]}}, "description": "Тип TL: help.PeerColorSet.", "x-tl-flag": "flags.1?help.PeerColorSet"}, "dark_colors": {"type": "object", "x-tl-type": "help.PeerColorSet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["help.peerColorSet", "help.peerColorProfileSet"]}}, "description": "Тип TL: help.PeerColorSet.", "x-tl-flag": "flags.2?help.PeerColorSet"}, "channel_min_level": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "group_min_level": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "color_id"], "additionalProperties": false}, "help.peerColorsNotModified": {"title": "help.peerColorsNotModified", "description": "Die Liste der Farbpaletten hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/help.peerColorsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.peerColorsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "help.peerColors": {"title": "help.peerColors", "description": "Enthält Informationen zu mehreren [Farbpaletten »](https://core.telegram.org/api/colors.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/help.peerColors"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.peerColors"]}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}, "colors": {"type": "array", "items": {"type": "object", "x-tl-type": "help.PeerColorOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["help.peerColorOption"]}}, "description": "Тип TL: help.PeerColorOption."}, "x-tl-type": "Vector<help.PeerColorOption>", "description": "Verwendbare [Farbpaletten](https://core.telegram.org/api/colors.md).", "x-telegram-field-docs": true}}, "required": ["_", "hash", "colors"], "additionalProperties": false}, "storyReaction": {"title": "storyReaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyReaction"]}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}}, "required": ["_", "peer_id", "date", "reaction"], "additionalProperties": false}, "storyReactionPublicForward": {"title": "storyReactionPublicForward", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyReactionPublicForward"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "storyReactionPublicRepost": {"title": "storyReactionPublicRepost", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyReactionPublicRepost"]}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Тип TL: StoryItem."}}, "required": ["_", "peer_id", "story"], "additionalProperties": false}, "stories.storyReactionsList": {"title": "stories.storyReactionsList", "description": "Liste der Peers, die auf eine bestimmte [Story](https://core.telegram.org/api/stories.md)] reagierten oder mit ihr interagierten", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.storyReactionsList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.storyReactionsList"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Reaktionen, die mit der Abfrage übereinstimmen", "x-telegram-field-docs": true}, "reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "StoryReaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyReaction", "storyReactionPublicForward", "storyReactionPublicRepost"]}}, "description": "Тип TL: StoryReaction."}, "x-tl-type": "Vector<StoryReaction>", "description": "Liste der Kollegen, die auf eine bestimmte Geschichte reagiert oder mit ihr interagiert haben", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Wenn festgelegt, gibt es den nächsten Offset an, der zum Laden weiterer Ergebnisse durch Aufrufen von [stories.getStoryReactionsList](https://core.telegram.org/method/stories.getStoryReactionsList.md)] verwendet werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "count", "reactions", "chats", "users"], "additionalProperties": false}, "savedDialog": {"title": "savedDialog", "type": "object", "properties": {"_": {"type": "string", "enum": ["savedDialog"]}, "pinned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "top_message": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "top_message"], "additionalProperties": false}, "monoForumDialog": {"title": "monoForumDialog", "type": "object", "properties": {"_": {"type": "string", "enum": ["monoForumDialog"]}, "unread_mark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "nopaid_messages_exception": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "top_message": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_inbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "read_outbox_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "unread_reactions_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "draft": {"type": "object", "x-tl-type": "DraftMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["draftMessageEmpty", "draftMessage"]}}, "description": "Тип TL: DraftMessage.", "x-tl-flag": "flags.1?DraftMessage"}}, "required": ["_", "peer", "top_message", "read_inbox_max_id", "read_outbox_max_id", "unread_count", "unread_reactions_count"], "additionalProperties": false}, "messages.savedDialogs": {"title": "messages.savedDialogs", "description": "Stellt einige [gespeicherte Nachrichtendialoge »](https://core.telegram.org/api/saved-messages.md) dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.savedDialogs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.savedDialogs"]}, "dialogs": {"type": "array", "items": {"type": "object", "x-tl-type": "SavedDialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["savedDialog", "monoForumDialog"]}}, "description": "Тип TL: SavedDialog."}, "x-tl-type": "Vector<SavedDialog>", "description": "[Gespeicherte Nachrichtendialoge »](https://core.telegram.org/api/saved-messages.md).", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Liste der letzten Nachrichten aus jedem gespeicherten Dialog", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.savedDialogsSlice": {"title": "messages.savedDialogsSlice", "description": "Unvollständige Liste der [gespeicherten Nachrichtendialoge »](https://core.telegram.org/api/saved-messages.md) mit Nachrichten und Hilfsdaten.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.savedDialogsSlice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.savedDialogsSlice"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der gespeicherten Nachrichtendialoge", "x-telegram-field-docs": true}, "dialogs": {"type": "array", "items": {"type": "object", "x-tl-type": "SavedDialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["savedDialog", "monoForumDialog"]}}, "description": "Тип TL: SavedDialog."}, "x-tl-type": "Vector<SavedDialog>", "description": "Liste der gespeicherten Nachrichtendialoge", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "Liste der letzten Nachrichten aus Dialogen", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.savedDialogsNotModified": {"title": "messages.savedDialogsNotModified", "description": "Die gespeicherten Dialoge haben sich nicht geändert", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.savedDialogsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.savedDialogsNotModified"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der [gespeicherten Dialoge](https://core.telegram.org/api/saved-messages.md), die von der Abfrage serverseitig gefunden wurden", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "savedReactionTag": {"title": "savedReactionTag", "type": "object", "properties": {"_": {"type": "string", "enum": ["savedReactionTag"]}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "reaction", "count"], "additionalProperties": false}, "messages.savedReactionTagsNotModified": {"title": "messages.savedReactionTagsNotModified", "description": "Die Liste der vom Benutzer zugewiesenen [Reaktions-Tag »](https://core.telegram.org/api/saved-messages.md#tags)“-Namen hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.savedReactionTagsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.savedReactionTagsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.savedReactionTags": {"title": "messages.savedReactionTags", "description": "Liste der vom Benutzer zugewiesenen [Reaktions-Tags »](https://core.telegram.org/api/saved-messages.md#tags)« Namen.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.savedReactionTags"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.savedReactionTags"]}, "tags": {"type": "array", "items": {"type": "object", "x-tl-type": "SavedReactionTag", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["savedReactionTag"]}}, "description": "Тип TL: SavedReactionTag."}, "x-tl-type": "Vector<SavedReactionTag>", "description": "Gespeicherte Reaktionstags.", "x-telegram-field-docs": true}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation). Kann bei Bedarf auch manuell mit dem [hier angegebenen benutzerdefinierten Algorithmus »](https://core.telegram.org/api/saved-messages.md#tags)“ neu generiert werden.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "tags", "hash"], "additionalProperties": false}, "outboxReadDate": {"title": "outboxReadDate", "description": "Genaues Lesedatum einer privaten Nachricht, die wir an einen anderen Benutzer gesendet haben.", "externalDocs": {"url": "https://core.telegram.org/constructor/outboxReadDate"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["outboxReadDate"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "UNIX Zeitstempel mit dem Lesedatum.", "x-telegram-field-docs": true}}, "required": ["_", "date"], "additionalProperties": false}, "smsjobs.eligibleToJoin": {"title": "smsjobs.eligibleToJoin", "description": "SMS Stellenberechtigung", "externalDocs": {"url": "https://core.telegram.org/constructor/smsjobs.eligibleToJoin"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["smsjobs.eligibleToJoin"]}, "terms_url": {"type": "string", "x-tl-type": "string", "description": "Nutzungsbedingungen URL", "x-telegram-field-docs": true}, "monthly_sent_sms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Monthly sent SMSes", "x-telegram-field-docs": true}}, "required": ["_", "terms_url", "monthly_sent_sms"], "additionalProperties": false}, "smsjobs.status": {"title": "smsjobs.status", "description": "Status", "externalDocs": {"url": "https://core.telegram.org/constructor/smsjobs.status"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["smsjobs.status"]}, "allow_international": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Internationale Nummern zulassen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "recent_sent": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Kürzlich verschickt", "x-telegram-field-docs": true}, "recent_since": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Seitdem", "x-telegram-field-docs": true}, "recent_remains": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Übrig", "x-telegram-field-docs": true}, "total_sent": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Insgesamt gesendet", "x-telegram-field-docs": true}, "total_since": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Insgesamt seitdem", "x-telegram-field-docs": true}, "last_gift_slug": {"type": "string", "x-tl-type": "string", "description": "Letztes Geschenk Deep Link", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "terms_url": {"type": "string", "x-tl-type": "string", "description": "Nutzungsbedingungen URL", "x-telegram-field-docs": true}}, "required": ["_", "recent_sent", "recent_since", "recent_remains", "total_sent", "total_since", "terms_url"], "additionalProperties": false}, "smsJob": {"title": "smsJob", "description": "Infos zu einem SMS Job.", "externalDocs": {"url": "https://core.telegram.org/constructor/smsJob"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["smsJob"]}, "job_id": {"type": "string", "x-tl-type": "string", "description": "Job-ID", "x-telegram-field-docs": true}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Zieltelefonnummer", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Text", "x-telegram-field-docs": true}}, "required": ["_", "job_id", "phone_number", "text"], "additionalProperties": false}, "businessWeeklyOpen": {"title": "businessWeeklyOpen", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessWeeklyOpen"]}, "start_minute": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "end_minute": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "start_minute", "end_minute"], "additionalProperties": false}, "businessWorkHours": {"title": "businessWorkHours", "description": "Gibt einen Satz von [Telegram Business-Öffnungszeiten](https://core.telegram.org/api/business.md#opening-hours)“ an.", "externalDocs": {"url": "https://core.telegram.org/constructor/businessWorkHours"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["businessWorkHours"]}, "open_now": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wird ignoriert, wenn beim Aufruf von [account.updateBusinessWorkHours](https://core.telegram.org/method/account.updateBusinessWorkHours.md) festgelegt, wird nur vom Server in [userFull](https://core.telegram.org/constructor/userFull.md).`business_work_hours` zurückgegeben und gibt an, ob das Geschäft gemäß der aktuellen Zeit und den Werten in `weekly_open` und `timezone` derzeit geöffnet ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "timezone_id": {"type": "string", "x-tl-type": "string", "description": "Eine ID einer der von [help.getTimezonesList](https://core.telegram.org/method/help.getTimezonesList.md) zurückgegebenen Zeitzonen.     Die Zeitzonen-ID ist in [Zeitzone](https://core.telegram.org/constructor/timezone.md).`id` enthalten, ein für Menschen lesbarer, lokalisierter Name der Zeitzone ist in [Zeitzone](https://core.telegram.org/constructor/timezone.md).`name` verfügbar und das Feld [Zeitzone](https://core.telegram.org/constructor/timezone.md).`utc_offset`] enthält den UTC-Offset in Sekunden, der vom Client zusammen mit dem für Menschen lesbaren Namen im Format hh:mm angezeigt werden kann (i.e. `$name UTC -01:00`).", "x-telegram-field-docs": true}, "weekly_open": {"type": "array", "items": {"type": "object", "x-tl-type": "BusinessWeeklyOpen", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessWeeklyOpen"]}}, "description": "Тип TL: BusinessWeeklyOpen."}, "x-tl-type": "Vector<BusinessWeeklyOpen>", "description": "Eine Liste von Zeitintervallen (maximal 28), dargestellt durch [businessWeeklyOpen »](https://core.telegram.org/constructor/businessWeeklyOpen.md), mit Angabe der Öffnungszeiten ihres Unternehmens.", "x-telegram-field-docs": true}}, "required": ["_", "timezone_id", "weekly_open"], "additionalProperties": false}, "businessLocation": {"title": "businessLocation", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessLocation"]}, "geo_point": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Тип TL: GeoPoint.", "x-tl-flag": "flags.0?GeoPoint"}, "address": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "address"], "additionalProperties": false}, "inputBusinessRecipients": {"title": "inputBusinessRecipients", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBusinessRecipients"]}, "existing_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "new_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "exclude_selected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.4?Vector<InputUser>"}}, "required": ["_"], "additionalProperties": false}, "businessRecipients": {"title": "businessRecipients", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessRecipients"]}, "existing_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "new_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "exclude_selected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.4?Vector<long>"}}, "required": ["_"], "additionalProperties": false}, "businessAwayMessageScheduleAlways": {"title": "businessAwayMessageScheduleAlways", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleAlways"]}}, "required": ["_"], "additionalProperties": false}, "businessAwayMessageScheduleOutsideWorkHours": {"title": "businessAwayMessageScheduleOutsideWorkHours", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleOutsideWorkHours"]}}, "required": ["_"], "additionalProperties": false}, "businessAwayMessageScheduleCustom": {"title": "businessAwayMessageScheduleCustom", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleCustom"]}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "start_date", "end_date"], "additionalProperties": false}, "inputBusinessGreetingMessage": {"title": "inputBusinessGreetingMessage", "description": "Beschreibt eine [Telegram Business-Begrüßung](https://core.telegram.org/api/business.md#greeting-messages), die automatisch an neue Benutzer gesendet wird, die uns zum ersten Mal privat schreiben, oder nach einer bestimmten Inaktivitätsperiode.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBusinessGreetingMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBusinessGreetingMessage"]}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID einer [Schnellantwort-Verknüpfung, die die zu sendenden Begrüßungsnachrichten enthält, siehe hier » für weitere Informationen](https://core.telegram.org/api/business.md#quick-reply-shortcuts).", "x-telegram-field-docs": true}, "recipients": {"type": "object", "x-tl-type": "InputBusinessRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBusinessRecipients"]}}, "description": "Zulässige Empfänger für die Begrüßungsnachrichten.", "x-telegram-field-docs": true}, "no_activity_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die Anzahl der Tage, nach denen ein privater Chat als inaktiv betrachtet wird; Muss derzeit einer von 7, 14, 21 oder 28 sein.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut_id", "recipients", "no_activity_days"], "additionalProperties": false}, "businessGreetingMessage": {"title": "businessGreetingMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessGreetingMessage"]}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "recipients": {"type": "object", "x-tl-type": "BusinessRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessRecipients"]}}, "description": "Тип TL: BusinessRecipients."}, "no_activity_days": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "shortcut_id", "recipients", "no_activity_days"], "additionalProperties": false}, "inputBusinessAwayMessage": {"title": "inputBusinessAwayMessage", "description": "Beschreibt eine [Abwesenheitsnachricht von Telegram Business](https://core.telegram.org/api/business.md#away-messages), die automatisch an Benutzer gesendet wird, die uns schreiben, wenn wir offline sind, während der Geschäftsschlusszeiten, während wir im Urlaub sind oder in einem anderen benutzerdefinierten Zeitraum, in dem wir dem Benutzer nicht sofort antworten können.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBusinessAwayMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBusinessAwayMessage"]}, "offline_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn eingestellt, werden die Nachrichten nicht gesendet, wenn das Konto in den letzten 10 Minuten online war.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID einer [Schnellantwort-Verknüpfung, die die zu sendenden Abwesenheitsnachrichten enthält, siehe hier » für weitere Informationen](https://core.telegram.org/api/business.md#quick-reply-shortcuts).", "x-telegram-field-docs": true}, "schedule": {"type": "object", "x-tl-type": "BusinessAwayMessageSchedule", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleAlways", "businessAwayMessageScheduleOutsideWorkHours", "businessAwayMessageScheduleCustom"]}}, "description": "Gibt an, wann die Abwesenheitsnachrichten gesendet werden sollen.", "x-telegram-field-docs": true}, "recipients": {"type": "object", "x-tl-type": "InputBusinessRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBusinessRecipients"]}}, "description": "Zulässige Empfänger für die Abwesenheitsnachrichten.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut_id", "schedule", "recipients"], "additionalProperties": false}, "businessAwayMessage": {"title": "businessAwayMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessage"]}, "offline_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "schedule": {"type": "object", "x-tl-type": "BusinessAwayMessageSchedule", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleAlways", "businessAwayMessageScheduleOutsideWorkHours", "businessAwayMessageScheduleCustom"]}}, "description": "Тип TL: BusinessAwayMessageSchedule."}, "recipients": {"type": "object", "x-tl-type": "BusinessRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessRecipients"]}}, "description": "Тип TL: BusinessRecipients."}}, "required": ["_", "shortcut_id", "schedule", "recipients"], "additionalProperties": false}, "timezone": {"title": "timezone", "type": "object", "properties": {"_": {"type": "string", "enum": ["timezone"]}, "id": {"type": "string", "x-tl-type": "string"}, "name": {"type": "string", "x-tl-type": "string"}, "utc_offset": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "name", "utc_offset"], "additionalProperties": false}, "help.timezonesListNotModified": {"title": "help.timezonesListNotModified", "description": "Die Zeitzonenliste hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/help.timezonesListNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.timezonesListNotModified"]}}, "required": ["_"], "additionalProperties": false}, "help.timezonesList": {"title": "help.timezonesList", "description": "Zeitzoneninformationen, die an anderer Stelle im API verwendet werden können, z. B. zum Festlegen von [Öffnungszeiten von Telegram Business »](https://core.telegram.org/api/business.md#opening-hours).", "externalDocs": {"url": "https://core.telegram.org/constructor/help.timezonesList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["help.timezonesList"]}, "timezones": {"type": "array", "items": {"type": "object", "x-tl-type": "Timezone", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["timezone"]}}, "description": "Тип TL: Timezone."}, "x-tl-type": "Vector<Timezone>", "description": "Zeitzonen", "x-telegram-field-docs": true}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}}, "required": ["_", "timezones", "hash"], "additionalProperties": false}, "quickReply": {"title": "quickReply", "type": "object", "properties": {"_": {"type": "string", "enum": ["quickReply"]}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "shortcut": {"type": "string", "x-tl-type": "string"}, "top_message": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "shortcut_id", "shortcut", "top_message", "count"], "additionalProperties": false}, "inputQuickReplyShortcut": {"title": "inputQuickReplyShortcut", "description": "Wählt eine [Schnellantwort-Verknüpfung](https://core.telegram.org/api/business.md#quick-reply-shortcuts) nach Name aus.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputQuickReplyShortcut"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputQuickReplyShortcut"]}, "shortcut": {"type": "string", "x-tl-type": "string", "description": "Verknüpfungsname.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut"], "additionalProperties": false}, "inputQuickReplyShortcutId": {"title": "inputQuickReplyShortcutId", "description": "Wählt eine [Schnellantwort-Verknüpfung](https://core.telegram.org/api/business.md#quick-reply-shortcuts) anhand ihrer numerischen ID aus.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputQuickReplyShortcutId"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputQuickReplyShortcutId"]}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Verknüpfungs-ID.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut_id"], "additionalProperties": false}, "messages.quickReplies": {"title": "messages.quickReplies", "description": "Informationen zu [Schnellantwort-Verknüpfungen »](https://core.telegram.org/api/business.md#quick-reply-shortcuts).", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.quickReplies"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.quickReplies"]}, "quick_replies": {"type": "array", "items": {"type": "object", "x-tl-type": "QuickReply", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["quickReply"]}}, "description": "Тип TL: QuickReply."}, "x-tl-type": "Vector<QuickReply>", "description": "Schnellantwort-Verknüpfungen.", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>", "description": "In `quick_replies` erwähnte Nachrichten.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "quick_replies", "messages", "chats", "users"], "additionalProperties": false}, "messages.quickRepliesNotModified": {"title": "messages.quickRepliesNotModified", "description": "Informationen zu [Schnellantwort-Verknüpfungen »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) haben sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.quickRepliesNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.quickRepliesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "connectedBot": {"title": "connectedBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["connectedBot"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "recipients": {"type": "object", "x-tl-type": "BusinessBotRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessBotRecipients"]}}, "description": "Тип TL: BusinessBotRecipients."}, "rights": {"type": "object", "x-tl-type": "BusinessBotRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessBotRights"]}}, "description": "Тип TL: BusinessBotRights."}, "device": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "location": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_", "bot_id", "recipients", "rights"], "additionalProperties": false}, "account.connectedBots": {"title": "account.connectedBots", "description": "Informationen zu aktuell verbundenen [Business-Bots](https://core.telegram.org/api/bots/connected-business-bots.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/account.connectedBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.connectedBots"]}, "connected_bots": {"type": "array", "items": {"type": "object", "x-tl-type": "ConnectedBot", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["connectedBot"]}}, "description": "Тип TL: ConnectedBot."}, "x-tl-type": "Vector<ConnectedBot>", "description": "Infos zu den verbundenen Bots", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Bot-Informationen", "x-telegram-field-docs": true}}, "required": ["_", "connected_bots", "users"], "additionalProperties": false}, "messages.dialogFilters": {"title": "messages.dialogFilters", "description": "[Ordner und Ordner-Tags](https://core.telegram.org/api/folders.md) Informationen", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.dialogFilters"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.dialogFilters"]}, "tags_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob [Ordner-Tags](https://core.telegram.org/api/folders.md#folder-tags) aktiviert sind.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "filters": {"type": "array", "items": {"type": "object", "x-tl-type": "DialogFilter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dialogFilter", "dialogFilterDefault", "dialogFilterChatlist"]}}, "description": "Тип TL: DialogFilter."}, "x-tl-type": "Vector<DialogFilter>", "description": "Ordner.", "x-telegram-field-docs": true}}, "required": ["_", "filters"], "additionalProperties": false}, "birthday": {"title": "birthday", "description": "[Geburtstag](https://core.telegram.org/api/profile.md#birthday) Informationen für einen Benutzer.\n\nWird auch verwendet, um Benutzer einzuladen, [Telegram Premium-Abonnements »](https://core.telegram.org/api/premium.md#gifting-telegram-premium)] an andere Benutzer mit Geburtstagen innerhalb eines Zeitraums von +1/-1 Tag, bezogen auf den aktuellen Tag, zu verschenken.", "externalDocs": {"url": "https://core.telegram.org/constructor/birthday"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["birthday"]}, "day": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Geburtstag", "x-telegram-field-docs": true}, "month": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Geburtsmonat", "x-telegram-field-docs": true}, "year": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "(Optional) Geburtsjahr.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "day", "month"], "additionalProperties": false}, "botBusinessConnection": {"title": "botBusinessConnection", "type": "object", "properties": {"_": {"type": "string", "enum": ["botBusinessConnection"]}, "disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "connection_id": {"type": "string", "x-tl-type": "string"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rights": {"type": "object", "x-tl-type": "BusinessBotRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessBotRights"]}}, "description": "Тип TL: BusinessBotRights.", "x-tl-flag": "flags.2?BusinessBotRights"}}, "required": ["_", "connection_id", "user_id", "dc_id", "date"], "additionalProperties": false}, "inputBusinessIntro": {"title": "inputBusinessIntro", "description": "[Telegram Business Einführung »](https://core.telegram.org/api/business.md#business-introduction).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBusinessIntro"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBusinessIntro"]}, "title": {"type": "string", "x-tl-type": "string", "description": "Titel der Einführungsnachricht", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Profileinführung", "x-telegram-field-docs": true}, "sticker": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Optionale Einführung [Aufkleber](https://core.telegram.org/api/stickers.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputDocument"}}, "required": ["_", "title", "description"], "additionalProperties": false}, "businessIntro": {"title": "businessIntro", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessIntro"]}, "title": {"type": "string", "x-tl-type": "string"}, "description": {"type": "string", "x-tl-type": "string"}, "sticker": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document.", "x-tl-flag": "flags.0?Document"}}, "required": ["_", "title", "description"], "additionalProperties": false}, "messages.myStickers": {"title": "messages.myStickers", "description": "Die Liste der [Stickersets, die dem aktuellen Konto gehören »](https://core.telegram.org/api/stickers.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.myStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.myStickers"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der eigenen Stickersets.", "x-telegram-field-docs": true}, "sets": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerSetCovered", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerSetCovered", "stickerSetMultiCovered", "stickerSetFullCovered", "stickerSetNoCovered"]}}, "description": "TL Type: StickerSetCovered."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Aufklebersets", "x-telegram-field-docs": true}}, "required": ["_", "count", "sets"], "additionalProperties": false}, "inputCollectibleUsername": {"title": "inputCollectibleUsername", "description": "Stellt ein [Benutzernamenfragment zum Sammeln](https://core.telegram.org/api/fragment.md) dar", "externalDocs": {"url": "https://core.telegram.org/constructor/inputCollectibleUsername"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputCollectibleUsername"]}, "username": {"type": "string", "x-tl-type": "string", "description": "Benutzername", "x-telegram-field-docs": true}}, "required": ["_", "username"], "additionalProperties": false}, "inputCollectiblePhone": {"title": "inputCollectiblePhone", "description": "Stellt ein [Telefonnummernfragment zum Sammeln](https://core.telegram.org/api/fragment.md) dar", "externalDocs": {"url": "https://core.telegram.org/constructor/inputCollectiblePhone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputCollectiblePhone"]}, "phone": {"type": "string", "x-tl-type": "string", "description": "Telefonnummer", "x-telegram-field-docs": true}}, "required": ["_", "phone"], "additionalProperties": false}, "fragment.collectibleInfo": {"title": "fragment.collectibleInfo", "description": "Informationen zu einem [Fragment-Sammlerstück](https://core.telegram.org/api/fragment.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/fragment.collectibleInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["fragment.collectibleInfo"]}, "purchase_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Kaufdatum (Unixzeit)", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code für `amount`", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Name der Kryptowährung.", "x-telegram-field-docs": true}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preis, in den kleinsten Einheiten der Kryptowährung.", "x-tl-type": "long", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "[Fragment](https://fragment.com) URL mit weiteren Informationen zum Sammlerstück", "x-telegram-field-docs": true}}, "required": ["_", "purchase_date", "currency", "amount", "crypto_currency", "crypto_amount", "url"], "additionalProperties": false}, "inputBusinessBotRecipients": {"title": "inputBusinessBotRecipients", "description": "Gibt die privaten Chats an, mit denen ein [verbundener Business-Bot »](https://core.telegram.org/api/bots/connected-business-bots.md) interagieren darf.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBusinessBotRecipients"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBusinessBotRecipients"]}, "existing_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wählt alle vorhandenen privaten Chats aus.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "new_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wählt alle neuen privaten Chats aus.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wählt alle privaten Chats mit Kontakten aus.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wählt alle privaten Chats mit Nichtkontakten aus.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "exclude_selected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, werden alle privaten Chats *außer* denen, die durch `existing_chats`, `new_chats`, `contacts`, `non_contacts` und `users` ausgewählt wurden, ausgewählt.  Beachten Sie, dass, wenn dieses Flag gesetzt ist, alle in `exclude_users` übergebenen Werte zusammengeführt und vom Server nach `users` verschoben werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Explizit ausgewählte private Chats.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Vector<InputUser>"}, "exclude_users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "description": "Kennungen privater Chats, die immer ausgeschlossen sind.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Vector<InputUser>"}}, "required": ["_"], "additionalProperties": false}, "businessBotRecipients": {"title": "businessBotRecipients", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessBotRecipients"]}, "existing_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "new_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "exclude_selected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.4?Vector<long>"}, "exclude_users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.6?Vector<long>"}}, "required": ["_"], "additionalProperties": false}, "contactBirthday": {"title": "contactBirthday", "type": "object", "properties": {"_": {"type": "string", "enum": ["contactBirthday"]}, "contact_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "birthday": {"type": "object", "x-tl-type": "Birthday", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["birthday"]}}, "description": "Тип TL: Birthday."}}, "required": ["_", "contact_id", "birthday"], "additionalProperties": false}, "contacts.contactBirthdays": {"title": "contacts.contactBirthdays", "description": "Geburtstagsinformationen unserer Kontakte.", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.contactBirthdays"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.contactBirthdays"]}, "contacts": {"type": "array", "items": {"type": "object", "x-tl-type": "ContactBirthday", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["contactBirthday"]}}, "description": "Тип TL: ContactBirthday."}, "x-tl-type": "Vector<ContactBirthday>", "description": "Infos zum Geburtstag", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzerinformationen", "x-telegram-field-docs": true}}, "required": ["_", "contacts", "users"], "additionalProperties": false}, "missingInvitee": {"title": "missingInvitee", "type": "object", "properties": {"_": {"type": "string", "enum": ["missingInvitee"]}, "premium_would_allow_invite": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "premium_required_for_pm": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "messages.invitedUsers": {"title": "messages.invitedUsers", "description": "Enthält Informationen über erfolgreich oder erfolglos eingeladene »](https://core.telegram.org/api/invites.md#direct-invites) Benutzer.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.invitedUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.invitedUsers"]}, "updates": {"type": "object", "x-tl-type": "Updates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updatesTooLong", "updateShortMessage", "updateShortChatMessage", "updateShort", "updatesCombined", "updates", "updateShortSentMessage"]}}, "description": "Liste der Updates über erfolgreich eingeladene Benutzer (und eventuell Informationen über die erstellte Gruppe)", "x-telegram-field-docs": true}, "missing_invitees": {"type": "array", "items": {"type": "object", "x-tl-type": "MissingInvitee", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["missingInvitee"]}}, "description": "Тип TL: MissingInvitee."}, "x-tl-type": "Vector<MissingInvitee>", "description": "Eine Liste der Benutzer, die nicht eingeladen werden konnten, zusammen mit dem Grund, warum sie nicht eingeladen werden konnten.", "x-telegram-field-docs": true}}, "required": ["_", "updates", "missing_invitees"], "additionalProperties": false}, "inputBusinessChatLink": {"title": "inputBusinessChatLink", "description": "Enthält Informationen zu einem [Business-Chat-Deep-Link »](https://core.telegram.org/api/business.md#business-chat-links), der vom aktuellen Konto erstellt werden soll.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBusinessChatLink"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBusinessChatLink"]}, "message": {"type": "string", "x-tl-type": "string", "description": "Nachricht, die im Nachrichteneingabefeld vorab ausgefüllt werden muss.", "x-telegram-field-docs": true}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<MessageEntity>"}, "title": {"type": "string", "x-tl-type": "string", "description": "Für Menschen lesbarer Name des Links, um die Verwaltung in der Benutzeroberfläche zu vereinfachen (nur für den Ersteller des Links sichtbar).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_", "message"], "additionalProperties": false}, "businessChatLink": {"title": "businessChatLink", "description": "Enthält Informationen zu einem [Business-Chat-Deep-Link »](https://core.telegram.org/api/business.md#business-chat-links), der vom aktuellen Konto erstellt wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/businessChatLink"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["businessChatLink"]}, "link": {"type": "string", "x-tl-type": "string", "description": "[Business-Chat-Deep-Link](https://core.telegram.org/api/links.md#business-chat-links).", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Nachricht, die im Nachrichteneingabefeld vorab ausgefüllt werden muss.", "x-telegram-field-docs": true}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<MessageEntity>"}, "title": {"type": "string", "x-tl-type": "string", "description": "Für Menschen lesbarer Name des Links, um die Verwaltung in der Benutzeroberfläche zu vereinfachen (nur für den Ersteller des Links sichtbar).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Häufigkeit, mit der der Link aufgelöst wurde (geklickt/gescannt/usw.).", "x-telegram-field-docs": true}}, "required": ["_", "link", "message", "views"], "additionalProperties": false}, "account.businessChatLinks": {"title": "account.businessChatLinks", "description": "Enthält Informationen zu [Business-Chat-Deep-Links »](https://core.telegram.org/api/business.md#business-chat-links), die vom aktuellen Konto erstellt wurden.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.businessChatLinks"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.businessChatLinks"]}, "links": {"type": "array", "items": {"type": "object", "x-tl-type": "BusinessChatLink", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessChatLink"]}}, "description": "TL Type: BusinessChatLink."}, "x-tl-type": "Vector<BusinessChatLink>", "description": "Links", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "links", "chats", "users"], "additionalProperties": false}, "account.resolvedBusinessChatLinks": {"title": "account.resolvedBusinessChatLinks", "description": "Enthält Informationen zu einem einzelnen gelösten [Business-Chat-Deeplink »](https://core.telegram.org/api/business.md#business-chat-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/account.resolvedBusinessChatLinks"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.resolvedBusinessChatLinks"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Ziel-Peer", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Nachricht, die im Nachrichteneingabefeld vorab ausgefüllt werden muss.", "x-telegram-field-docs": true}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<MessageEntity>"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "peer", "message", "chats", "users"], "additionalProperties": false}, "requestedPeerUser": {"title": "requestedPeerUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestedPeerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "first_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "last_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "username": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.2?Photo"}}, "required": ["_", "user_id"], "additionalProperties": false}, "requestedPeerChat": {"title": "requestedPeerChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestedPeerChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.2?Photo"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "requestedPeerChannel": {"title": "requestedPeerChannel", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestedPeerChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "username": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo.", "x-tl-flag": "flags.2?Photo"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "sponsoredMessageReportOption": {"title": "sponsoredMessageReportOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["sponsoredMessageReportOption"]}, "text": {"type": "string", "x-tl-type": "string"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "text", "option"], "additionalProperties": false}, "channels.sponsoredMessageReportResultChooseOption": {"title": "channels.sponsoredMessageReportResultChooseOption", "description": "Der Benutzer muss eine Berichtsoption aus den in `options` verfügbaren lokalisierten Optionen auswählen und nach der Auswahl muss [messages.reportSponsoredMessage](https://core.telegram.org/method/messages.reportSponsoredMessage.md) erneut aufgerufen werden, wobei das `option`-Feld der Option an den `option`-Parameter der Methode übergeben wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.sponsoredMessageReportResultChooseOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.sponsoredMessageReportResultChooseOption"]}, "title": {"type": "string", "x-tl-type": "string", "description": "Titel des Optionsauswahl-Popups.", "x-telegram-field-docs": true}, "options": {"type": "array", "items": {"type": "object", "x-tl-type": "SponsoredMessageReportOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sponsoredMessageReportOption"]}}, "description": "Тип TL: SponsoredMessageReportOption."}, "x-tl-type": "Vector<SponsoredMessageReportOption>", "description": "Lokalisierte Liste der Optionen.", "x-telegram-field-docs": true}}, "required": ["_", "title", "options"], "additionalProperties": false}, "channels.sponsoredMessageReportResultAdsHidden": {"title": "channels.sponsoredMessageReportResultAdsHidden", "description": "Gesponserte Nachrichten wurden für den Benutzer in allen Chats ausgeblendet.", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.sponsoredMessageReportResultAdsHidden"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.sponsoredMessageReportResultAdsHidden"]}}, "required": ["_"], "additionalProperties": false}, "channels.sponsoredMessageReportResultReported": {"title": "channels.sponsoredMessageReportResultReported", "description": "Die gesponserte Nachricht wurde erfolgreich gemeldet.", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.sponsoredMessageReportResultReported"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.sponsoredMessageReportResultReported"]}}, "required": ["_"], "additionalProperties": false}, "reactionNotificationsFromContacts": {"title": "reactionNotificationsFromContacts", "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionNotificationsFromContacts"]}}, "required": ["_"], "additionalProperties": false}, "reactionNotificationsFromAll": {"title": "reactionNotificationsFromAll", "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionNotificationsFromAll"]}}, "required": ["_"], "additionalProperties": false}, "reactionsNotifySettings": {"title": "reactionsNotifySettings", "description": "Weitere Informationen zu den Einstellungen für Reaktionsbenachrichtigungen finden Sie hier »](https://core.telegram.org/api/reactions.md#notifications-about-reactions).", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionsNotifySettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionsNotifySettings"]}, "messages_notify_from": {"type": "object", "x-tl-type": "ReactionNotificationsFrom", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionNotificationsFromContacts", "reactionNotificationsFromAll"]}}, "description": "Wenn die Einstellungen für die Benachrichtigung über Nachrichtenreaktionen nicht festgelegt sind, werden Benachrichtigungen/Updates über Nachrichtenreaktionen vollständig deaktiviert.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?ReactionNotificationsFrom"}, "stories_notify_from": {"type": "object", "x-tl-type": "ReactionNotificationsFrom", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionNotificationsFromContacts", "reactionNotificationsFromAll"]}}, "description": "Wenn die Einstellungen für die Benachrichtigung über Story-Reaktionen nicht festgelegt sind, werden Benachrichtigungen/Updates über Reaktionen auf Storys vollständig deaktiviert.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?ReactionNotificationsFrom"}, "poll_votes_notify_from": {"type": "object", "x-tl-type": "ReactionNotificationsFrom", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionNotificationsFromContacts", "reactionNotificationsFromAll"]}}, "description": "[Nicht-anonyme Umfrage-Abstimmung »](https://core.telegram.org/api/poll.md#unread-poll-votes) Benachrichtigungseinstellungen, wenn sie nicht festgelegt sind, werden Benachrichtigungen/Updates über in den nicht-anonymen Umfragen des Benutzers abgegebene Stimmen vollständig deaktiviert.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?ReactionNotificationsFrom"}, "sound": {"type": "object", "x-tl-type": "NotificationSound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]}}, "description": "[Benachrichtigungston für Reaktionen »](https://core.telegram.org/api/ringtones.md)", "x-telegram-field-docs": true}, "show_previews": {"type": "boolean", "x-tl-type": "Bool", "description": "Bei „false“ sind [Push-Benachrichtigungen »](https://core.telegram.org/api/push-updates.md) über Nachrichten-/Story-Reaktionen nur vom Typ `REACT_HIDDEN`/`REACT_STORY_HIDDEN`, ohne Informationen über die Story, auf die reagiert wurde, oder über die Reaktion selbst.", "x-telegram-field-docs": true}}, "required": ["_", "sound", "show_previews"], "additionalProperties": false}, "availableEffect": {"title": "availableEffect", "type": "object", "properties": {"_": {"type": "string", "enum": ["availableEffect"]}, "premium_required": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "emoticon": {"type": "string", "x-tl-type": "string"}, "static_icon_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "effect_sticker_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "effect_animation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "required": ["_", "id", "emoticon", "effect_sticker_id"], "additionalProperties": false}, "messages.availableEffectsNotModified": {"title": "messages.availableEffectsNotModified", "description": "Die vollständige Liste der verwendbaren [animierten Nachrichteneffekte »](https://core.telegram.org/api/effects.md) hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.availableEffectsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.availableEffectsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "messages.availableEffects": {"title": "messages.availableEffects", "description": "Die vollständige Liste der verwendbaren [animierten Nachrichteneffekte »](https://core.telegram.org/api/effects.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.availableEffects"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.availableEffects"]}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}, "effects": {"type": "array", "items": {"type": "object", "x-tl-type": "AvailableEffect", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["availableEffect"]}}, "description": "Тип TL: AvailableEffect."}, "x-tl-type": "Vector<AvailableEffect>", "description": "Nachrichteneffekte", "x-telegram-field-docs": true}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "In den `effects`-Konstruktoren angegebene Dokumente.", "x-telegram-field-docs": true}}, "required": ["_", "hash", "effects", "documents"], "additionalProperties": false}, "factCheck": {"title": "factCheck", "description": "Stellt einen [Faktencheck »](https://core.telegram.org/api/factcheck.md) dar, der von einem unabhängigen Faktenprüfer erstellt wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/factCheck"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["factCheck"]}, "need_check": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, werden die Felder `country`/`text` **nicht** festgelegt und der Faktencheck muss manuell vom Client abgerufen werden (sofern er nicht bereits mit dem in `hash` angegebenen Schlüssel zwischengespeichert ist) mithilfe gebündelter [messages.getFactCheck](https://core.telegram.org/method/messages.getFactCheck.md)-Anfragen, wenn die Nachricht mit dem Faktencheck angezeigt wird.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "country": {"type": "string", "x-tl-type": "string", "description": "Ein aus zwei Buchstaben bestehender ISO 3166-1 Alpha-2-Ländercode des Landes, für das der Faktencheck angezeigt werden soll.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Der Faktencheck.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "hash"], "additionalProperties": false}, "starsTransactionPeerUnsupported": {"title": "starsTransactionPeerUnsupported", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerAppStore": {"title": "starsTransactionPeerAppStore", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerAppStore"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerPlayMarket": {"title": "starsTransactionPeerPlayMarket", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerPlayMarket"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerPremiumBot": {"title": "starsTransactionPeerPremiumBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerPremiumBot"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerFragment": {"title": "starsTransactionPeerFragment", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerFragment"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeer": {"title": "starsTransactionPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeer"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}}, "required": ["_", "peer"], "additionalProperties": false}, "starsTransactionPeerAds": {"title": "starsTransactionPeerAds", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerAds"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerAPI": {"title": "starsTransactionPeerAPI", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerAPI"]}}, "required": ["_"], "additionalProperties": false}, "starsTopupOption": {"title": "starsTopupOption", "description": "[Telegram Stars-Aufladeoption](https://core.telegram.org/api/stars.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/starsTopupOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTopupOption"]}, "extended": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, darf sie nur in der vollständigen Liste der Aufladeoptionen angezeigt werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Anzahl der Telegram-Sterne.", "x-tl-type": "long", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Kennung des mit der Option verknüpften Store-Produkts, nur offizielle Apps.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preis des Produkts in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel, für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Sehen Sie sich den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json) an. Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars", "currency", "amount"], "additionalProperties": false}, "starsTransaction": {"title": "starsTransaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransaction"]}, "refund": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}, "failed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "gift": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "reaction": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "stargift_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.18?true"}, "business_transfer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.21?true"}, "stargift_resale": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.22?true"}, "posts_search": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.24?true"}, "stargift_prepaid_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.25?true"}, "stargift_drop_original_details": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.26?true"}, "phonegroup_message": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.27?true"}, "stargift_auction_bid": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.28?true"}, "offer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.29?true"}, "id": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer": {"type": "object", "x-tl-type": "StarsTransactionPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer", "starsTransactionPeerAds", "starsTransactionPeerAPI"]}}, "description": "Тип TL: StarsTransactionPeer."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.2?WebDocument"}, "transaction_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "transaction_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string"}, "bot_payload": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.7?bytes"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.8?int"}, "extended_media": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "TL Type: MessageMedia."}, "x-tl-type": "Vector<MessageMedia>", "x-tl-flag": "flags.9?Vector<MessageMedia>"}, "subscription_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.12?int"}, "giveaway_post_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.13?int"}, "stargift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift.", "x-tl-flag": "flags.14?StarGift"}, "floodskip_number": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int"}, "starref_commission_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.16?int"}, "starref_peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.17?Peer"}, "starref_amount": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount.", "x-tl-flag": "flags.17?StarsAmount"}, "paid_messages": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.19?int"}, "premium_gift_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.20?int"}, "ads_proceeds_from_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.23?int"}, "ads_proceeds_to_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.23?int"}}, "required": ["_", "id", "amount", "date", "peer"], "additionalProperties": false}, "payments.starsStatus": {"title": "payments.starsStatus", "description": "Infos zu den aktuellen [Telegram Star-Abonnements, Kontostand und Transaktionsverlauf »](https://core.telegram.org/api/stars.md#balance-and-transaction-history).", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starsStatus"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starsStatus"]}, "balance": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Aktueller Telegram Star-Guthaben.", "x-telegram-field-docs": true}, "subscriptions": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsSubscription", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsSubscription"]}}, "description": "Тип TL: StarsSubscription."}, "x-tl-type": "Vector<StarsSubscription>", "description": "Informationen zu aktuellen Telegram Star-Abonnements, werden nur zurückgegeben, wenn [payments.getStarsTransactions](https://core.telegram.org/method/payments.getStarsTransactions.md) und [payments.getStarsSubscriptions](https://core.telegram.org/method/payments.getStarsSubscriptions.md) aufgerufen werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<StarsSubscription>"}, "subscriptions_next_offset": {"type": "string", "x-tl-type": "string", "description": "Offset für die Paginierung von Abonnements: nur verwendbar und zurückgegeben beim Aufruf von [payments.getStarsSubscriptions](https://core.telegram.org/method/payments.getStarsSubscriptions.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "subscriptions_missing_balance": {"type": "string", "pattern": "^-?\\d+$", "description": "Die Anzahl der Telegram Stars, die der Benutzer kaufen sollte, um abgelaufene Abonnements bald verlängern zu können (i.e. Der aktuelle Saldo reicht nicht aus, um alle abgelaufenen Abonnements zu verlängern).", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?long"}, "history": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsTransaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsTransaction"]}}, "description": "Тип TL: StarsTransaction."}, "x-tl-type": "Vector<StarsTransaction>", "description": "Liste der Telegram Star-Transaktionen (teilweise, wenn `next_offset` gesetzt ist).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<StarsTransaction>"}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Offset, der verwendet werden soll, um mit [payments.getStarsTransactions](https://core.telegram.org/method/payments.getStarsTransactions.md)] weitere Transaktionen aus dem Transaktionsverlauf abzurufen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "In `history` erwähnte Chats.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In `history` erwähnte Benutzer.", "x-telegram-field-docs": true}}, "required": ["_", "balance", "chats", "users"], "additionalProperties": false}, "foundStory": {"title": "foundStory", "type": "object", "properties": {"_": {"type": "string", "enum": ["foundStory"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Тип TL: StoryItem."}}, "required": ["_", "peer", "story"], "additionalProperties": false}, "stories.foundStories": {"title": "stories.foundStories", "description": "Geschichten gefunden mit [globale Story-Suche »](https://core.telegram.org/api/stories.md#searching-stories).", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.foundStories"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.foundStories"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der für die Abfrage gefundenen Ergebnisse.", "x-telegram-field-docs": true}, "stories": {"type": "array", "items": {"type": "object", "x-tl-type": "FoundStory", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["foundStory"]}}, "description": "Тип TL: FoundStory."}, "x-tl-type": "Vector<FoundStory>", "description": "Passende Geschichten.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Offset, der zum Abrufen der nächsten Seite verwendet wird. Wenn nicht festgelegt, ist dies die letzte Seite.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "stories", "chats", "users"], "additionalProperties": false}, "geoPointAddress": {"title": "geoPointAddress", "type": "object", "properties": {"_": {"type": "string", "enum": ["geoPointAddress"]}, "country_iso2": {"type": "string", "x-tl-type": "string"}, "state": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "city": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "street": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}}, "required": ["_", "country_iso2"], "additionalProperties": false}, "starsRevenueStatus": {"title": "starsRevenueStatus", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsRevenueStatus"]}, "withdrawal_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "current_balance": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount."}, "available_balance": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount."}, "overall_revenue": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount."}, "next_withdrawal_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "current_balance", "available_balance", "overall_revenue"], "additionalProperties": false}, "payments.starsRevenueStats": {"title": "payments.starsRevenueStats", "description": "[Star-Umsatzstatistik, siehe hier »](https://core.telegram.org/api/stars.md) für weitere Informationen.\n\nBeachten Sie, dass alle Salden, Währungsbeträge und Diagrammwerte in Sternen angegeben sind.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starsRevenueStats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starsRevenueStats"]}, "top_hours_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Für Statistiken zu Werbeeinnahmen, Diagramm der Anzeigenimpressionen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?StatsGraph"}, "revenue_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Sterne-Umsatzdiagramm (Anzahl der verdienten Sterne)", "x-telegram-field-docs": true}, "status": {"type": "object", "x-tl-type": "StarsRevenueStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRevenueStatus"]}}, "description": "Aktuelles Guthaben, aktuelles auszahlbares Guthaben und insgesamt verdiente Telegram-Sterne", "x-telegram-field-docs": true}, "usd_rate": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Aktueller Umrechnungskurs von Telegram Stars zu USD", "x-telegram-field-docs": true}}, "required": ["_", "revenue_graph", "status", "usd_rate"], "additionalProperties": false}, "payments.starsRevenueWithdrawalUrl": {"title": "payments.starsRevenueWithdrawalUrl", "description": "Enthält die URL, die zum [Abheben von Telegram Star-Einnahmen](https://core.telegram.org/api/stars.md#withdrawing-revenue) verwendet werden kann.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starsRevenueWithdrawalUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starsRevenueWithdrawalUrl"]}, "url": {"type": "string", "x-tl-type": "string", "description": "Enthält die URL, die zum [Abheben von Telegram Star-Einnahmen](https://core.telegram.org/api/stars.md#withdrawing-revenue) verwendet werden kann.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "payments.starsRevenueAdsAccountUrl": {"title": "payments.starsRevenueAdsAccountUrl", "description": "Enthält eine URL, die zu einer Seite führt, auf der der Benutzer Anzeigen für den Kanal/Bot platzieren und mit [Telegram Stars](https://core.telegram.org/api/stars.md#paying-for-ads)] bezahlen kann.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starsRevenueAdsAccountUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starsRevenueAdsAccountUrl"]}, "url": {"type": "string", "x-tl-type": "string", "description": "URL zum Öffnen.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "inputStarsTransaction": {"title": "inputStarsTransaction", "description": "Wird zum Abrufen von Informationen zu einer [Telegram Star-Transaktion »](https://core.telegram.org/api/stars.md#balance-and-transaction-history) verwendet.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStarsTransaction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStarsTransaction"]}, "refund": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, werden Informationen zur Rückerstattungstransaktion für diese Transaktion abgerufen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "string", "x-tl-type": "string", "description": "Transaktions-ID.", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "starsGiftOption": {"title": "starsGiftOption", "description": "[Telegram Stars-Geschenkoption](https://core.telegram.org/api/stars.md#buying-or-gifting-stars).", "externalDocs": {"url": "https://core.telegram.org/constructor/starsGiftOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starsGiftOption"]}, "extended": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, darf sie nur in der vollständigen Liste der Aufladeoptionen angezeigt werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Anzahl der Telegram-Sterne.", "x-tl-type": "long", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Kennung des mit der Option verknüpften Store-Produkts, nur offizielle Apps.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preis des Produkts in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel, für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Sehen Sie sich den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json) an. Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars", "currency", "amount"], "additionalProperties": false}, "bots.popularAppBots": {"title": "bots.popularAppBots", "description": "Beliebte [Haupt-Mini-Apps](https://core.telegram.org/api/bots/webapps.md#main-mini-apps), zur Verwendung im [Apps-Tab der globalen Suche »](https://core.telegram.org/api/search.md#apps-tab).", "externalDocs": {"url": "https://core.telegram.org/constructor/bots.popularAppBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["bots.popularAppBots"]}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Offset für [Paginierung](https://core.telegram.org/api/offsets.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Die mit jeder [Haupt-Mini-App verknüpften Bots, siehe hier »](https://core.telegram.org/api/bots/webapps.md#main-mini-apps) für weitere Informationen.", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "botPreviewMedia": {"title": "botPreviewMedia", "description": "Stellt ein [Haupt-Mini-App-Vorschaumedium dar, weitere Informationen finden Sie hier »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews)«.", "externalDocs": {"url": "https://core.telegram.org/constructor/botPreviewMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botPreviewMedia"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wann wurde dieses Medium zuletzt aktualisiert?", "x-telegram-field-docs": true}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "Das eigentliche Foto/Video.", "x-telegram-field-docs": true}}, "required": ["_", "date", "media"], "additionalProperties": false}, "bots.previewInfo": {"title": "bots.previewInfo", "description": "Enthält Informationen zu [Vorschauen der Haupt-Mini-App, weitere Informationen finden Sie hier »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews)«.", "externalDocs": {"url": "https://core.telegram.org/constructor/bots.previewInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["bots.previewInfo"]}, "media": {"type": "array", "items": {"type": "object", "x-tl-type": "BotPreviewMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botPreviewMedia"]}}, "description": "TL Type: BotPreviewMedia."}, "x-tl-type": "Vector<BotPreviewMedia>", "description": "Alle Vorschaumedien für den an [bots.getPreviewInfo](https://core.telegram.org/method/bots.getPreviewInfo.md) übergebenen Sprachcode.", "x-telegram-field-docs": true}, "lang_codes": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Alle verfügbaren Sprachcodes, für die Vorschaumedien hochgeladen wurden (unabhängig vom Sprachcode, der an [bots.getPreviewInfo](https://core.telegram.org/method/bots.getPreviewInfo.md)) übergeben wurde.", "x-telegram-field-docs": true}}, "required": ["_", "media", "lang_codes"], "additionalProperties": false}, "starsSubscriptionPricing": {"title": "starsSubscriptionPricing", "description": "Preise für ein [Telegram Star-Abonnement »](https://core.telegram.org/api/invites.md#paid-invite-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/starsSubscriptionPricing"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starsSubscriptionPricing"]}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Der Benutzer sollte alle `period` Sekunden `amount` Sterne bezahlen, um Zugriff auf den Kanal zu erhalten und aufrechtzuerhalten.  Derzeit ist der einzige zulässige Abonnementzeitraum `30*24*60*60`, i.e. Dem Benutzer wird jeden Monat der Betrag Sterne abgebucht.", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Preis des Abonnements in Telegram Stars.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "period", "amount"], "additionalProperties": false}, "starsSubscription": {"title": "starsSubscription", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsSubscription"]}, "canceled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "can_refulfill": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "missing_balance": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "bot_canceled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "id": {"type": "string", "x-tl-type": "string"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pricing": {"type": "object", "x-tl-type": "StarsSubscriptionPricing", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsSubscriptionPricing"]}}, "description": "Тип TL: StarsSubscriptionPricing."}, "chat_invite_hash": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.5?WebDocument"}, "invoice_slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.6?string"}}, "required": ["_", "id", "peer", "until_date", "pricing"], "additionalProperties": false}, "messageReactor": {"title": "messageReactor", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageReactor"]}, "top": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "my": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "anonymous": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.3?Peer"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "count"], "additionalProperties": false}, "starsGiveawayOption": {"title": "starsGiveawayOption", "description": "Enthält Informationen zu einer [Telegram Star-Gewinnspiel](https://core.telegram.org/api/giveaways.md#star-giveaways)-Option.", "externalDocs": {"url": "https://core.telegram.org/constructor/starsGiveawayOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starsGiveawayOption"]}, "extended": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, darf sie nur in der vollständigen Liste der Giveaway-Optionen angezeigt werden (i.e. Sie dürfen der Liste nur hinzugefügt werden, wenn der Benutzer auf die Schaltfläche „Erweitern“ klickt).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn diese Option festgelegt ist, muss sie standardmäßig in der Optionsliste vorab ausgewählt sein.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Die Anzahl der Telegram Stars, die unter den Gewinnern verteilt werden", "x-tl-type": "long", "x-telegram-field-docs": true}, "yearly_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gibt an, wie oft der Chat ein Jahr lang geboostet wird, wenn das Flag [inputStorePaymentStarsGiveaway](https://core.telegram.org/constructor/inputStorePaymentStarsGiveaway.md).`boost_peer`] ausgefüllt ist", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Kennung des mit der Option verknüpften Store-Produkts, nur offizielle Apps.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies) Code", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Gesamtpreis in den kleinsten Einheiten der Währung (Ganzzahl, nicht Float/Double). Zum Beispiel für einen Preis von `US$ 1.45` gehen Sie `amount = 145`. Siehe den exp-Parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json). Er zeigt die Anzahl der Nachkommastellen für jede Währung an (2 für die meisten Währungen).", "x-tl-type": "long", "x-telegram-field-docs": true}, "winners": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsGiveawayWinnersOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsGiveawayWinnersOption"]}}, "description": "Тип TL: StarsGiveawayWinnersOption."}, "x-tl-type": "Vector<StarsGiveawayWinnersOption>", "description": "Zulässige Optionen für die Anzahl der Giveaway-Gewinner.", "x-telegram-field-docs": true}}, "required": ["_", "stars", "yearly_boosts", "currency", "amount", "winners"], "additionalProperties": false}, "starsGiveawayWinnersOption": {"title": "starsGiveawayWinnersOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsGiveawayWinnersOption"]}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "users": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "per_user_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "users", "per_user_stars"], "additionalProperties": false}, "starGift": {"title": "starGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGift"]}, "limited": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "sold_out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "birthday": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "limited_per_user": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "peer_color_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "auction": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true"}, "new": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "sticker": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "availability_remains": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "availability_total": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "availability_resale": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "convert_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "first_sale_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "last_sale_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "resell_min_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string"}, "released_by": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.6?Peer"}, "per_user_total": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.8?int"}, "per_user_remains": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.8?int"}, "locked_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.9?int"}, "auction_slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.11?string"}, "gifts_per_round": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}, "auction_start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}, "upgrade_variants": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.12?int"}, "background": {"type": "object", "x-tl-type": "StarGiftBackground", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftBackground"]}}, "description": "Тип TL: StarGiftBackground.", "x-tl-flag": "flags.13?StarGiftBackground"}}, "required": ["_", "id", "sticker", "stars", "convert_stars"], "additionalProperties": false}, "starGiftUnique": {"title": "starGiftUnique", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftUnique"]}, "require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "resale_ton_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "theme_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "burned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true"}, "crafted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true"}, "onchain_sale": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true"}, "fixed_sale": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true"}, "my_sale": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.21?true"}, "offer_min_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "fee_bps": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.20?int"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}, "slug": {"type": "string", "x-tl-type": "string"}, "num": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "owner_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.0?Peer"}, "owner_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "owner_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]}}, "description": "Тип TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>"}, "availability_issued": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "availability_total": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "gift_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "resell_amount": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Тип TL: StarsAmount."}, "x-tl-type": "Vector<StarsAmount>", "x-tl-flag": "flags.4?Vector<StarsAmount>"}, "released_by": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.5?Peer"}, "value_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "value_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.8?string"}, "value_usd_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "theme_peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.10?Peer"}, "peer_color": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Тип TL: PeerColor.", "x-tl-flag": "flags.11?PeerColor"}, "host_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.12?Peer"}, "offer_min_stars": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.13?int"}, "craft_chance_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.16?int"}}, "required": ["_", "id", "gift_id", "title", "slug", "num", "attributes", "availability_issued", "availability_total"], "additionalProperties": false}, "payments.starGiftsNotModified": {"title": "payments.starGiftsNotModified", "description": "Die Liste der verfügbaren [Geschenke »](https://core.telegram.org/api/gifts.md) hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "payments.starGifts": {"title": "payments.starGifts", "description": "Verfügbar [Geschenke »](https://core.telegram.org/api/gifts.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGifts"]}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}, "gifts": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "x-tl-type": "Vector<StarGift>", "description": "Liste der verfügbaren Geschenke.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Im Feld `gifts` erwähnte Chats.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Im Feld `gifts` erwähnte Benutzer.", "x-telegram-field-docs": true}}, "required": ["_", "hash", "gifts", "chats", "users"], "additionalProperties": false}, "messageReportOption": {"title": "messageReportOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageReportOption"]}, "text": {"type": "string", "x-tl-type": "string"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "text", "option"], "additionalProperties": false}, "reportResultChooseOption": {"title": "reportResultChooseOption", "description": "Der Benutzer muss eine der folgenden Optionen auswählen, und dann muss [messages.report](https://core.telegram.org/method/messages.report.md) erneut aufgerufen werden, wobei der `option`-Bezeichner der Option an [messages.report](https://core.telegram.org/method/messages.report.md).`option`“ übergeben wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/reportResultChooseOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reportResultChooseOption"]}, "title": {"type": "string", "x-tl-type": "string", "description": "Titel des Options-Popups", "x-telegram-field-docs": true}, "options": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageReportOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReportOption"]}}, "description": "Тип TL: MessageReportOption."}, "x-tl-type": "Vector<MessageReportOption>", "description": "Verfügbare Optionen, gerendert als Menüeinträge.", "x-telegram-field-docs": true}}, "required": ["_", "title", "options"], "additionalProperties": false}, "reportResultAddComment": {"title": "reportResultAddComment", "description": "Der Benutzer sollte einen zusätzlichen Kommentar für die Moderatoren eingeben, und dann muss [messages.report](https://core.telegram.org/method/messages.report.md) erneut aufgerufen werden, wobei der Kommentar an [messages.report](https://core.telegram.org/method/messages.report.md).`message`“ übergeben wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/reportResultAddComment"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reportResultAddComment"]}, "optional": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob dieser Schritt vom Benutzer übersprungen werden kann, indem ein leeres `message` an [messages.report](https://core.telegram.org/method/messages.report.md) übergeben wird, oder ob ein nicht leeres `message` obligatorisch ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Die Methode [messages.report](https://core.telegram.org/method/messages.report.md) muss erneut aufgerufen werden, indem diese Option an `option` übergeben wird.", "x-telegram-field-docs": true}}, "required": ["_", "option"], "additionalProperties": false}, "reportResultReported": {"title": "reportResultReported", "description": "Der Bericht wurde erfolgreich gesendet, es sind keine weiteren Maßnahmen erforderlich.", "externalDocs": {"url": "https://core.telegram.org/constructor/reportResultReported"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reportResultReported"]}}, "required": ["_"], "additionalProperties": false}, "messages.botPreparedInlineMessage": {"title": "messages.botPreparedInlineMessage", "description": "Stellt eine [vorbereitete Inline-Nachricht dar, die von einem Bot gespeichert wurde und über eine Web-App an den Benutzer gesendet werden soll »](https://core.telegram.org/api/bots/inline.md#21-using-a-prepared-inline-message)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.botPreparedInlineMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.botPreparedInlineMessage"]}, "id": {"type": "string", "x-tl-type": "string", "description": "Die ID der gespeicherten Nachricht, die an das `id`-Feld des [web_app_send_prepared_message-Ereignisses »](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)", "x-telegram-field-docs": true}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ablaufdatum der Nachricht", "x-telegram-field-docs": true}}, "required": ["_", "id", "expire_date"], "additionalProperties": false}, "messages.preparedInlineMessage": {"title": "messages.preparedInlineMessage", "description": "Stellt eine [vorbereitete Inline-Nachricht dar, die über die Mini-App eines Bots empfangen wurde und an einige Chats gesendet werden kann »](https://core.telegram.org/api/bots/inline.md#21-using-a-prepared-inline-message)", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.preparedInlineMessage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.preparedInlineMessage"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Die `query_id` zur Weitergabe an [messages.sendInlineBotResult](https://core.telegram.org/method/messages.sendInlineBotResult.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "result": {"type": "object", "x-tl-type": "BotInlineResult", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botInlineResult", "botInlineMediaResult"]}}, "description": "Der Inhalt der Nachricht, der in einer Vorschau angezeigt werden soll", "x-telegram-field-docs": true}, "peer_types": {"type": "array", "items": {"type": "object", "x-tl-type": "InlineQueryPeerType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeSameBotPM", "inlineQueryPeerTypePM", "inlineQueryPeerTypeChat", "inlineQueryPeerTypeMegagroup", "inlineQueryPeerTypeBroadcast", "inlineQueryPeerTypeBotPM"]}}, "description": "TL Type: InlineQueryPeerType."}, "x-tl-type": "Vector<InlineQueryPeerType>", "description": "Arten von Chats, an die diese Nachricht gesendet werden kann", "x-telegram-field-docs": true}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Caching-Gültigkeit der Ergebnisse", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In den Ergebnissen erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "query_id", "result", "peer_types", "cache_time", "users"], "additionalProperties": false}, "botAppSettings": {"title": "botAppSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["botAppSettings"]}, "placeholder_path": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "background_dark_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}, "header_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "header_dark_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_"], "additionalProperties": false}, "starRefProgram": {"title": "starRefProgram", "description": "Informationen zu einem [von einem Bot angebotenen Partnerprogramm](https://core.telegram.org/api/bots/referrals.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/starRefProgram"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starRefProgram"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Bots, der das Programm anbietet", "x-tl-type": "long", "x-telegram-field-docs": true}, "commission_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ein Partner erhält eine Provision von [starRefProgram](https://core.telegram.org/constructor/starRefProgram.md).`commission_permille`‰ [Telegram Stars](https://core.telegram.org/api/stars.md)] für jede Mini-App-Transaktion, die von Benutzern durchgeführt wird, die er geworben hat", "x-telegram-field-docs": true}, "duration_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ein Partner erhält eine Provision für jede Mini-App-Transaktion, die von den von ihm geworbenen Benutzern getätigt wird, und zwar `duration_months` Monate lang, nachdem ein Empfehlungslink importiert und der Bot zum ersten Mal gestartet wurde", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Zeitpunkt (Unix-Zeitstempel), zu dem das Partnerprogramm geschlossen wird (optional, wenn nicht festgelegt, ist die Schließung des Partnerprogramms nicht geplant)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "daily_revenue_per_user": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Die Höhe des täglichen Umsatzes pro Benutzer in Telegram Stars des Bots, der das Partnerprogramm erstellt hat.  Um den ungefähren Umsatz pro geworbenem Benutzer zu erhalten, multiplizieren Sie diesen Wert mit `commission_permille` und dividieren Sie ihn durch `1000`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?StarsAmount"}}, "required": ["_", "bot_id", "commission_permille"], "additionalProperties": false}, "connectedBotStarRef": {"title": "connectedBotStarRef", "type": "object", "properties": {"_": {"type": "string", "enum": ["connectedBotStarRef"]}, "revoked": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "url": {"type": "string", "x-tl-type": "string"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "commission_permille": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "duration_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "participants": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "revenue": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "url", "date", "bot_id", "commission_permille", "participants", "revenue"], "additionalProperties": false}, "payments.connectedStarRefBots": {"title": "payments.connectedStarRefBots", "description": "Aktiv [Zugehörigkeiten](https://core.telegram.org/api/bots/referrals.md#becoming-an-affiliate)", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.connectedStarRefBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.connectedStarRefBots"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der aktiven Zugehörigkeiten", "x-telegram-field-docs": true}, "connected_bots": {"type": "array", "items": {"type": "object", "x-tl-type": "ConnectedBotStarRef", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["connectedBotStarRef"]}}, "description": "Тип TL: ConnectedBotStarRef."}, "x-tl-type": "Vector<ConnectedBotStarRef>", "description": "Die Zugehörigkeiten", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In `connected_bots` erwähnte Kollegen", "x-telegram-field-docs": true}}, "required": ["_", "count", "connected_bots", "users"], "additionalProperties": false}, "payments.suggestedStarRefBots": {"title": "payments.suggestedStarRefBots", "description": "Eine Liste vorgeschlagener [Mini-Apps](https://core.telegram.org/api/bots/webapps.md) mit verfügbaren [Partnerprogrammen](https://core.telegram.org/api/bots/referrals.md)]", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.suggestedStarRefBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.suggestedStarRefBots"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Ergebnisse (für Paginierung)", "x-telegram-field-docs": true}, "suggested_bots": {"type": "array", "items": {"type": "object", "x-tl-type": "StarRefProgram", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starRefProgram"]}}, "description": "TL Type: StarRefProgram."}, "x-tl-type": "Vector<StarRefProgram>", "description": "Vorgeschlagene Partnerprogramme (vollständige oder teilweise Liste, die mithilfe der Paginierung abgerufen werden kann)", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In `suggested_bots` erwähnte Kollegen", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Nächster Offset für [Paginierung](https://core.telegram.org/api/offsets.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "count", "suggested_bots", "users"], "additionalProperties": false}, "starsAmount": {"title": "starsAmount", "description": "Beschreibt eine reale (i.e, möglicherweise dezimale) Menge an [Telegram Stars](https://core.telegram.org/api/stars.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/starsAmount"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starsAmount"]}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Die ganzzahlige Anzahl an Telegram-Sternen.", "x-tl-type": "long", "x-telegram-field-docs": true}, "nanos": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die dezimale Anzahl von Telegram Stars, ausgedrückt als Nanostars (i.e. 1 Nanostar entspricht `1/1_000_000_000`stel (einem Milliardstel) eines Telegram Stars).  Dieses Feld kann auch negativ sein (der zulässige Bereich liegt zwischen `-999_999_999` und `999_999_999`).", "x-telegram-field-docs": true}}, "required": ["_", "amount", "nanos"], "additionalProperties": false}, "starsTonAmount": {"title": "starsTonAmount", "description": "Beschreibt eine Grammmenge in Nanogramm (i.e. `1/1_000_000_000` eines Gramms).", "externalDocs": {"url": "https://core.telegram.org/constructor/starsTonAmount"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTonAmount"]}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Die Menge in Nanogramm.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "amount"], "additionalProperties": false}, "messages.foundStickersNotModified": {"title": "messages.foundStickersNotModified", "description": "Für die angegebene Suchanfrage wurden keine neuen Aufkleber gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.foundStickersNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.foundStickersNotModified"]}, "next_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset für [Paginierung](https://core.telegram.org/api/offsets.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_"], "additionalProperties": false}, "messages.foundStickers": {"title": "messages.foundStickers", "description": "Aufkleber gefunden", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.foundStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.foundStickers"]}, "next_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Offset für [Paginierung](https://core.telegram.org/api/offsets.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash wird zum Zwischenspeichern verwendet, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Aufkleber gefunden", "x-telegram-field-docs": true}}, "required": ["_", "hash", "stickers"], "additionalProperties": false}, "botVerifierSettings": {"title": "botVerifierSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["botVerifierSettings"]}, "can_modify_custom_description": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "icon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "company": {"type": "string", "x-tl-type": "string"}, "custom_description": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "icon", "company"], "additionalProperties": false}, "botVerification": {"title": "botVerification", "type": "object", "properties": {"_": {"type": "string", "enum": ["botVerification"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "icon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "description": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities."}}, "required": ["_", "bot_id", "icon", "description"], "additionalProperties": false}, "starGiftAttributeModel": {"title": "starGiftAttributeModel", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeModel"]}, "crafted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "name": {"type": "string", "x-tl-type": "string"}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "rarity": {"type": "object", "x-tl-type": "StarGiftAttributeRarity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity", "starGiftAttributeRarityUncommon", "starGiftAttributeRarityRare", "starGiftAttributeRarityEpic", "starGiftAttributeRarityLegendary"]}}, "description": "Тип TL: StarGiftAttributeRarity."}}, "required": ["_", "name", "document", "rarity"], "additionalProperties": false}, "starGiftAttributePattern": {"title": "starGiftAttributePattern", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributePattern"]}, "name": {"type": "string", "x-tl-type": "string"}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "rarity": {"type": "object", "x-tl-type": "StarGiftAttributeRarity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity", "starGiftAttributeRarityUncommon", "starGiftAttributeRarityRare", "starGiftAttributeRarityEpic", "starGiftAttributeRarityLegendary"]}}, "description": "Тип TL: StarGiftAttributeRarity."}}, "required": ["_", "name", "document", "rarity"], "additionalProperties": false}, "starGiftAttributeBackdrop": {"title": "starGiftAttributeBackdrop", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeBackdrop"]}, "name": {"type": "string", "x-tl-type": "string"}, "backdrop_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "center_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "edge_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pattern_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "text_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rarity": {"type": "object", "x-tl-type": "StarGiftAttributeRarity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity", "starGiftAttributeRarityUncommon", "starGiftAttributeRarityRare", "starGiftAttributeRarityEpic", "starGiftAttributeRarityLegendary"]}}, "description": "Тип TL: StarGiftAttributeRarity."}}, "required": ["_", "name", "backdrop_id", "center_color", "edge_color", "pattern_color", "text_color", "rarity"], "additionalProperties": false}, "starGiftAttributeOriginalDetails": {"title": "starGiftAttributeOriginalDetails", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeOriginalDetails"]}, "sender_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.0?Peer"}, "recipient_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "recipient_id", "date"], "additionalProperties": false}, "payments.starGiftUpgradePreview": {"title": "payments.starGiftUpgradePreview", "description": "Eine Vorschau der möglichen Attribute (zufällig ausgewählt), die ein [Geschenk »](https://core.telegram.org/api/gifts.md) erhalten kann, nachdem es zu einem [Sammelgeschenk »](https://core.telegram.org/api/gifts.md#collectible-gifts)] aufgewertet wurde, siehe [hier »](https://core.telegram.org/api/gifts.md#collectible-gifts) für weitere Informationen.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftUpgradePreview"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftUpgradePreview"]}, "sample_attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]}}, "description": "Тип TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>", "description": "Mögliche Geschenkattribute", "x-telegram-field-docs": true}, "prices": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftUpgradePrice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftUpgradePrice"]}}, "description": "Тип TL: StarGiftUpgradePrice."}, "x-tl-type": "Vector<StarGiftUpgradePrice>", "description": "Enthält eine ähnliche Liste von Upgrade-Preisen und Zeitstempeln, nicht so detailliert wie in `next_prices` (i.e. Die Preise liegen etwa einen Monat auseinander), die hauptsächlich zur Skalierung des Preisdiagramms und zur Darstellung eines allgemeineren zukünftigen Überblicks über den Upgrade-Preis verwendet werden soll.", "x-telegram-field-docs": true}, "next_prices": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftUpgradePrice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftUpgradePrice"]}}, "description": "Тип TL: StarGiftUpgradePrice."}, "x-tl-type": "Vector<StarGiftUpgradePrice>", "description": "Enthält den aktuellen Upgrade-Preis und eine Liste zukünftiger Preise, die jeweils mit einem Zeitstempel UNIX verknüpft sind, der angibt, wann der Preis in Kraft tritt (der aktuelle Preis ist nur bis zum Inkrafttreten des nächsten gültig und so weiter für alle Preise in der Liste).", "x-telegram-field-docs": true}}, "required": ["_", "sample_attributes", "prices", "next_prices"], "additionalProperties": false}, "users.users": {"title": "users.users", "description": "Beschreibt eine Liste von Benutzern (oder Bots).", "externalDocs": {"url": "https://core.telegram.org/constructor/users.users"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["users.users"]}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "users.usersSlice": {"title": "users.usersSlice", "description": "Beschreibt eine unvollständige Liste von Benutzern.", "externalDocs": {"url": "https://core.telegram.org/constructor/users.usersSlice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["users.usersSlice"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Benutzer (größer als die in `users` angegebenen Benutzer)", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Teilmenge der Benutzer.", "x-telegram-field-docs": true}}, "required": ["_", "count", "users"], "additionalProperties": false}, "payments.uniqueStarGift": {"title": "payments.uniqueStarGift", "description": "Stellt ein [Sammelgeschenk »](https://core.telegram.org/api/gifts.md#collectible-gifts) dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.uniqueStarGift"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.uniqueStarGift"]}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Der [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md)-Konstruktor.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Im Feld `gift` erwähnte Chats.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Im Feld `gift` erwähnte Benutzer.", "x-telegram-field-docs": true}}, "required": ["_", "gift", "chats", "users"], "additionalProperties": false}, "messages.webPagePreview": {"title": "messages.webPagePreview", "description": "Stellt eine Webseitenvorschau dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.webPagePreview"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.webPagePreview"]}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "Die [messageMediaWebPage](https://core.telegram.org/constructor/messageMediaWebPage.md) oder eine [messageMediaEmpty](https://core.telegram.org/constructor/messageMediaEmpty.md), wenn es keine Vorschau gibt.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Im Feld `gift` erwähnte Chats.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Im Objekt `media` erwähnte Benutzer.", "x-telegram-field-docs": true}}, "required": ["_", "media", "chats", "users"], "additionalProperties": false}, "savedStarGift": {"title": "savedStarGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["savedStarGift"]}, "name_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "unsaved": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "refunded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true"}, "can_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true"}, "pinned_to_top": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "upgrade_separate": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.1?Peer"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.2?TextWithEntities"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int"}, "saved_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.11?long"}, "convert_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.6?long"}, "can_export_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.7?int"}, "transfer_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "can_transfer_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.13?int"}, "can_resell_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.14?int"}, "collection_id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "x-tl-flag": "flags.15?Vector<int>"}, "prepaid_upgrade_hash": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.16?string"}, "drop_original_details_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "gift_num": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.19?int"}, "can_craft_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.20?int"}}, "required": ["_", "date", "gift"], "additionalProperties": false}, "payments.savedStarGifts": {"title": "payments.savedStarGifts", "description": "Stellt eine Liste von [Geschenken](https://core.telegram.org/api/gifts.md)] dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.savedStarGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.savedStarGifts"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Ergebnisse (kann kleiner sein als die zurückgegebenen `gifts`, in diesem Fall wird `next_offset` gesetzt).", "x-telegram-field-docs": true}, "chat_notifications_enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Ternärer Wert: kann nicht gesetzt werden, set&true, set&false.  Kann nur für Kanäle festgelegt werden, die uns gehören: Der Wert gibt an, ob wir für diesen Kanal Geschenkbenachrichtigungen aktiviert haben](https://core.telegram.org/api/gifts.md#notifications-for-received-channel-gifts).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Bool"}, "gifts": {"type": "array", "items": {"type": "object", "x-tl-type": "SavedStarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["savedStarGift"]}}, "description": "Тип TL: SavedStarGift."}, "x-tl-type": "Vector<SavedStarGift>", "description": "Geschenke", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Offset zur Übergabe an [payments.getSavedStarGifts](https://core.telegram.org/method/payments.getSavedStarGifts.md) zum Abrufen der nächsten Ergebnisseite.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "In `gifts` erwähnte Kanäle", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In `gifts` erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "count", "gifts", "chats", "users"], "additionalProperties": false}, "inputSavedStarGiftUser": {"title": "inputSavedStarGiftUser", "description": "Ein Geschenk, das in einem privaten Chat mit einem anderen Benutzer erhalten wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputSavedStarGiftUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSavedStarGiftUser"]}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID des [messageService](https://core.telegram.org/constructor/messageService.md) mit dem [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) mit dem Geschenk.", "x-telegram-field-docs": true}}, "required": ["_", "msg_id"], "additionalProperties": false}, "inputSavedStarGiftChat": {"title": "inputSavedStarGiftChat", "description": "Ein Geschenk, das wir von einem Kanal erhalten haben, der uns gehört.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputSavedStarGiftChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSavedStarGiftChat"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Kanal.", "x-telegram-field-docs": true}, "saved_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Die ID des Geschenks muss `saved_id` eines [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md)-Konstruktors“ sein.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "saved_id"], "additionalProperties": false}, "inputSavedStarGiftSlug": {"title": "inputSavedStarGiftSlug", "description": "Zeigt auf ein [Sammelgeschenk, das über einen Sammelgeschenk-Link »](https://core.telegram.org/api/links.md#collectible-gift-link) erhalten wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputSavedStarGiftSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSavedStarGiftSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Slug vom Link.", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "payments.starGiftWithdrawalUrl": {"title": "payments.starGiftWithdrawalUrl", "description": "Ein URL, das zum Importieren des exportierten NFT auf Fragment verwendet werden kann.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftWithdrawalUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftWithdrawalUrl"]}, "url": {"type": "string", "x-tl-type": "string", "description": "Die URL zum Öffnen.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "paidReactionPrivacyDefault": {"title": "paidReactionPrivacyDefault", "description": "Verwendet die Standard-Reaktions-Privatsphäre, eingestellt mit [messages.togglePaidReactionPrivacy](https://core.telegram.org/method/messages.togglePaidReactionPrivacy.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/paidReactionPrivacyDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["paidReactionPrivacyDefault"]}}, "required": ["_"], "additionalProperties": false}, "paidReactionPrivacyAnonymous": {"title": "paidReactionPrivacyAnonymous", "description": "Senden Sie bezahlte Reaktionen anonym.", "externalDocs": {"url": "https://core.telegram.org/constructor/paidReactionPrivacyAnonymous"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["paidReactionPrivacyAnonymous"]}}, "required": ["_"], "additionalProperties": false}, "paidReactionPrivacyPeer": {"title": "paidReactionPrivacyPeer", "description": "Senden Sie bezahlte Reaktionen als angegebenen Peer, abgerufen mit [channels.getSendAs](https://core.telegram.org/method/channels.getSendAs.md) mit gesetztem `for_paid_reactions`-Flag.", "externalDocs": {"url": "https://core.telegram.org/constructor/paidReactionPrivacyPeer"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["paidReactionPrivacyPeer"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "Der Peer, an den Reaktionen gesendet werden sollen.", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "account.paidMessagesRevenue": {"title": "account.paidMessagesRevenue", "description": "Gesamtzahl der nicht erstatteten [Telegram Stars](https://core.telegram.org/api/stars.md), die ein Benutzer ausgegeben hat, um uns entweder direkt oder über einen Kanal Nachrichten zu senden. Weitere Informationen zu kostenpflichtigen Nachrichten finden Sie [hier »](https://core.telegram.org/api/paid-messages.md)].", "externalDocs": {"url": "https://core.telegram.org/constructor/account.paidMessagesRevenue"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.paidMessagesRevenue"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Betrag in [Sternen](https://core.telegram.org/api/stars.md).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars_amount"], "additionalProperties": false}, "requirementToContactEmpty": {"title": "requirementToContactEmpty", "description": "Dieser Benutzer kann frei kontaktiert werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/requirementToContactEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["requirementToContactEmpty"]}}, "required": ["_"], "additionalProperties": false}, "requirementToContactPremium": {"title": "requirementToContactPremium", "description": "Für diesen Benutzer müssen wir ein [Premium](https://core.telegram.org/api/premium.md)-Abonnement] erwerben, um ihn kontaktieren zu können.", "externalDocs": {"url": "https://core.telegram.org/constructor/requirementToContactPremium"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["requirementToContactPremium"]}}, "required": ["_"], "additionalProperties": false}, "requirementToContactPaidMessages": {"title": "requirementToContactPaidMessages", "description": "Dieser Benutzer verlangt von uns die Zahlung des angegebenen Betrags von [Telegram Stars](https://core.telegram.org/api/stars.md), um ihm eine Nachricht zu senden. Den vollständigen Ablauf finden Sie [hier »](https://core.telegram.org/api/paid-messages.md)].", "externalDocs": {"url": "https://core.telegram.org/constructor/requirementToContactPaidMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["requirementToContactPaidMessages"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Die erforderliche Menge an [Telegram Stars](https://core.telegram.org/api/stars.md).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars_amount"], "additionalProperties": false}, "businessBotRights": {"title": "businessBotRights", "description": "[Business-Bot-Rechte](https://core.telegram.org/api/bots/connected-business-bots.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/businessBotRights"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["businessBotRights"]}, "reply": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot Nachrichten in privaten Chats senden und bearbeiten kann, in denen in den letzten 24 Stunden Nachrichten eingegangen sind.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "read_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot eingehende private Nachrichten als gelesen markieren kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "delete_sent_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot vom Bot gesendete Nachrichten löschen kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "delete_received_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot empfangene private Nachrichten in verwalteten Chats löschen kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "edit_name": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot den Vor- und Nachnamen des Geschäftskontos bearbeiten kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "edit_bio": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot die Biografie des Geschäftskontos bearbeiten kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "edit_profile_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot das Profilfoto des Geschäftskontos bearbeiten kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "edit_username": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot den Benutzernamen des Geschäftskontos bearbeiten kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "view_gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot Geschenke und die Anzahl der Telegram Stars sehen kann, die das Geschäftskonto besitzt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "sell_gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot reguläre Geschenke des Geschäftskontos in Telegram Stars umwandeln kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "change_gift_settings": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot die Datenschutzeinstellungen für Geschenke für das Geschäftskonto ändern kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "transfer_and_upgrade_gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot Geschenke übertragen und upgraden kann, die dem Geschäftskonto gehören.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "transfer_stars": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot vom Geschäftskonto erhaltene Telegram Stars auf sein eigenes Konto übertragen oder sie zum Upgraden und Übertragen von Geschenken verwenden kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "manage_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Bot im Namen des Geschäftskontos Geschichten posten, bearbeiten und löschen kann.", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}}, "required": ["_"], "additionalProperties": false}, "disallowedGiftsSettings": {"title": "disallowedGiftsSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["disallowedGiftsSettings"]}, "disallow_unlimited_stargifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "disallow_limited_stargifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "disallow_unique_stargifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "disallow_premium_gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "disallow_stargifts_from_channels": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true"}}, "required": ["_"], "additionalProperties": false}, "sponsoredPeer": {"title": "sponsoredPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["sponsoredPeer"]}, "random_id": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "sponsor_info": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "additional_info": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "random_id", "peer"], "additionalProperties": false}, "contacts.sponsoredPeersEmpty": {"title": "contacts.sponsoredPeersEmpty", "description": "Für diese Abfrage gibt es keine gesponserten Peers.", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.sponsoredPeersEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.sponsoredPeersEmpty"]}}, "required": ["_"], "additionalProperties": false}, "contacts.sponsoredPeers": {"title": "contacts.sponsoredPeers", "description": "Gesponserte Kollegen.", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.sponsoredPeers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.sponsoredPeers"]}, "peers": {"type": "array", "items": {"type": "object", "x-tl-type": "SponsoredPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sponsoredPeer"]}}, "description": "Тип TL: SponsoredPeer."}, "x-tl-type": "Vector<SponsoredPeer>", "description": "Gesponserte Kollegen.", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Infos zu gesponserten Chats und Kanälen", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Informationen zu gesponserten Benutzern", "x-telegram-field-docs": true}}, "required": ["_", "peers", "chats", "users"], "additionalProperties": false}, "starGiftAttributeIdModel": {"title": "starGiftAttributeIdModel", "description": "Die ID eines Modells eines [Sammelgeschenks »](https://core.telegram.org/api/gifts.md#collectible-gifts).", "externalDocs": {"url": "https://core.telegram.org/constructor/starGiftAttributeIdModel"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeIdModel"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Der [Aufkleber](https://core.telegram.org/api/stickers.md)] stellt das verbesserte Geschenk dar", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "document_id"], "additionalProperties": false}, "starGiftAttributeIdPattern": {"title": "starGiftAttributeIdPattern", "description": "Die ID eines Musters eines [Sammelgeschenks »](https://core.telegram.org/api/gifts.md#collectible-gifts).", "externalDocs": {"url": "https://core.telegram.org/constructor/starGiftAttributeIdPattern"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeIdPattern"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Der [Aufkleber](https://core.telegram.org/api/stickers.md), der das Symbol darstellt", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "document_id"], "additionalProperties": false}, "starGiftAttributeIdBackdrop": {"title": "starGiftAttributeIdBackdrop", "description": "Die ID eines Hintergrunds eines [Sammelgeschenks »](https://core.telegram.org/api/gifts.md#collectible-gifts).", "externalDocs": {"url": "https://core.telegram.org/constructor/starGiftAttributeIdBackdrop"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeIdBackdrop"]}, "backdrop_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Eindeutige ID des Hintergrunds.", "x-telegram-field-docs": true}}, "required": ["_", "backdrop_id"], "additionalProperties": false}, "starGiftAttributeCounter": {"title": "starGiftAttributeCounter", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeCounter"]}, "attribute": {"type": "object", "x-tl-type": "StarGiftAttributeId", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeIdModel", "starGiftAttributeIdPattern", "starGiftAttributeIdBackdrop"]}}, "description": "TL Type: StarGiftAttributeId."}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "attribute", "count"], "additionalProperties": false}, "payments.resaleStarGifts": {"title": "payments.resaleStarGifts", "description": "Liste der Geschenke, die derzeit im [Wiederverkauf »](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts)] angeboten werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.resaleStarGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.resaleStarGifts"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Ergebnisse.", "x-telegram-field-docs": true}, "gifts": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "x-tl-type": "Vector<StarGift>", "description": "Sammlergeschenke beim Weiterverkauf (kann weniger als `count` betragen, in diesem Fall wird `next_offset` festgelegt).", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Offset für die Paginierung, übergeben Sie dies an [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`offset`, um die nächsten Ergebnisse abzurufen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]}}, "description": "Тип TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>", "description": "Mögliche Geschenkattribute, nur gesetzt, wenn [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`attributes_hash` gesetzt ist (beim ersten Aufruf muss es gleich `0` sein).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<StarGiftAttribute>"}, "attributes_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash des Felds `attributes`, übergeben Sie diesen an [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`attributes_hash`, um zu vermeiden, dass Attribute zurückgegeben werden (Flag nicht gesetzt), wenn sie sich nicht geändert haben.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?long"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "In den Attributen erwähnte Chats.", "x-telegram-field-docs": true}, "counters": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAttributeCounter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeCounter"]}}, "description": "Тип TL: StarGiftAttributeCounter."}, "x-tl-type": "Vector<StarGiftAttributeCounter>", "description": "Gibt die Gesamtzahl der Geschenke an, die ein bestimmtes Attribut haben. Wird nur gesetzt, wenn [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`offset` leer ist (da sich dieses Feld nicht auf die aktuelle Ergebnisseite, sondern auf alle bezieht, wird es nur auf der ersten Seite zurückgegeben).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<StarGiftAttributeCounter>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In den Attributen erwähnte Benutzer.", "x-telegram-field-docs": true}}, "required": ["_", "count", "gifts", "chats", "users"], "additionalProperties": false}, "stories.canSendStoryCount": {"title": "stories.canSendStoryCount", "description": "Enthält die Anzahl der verfügbaren aktiven Story-Slots (entspricht dem Wert des [`story_expiring_limit_*` Client-Konfigurationsparameters](https://core.telegram.org/api/config.md#story-expiring-limit-default) minus der Anzahl der aktuell aktiven Storys).", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.canSendStoryCount"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.canSendStoryCount"]}, "count_remains": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Verbleibende aktive Story-Slots.", "x-telegram-field-docs": true}}, "required": ["_", "count_remains"], "additionalProperties": false}, "pendingSuggestion": {"title": "pendingSuggestion", "type": "object", "properties": {"_": {"type": "string", "enum": ["pendingSuggestion"]}, "suggestion": {"type": "string", "x-tl-type": "string"}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities."}, "description": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities."}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "suggestion", "title", "description", "url"], "additionalProperties": false}, "todoItem": {"title": "todoItem", "description": "Ein Element einer [Todo-Liste »](https://core.telegram.org/api/todo.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/todoItem"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["todoItem"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID des Elements, eine positive Ganzzahl (ungleich Null), die innerhalb der aktuellen Liste eindeutig ist.", "x-telegram-field-docs": true}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Text des Elements, maximale Länge gleich [todo_item_length_max »](https://core.telegram.org/api/config.md#todo-item-length-max).", "x-telegram-field-docs": true}}, "required": ["_", "id", "title"], "additionalProperties": false}, "todoList": {"title": "todoList", "type": "object", "properties": {"_": {"type": "string", "enum": ["todoList"]}, "others_can_append": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "others_can_complete": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities."}, "list": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["todoItem"]}}, "description": "TL Type: TodoItem."}, "x-tl-type": "Vector<TodoItem>"}}, "required": ["_", "title", "list"], "additionalProperties": false}, "todoCompletion": {"title": "todoCompletion", "type": "object", "properties": {"_": {"type": "string", "enum": ["todoCompletion"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "completed_by": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "completed_by", "date"], "additionalProperties": false}, "suggestedPost": {"title": "suggestedPost", "description": "Enthält Informationen zu einem [empfohlenen Beitrag »](https://core.telegram.org/api/suggested-posts.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/suggestedPost"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["suggestedPost"]}, "accepted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der vorgeschlagene Beitrag angenommen wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "rejected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der vorgeschlagene Beitrag abgelehnt wurde.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "price": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Preis des vorgeschlagenen Beitrags.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?StarsAmount"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Terminplanung.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_"], "additionalProperties": false}, "starsRating": {"title": "starsRating", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsRating"]}, "level": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "current_level_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "next_level_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "level", "current_level_stars", "stars"], "additionalProperties": false}, "starGiftCollection": {"title": "starGiftCollection", "description": "Stellt eine [Star-Geschenkkollektion »](https://core.telegram.org/api/gifts.md#gift-collections) dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/starGiftCollection"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftCollection"]}, "collection_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Die ID der Sammlung.", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Titel der Sammlung.", "x-telegram-field-docs": true}, "icon": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Optionales Symbol für die Sammlung, entnommen aus dem ersten Geschenk in der Sammlung.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Document"}, "gifts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Geschenke in der Sammlung.", "x-telegram-field-docs": true}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Feld, das **anstelle von `collection_id`** verwendet werden soll, wenn der Hash generiert wird, der an [payments.getStarGiftCollections](https://core.telegram.org/method/payments.getStarGiftCollections.md) übergeben werden soll.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "collection_id", "title", "gifts_count", "hash"], "additionalProperties": false}, "payments.starGiftCollectionsNotModified": {"title": "payments.starGiftCollectionsNotModified", "description": "Die Liste der [Star-Geschenkkollektionen »](https://core.telegram.org/api/gifts.md#gift-collections) hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftCollectionsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftCollectionsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "payments.starGiftCollections": {"title": "payments.starGiftCollections", "description": "Stellt eine Liste von [Star-Geschenksammlungen »](https://core.telegram.org/api/gifts.md#gift-collections)“ dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftCollections"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftCollections"]}, "collections": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftCollection", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftCollection"]}}, "description": "TL Type: StarGiftCollection."}, "x-tl-type": "Vector<StarGiftCollection>", "description": "Star-Geschenkkollektionen.", "x-telegram-field-docs": true}}, "required": ["_", "collections"], "additionalProperties": false}, "storyAlbum": {"title": "storyAlbum", "description": "Stellt ein [Story-Album »](https://core.telegram.org/api/stories.md#story-albums) dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/storyAlbum"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["storyAlbum"]}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID des Albums.", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Name des Albums.", "x-telegram-field-docs": true}, "icon_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Foto aus der ersten Geschichte des Albums, falls es sich um ein Foto handelt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Photo"}, "icon_video": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Video aus der ersten Geschichte des Albums, falls es ein Video ist.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Document"}}, "required": ["_", "album_id", "title"], "additionalProperties": false}, "stories.albumsNotModified": {"title": "stories.albumsNotModified", "description": "Die [Story-Albenliste »](https://core.telegram.org/api/stories.md#story-albums) hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.albumsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.albumsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "stories.albums": {"title": "stories.albums", "description": "[Story-Alben »](https://core.telegram.org/api/stories.md#story-albums).", "externalDocs": {"url": "https://core.telegram.org/constructor/stories.albums"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stories.albums"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash zur Übergabe an [stories.getAlbums](https://core.telegram.org/method/stories.getAlbums.md), um die Rückgabe von Ergebnissen zu vermeiden, wenn diese sich nicht geändert haben.", "x-tl-type": "long", "x-telegram-field-docs": true}, "albums": {"type": "array", "items": {"type": "object", "x-tl-type": "StoryAlbum", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyAlbum"]}}, "description": "Type TL: StoryAlbum."}, "x-tl-type": "Vector<StoryAlbum>", "description": "Die Alben.", "x-telegram-field-docs": true}}, "required": ["_", "hash", "albums"], "additionalProperties": false}, "searchPostsFlood": {"title": "searchPostsFlood", "description": "Gibt an, ob für die angegebene [globale Beitragssuche »](https://core.telegram.org/api/search.md#posts-tab)] eine Zahlung erforderlich ist.", "externalDocs": {"url": "https://core.telegram.org/constructor/searchPostsFlood"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["searchPostsFlood"]}, "query_is_free": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Die angegebene Abfrage ist kostenlos (und belegt keine freien Suchplätze**).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "total_daily": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der täglichen freien Suchplätze.", "x-telegram-field-docs": true}, "remains": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Verbleibende Anzahl freier Suchplätze.", "x-telegram-field-docs": true}, "wait_till": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn keine weiteren Suchslots vorhanden sind, gibt dies die Unixzeit an, zu der weitere Suchslots verfügbar sein werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Die Anzahl der [Telegram Stars](https://core.telegram.org/api/stars.md), die für jede nicht kostenlose Suche bezahlt werden müssen.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "total_daily", "remains", "stars_amount"], "additionalProperties": false}, "payments.uniqueStarGiftValueInfo": {"title": "payments.uniqueStarGiftValueInfo", "description": "Informationen zum Wert eines [Sammelgeschenks »](https://core.telegram.org/api/gifts.md#collectible-gifts).", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.uniqueStarGiftValueInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.uniqueStarGiftValueInfo"]}, "last_sale_on_fragment": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, wurde der letzte Verkauf auf Fragment abgeschlossen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "value_is_average": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, wird der `value` aus dem Durchschnittswert der verkauften Geschenke derselben Art berechnet. Ansonsten richtet sich der Betrag nach dem Verkaufspreis des Geschenks.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Dreibuchstabiger ISO 4217 [Währung](https://core.telegram.org/bots/payments.md#supported-currencies)-Code (eine lokalisierte Fiat-Währung, die in diesem Konstruktor zur Darstellung von Preisen und Preisschätzungen verwendet wird).", "x-telegram-field-docs": true}, "value": {"type": "string", "pattern": "^-?\\d+$", "description": "Geschätzter Wert des Geschenks, in der kleinsten Einheit der in `currency` angegebenen Währung.", "x-tl-type": "long", "x-telegram-field-docs": true}, "initial_sale_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Erstkaufdatum des Geschenks.", "x-telegram-field-docs": true}, "initial_sale_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Erster Kaufpreis in Sternen.", "x-tl-type": "long", "x-telegram-field-docs": true}, "initial_sale_price": {"type": "string", "pattern": "^-?\\d+$", "description": "Anfänglicher Kaufpreis in der kleinsten Einheit der in `currency` angegebenen Währung (automatisch umgerechnet von `initial_sale_stars`).", "x-tl-type": "long", "x-telegram-field-docs": true}, "last_sale_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum des letzten Weiterverkaufs des Geschenks.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "last_sale_price": {"type": "string", "pattern": "^-?\\d+$", "description": "Letzter Wiederverkaufspreis, in der kleinsten Einheit der in `currency` angegebenen Währung.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?long"}, "floor_price": {"type": "string", "pattern": "^-?\\d+$", "description": "Der aktuelle Mindestpreis für Sammelgeschenke derselben Art in der kleinsten Währungseinheit, die in `currency` angegeben ist.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}, "average_price": {"type": "string", "pattern": "^-?\\d+$", "description": "Der aktuelle durchschnittliche Verkaufspreis von Sammelgeschenken der gleichen Art, in der kleinsten Einheit der in `currency` angegebenen Währung.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?long"}, "listed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Geschenke derselben Art, die derzeit auf Telegram weiterverkauft werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "fragment_listed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Geschenke der gleichen Art, die derzeit auf dem Fragment weiterverkauft werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?int"}, "fragment_listed_url": {"type": "string", "x-tl-type": "string", "description": "Fragment-Link zur Auflistung von Geschenken der gleichen Art, die derzeit auf Fragment weiterverkauft werden.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?string"}}, "required": ["_", "currency", "value", "initial_sale_date", "initial_sale_stars", "initial_sale_price"], "additionalProperties": false}, "profileTabPosts": {"title": "profileTabPosts", "description": "Stellt die Registerkarte [stories](https://core.telegram.org/api/stories.md)] einer Profilseite dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabPosts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabPosts"]}}, "required": ["_"], "additionalProperties": false}, "profileTabGifts": {"title": "profileTabGifts", "description": "Stellt die Registerkarte [Geschenke](https://core.telegram.org/api/gifts.md)] einer Profilseite dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabGifts"]}}, "required": ["_"], "additionalProperties": false}, "profileTabMedia": {"title": "profileTabMedia", "description": "Stellt die Registerkarte „Medien“ einer Profilseite dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabMedia"]}}, "required": ["_"], "additionalProperties": false}, "profileTabFiles": {"title": "profileTabFiles", "description": "Stellt die Registerkarte „Freigegebene Dateien“ eines Profils dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabFiles"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabFiles"]}}, "required": ["_"], "additionalProperties": false}, "profileTabMusic": {"title": "profileTabMusic", "description": "Stellt die Registerkarte [Musik](https://core.telegram.org/api/profile.md#music)] einer Profilseite dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabMusic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabMusic"]}}, "required": ["_"], "additionalProperties": false}, "profileTabVoice": {"title": "profileTabVoice", "description": "Stellt die Registerkarte „Sprachnachrichten“ einer Profilseite dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabVoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabVoice"]}}, "required": ["_"], "additionalProperties": false}, "profileTabLinks": {"title": "profileTabLinks", "description": "Stellt die Registerkarte „Freigegebene Links“ einer Profilseite dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabLinks"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabLinks"]}}, "required": ["_"], "additionalProperties": false}, "profileTabGifs": {"title": "profileTabGifs", "description": "Represents the gifs tab of a profile page.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabGifs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabGifs"]}}, "required": ["_"], "additionalProperties": false}, "users.savedMusicNotModified": {"title": "users.savedMusicNotModified", "description": "Diese Teilmenge der Songs, die derzeit im Profil eines Benutzers angeheftet sind, hat sich nicht geändert. Weitere Informationen finden Sie [hier »](https://core.telegram.org/api/profile.md#music)].", "externalDocs": {"url": "https://core.telegram.org/constructor/users.savedMusicNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["users.savedMusicNotModified"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Songs im Profil des Benutzers.", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "users.savedMusic": {"title": "users.savedMusic", "description": "Liste der Songs, die derzeit im Profil eines Benutzers angeheftet sind. Weitere Informationen finden Sie hier »](https://core.telegram.org/api/profile.md#music).", "externalDocs": {"url": "https://core.telegram.org/constructor/users.savedMusic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["users.savedMusic"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtzahl der Songs (kann größer als `documents` sein, je nach übergebenem `limit` und dem Standardmaximum `limit`; in diesem Fall ist eine Paginierung erforderlich).", "x-telegram-field-docs": true}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>", "description": "Lieder.", "x-telegram-field-docs": true}}, "required": ["_", "count", "documents"], "additionalProperties": false}, "account.savedMusicIdsNotModified": {"title": "account.savedMusicIdsNotModified", "description": "Die Liste der IDs der Songs ([Dokument](https://core.telegram.org/constructor/document.md).`id`s), die derzeit auf unserem Profil angeheftet sind, hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.savedMusicIdsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.savedMusicIdsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "account.savedMusicIds": {"title": "account.savedMusicIds", "description": "Liste der IDs von Songs ([Dokument](https://core.telegram.org/constructor/document.md).`id`s), die derzeit auf unserem Profil gepinnt sind, siehe [hier »](https://core.telegram.org/api/profile.md#music) für weitere Informationen“.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.savedMusicIds"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.savedMusicIds"]}, "ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Vollständige Liste von [Dokument](https://core.telegram.org/constructor/document.md).`id`s", "x-telegram-field-docs": true}}, "required": ["_", "ids"], "additionalProperties": false}, "payments.checkCanSendGiftResultOk": {"title": "payments.checkCanSendGiftResultOk", "description": "Das angegebene Geschenk kann versendet werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.checkCanSendGiftResultOk"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.checkCanSendGiftResultOk"]}}, "required": ["_"], "additionalProperties": false}, "payments.checkCanSendGiftResultFail": {"title": "payments.checkCanSendGiftResultFail", "description": "Das angegebene Geschenk kann aus dem angegebenen Grund noch nicht versendet werden.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.checkCanSendGiftResultFail"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.checkCanSendGiftResultFail"]}, "reason": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Der Grund, warum es noch nicht gesendet werden kann.", "x-telegram-field-docs": true}}, "required": ["_", "reason"], "additionalProperties": false}, "inputChatThemeEmpty": {"title": "inputChatThemeEmpty", "description": "Entfernen Sie alle derzeit konfigurierten Designs.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatThemeEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatThemeEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputChatTheme": {"title": "inputChatTheme", "description": "Legen Sie ein Emoji-basiertes Chat-Thema fest, das von [account.getChatThemes](https://core.telegram.org/method/account.getChatThemes.md) zurückgegeben wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatTheme"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatTheme"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Das Emoji.", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "inputChatThemeUniqueGift": {"title": "inputChatThemeUniqueGift", "description": "Legen Sie ein Thema basierend auf einem eigenen oder [gehosteten Sammlergeschenk »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) fest, das von [account.getUniqueGiftChatThemes](https://core.telegram.org/method/account.getUniqueGiftChatThemes.md) zurückgegeben wurde.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatThemeUniqueGift"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatThemeUniqueGift"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Die Schnecke von [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`slug`.", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "starGiftUpgradePrice": {"title": "starGiftUpgradePrice", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftUpgradePrice"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "date", "upgrade_stars"], "additionalProperties": false}, "groupCallMessage": {"title": "groupCallMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallMessage"]}, "from_admin": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities."}, "paid_message_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "id", "from_id", "date", "message"], "additionalProperties": false}, "groupCallDonor": {"title": "groupCallDonor", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallDonor"]}, "top": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "my": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.3?Peer"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "stars"], "additionalProperties": false}, "phone.groupCallStars": {"title": "phone.groupCallStars", "description": "Enthält die Gesamtspenden einer Live-Story und die Top-Spender, siehe [bezahlte Live-Story-Spenden »](https://core.telegram.org/api/group-calls.md#paid-live-story-donations).", "externalDocs": {"url": "https://core.telegram.org/constructor/phone.groupCallStars"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phone.groupCallStars"]}, "total_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Insgesamt wurden für die Live-Story Sterne gespendet", "x-tl-type": "long", "x-telegram-field-docs": true}, "top_donors": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallDonor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallDonor"]}}, "description": "Тип TL: GroupCallDonor."}, "x-tl-type": "Vector<GroupCallDonor>", "description": "Top-Spender", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "In `top_donors` erwähnte Chats", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "In `top_donors` erwähnte Benutzer", "x-telegram-field-docs": true}}, "required": ["_", "total_stars", "top_donors", "chats", "users"], "additionalProperties": false}, "recentStory": {"title": "recentStory", "description": "Zusammenfassung der [aktiven Storys »](https://core.telegram.org/api/stories.md#recent-story-summaries) eines Peers, eingebettet in [Benutzer](https://core.telegram.org/constructor/user.md).`stories_max_id` und [Kanal](https://core.telegram.org/constructor/channel.md).`stories_max_id` und zurückgegeben von [stories.getPeerMaxIDs](https://core.telegram.org/method/stories.getPeerMaxIDs.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/recentStory"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["recentStory"]}, "live": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der Peer gerade eine [Live-Story »](https://core.telegram.org/api/stories.md#live-stories) sendet.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Wenn `live` gesetzt ist, wird die ID der aktiven [Live-Story »](https://core.telegram.org/api/stories.md#live-stories); andernfalls die ID der maximal aktiven Story des Peers.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_"], "additionalProperties": false}, "auctionBidLevel": {"title": "auctionBidLevel", "type": "object", "properties": {"_": {"type": "string", "enum": ["auctionBidLevel"]}, "pos": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "pos", "amount", "date"], "additionalProperties": false}, "starGiftAuctionStateNotModified": {"title": "starGiftAuctionStateNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAuctionState": {"title": "starGiftAuctionState", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionState"]}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "min_bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "bid_levels": {"type": "array", "items": {"type": "object", "x-tl-type": "AuctionBidLevel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["auctionBidLevel"]}}, "description": "Тип TL: AuctionBidLevel."}, "x-tl-type": "Vector<AuctionBidLevel>"}, "top_bidders": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}, "next_round_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "last_gift_num": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "gifts_left": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "current_round": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "total_rounds": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "rounds": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAuctionRound", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionRound", "starGiftAuctionRoundExtendable"]}}, "description": "Тип TL: StarGiftAuctionRound."}, "x-tl-type": "Vector<StarGiftAuctionRound>"}}, "required": ["_", "version", "start_date", "end_date", "min_bid_amount", "bid_levels", "top_bidders", "next_round_at", "last_gift_num", "gifts_left", "current_round", "total_rounds", "rounds"], "additionalProperties": false}, "starGiftAuctionStateFinished": {"title": "starGiftAuctionStateFinished", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateFinished"]}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "average_price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "listed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "fragment_listed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "fragment_listed_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "start_date", "end_date", "average_price"], "additionalProperties": false}, "starGiftAuctionUserState": {"title": "starGiftAuctionUserState", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}, "returned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "bid_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "min_bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "bid_peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.0?Peer"}, "acquired_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "acquired_count"], "additionalProperties": false}, "payments.starGiftAuctionState": {"title": "payments.starGiftAuctionState", "description": "Beschreibt eine [Sammelgeschenkauktion »](https://core.telegram.org/api/auctions.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftAuctionState"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftAuctionState"]}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Das Geschenk wird derzeit in der Auktion verteilt.", "x-telegram-field-docs": true}, "state": {"type": "object", "x-tl-type": "StarGiftAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified", "starGiftAuctionState", "starGiftAuctionStateFinished"]}}, "description": "Auktionsstatus.", "x-telegram-field-docs": true}, "user_state": {"type": "object", "x-tl-type": "StarGiftAuctionUserState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}}, "description": "Auktionsstatus bezogen auf den aktuellen Benutzer (i.e. Informationen zu abgegebenen Geboten, gewonnenen Geschenken usw.).", "x-telegram-field-docs": true}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Rufen Sie die Methode [payments.getStarGiftAuctionState](https://core.telegram.org/method/payments.getStarGiftAuctionState.md) nach `timeout` Sekunden erneut auf, um weiterhin Auktionsaktualisierungen zu erhalten. Weitere Informationen zum gesamten Ablauf finden Sie [hier »](https://core.telegram.org/api/auctions.md)].", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}}, "required": ["_", "gift", "state", "user_state", "timeout", "users", "chats"], "additionalProperties": false}, "starGiftAuctionAcquiredGift": {"title": "starGiftAuctionAcquiredGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionAcquiredGift"]}, "name_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "round": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pos": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "TL Type: TextWithEntities.", "x-tl-flag": "flags.1?TextWithEntities"}, "gift_num": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int"}}, "required": ["_", "peer", "date", "bid_amount", "round", "pos"], "additionalProperties": false}, "payments.starGiftAuctionAcquiredGifts": {"title": "payments.starGiftAuctionAcquiredGifts", "description": "Beschreibt alle Geschenke, die der aktuelle Benutzer in einer [Auktion](https://core.telegram.org/api/auctions.md)] gewonnen hat.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftAuctionAcquiredGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftAuctionAcquiredGifts"]}, "gifts": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAuctionAcquiredGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionAcquiredGift"]}}, "description": "Тип TL: StarGiftAuctionAcquiredGift."}, "x-tl-type": "Vector<StarGiftAuctionAcquiredGift>", "description": "Die Geschenke", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}}, "required": ["_", "gifts", "users", "chats"], "additionalProperties": false}, "starGiftActiveAuctionState": {"title": "starGiftActiveAuctionState", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftActiveAuctionState"]}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}, "state": {"type": "object", "x-tl-type": "StarGiftAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified", "starGiftAuctionState", "starGiftAuctionStateFinished"]}}, "description": "Тип TL: StarGiftAuctionState."}, "user_state": {"type": "object", "x-tl-type": "StarGiftAuctionUserState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}}, "description": "Тип TL: StarGiftAuctionUserState."}}, "required": ["_", "gift", "state", "user_state"], "additionalProperties": false}, "payments.starGiftActiveAuctionsNotModified": {"title": "payments.starGiftActiveAuctionsNotModified", "description": "Die Liste der derzeit aktiven [Geschenkauktionen](https://core.telegram.org/api/auctions.md) **bei denen der Benutzer ein Gebot abgegeben hat** hat sich nicht geändert.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftActiveAuctionsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftActiveAuctionsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "payments.starGiftActiveAuctions": {"title": "payments.starGiftActiveAuctions", "description": "Beschreibt alle derzeit aktiven [Geschenkauktionen](https://core.telegram.org/api/auctions.md) **bei denen der Benutzer ein Gebot abgegeben hat**.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftActiveAuctions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftActiveAuctions"]}, "auctions": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftActiveAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftActiveAuctionState"]}}, "description": "Тип TL: StarGiftActiveAuctionState."}, "x-tl-type": "Vector<StarGiftActiveAuctionState>", "description": "Auktionen, bei denen der Benutzer ein Gebot abgegeben hat", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer", "x-telegram-field-docs": true}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Erwähnte Chats", "x-telegram-field-docs": true}}, "required": ["_", "auctions", "users", "chats"], "additionalProperties": false}, "inputStarGiftAuction": {"title": "inputStarGiftAuction", "description": "Wird verwendet, um [Auktionen](https://core.telegram.org/api/auctions.md) unter Verwendung der ID des verknüpften [Sammelgeschenks](https://core.telegram.org/api/gifts.md#collectible-gifts)] abzurufen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStarGiftAuction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStarGiftAuction"]}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Sammelgeschenk-ID](https://core.telegram.org/api/gifts.md#collectible-gifts)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "gift_id"], "additionalProperties": false}, "inputStarGiftAuctionSlug": {"title": "inputStarGiftAuctionSlug", "description": "Wird verwendet, um [Auktionen](https://core.telegram.org/api/auctions.md) mit dem [Slug eines Auktions-Deeplinks »](https://core.telegram.org/api/links.md#auction-links)] abzurufen.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStarGiftAuctionSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStarGiftAuctionSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "[Auktion Deep Link Slug »](https://core.telegram.org/api/links.md#auction-links).", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "passkey": {"title": "passkey", "description": "Für Menschen lesbare Informationen zu einem mit einem Konto verknüpften Passkey, die zurückgegeben werden, wenn [ein Passkey erstellt wird »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) oder [Passkeys aufgelistet werden »](https://core.telegram.org/api/passkeys.md#list-passkeys).", "externalDocs": {"url": "https://core.telegram.org/constructor/passkey"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["passkey"]}, "id": {"type": "string", "x-tl-type": "string", "description": "Eindeutige Passkey-ID, verwendbar zum Beispiel in [account.deletePasskey](https://core.telegram.org/method/account.deletePasskey.md).", "x-telegram-field-docs": true}, "name": {"type": "string", "x-tl-type": "string", "description": "Für Menschen lesbarer Passkey-Name", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Erstellungsdatum des Passkeys", "x-telegram-field-docs": true}, "software_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des [benutzerdefinierten Emoji](https://core.telegram.org/api/custom-emoji.md), das als Symbol für die Software oder den Passwort-Manager verwendet wird, die den Passkey erstellt hat", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?long"}, "last_usage_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Datum, an dem der Passkey zuletzt zum Anmelden verwendet wurde", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "id", "name", "date"], "additionalProperties": false}, "account.passkeys": {"title": "account.passkeys", "description": "Liste der [Passkeys »](https://core.telegram.org/api/passkeys.md#list-passkeys), die dem aktuellen Konto zugeordnet sind.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.passkeys"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.passkeys"]}, "passkeys": {"type": "array", "items": {"type": "object", "x-tl-type": "Passkey", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["passkey"]}}, "description": "TL Type: Passkey."}, "x-tl-type": "Vector<Passkey>", "description": "Liste der Passkeys, die zur Anmeldung beim aktuellen Konto verwendet werden können", "x-telegram-field-docs": true}}, "required": ["_", "passkeys"], "additionalProperties": false}, "account.passkeyRegistrationOptions": {"title": "account.passkeyRegistrationOptions", "description": "Passkey-Registrierungsoptionen finden Sie hier »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) für weitere Informationen zum gesamten Ablauf.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.passkeyRegistrationOptions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.passkeyRegistrationOptions"]}, "options": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "JSON-codiertes Objekt, dessen `publicKey`-Feld ein [`PublicKeyCredentialCreationOptions`](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredentialCreationOptions)-Objekt enthält.", "x-telegram-field-docs": true}}, "required": ["_", "options"], "additionalProperties": false}, "auth.passkeyLoginOptions": {"title": "auth.passkeyLoginOptions", "description": "Passkey-Anmeldeoptionen finden Sie hier »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) für weitere Informationen zum gesamten Ablauf.", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.passkeyLoginOptions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.passkeyLoginOptions"]}, "options": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "JSON-codiertes Objekt, dessen `publicKey`-Feld ein [`PublicKeyCredentialRequestOptions`](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredentialRequestOptions)-Objekt enthält.", "x-telegram-field-docs": true}}, "required": ["_", "options"], "additionalProperties": false}, "inputPasskeyResponseRegister": {"title": "inputPasskeyResponseRegister", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPasskeyResponseRegister"]}, "client_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON."}, "attestation_data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "client_data", "attestation_data"], "additionalProperties": false}, "inputPasskeyResponseLogin": {"title": "inputPasskeyResponseLogin", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPasskeyResponseLogin"]}, "client_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON."}, "authenticator_data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "signature": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "user_handle": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "client_data", "authenticator_data", "signature", "user_handle"], "additionalProperties": false}, "inputPasskeyCredentialPublicKey": {"title": "inputPasskeyCredentialPublicKey", "description": "Anmeldeinformationen mit öffentlichem Schlüssel, die sowohl für die Registrierung als auch für die Anmeldung verwendet werden. Die vollständigen Abläufe finden Sie unter [Erstellen eines Passschlüssels »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) und [Anmelden mit einem Passschlüssel »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey)“.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPasskeyCredentialPublicKey"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPasskeyCredentialPublicKey"]}, "id": {"type": "string", "x-tl-type": "string", "description": "`id` field of a [PublicKeyCredential](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential), passed as-is without base64url-decoding when using the JSON representation", "x-telegram-field-docs": true}, "raw_id": {"type": "string", "x-tl-type": "string", "description": "`rawId` field of a [PublicKeyCredential](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential), passed as-is without base64url-decoding when using the JSON representation", "x-telegram-field-docs": true}, "response": {"type": "object", "x-tl-type": "InputPasskeyResponse", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPasskeyResponseRegister", "inputPasskeyResponseLogin"]}}, "description": "Registrierungs- oder Anmeldeantwort.", "x-telegram-field-docs": true}}, "required": ["_", "id", "raw_id", "response"], "additionalProperties": false}, "starGiftBackground": {"title": "starGiftBackground", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftBackground"]}, "center_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "edge_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "text_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "center_color", "edge_color", "text_color"], "additionalProperties": false}, "starGiftAuctionRound": {"title": "starGiftAuctionRound", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionRound"]}, "num": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "num", "duration"], "additionalProperties": false}, "starGiftAuctionRoundExtendable": {"title": "starGiftAuctionRoundExtendable", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionRoundExtendable"]}, "num": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "extend_top": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "extend_window": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "num", "duration", "extend_top", "extend_window"], "additionalProperties": false}, "payments.starGiftUpgradeAttributes": {"title": "payments.starGiftUpgradeAttributes", "description": "Liste nur der Sammlerattribute, die für einen Geschenktyp angezeigt werden können, sobald er zu einem [Sammelgeschenk »](https://core.telegram.org/api/gifts.md#collectible-gifts)] aufgewertet wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.starGiftUpgradeAttributes"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftUpgradeAttributes"]}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeModel", "starGiftAttributePattern", "starGiftAttributeBackdrop", "starGiftAttributeOriginalDetails"]}}, "description": "Тип TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>", "description": "Vollständige Liste möglicher Attribute, die zugewiesen werden können, wenn Geschenke der angegebenen Art in [Sammelgeschenke »](https://core.telegram.org/api/gifts.md#collectible-gifts) umgewandelt werden, einschließlich reiner Handwerksmodelle, die mit [starGiftAttributeModel](https://core.telegram.org/constructor/starGiftAttributeModel.md).`crafted`] gekennzeichnet sind.", "x-telegram-field-docs": true}}, "required": ["_", "attributes"], "additionalProperties": false}, "messages.emojiGameOutcome": {"title": "messages.emojiGameOutcome", "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.emojiGameOutcome"]}, "seed": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "stake_ton_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "ton_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "seed", "stake_ton_amount", "ton_amount"], "additionalProperties": false}, "messages.emojiGameUnavailable": {"title": "messages.emojiGameUnavailable", "description": "Informationen zum Würfelspiel.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.emojiGameUnavailable"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.emojiGameUnavailable"]}}, "required": ["_"], "additionalProperties": false}, "messages.emojiGameDiceInfo": {"title": "messages.emojiGameDiceInfo", "description": "Informationen zum Würfelspiel.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.emojiGameDiceInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.emojiGameDiceInfo"]}, "game_hash": {"type": "string", "x-tl-type": "string", "description": "Spiel-Hash.", "x-telegram-field-docs": true}, "prev_stake": {"type": "string", "pattern": "^-?\\d+$", "description": "Vorheriger Einsatz.", "x-tl-type": "long", "x-telegram-field-docs": true}, "current_streak": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Aktuelle Serie.", "x-telegram-field-docs": true}, "params": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Parameter.", "x-telegram-field-docs": true}, "plays_left": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Spielt noch übrig.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "game_hash", "prev_stake", "current_streak", "params"], "additionalProperties": false}, "starGiftAttributeRarity": {"title": "starGiftAttributeRarity", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity"]}, "permille": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "permille"], "additionalProperties": false}, "starGiftAttributeRarityUncommon": {"title": "starGiftAttributeRarityUncommon", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityUncommon"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAttributeRarityRare": {"title": "starGiftAttributeRarityRare", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityRare"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAttributeRarityEpic": {"title": "starGiftAttributeRarityEpic", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityEpic"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAttributeRarityLegendary": {"title": "starGiftAttributeRarityLegendary", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityLegendary"]}}, "required": ["_"], "additionalProperties": false}, "keyboardButtonStyle": {"title": "keyboardButtonStyle", "type": "object", "properties": {"_": {"type": "string", "enum": ["keyboardButtonStyle"]}, "bg_primary": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "bg_danger": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "bg_success": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "icon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}}, "required": ["_"], "additionalProperties": false}, "inputMessageReadMetric": {"title": "inputMessageReadMetric", "description": "Lesemetrik für die Präsenz einer einzelnen Nachricht, die beschreibt, wie lange die Nachricht im Chat-Ansichtsfenster sichtbar war.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessageReadMetric"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessageReadMetric"]}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID der Nachricht", "x-telegram-field-docs": true}, "view_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Zufällige 64-Bit-ID ungleich Null, die für diese Exposition generiert wurde", "x-tl-type": "long", "x-telegram-field-docs": true}, "time_in_view_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Gesamtbelichtungszeit in Millisekunden von mindestens einem Pixel der Nachricht nach der Eingabefrist von 300 ms", "x-telegram-field-docs": true}, "active_time_in_view_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ein Teil von `time_in_view_ms` wird angesammelt, während der Benutzer aktiv ist", "x-telegram-field-docs": true}, "height_to_viewport_ratio_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "`round(max_message_height * 1000 / max_viewport_height)`, kann 1000 überschreiten, wenn die Nachricht höher als das Ansichtsfenster ist", "x-telegram-field-docs": true}, "seen_range_ratio_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "`round(max_seen_vertical_range * 1000 / max_message_height)`, begrenzt auf den Bereich 0–1000", "x-telegram-field-docs": true}, "recommendation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "recommendation_rank": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "recommendation_role": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "surface": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "event_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}}, "required": ["_", "msg_id", "view_id", "time_in_view_ms", "active_time_in_view_ms", "height_to_viewport_ratio_permille", "seen_range_ratio_permille"], "additionalProperties": false}, "bots.exportedBotToken": {"title": "bots.exportedBotToken", "description": "Das Bot-Token eines [verwalteten Bots »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot), exportiert vom Manager-Bot.", "externalDocs": {"url": "https://core.telegram.org/constructor/bots.exportedBotToken"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["bots.exportedBotToken"]}, "token": {"type": "string", "x-tl-type": "string", "description": "Das Bot-Token des verwalteten Bots", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "bots.requestedButton": {"title": "bots.requestedButton", "description": "Enthält die Anforderungs-ID, die ein Bot an eine [Mini-App](https://core.telegram.org/api/bots/webapps.md) übergeben sollte, nachdem er mit [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md) einen Peer-Anfrage-Button vorbereitet hat, siehe [hier »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) für weitere Informationen].", "externalDocs": {"url": "https://core.telegram.org/constructor/bots.requestedButton"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["bots.requestedButton"]}, "webapp_req_id": {"type": "string", "x-tl-type": "string", "description": "Mini-App-Anfrage-ID, die vom Bot an die Mini-App und dann zurück an [bots.getRequestedWebViewButton](https://core.telegram.org/method/bots.getRequestedWebViewButton.md) und [messages.sendBotRequestedPeer](https://core.telegram.org/method/messages.sendBotRequestedPeer.md)] weitergeleitet wird", "x-telegram-field-docs": true}}, "required": ["_", "webapp_req_id"], "additionalProperties": false}, "messages.composedMessageWithAI": {"title": "messages.composedMessageWithAI", "description": "Stellt eine von der KI geänderte Nachricht dar.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.composedMessageWithAI"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.composedMessageWithAI"]}, "result_text": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Die geänderte Nachricht.", "x-telegram-field-docs": true}, "diff_text": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Wenn **nur** der Korrekturlesemodus ([messages.composeMessageWithAI](https://core.telegram.org/method/messages.composeMessageWithAI.md).`proofread`) aktiviert ist, wird dieses Feld mit einem „vorgerenderten“ Unterschied zwischen dem alten und dem neuen Nachrichtentext unter Verwendung von **nur** [Diff-Entitäten »](https://core.telegram.org/api/entities.md#diff-entities)] gefüllt.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "result_text"], "additionalProperties": false}, "stats.pollStats": {"title": "stats.pollStats", "description": "[Statistik](https://core.telegram.org/api/stats.md#poll-statistics) für eine in einer Nachricht gesendete Umfrage.", "externalDocs": {"url": "https://core.telegram.org/constructor/stats.pollStats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["stats.pollStats"]}, "votes_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Ein Diagramm, das die Anzahl der in der Umfrage abgegebenen Stimmen im Zeitverlauf enthält", "x-telegram-field-docs": true}}, "required": ["_", "votes_graph"], "additionalProperties": false}, "inputAiComposeToneDefault": {"title": "inputAiComposeToneDefault", "description": "Referenziert einen integrierten, standardmäßigen [AI Composer-Ton »](https://core.telegram.org/api/ai.md#ai-compose-tones) anhand seiner Zeichenfolgenkennung.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputAiComposeToneDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneDefault"]}, "tone": {"type": "string", "x-tl-type": "string", "description": "Zeichenfolgenbezeichner des integrierten Tons, wie in [aiComposeToneDefault](https://core.telegram.org/constructor/aiComposeToneDefault.md).`tone` zurückgegeben", "x-telegram-field-docs": true}}, "required": ["_", "tone"], "additionalProperties": false}, "inputAiComposeToneID": {"title": "inputAiComposeToneID", "description": "Referenziert einen benutzerdefinierten [AI Composer-Ton »](https://core.telegram.org/api/ai.md#ai-compose-tones) anhand seiner ID und seines Zugriffs-Hashs.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputAiComposeToneID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Ton-ID, wie in [aiComposeTone](https://core.telegram.org/constructor/aiComposeTone.md).`id` zurückgegeben", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Tone [Zugriffs-Hash](https://core.telegram.org/api/peers.md#access-hash), wie in [aiComposeTone](https://core.telegram.org/constructor/aiComposeTone.md).`access_hash`] zurückgegeben", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputAiComposeToneSlug": {"title": "inputAiComposeToneSlug", "description": "Verweist auf einen benutzerdefinierten [KI-Komponisten-Ton »](https://core.telegram.org/api/ai.md#ai-compose-tones) durch seinen öffentlichen Slug, der beim Öffnen eines [KI-Komponisten-Ton-Links »](https://core.telegram.org/api/links.md#ai-compose-tone-links)“ verwendet wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputAiComposeToneSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Öffentlicher Ton-Slug, wie in [aiComposeTone](https://core.telegram.org/constructor/aiComposeTone.md).`slug` zurückgegeben", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputAiComposeToneSingleUse": {"title": "inputAiComposeToneSingleUse", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneSingleUse"]}, "custom_prompt": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "custom_prompt"], "additionalProperties": false}, "aiComposeTone": {"title": "aiComposeTone", "description": "Ein benutzerdefinierter [AI-Message-Composer-Ton »](https://core.telegram.org/api/ai.md#ai-compose-tones), der zum Umformulieren von Nachrichten in einem bestimmten Stil mit dem [AI-Nachrichten-Composer](https://core.telegram.org/api/ai.md#compose-messages) verwendet wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/aiComposeTone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["aiComposeTone"]}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ob der aktuelle Benutzer der Ersteller dieses Tons ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Tonkennung", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Tonzugriffs-Hash", "x-tl-type": "long", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "Einzigartiger Ton-Slug, der zum Teilen und Installieren des Tons über [KI-Ton-Kompositionslinks »](https://core.telegram.org/api/links.md#ai-compose-tone-links)] verwendet wird.", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Für Menschen lesbarer Tonname, bis zu [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 Zeichen lang", "x-telegram-field-docs": true}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Benutzerdefinierte Emoji-ID](https://core.telegram.org/api/custom-emoji.md) des Tonsymbols", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?long"}, "prompt": {"type": "string", "x-tl-type": "string", "description": "Die Eingabeaufforderung, die beschreibt, wie die KI Nachrichten mit diesem Ton umformulieren soll, bis zu [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 Zeichen lang; Nur für Töne vorhanden, die vom aktuellen Benutzer erstellt wurden", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "installs_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Anzahl der Benutzer, die diesen Ton installiert haben", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "author_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID des Benutzers, der diesen Ton erstellt hat, sofern vom Autor veröffentlicht.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?long"}, "example_english": {"type": "object", "x-tl-type": "AiComposeToneExample", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["aiComposeToneExample"]}}, "description": "Ein Beispiel, das zeigt, wie eine englische Beispielnachricht durch diesen Ton umformuliert wird; Verwenden Sie [aicompose.getToneExample](https://core.telegram.org/method/aicompose.getToneExample.md), um weitere Beispiele abzurufen.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?AiComposeToneExample"}}, "required": ["_", "id", "access_hash", "slug", "title"], "additionalProperties": false}, "aiComposeToneDefault": {"title": "aiComposeToneDefault", "description": "Ein integrierter, standardmäßiger [AI Composer-Ton »](https://core.telegram.org/api/ai.md#ai-compose-tones), der durch eine Zeichenfolgenkennung und nicht durch eine numerische ID identifiziert wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/aiComposeToneDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["aiComposeToneDefault"]}, "tone": {"type": "string", "x-tl-type": "string", "description": "String-ID des integrierten Tons, der an [inputAiComposeToneDefault](https://core.telegram.org/constructor/inputAiComposeToneDefault.md)] übergeben werden soll", "x-telegram-field-docs": true}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Benutzerdefinierte Emoji-ID](https://core.telegram.org/api/custom-emoji.md) des Tonsymbols", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Lokalisierter, für Menschen lesbarer Name des Tons", "x-telegram-field-docs": true}}, "required": ["_", "tone", "emoji_id", "title"], "additionalProperties": false}, "aicompose.tonesNotModified": {"title": "aicompose.tonesNotModified", "description": "Die Liste der gespeicherten [AI Composer-Töne »](https://core.telegram.org/api/ai.md#ai-compose-tones) hat sich seit dem letzten Abruf nicht geändert (i.e. Die an [aicompose.getTones](https://core.telegram.org/method/aicompose.getTones.md) übergebene `hash` ist weiterhin gültig).", "externalDocs": {"url": "https://core.telegram.org/constructor/aicompose.tonesNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["aicompose.tonesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "aicompose.tones": {"title": "aicompose.tones", "description": "Die Liste der gespeicherten [AI Composer-Töne »](https://core.telegram.org/api/ai.md#ai-compose-tones) des aktuellen Benutzers.", "externalDocs": {"url": "https://core.telegram.org/constructor/aicompose.tones"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["aicompose.tones"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash für Paginierung, für weitere Informationen klicken Sie hier](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long", "x-telegram-field-docs": true}, "tones": {"type": "array", "items": {"type": "object", "x-tl-type": "AiComposeTone", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["aiComposeTone", "aiComposeToneDefault"]}}, "description": "TL Type: AiComposeTone."}, "x-tl-type": "Vector<AiComposeTone>", "description": "Die gespeicherten AI-Composer-Töne", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Erwähnte Benutzer (i.e. die Autoren der Töne)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "tones", "users"], "additionalProperties": false}, "aiComposeToneExample": {"title": "aiComposeToneExample", "description": "Ein Beispiel, das zeigt, wie ein [KI-Composer-Ton »](https://core.telegram.org/api/ai.md#ai-compose-tones) eine Nachricht umformuliert und als Vorschau in der Tonauswahl verwendet wird.", "externalDocs": {"url": "https://core.telegram.org/constructor/aiComposeToneExample"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["aiComposeToneExample"]}, "from": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Die ursprüngliche, nicht transformierte Beispielnachricht", "x-telegram-field-docs": true}, "to": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Dieselbe Beispielnachricht, nachdem sie mit diesem Ton umformuliert wurde", "x-telegram-field-docs": true}}, "required": ["_", "from", "to"], "additionalProperties": false}, "bots.accessSettings": {"title": "bots.accessSettings", "description": "Zugriffsbeschränkungseinstellungen für einen [verwalteten Bot »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot).", "externalDocs": {"url": "https://core.telegram.org/constructor/bots.accessSettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["bots.accessSettings"]}, "restricted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Wenn festgelegt, können nur der Eigentümer und die Benutzer in `add_users` auf den verwalteten Bot zugreifen", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "add_users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>", "description": "Zusätzliche Benutzer (maximal 10, außer dem Besitzer), die auf den verwalteten Bot zugreifen können; nur vorhanden, wenn `restricted` eingestellt ist", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<User>"}}, "required": ["_"], "additionalProperties": false}, "messages.chatInviteJoinResultOk": {"title": "messages.chatInviteJoinResultOk", "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.chatInviteJoinResultOk"]}, "updates": {"type": "object", "x-tl-type": "Updates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updatesTooLong", "updateShortMessage", "updateShortChatMessage", "updateShort", "updatesCombined", "updates", "updateShortSentMessage"]}}, "description": "TL Type: Updates."}}, "required": ["_", "updates"], "additionalProperties": false}, "messages.chatInviteJoinResultWebView": {"title": "messages.chatInviteJoinResultWebView", "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.chatInviteJoinResultWebView"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>"}}, "required": ["_", "bot_id", "query_id", "users"], "additionalProperties": false}, "joinChatBotResultApproved": {"title": "joinChatBotResultApproved", "type": "object", "properties": {"_": {"type": "string", "enum": ["joinChatBotResultApproved"]}}, "required": ["_"], "additionalProperties": false}, "joinChatBotResultDeclined": {"title": "joinChatBotResultDeclined", "type": "object", "properties": {"_": {"type": "string", "enum": ["joinChatBotResultDeclined"]}}, "required": ["_"], "additionalProperties": false}, "joinChatBotResultQueued": {"title": "joinChatBotResultQueued", "type": "object", "properties": {"_": {"type": "string", "enum": ["joinChatBotResultQueued"]}}, "required": ["_"], "additionalProperties": false}, "joinChatBotResultWebView": {"title": "joinChatBotResultWebView", "type": "object", "properties": {"_": {"type": "string", "enum": ["joinChatBotResultWebView"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "webDomainException": {"title": "webDomainException", "type": "object", "properties": {"_": {"type": "string", "enum": ["webDomainException"]}, "domain": {"type": "string", "x-tl-type": "string"}, "url": {"type": "string", "x-tl-type": "string"}, "title": {"type": "string", "x-tl-type": "string"}, "favicon": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "domain", "url", "title"], "additionalProperties": false}, "account.webBrowserSettingsNotModified": {"title": "account.webBrowserSettingsNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["account.webBrowserSettingsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "account.webBrowserSettings": {"title": "account.webBrowserSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["account.webBrowserSettings"]}, "open_external_browser": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "display_close_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "external_exceptions": {"type": "array", "items": {"type": "object", "x-tl-type": "WebDomainException", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDomainException"]}}, "description": "Тип TL: WebDomainException."}, "x-tl-type": "Vector<WebDomainException>"}, "inapp_exceptions": {"type": "array", "items": {"type": "object", "x-tl-type": "WebDomainException", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDomainException"]}}, "description": "Тип TL: WebDomainException."}, "x-tl-type": "Vector<WebDomainException>"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "external_exceptions", "inapp_exceptions", "hash"], "additionalProperties": false}, "inputRichFilePhoto": {"title": "inputRichFilePhoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichFilePhoto"]}, "id": {"type": "string", "x-tl-type": "string"}, "photo": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "TL Type: InputPhoto."}}, "required": ["_", "id", "photo"], "additionalProperties": false}, "inputRichFileDocument": {"title": "inputRichFileDocument", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichFileDocument"]}, "id": {"type": "string", "x-tl-type": "string"}, "document": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "TL Type: InputDocument."}}, "required": ["_", "id", "document"], "additionalProperties": false}, "inputRichMessage": {"title": "inputRichMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichMessage"]}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "noautolink": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "TL Type: InputPhoto."}, "x-tl-type": "Vector<InputPhoto>", "x-tl-flag": "flags.2?Vector<InputPhoto>"}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "TL Type: InputDocument."}, "x-tl-type": "Vector<InputDocument>", "x-tl-flag": "flags.3?Vector<InputDocument>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.4?Vector<InputUser>"}}, "required": ["_", "blocks"], "additionalProperties": false}, "inputRichMessageHTML": {"title": "inputRichMessageHTML", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichMessageHTML"]}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "noautolink": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "html": {"type": "string", "x-tl-type": "string"}, "files": {"type": "array", "items": {"type": "object", "x-tl-type": "InputRichFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputRichFilePhoto", "inputRichFileDocument"]}}, "description": "Тип TL: InputRichFile."}, "x-tl-type": "Vector<InputRichFile>", "x-tl-flag": "flags.2?Vector<InputRichFile>"}}, "required": ["_", "html"], "additionalProperties": false}, "inputRichMessageMarkdown": {"title": "inputRichMessageMarkdown", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputRichMessageMarkdown"]}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "noautolink": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "markdown": {"type": "string", "x-tl-type": "string"}, "files": {"type": "array", "items": {"type": "object", "x-tl-type": "InputRichFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputRichFilePhoto", "inputRichFileDocument"]}}, "description": "Тип TL: InputRichFile."}, "x-tl-type": "Vector<InputRichFile>", "x-tl-flag": "flags.2?Vector<InputRichFile>"}}, "required": ["_", "markdown"], "additionalProperties": false}, "richMessage": {"title": "richMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["richMessage"]}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "part": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "blocks": {"type": "array", "items": {"type": "object", "x-tl-type": "PageBlock", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported", "pageBlockTitle", "pageBlockSubtitle", "pageBlockAuthorDate", "pageBlockHeader", "pageBlockSubheader", "pageBlockParagraph", "pageBlockPreformatted", "pageBlockFooter", "pageBlockDivider", "pageBlockAnchor", "pageBlockList", "pageBlockBlockquote", "pageBlockPullquote", "pageBlockPhoto", "pageBlockVideo", "pageBlockCover", "pageBlockEmbed", "pageBlockEmbedPost", "pageBlockCollage", "pageBlockSlideshow", "pageBlockChannel", "pageBlockAudio", "pageBlockKicker", "pageBlockTable", "pageBlockOrderedList", "pageBlockDetails", "pageBlockRelatedArticles", "pageBlockMap", "pageBlockHeading1", "pageBlockHeading2", "pageBlockHeading3", "pageBlockHeading4", "pageBlockHeading5", "pageBlockHeading6", "pageBlockMath", "pageBlockThinking", "inputPageBlockMap", "pageBlockBlockquoteBlocks", "pageBlockButtonRow", "pageBlockDocument"]}}, "description": "Тип TL: PageBlock."}, "x-tl-type": "Vector<PageBlock>"}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Тип TL: Photo."}, "x-tl-type": "Vector<Photo>"}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "x-tl-type": "Vector<Document>"}}, "required": ["_", "blocks", "photos", "documents"], "additionalProperties": false}, "communityPeer": {"title": "communityPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["communityPeer"]}, "can_view_history": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "visible": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}}, "required": ["_", "peer"], "additionalProperties": false}, "communityPeerRequest": {"title": "communityPeerRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["communityPeerRequest"]}, "visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "requested_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "requested_by", "date"], "additionalProperties": false}, "communities.peerLinkRequests": {"title": "communities.peerLinkRequests", "type": "object", "properties": {"_": {"type": "string", "enum": ["communities.peerLinkRequests"]}, "total_count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "requests": {"type": "array", "items": {"type": "object", "x-tl-type": "CommunityPeerRequest", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["communityPeerRequest"]}}, "description": "Тип TL: CommunityPeerRequest."}, "x-tl-type": "Vector<CommunityPeerRequest>"}, "next_offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>"}}, "required": ["_", "total_count", "requests", "chats", "users"], "additionalProperties": false}, "ephemeralMessage": {"title": "ephemeralMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["ephemeralMessage"]}, "out": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "welcome_template": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer.", "x-tl-flag": "flags.9?Peer"}, "receiver_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "string", "x-tl-type": "string"}, "entities": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageEntity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote", "messageEntityFormattedDate", "messageEntityDiffInsert", "messageEntityDiffReplace", "messageEntityDiffDelete", "messageEntityTonAddress"]}}, "description": "TL Type: MessageEntity."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.2?Vector<MessageEntity>"}, "media": {"type": "object", "x-tl-type": "MessageMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia", "messageMediaToDo", "messageMediaVideoStream", "messageMediaWidget"]}}, "description": "TL Type: MessageMedia.", "x-tl-flag": "flags.3?MessageMedia"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Тип TL: ReplyMarkup.", "x-tl-flag": "flags.4?ReplyMarkup"}, "reply_to": {"type": "object", "x-tl-type": "MessageReplyHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplyHeader", "messageReplyStoryHeader"]}}, "description": "Тип TL: MessageReplyHeader.", "x-tl-flag": "flags.6?MessageReplyHeader"}, "rich_message": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage.", "x-tl-flag": "flags.8?RichMessage"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.10?long"}, "anchor_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.11?int"}}, "required": ["_", "id", "from_id", "receiver_id", "date", "message"], "additionalProperties": false}, "communities.participantJoinedChats": {"title": "communities.participantJoinedChats", "type": "object", "properties": {"_": {"type": "string", "enum": ["communities.participantJoinedChats"]}, "creator_chat_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}, "joined_chat_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>"}}, "required": ["_", "creator_chat_ids", "joined_chat_ids", "chats", "users"], "additionalProperties": false}, "messages.translatedRichMessage": {"title": "messages.translatedRichMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.translatedRichMessage"]}, "result": {"type": "array", "items": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage."}, "x-tl-type": "Vector<RichMessage>"}}, "required": ["_", "result"], "additionalProperties": false}, "messages.composedRichMessageWithAI": {"title": "messages.composedRichMessageWithAI", "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.composedRichMessageWithAI"]}, "result": {"type": "object", "x-tl-type": "RichMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richMessage"]}}, "description": "Тип TL: RichMessage."}}, "required": ["_", "result"], "additionalProperties": false}, "buttonTypeDefault": {"title": "buttonTypeDefault", "type": "object", "properties": {"_": {"type": "string", "enum": ["buttonTypeDefault"]}}, "required": ["_"], "additionalProperties": false}, "buttonTypeRequestPhone": {"title": "buttonTypeRequestPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["buttonTypeRequestPhone"]}}, "required": ["_"], "additionalProperties": false}, "buttonTypeRequestGeoLocation": {"title": "buttonTypeRequestGeoLocation", "type": "object", "properties": {"_": {"type": "string", "enum": ["buttonTypeRequestGeoLocation"]}}, "required": ["_"], "additionalProperties": false}, "buttonTypeRequestPoll": {"title": "buttonTypeRequestPoll", "type": "object", "properties": {"_": {"type": "string", "enum": ["buttonTypeRequestPoll"]}, "quiz": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool"}}, "required": ["_"], "additionalProperties": false}, "buttonTypeRequestPeer": {"title": "buttonTypeRequestPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["buttonTypeRequestPeer"]}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer_type": {"type": "object", "x-tl-type": "RequestPeerType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["requestPeerTypeUser", "requestPeerTypeChat", "requestPeerTypeBroadcast", "requestPeerTypeCreateBot"]}}, "description": "Тип TL: RequestPeerType."}, "max_quantity": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "button_id", "peer_type", "max_quantity"], "additionalProperties": false}, "inputButtonTypeRequestPeer": {"title": "inputButtonTypeRequestPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputButtonTypeRequestPeer"]}, "name_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "username_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "photo_requested": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer_type": {"type": "object", "x-tl-type": "RequestPeerType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["requestPeerTypeUser", "requestPeerTypeChat", "requestPeerTypeBroadcast", "requestPeerTypeCreateBot"]}}, "description": "Тип TL: RequestPeerType."}, "max_quantity": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "button_id", "peer_type", "max_quantity"], "additionalProperties": false}, "buttonTypeSimpleWebView": {"title": "buttonTypeSimpleWebView", "type": "object", "properties": {"_": {"type": "string", "enum": ["buttonTypeSimpleWebView"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "inlineButtonTypeUrl": {"title": "inlineButtonTypeUrl", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeUrl"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "inlineButtonTypeUrlAuth": {"title": "inlineButtonTypeUrlAuth", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeUrlAuth"]}, "fwd_text": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "url": {"type": "string", "x-tl-type": "string"}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "url", "button_id"], "additionalProperties": false}, "inputInlineButtonTypeUrlAuth": {"title": "inputInlineButtonTypeUrlAuth", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInlineButtonTypeUrlAuth"]}, "request_write_access": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "fwd_text": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "url": {"type": "string", "x-tl-type": "string"}, "bot": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser.", "x-tl-flag": "flags.2?InputUser"}}, "required": ["_", "url"], "additionalProperties": false}, "inlineButtonTypeWebView": {"title": "inlineButtonTypeWebView", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeWebView"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "inlineButtonTypeCallback": {"title": "inlineButtonTypeCallback", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeCallback"]}, "requires_password": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "data"], "additionalProperties": false}, "inlineButtonTypeGame": {"title": "inlineButtonTypeGame", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeGame"]}}, "required": ["_"], "additionalProperties": false}, "inlineButtonTypeBuy": {"title": "inlineButtonTypeBuy", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeBuy"]}}, "required": ["_"], "additionalProperties": false}, "inlineButtonTypeSwitchInline": {"title": "inlineButtonTypeSwitchInline", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeSwitchInline"]}, "same_peer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "query": {"type": "string", "x-tl-type": "string"}, "peer_types": {"type": "array", "items": {"type": "object", "x-tl-type": "InlineQueryPeerType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeSameBotPM", "inlineQueryPeerTypePM", "inlineQueryPeerTypeChat", "inlineQueryPeerTypeMegagroup", "inlineQueryPeerTypeBroadcast", "inlineQueryPeerTypeBotPM"]}}, "description": "TL Type: InlineQueryPeerType."}, "x-tl-type": "Vector<InlineQueryPeerType>", "x-tl-flag": "flags.1?Vector<InlineQueryPeerType>"}}, "required": ["_", "query"], "additionalProperties": false}, "inlineButtonTypeUserProfile": {"title": "inlineButtonTypeUserProfile", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeUserProfile"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "inputInlineButtonTypeUserProfile": {"title": "inputInlineButtonTypeUserProfile", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInlineButtonTypeUserProfile"]}, "user_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "TL Type: InputUser."}}, "required": ["_", "user_id"], "additionalProperties": false}, "inlineButtonTypeCopy": {"title": "inlineButtonTypeCopy", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeCopy"]}, "copy_text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "copy_text"], "additionalProperties": false}, "inlineButtonTypeDisabled": {"title": "inlineButtonTypeDisabled", "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeDisabled"]}}, "required": ["_"], "additionalProperties": false}, "keyboardInlineButton": {"title": "keyboardInlineButton", "type": "object", "properties": {"_": {"type": "string", "enum": ["keyboardInlineButton"]}, "style": {"type": "object", "x-tl-type": "KeyboardButtonStyle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["keyboardButtonStyle"]}}, "description": "Тип TL: KeyboardButtonStyle.", "x-tl-flag": "flags.10?KeyboardButtonStyle"}, "text": {"type": "string", "x-tl-type": "string"}, "type": {"type": "object", "x-tl-type": "InlineButtonType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeUrl", "inlineButtonTypeUrlAuth", "inputInlineButtonTypeUrlAuth", "inlineButtonTypeWebView", "inlineButtonTypeCallback", "inlineButtonTypeGame", "inlineButtonTypeBuy", "inlineButtonTypeSwitchInline", "inlineButtonTypeUserProfile", "inputInlineButtonTypeUserProfile", "inlineButtonTypeCopy", "inlineButtonTypeDisabled"]}}, "description": "Тип TL: InlineButtonType."}}, "required": ["_", "text", "type"], "additionalProperties": false}, "keyboardInlineButtonRow": {"title": "keyboardInlineButtonRow", "type": "object", "properties": {"_": {"type": "string", "enum": ["keyboardInlineButtonRow"]}, "buttons": {"type": "array", "items": {"type": "object", "x-tl-type": "KeyboardInlineButton", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["keyboardInlineButton"]}}, "description": "Тип TL: KeyboardInlineButton."}, "x-tl-type": "Vector<KeyboardInlineButton>"}}, "required": ["_", "buttons"], "additionalProperties": false}, "richButtonStyle": {"title": "richButtonStyle", "type": "object", "properties": {"_": {"type": "string", "enum": ["richButtonStyle"]}, "bg_primary": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "bg_danger": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "bg_success": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "link": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}}, "required": ["_"], "additionalProperties": false}, "pageButton": {"title": "pageButton", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageButton"]}, "text": {"type": "object", "x-tl-type": "RichText", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textEmpty", "textPlain", "textBold", "textItalic", "textUnderline", "textStrike", "textFixed", "textUrl", "textEmail", "textConcat", "textSubscript", "textSuperscript", "textMarked", "textPhone", "textImage", "textAnchor", "textMath", "textCustomEmoji", "textSpoiler", "textMention", "textHashtag", "textBotCommand", "textCashtag", "textAutoUrl", "textAutoEmail", "textAutoPhone", "textBankCard", "textMentionName", "textDate", "textDiff", "textButton", "textTonAddress"]}}, "description": "Тип TL: RichText."}, "type": {"type": "object", "x-tl-type": "InlineButtonType", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inlineButtonTypeUrl", "inlineButtonTypeUrlAuth", "inputInlineButtonTypeUrlAuth", "inlineButtonTypeWebView", "inlineButtonTypeCallback", "inlineButtonTypeGame", "inlineButtonTypeBuy", "inlineButtonTypeSwitchInline", "inlineButtonTypeUserProfile", "inputInlineButtonTypeUserProfile", "inlineButtonTypeCopy", "inlineButtonTypeDisabled"]}}, "description": "Тип TL: InlineButtonType."}, "style": {"type": "object", "x-tl-type": "RichButtonStyle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["richButtonStyle"]}}, "description": "Тип TL: RichButtonStyle.", "x-tl-flag": "flags.0?RichButtonStyle"}}, "required": ["_", "text", "type"], "additionalProperties": false}, "ephemeral.welcomeMessagesNotModified": {"title": "ephemeral.welcomeMessagesNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["ephemeral.welcomeMessagesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "ephemeral.welcomeMessages": {"title": "ephemeral.welcomeMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["ephemeral.welcomeMessages"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "EphemeralMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["ephemeralMessage"]}}, "description": "Тип TL: EphemeralMessage."}, "x-tl-type": "Vector<EphemeralMessage>"}}, "required": ["_", "hash", "messages"], "additionalProperties": false}, "currencyRate": {"title": "currencyRate", "type": "object", "properties": {"_": {"type": "string", "enum": ["currencyRate"]}, "currency": {"type": "string", "x-tl-type": "string"}, "rate": {"type": "number", "format": "double", "x-tl-type": "double"}}, "required": ["_", "currency", "rate"], "additionalProperties": false}, "payments.currencyRates": {"title": "payments.currencyRates", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.currencyRates"]}, "rates": {"type": "array", "items": {"type": "object", "x-tl-type": "CurrencyRate", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["currencyRate"]}}, "description": "Тип TL: CurrencyRate."}, "x-tl-type": "Vector<CurrencyRate>"}}, "required": ["_", "rates"], "additionalProperties": false}, "toncenter.apiResponse": {"title": "toncenter.apiResponse", "type": "object", "properties": {"_": {"type": "string", "enum": ["toncenter.apiResponse"]}, "response": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON."}}, "required": ["_", "response"], "additionalProperties": false}, "toncenter.streamingUrl": {"title": "toncenter.streamingUrl", "type": "object", "properties": {"_": {"type": "string", "enum": ["toncenter.streamingUrl"]}, "url": {"type": "string", "x-tl-type": "string"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "url", "expires"], "additionalProperties": false}, "onrampMethodAvailability": {"title": "onrampMethodAvailability", "type": "object", "properties": {"_": {"type": "string", "enum": ["onrampMethodAvailability"]}, "available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "payment_method": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "payment_method"], "additionalProperties": false}, "onrampProviderInfo": {"title": "onrampProviderInfo", "type": "object", "properties": {"_": {"type": "string", "enum": ["onrampProviderInfo"]}, "supports_base_currencies": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "supports_limits": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "supports_quote": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "id": {"type": "string", "x-tl-type": "string"}, "name": {"type": "string", "x-tl-type": "string"}, "crypto_currencies": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}}, "required": ["_", "id", "name", "crypto_currencies"], "additionalProperties": false}, "onrampAvailability": {"title": "onrampAvailability", "type": "object", "properties": {"_": {"type": "string", "enum": ["onrampAvailability"]}, "allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "buy_allowed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "country_code": {"type": "string", "x-tl-type": "string"}, "state": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "methods": {"type": "array", "items": {"type": "object", "x-tl-type": "OnrampMethodAvailability", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["onrampMethodAvailability"]}}, "description": "Тип TL: OnrampMethodAvailability."}, "x-tl-type": "Vector<OnrampMethodAvailability>"}}, "required": ["_", "country_code", "methods"], "additionalProperties": false}, "onrampLimits": {"title": "onrampLimits", "type": "object", "properties": {"_": {"type": "string", "enum": ["onrampLimits"]}, "base_currency": {"type": "string", "x-tl-type": "string"}, "base_min_amount": {"type": "string", "x-tl-type": "string"}, "base_max_amount": {"type": "string", "x-tl-type": "string"}, "crypto_min_amount": {"type": "string", "x-tl-type": "string"}, "crypto_max_amount": {"type": "string", "x-tl-type": "string"}, "payment_method": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "base_currency", "base_min_amount", "base_max_amount", "crypto_min_amount", "crypto_max_amount", "payment_method"], "additionalProperties": false}, "onrampQuote": {"title": "onrampQuote", "type": "object", "properties": {"_": {"type": "string", "enum": ["onrampQuote"]}, "base_currency": {"type": "string", "x-tl-type": "string"}, "base_amount": {"type": "string", "x-tl-type": "string"}, "crypto_currency": {"type": "string", "x-tl-type": "string"}, "crypto_amount": {"type": "string", "x-tl-type": "string"}, "crypto_price": {"type": "string", "x-tl-type": "string"}, "fee_amount": {"type": "string", "x-tl-type": "string"}, "extra_fee_amount": {"type": "string", "x-tl-type": "string"}, "network_fee_amount": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "x-tl-type": "string"}, "payment_method": {"type": "string", "x-tl-type": "string"}, "expires_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "base_currency", "base_amount", "crypto_currency", "crypto_amount", "crypto_price", "fee_amount", "extra_fee_amount", "network_fee_amount", "total_amount", "payment_method", "expires_date"], "additionalProperties": false}, "onrampSession": {"title": "onrampSession", "type": "object", "properties": {"_": {"type": "string", "enum": ["onrampSession"]}, "provider": {"type": "string", "x-tl-type": "string"}, "session_id": {"type": "string", "x-tl-type": "string"}, "url": {"type": "string", "x-tl-type": "string"}, "expires_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "provider", "session_id", "url", "expires_date"], "additionalProperties": false}, "walletStateEmpty": {"title": "walletStateEmpty", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStateEmpty"]}, "creating": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "walletState": {"title": "walletState", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletState"]}, "backup_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "can_export_phrase": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "can_enable_backup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "address": {"type": "string", "x-tl-type": "string"}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "balance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "address", "public_key", "balance"], "additionalProperties": false}, "walletUserAddress": {"title": "walletUserAddress", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletUserAddress"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "address": {"type": "string", "x-tl-type": "string"}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "address", "public_key"], "additionalProperties": false}, "wallet.userAddresses": {"title": "wallet.userAddresses", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.userAddresses"]}, "addresses": {"type": "array", "items": {"type": "object", "x-tl-type": "WalletUserAddress", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletUserAddress"]}}, "description": "Тип TL: WalletUserAddress."}, "x-tl-type": "Vector<WalletUserAddress>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>"}}, "required": ["_", "addresses", "users"], "additionalProperties": false}, "walletTransactionPeerUser": {"title": "walletTransactionPeerUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "address": {"type": "string", "x-tl-type": "string"}, "domain": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id", "address"], "additionalProperties": false}, "walletTransactionPeerAddress": {"title": "walletTransactionPeerAddress", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerAddress"]}, "address": {"type": "string", "x-tl-type": "string"}, "domain": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "address"], "additionalProperties": false}, "walletTransactionPeerOnramp": {"title": "walletTransactionPeerOnramp", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerOnramp"]}, "address": {"type": "string", "x-tl-type": "string"}, "domain": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "provider_name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "address", "provider_name"], "additionalProperties": false}, "walletTransactionPeerUnsupported": {"title": "walletTransactionPeerUnsupported", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "walletTransactionPeerChannel": {"title": "walletTransactionPeerChannel", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "address": {"type": "string", "x-tl-type": "string"}, "domain": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "channel_id", "address"], "additionalProperties": false}, "walletTransactionPeerTelegramGift": {"title": "walletTransactionPeerTelegramGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerTelegramGift"]}, "own_profile": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "walletTransactionPeerOnchainGift": {"title": "walletTransactionPeerOnchainGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerOnchainGift"]}, "action": {"type": "object", "x-tl-type": "WalletOnchainGiftAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionBuy", "walletOnchainGiftActionDelist", "walletOnchainGiftActionChangePrice", "walletOnchainGiftActionOfferCreate", "walletOnchainGiftActionOfferAccept", "walletOnchainGiftActionOfferCancel", "walletOnchainGiftActionOfferDecline", "walletOnchainGiftActionOfferExpire"]}}, "description": "Тип TL: WalletOnchainGiftAction."}}, "required": ["_", "action"], "additionalProperties": false}, "walletTransactionPeerStaking": {"title": "walletTransactionPeerStaking", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerStaking"]}, "action": {"type": "object", "x-tl-type": "WalletStakingAction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletStakingActionDeposit", "walletStakingActionWithdraw", "walletStakingActionWithdrawPending"]}}, "description": "Тип TL: WalletStakingAction."}}, "required": ["_", "action"], "additionalProperties": false}, "walletTransaction": {"title": "walletTransaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletTransaction"]}, "incoming": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "gasless": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "failed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "key_change": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true"}, "comment_encrypted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true"}, "suspected_spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true"}, "id": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "fee": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer": {"type": "object", "x-tl-type": "WalletTransactionPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletTransactionPeerUser", "walletTransactionPeerAddress", "walletTransactionPeerOnramp", "walletTransactionPeerUnsupported", "walletTransactionPeerChannel", "walletTransactionPeerTelegramGift", "walletTransactionPeerOnchainGift", "walletTransactionPeerStaking"]}}, "description": "Тип TL: WalletTransactionPeer."}, "comment": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "tx_hash": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string"}, "nft": {"type": "object", "x-tl-type": "wallet.NftItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.nftItem"]}}, "description": "Тип TL: wallet.NftItem.", "x-tl-flag": "flags.7?wallet.NftItem"}}, "required": ["_", "id", "amount", "fee", "date", "peer"], "additionalProperties": false}, "wallet.transactions": {"title": "wallet.transactions", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.transactions"]}, "balance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "transactions": {"type": "array", "items": {"type": "object", "x-tl-type": "WalletTransaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletTransaction"]}}, "description": "Тип TL: WalletTransaction."}, "x-tl-type": "Vector<WalletTransaction>"}, "next_offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>"}}, "required": ["_", "balance", "transactions", "chats", "users"], "additionalProperties": false}, "wallet.secretPhraseParts": {"title": "wallet.secretPhraseParts", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.secretPhraseParts"]}, "token": {"type": "string", "x-tl-type": "string"}, "dcs": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "token", "dcs"], "additionalProperties": false}, "wallet.encryptedSecretPhrasePart": {"title": "wallet.encryptedSecretPhrasePart", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.encryptedSecretPhrasePart"]}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "data"], "additionalProperties": false}, "wallet.holderDc": {"title": "wallet.holderDc", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.holderDc"]}, "dc": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "dc", "public_key"], "additionalProperties": false}, "wallet.proofChallenge": {"title": "wallet.proofChallenge", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.proofChallenge"]}, "payload": {"type": "string", "x-tl-type": "string"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "domain": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "payload", "expires", "domain"], "additionalProperties": false}, "walletOwnershipProof": {"title": "walletOwnershipProof", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOwnershipProof"]}, "timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "signature": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "timestamp", "signature"], "additionalProperties": false}, "inputWalletNew": {"title": "inputWalletNew", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWalletNew"]}}, "required": ["_"], "additionalProperties": false}, "inputWalletImported": {"title": "inputWalletImported", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWalletImported"]}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "anchor_public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "proof": {"type": "object", "x-tl-type": "WalletOwnershipProof", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletOwnershipProof"]}}, "description": "Тип TL: WalletOwnershipProof."}}, "required": ["_", "public_key", "proof"], "additionalProperties": false}, "tonConnectManifest": {"title": "tonConnectManifest", "type": "object", "properties": {"_": {"type": "string", "enum": ["tonConnectManifest"]}, "url": {"type": "string", "x-tl-type": "string"}, "name": {"type": "string", "x-tl-type": "string"}, "icon": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.0?WebDocument"}}, "required": ["_", "url", "name"], "additionalProperties": false}, "tonConnectSession": {"title": "tonConnectSession", "type": "object", "properties": {"_": {"type": "string", "enum": ["tonConnectSession"]}, "pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "closing": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "closed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "dapp_client_id": {"type": "string", "x-tl-type": "string"}, "client_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "nonce": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "manifest": {"type": "object", "x-tl-type": "TonConnectManifest", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectManifest"]}}, "description": "Тип TL: TonConnectManifest.", "x-tl-flag": "flags.4?TonConnectManifest"}, "manifest_error": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "dapp_client_id", "nonce", "date"], "additionalProperties": false}, "wallet.tonConnectChallenge": {"title": "wallet.tonConnectChallenge", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.tonConnectChallenge"]}, "challenge": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "event_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "challenge", "event_id"], "additionalProperties": false}, "tonConnectNextEventId": {"title": "tonConnectNextEventId", "type": "object", "properties": {"_": {"type": "string", "enum": ["tonConnectNextEventId"]}, "event_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "event_id"], "additionalProperties": false}, "tonConnectRequest": {"title": "tonConnectRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["tonConnectRequest"]}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "topic": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_", "session_id", "msg_id", "body", "expires"], "additionalProperties": false}, "wallet.tonConnectPending": {"title": "wallet.tonConnectPending", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.tonConnectPending"]}, "session": {"type": "object", "x-tl-type": "TonConnectSession", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectSession"]}}, "description": "Тип TL: TonConnectSession."}, "requests": {"type": "array", "items": {"type": "object", "x-tl-type": "TonConnectRequest", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectRequest"]}}, "description": "Тип TL: TonConnectRequest."}, "x-tl-type": "Vector<TonConnectRequest>"}}, "required": ["_", "session", "requests"], "additionalProperties": false}, "wallet.tonConnectSessions": {"title": "wallet.tonConnectSessions", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.tonConnectSessions"]}, "sessions": {"type": "array", "items": {"type": "object", "x-tl-type": "TonConnectSession", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["tonConnectSession"]}}, "description": "Тип TL: TonConnectSession."}, "x-tl-type": "Vector<TonConnectSession>"}}, "required": ["_", "sessions"], "additionalProperties": false}, "wallet.existingBalance": {"title": "wallet.existingBalance", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.existingBalance"]}, "has_balance": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "wallet.nftAttribute": {"title": "wallet.nftAttribute", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.nftAttribute"]}, "trait_type": {"type": "string", "x-tl-type": "string"}, "value": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "trait_type", "value"], "additionalProperties": false}, "wallet.nftItem": {"title": "wallet.nftItem", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.nftItem"]}, "collection_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "address": {"type": "string", "x-tl-type": "string"}, "owner_address": {"type": "string", "x-tl-type": "string"}, "index": {"type": "string", "x-tl-type": "string"}, "name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "image": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.3?WebDocument"}, "image_small": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.4?WebDocument"}, "content_url": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.5?WebDocument"}, "lottie": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Тип TL: WebDocument.", "x-tl-flag": "flags.6?WebDocument"}, "attributes": {"type": "array", "items": {"type": "object", "x-tl-type": "wallet.NftAttribute", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.nftAttribute"]}}, "description": "Тип TL: wallet.NftAttribute."}, "x-tl-type": "Vector<wallet.NftAttribute>", "x-tl-flag": "flags.7?Vector<wallet.NftAttribute>"}, "extra": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON.", "x-tl-flag": "flags.8?DataJSON"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift.", "x-tl-flag": "flags.9?StarGift"}}, "required": ["_", "address", "owner_address", "index"], "additionalProperties": false}, "wallet.nftItems": {"title": "wallet.nftItems", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.nftItems"]}, "items": {"type": "array", "items": {"type": "object", "x-tl-type": "wallet.NftItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.nftItem"]}}, "description": "Тип TL: wallet.NftItem."}, "x-tl-type": "Vector<wallet.NftItem>"}, "next_offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "items"], "additionalProperties": false}, "auth.firebasePnvIntent": {"title": "auth.firebasePnvIntent", "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.firebasePnvIntent"]}, "nonce": {"type": "string", "x-tl-type": "string"}, "digital_credential_payload": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "nonce", "digital_credential_payload"], "additionalProperties": false}, "inputTonConnectOauthSession": {"title": "inputTonConnectOauthSession", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputTonConnectOauthSession"]}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "challenge_answer": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "proof": {"type": "object", "x-tl-type": "WalletOwnershipProof", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["walletOwnershipProof"]}}, "description": "Тип TL: WalletOwnershipProof."}}, "required": ["_", "session_id", "challenge_answer", "body", "proof"], "additionalProperties": false}, "exportedNoPaidMessagesToken": {"title": "exportedNoPaidMessagesToken", "type": "object", "properties": {"_": {"type": "string", "enum": ["exportedNoPaidMessagesToken"]}, "token": {"type": "string", "x-tl-type": "string"}, "url": {"type": "string", "x-tl-type": "string"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "token", "url"], "additionalProperties": false}, "shareThemeDefault": {"title": "shareThemeDefault", "type": "object", "properties": {"_": {"type": "string", "enum": ["shareThemeDefault"]}}, "required": ["_"], "additionalProperties": false}, "shareThemeEmojiBackdrop": {"title": "shareThemeEmojiBackdrop", "type": "object", "properties": {"_": {"type": "string", "enum": ["shareThemeEmojiBackdrop"]}, "backdrop_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}, "emojis": {"type": "array", "items": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "TL Type: Reaction."}, "x-tl-type": "Vector<Reaction>", "x-tl-flag": "flags.1?Vector<Reaction>"}}, "required": ["_"], "additionalProperties": false}, "shareThemeGift": {"title": "shareThemeGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["shareThemeGift"]}, "stargift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Тип TL: StarGift."}}, "required": ["_", "stargift"], "additionalProperties": false}, "inputShareThemeGift": {"title": "inputShareThemeGift", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputShareThemeGift"]}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputSavedStarGiftUser", "inputSavedStarGiftChat", "inputSavedStarGiftSlug"]}}, "description": "TL Type: InputSavedStarGift."}}, "required": ["_", "stargift"], "additionalProperties": false}, "shareThemeBackdropOption": {"title": "shareThemeBackdropOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["shareThemeBackdropOption"]}, "backdrop_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "name": {"type": "string", "x-tl-type": "string"}, "center_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "edge_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "pattern_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "text_color": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "backdrop_id", "name", "center_color", "edge_color", "pattern_color", "text_color"], "additionalProperties": false}, "shareThemeBackdropsNotModified": {"title": "shareThemeBackdropsNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["shareThemeBackdropsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "shareThemeBackdrops": {"title": "shareThemeBackdrops", "type": "object", "properties": {"_": {"type": "string", "enum": ["shareThemeBackdrops"]}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "backdrops": {"type": "array", "items": {"type": "object", "x-tl-type": "ShareThemeBackdropOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["shareThemeBackdropOption"]}}, "description": "Тип TL: ShareThemeBackdropOption."}, "x-tl-type": "Vector<ShareThemeBackdropOption>"}}, "required": ["_", "hash", "backdrops"], "additionalProperties": false}, "inputWalletCardSticker": {"title": "inputWalletCardSticker", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWalletCardSticker"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Тип TL: MediaAreaCoordinates."}, "nft_address": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "coordinates", "nft_address"], "additionalProperties": false}, "wallet.cardSticker": {"title": "wallet.cardSticker", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.cardSticker"]}, "coordinates": {"type": "object", "x-tl-type": "MediaAreaCoordinates", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["mediaAreaCoordinates"]}}, "description": "Тип TL: MediaAreaCoordinates."}, "nft": {"type": "object", "x-tl-type": "wallet.NftItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.nftItem"]}}, "description": "Тип TL: wallet.NftItem."}}, "required": ["_", "coordinates", "nft"], "additionalProperties": false}, "wallet.card": {"title": "wallet.card", "type": "object", "properties": {"_": {"type": "string", "enum": ["wallet.card"]}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "wallet.CardSticker", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.cardSticker"]}}, "description": "Тип TL: wallet.CardSticker."}, "x-tl-type": "Vector<wallet.CardSticker>", "x-tl-flag": "flags.0?Vector<wallet.CardSticker>"}, "bg_nft_item": {"type": "object", "x-tl-type": "wallet.NftItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallet.nftItem"]}}, "description": "Тип TL: wallet.NftItem.", "x-tl-flag": "flags.1?wallet.NftItem"}, "address": {"type": "string", "x-tl-type": "string"}, "balance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "address", "balance"], "additionalProperties": false}, "payments.starGiftDepositPayload": {"title": "payments.starGiftDepositPayload", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftDepositPayload"]}, "nft_address": {"type": "string", "x-tl-type": "string"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "nft_address", "payload", "amount"], "additionalProperties": false}, "userWallet": {"title": "userWallet", "type": "object", "properties": {"_": {"type": "string", "enum": ["userWallet"]}, "address": {"type": "string", "x-tl-type": "string"}, "balance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}, "state_init": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes"}}, "required": ["_", "address", "balance"], "additionalProperties": false}, "widgetQueryTypeData": {"title": "widgetQueryTypeData", "type": "object", "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeData"]}, "with_wallet": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "widgetQueryTypeSignData": {"title": "widgetQueryTypeSignData", "type": "object", "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeSignData"]}, "wallet": {"type": "object", "x-tl-type": "UserWallet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userWallet"]}}, "description": "Тип TL: UserWallet."}, "sign_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "TL type: DataJSON."}}, "required": ["_", "wallet", "sign_data"], "additionalProperties": false}, "widgetQueryTypeSentTransaction": {"title": "widgetQueryTypeSentTransaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["widgetQueryTypeSentTransaction"]}, "wallet": {"type": "object", "x-tl-type": "UserWallet", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userWallet"]}}, "description": "Тип TL: UserWallet."}, "msg_hash": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "wallet", "msg_hash"], "additionalProperties": false}, "messages.botWidgetQueryAnswer": {"title": "messages.botWidgetQueryAnswer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.botWidgetQueryAnswer"]}, "result": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_"], "additionalProperties": false}, "messages.widgetPublicDataNotModified": {"title": "messages.widgetPublicDataNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.widgetPublicDataNotModified"]}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "period"], "additionalProperties": false}, "messages.widgetPublicData": {"title": "messages.widgetPublicData", "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.widgetPublicData"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "x-tl-type": "string"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "hash", "data", "period"], "additionalProperties": false}, "walletOnchainGiftActionBuy": {"title": "walletOnchainGiftActionBuy", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionBuy"]}}, "required": ["_"], "additionalProperties": false}, "walletOnchainGiftActionDelist": {"title": "walletOnchainGiftActionDelist", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionDelist"]}}, "required": ["_"], "additionalProperties": false}, "walletOnchainGiftActionChangePrice": {"title": "walletOnchainGiftActionChangePrice", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionChangePrice"]}, "old_price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "new_price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "new_price"], "additionalProperties": false}, "walletOnchainGiftActionOfferCreate": {"title": "walletOnchainGiftActionOfferCreate", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferCreate"]}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "service_fee": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}}, "required": ["_", "offer_address", "price", "amount", "service_fee"], "additionalProperties": false}, "walletOnchainGiftActionOfferAccept": {"title": "walletOnchainGiftActionOfferAccept", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferAccept"]}, "buyer": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "service_fee": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "offer_address", "counterparty_address", "price", "service_fee"], "additionalProperties": false}, "walletOnchainGiftActionOfferCancel": {"title": "walletOnchainGiftActionOfferCancel", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferCancel"]}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "refund_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "fine": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "required": ["_", "offer_address", "refund_amount"], "additionalProperties": false}, "walletOnchainGiftActionOfferDecline": {"title": "walletOnchainGiftActionOfferDecline", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferDecline"]}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "refund_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "offer_address", "refund_amount"], "additionalProperties": false}, "walletOnchainGiftActionOfferExpire": {"title": "walletOnchainGiftActionOfferExpire", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletOnchainGiftActionOfferExpire"]}, "offer_address": {"type": "string", "x-tl-type": "string"}, "counterparty_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "price": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "refund_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "offer_address", "refund_amount"], "additionalProperties": false}, "payments.starGiftOnchainSalePayload": {"title": "payments.starGiftOnchainSalePayload", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainSalePayload"]}, "gasless_available": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "nft_address": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "nft_address", "amount", "payload"], "additionalProperties": false}, "payments.starGiftOnchainFixedSalePayload": {"title": "payments.starGiftOnchainFixedSalePayload", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainFixedSalePayload"]}, "sale_address": {"type": "string", "x-tl-type": "string"}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxMessage."}, "x-tl-type": "Vector<payments.StarGiftOnchainOfferTxMessage>"}, "gasless_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxMessage."}, "x-tl-type": "Vector<payments.StarGiftOnchainOfferTxMessage>", "x-tl-flag": "flags.0?Vector<payments.StarGiftOnchainOfferTxMessage>"}}, "required": ["_", "sale_address", "messages"], "additionalProperties": false}, "payments.starGiftOnchainOfferTxInitState": {"title": "payments.starGiftOnchainOfferTxInitState", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxInitState"]}, "code": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "code", "data"], "additionalProperties": false}, "payments.starGiftOnchainOfferTxMessage": {"title": "payments.starGiftOnchainOfferTxMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}, "destination": {"type": "string", "x-tl-type": "string"}, "value": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "mode": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "init_state": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxInitState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxInitState"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxInitState.", "x-tl-flag": "flags.0?payments.StarGiftOnchainOfferTxInitState"}}, "required": ["_", "destination", "value", "mode", "body"], "additionalProperties": false}, "payments.starGiftOnchainOfferTx": {"title": "payments.starGiftOnchainOfferTx", "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTx"]}, "offer_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "offer_address": {"type": "string", "x-tl-type": "string"}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxMessage."}, "gasless_message": {"type": "object", "x-tl-type": "payments.StarGiftOnchainOfferTxMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["payments.starGiftOnchainOfferTxMessage"]}}, "description": "Тип TL: payments.StarGiftOnchainOfferTxMessage.", "x-tl-flag": "flags.3?payments.StarGiftOnchainOfferTxMessage"}, "rent_budget": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "execution_allowance": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "forward_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "fine": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "required": ["_", "offer_id", "offer_address", "expires_at", "message"], "additionalProperties": false}, "inputAiComposeStyle": {"title": "inputAiComposeStyle", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeStyle"]}, "emojify": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true"}, "proofread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true"}, "tone": {"type": "object", "x-tl-type": "InputAiComposeTone", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneDefault", "inputAiComposeToneID", "inputAiComposeToneSlug", "inputAiComposeToneSingleUse"]}}, "description": "Тип TL: InputAiComposeTone.", "x-tl-flag": "flags.0?InputAiComposeTone"}, "to_lang": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string"}}, "required": ["_"], "additionalProperties": false}, "transcriptionModel": {"title": "transcriptionModel", "type": "object", "properties": {"_": {"type": "string", "enum": ["transcriptionModel"]}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "languages": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "document", "languages", "version"], "additionalProperties": false}, "botProfileWidget": {"title": "botProfileWidget", "type": "object", "properties": {"_": {"type": "string", "enum": ["botProfileWidget"]}, "can_query": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "background_query": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "public_data_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}}, "required": ["_", "payload"], "additionalProperties": false}, "feedPosition": {"title": "feedPosition", "type": "object", "properties": {"_": {"type": "string", "enum": ["feedPosition"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "TL Type: Peer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "date", "peer", "id"], "additionalProperties": false}, "feed.feedMessagesNotModified": {"title": "feed.feedMessagesNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["feed.feedMessagesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "feed.feedMessages": {"title": "feed.feedMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["feed.feedMessages"]}, "max_position": {"type": "object", "x-tl-type": "FeedPosition", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["feedPosition"]}}, "description": "Тип TL: FeedPosition.", "x-tl-flag": "flags.0?FeedPosition"}, "min_position": {"type": "object", "x-tl-type": "FeedPosition", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["feedPosition"]}}, "description": "Тип TL: FeedPosition.", "x-tl-flag": "flags.1?FeedPosition"}, "read_max_position": {"type": "object", "x-tl-type": "FeedPosition", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["feedPosition"]}}, "description": "Тип TL: FeedPosition.", "x-tl-flag": "flags.2?FeedPosition"}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>"}}, "required": ["_", "messages", "chats", "users"], "additionalProperties": false}, "feedItemMessage": {"title": "feedItemMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["feedItemMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}}, "required": ["_", "message"], "additionalProperties": false}, "feedItemMessageGroup": {"title": "feedItemMessageGroup", "type": "object", "properties": {"_": {"type": "string", "enum": ["feedItemMessageGroup"]}, "messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Тип TL: Message."}, "x-tl-type": "Vector<Message>"}}, "required": ["_", "messages"], "additionalProperties": false}, "feedItemInterestCategories": {"title": "feedItemInterestCategories", "type": "object", "properties": {"_": {"type": "string", "enum": ["feedItemInterestCategories"]}}, "required": ["_"], "additionalProperties": false}, "feed.forYouFeed": {"title": "feed.forYouFeed", "type": "object", "properties": {"_": {"type": "string", "enum": ["feed.forYouFeed"]}, "items": {"type": "array", "items": {"type": "object", "x-tl-type": "FeedItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["feedItemMessage", "feedItemMessageGroup", "feedItemInterestCategories"]}}, "description": "Тип TL: FeedItem."}, "x-tl-type": "Vector<FeedItem>"}, "chats": {"type": "array", "items": {"type": "object", "x-tl-type": "Chat", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatEmpty", "chat", "chatForbidden", "channel", "channelForbidden", "communityForbidden", "community"]}}, "description": "Тип TL: Chat."}, "x-tl-type": "Vector<Chat>"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Type TL: User."}, "x-tl-type": "Vector<User>"}, "recommendation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "items", "chats", "users"], "additionalProperties": false}, "feed.interestCategory": {"title": "feed.interestCategory", "type": "object", "properties": {"_": {"type": "string", "enum": ["feed.interestCategory"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "title": {"type": "string", "x-tl-type": "string"}, "emoji": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "emoji_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "feed.interestCategoriesNotModified": {"title": "feed.interestCategoriesNotModified", "type": "object", "properties": {"_": {"type": "string", "enum": ["feed.interestCategoriesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "feed.interestCategories": {"title": "feed.interestCategories", "type": "object", "properties": {"_": {"type": "string", "enum": ["feed.interestCategories"]}, "categories": {"type": "array", "items": {"type": "object", "x-tl-type": "feed.InterestCategory", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["feed.interestCategory"]}}, "description": "Тип TL: feed.InterestCategory."}, "x-tl-type": "Vector<feed.InterestCategory>"}, "selected": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}, "required": ["_", "categories", "selected"], "additionalProperties": false}, "inputFeedEvent": {"title": "inputFeedEvent", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFeedEvent"]}, "peer": {"type": "object", "x-tl-type": "InputPeer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty", "inputPeerSelf", "inputPeerChat", "inputPeerUser", "inputPeerChannel", "inputPeerUserFromMessage", "inputPeerChannelFromMessage"]}}, "description": "TL Type: InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "action": {"type": "string", "x-tl-type": "string"}, "surface": {"type": "string", "x-tl-type": "string"}, "recommendation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "recommendation_rank": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int"}, "recommendation_role": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string"}, "kind": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string"}, "duration_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int"}, "event_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.5?int"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.6?long"}}, "required": ["_", "peer", "msg_id", "action", "surface"], "additionalProperties": false}, "voipModel": {"title": "voipModel", "type": "object", "properties": {"_": {"type": "string", "enum": ["voipModel"]}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "TL Type: Document."}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "document", "version"], "additionalProperties": false}, "walletStakingInfo": {"title": "walletStakingInfo", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStakingInfo"]}, "halted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.0?true"}, "deposits_closed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true"}, "apr": {"type": "number", "format": "double", "x-tl-type": "double"}, "staked": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "available": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "pending_ton": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "round_closes_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "apr", "staked", "available", "pending_ton", "round_closes_at"], "additionalProperties": false}, "walletStakingPrepared": {"title": "walletStakingPrepared", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStakingPrepared"]}, "destination": {"type": "string", "x-tl-type": "string"}, "value": {"type": "string", "pattern": "^-?\\d+$", "description": "64-битное целое в десятичной записи.", "x-tl-type": "long"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "destination", "value", "body"], "additionalProperties": false}, "walletStakingActionDeposit": {"title": "walletStakingActionDeposit", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStakingActionDeposit"]}}, "required": ["_"], "additionalProperties": false}, "walletStakingActionWithdraw": {"title": "walletStakingActionWithdraw", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStakingActionWithdraw"]}}, "required": ["_"], "additionalProperties": false}, "walletStakingActionWithdrawPending": {"title": "walletStakingActionWithdrawPending", "type": "object", "properties": {"_": {"type": "string", "enum": ["walletStakingActionWithdrawPending"]}}, "required": ["_"], "additionalProperties": false}}}, "x-telegram-layer": 236, "x-tag-labels": {"Служебные методы": "Utility Methods", "Авторизация": "Authorization", "Аккаунт": "Konto", "Пользователи": "Users", "Контакты": "Contacts", "Сообщения": "Nachrichten", "Обновления": "Updates", "Фотографии": "Photos", "Файлы": "Files", "Конфигурация и справка": "Configuration and Help", "Каналы и супергруппы": "Kanäle und Supergruppen", "Боты": "Bots", "Платежи": "Payments", "Стикеры": "Stickers", "Звонки": "Calls", "Переводы": "Translations", "Папки": "Folders", "Статистика": "Statistics", "Папки чатов": "Chat-Ordner", "Истории": "Stories", "Telegram Premium": "Telegram Premium", "SMS": "SMS", "Fragment": "Fragment", "aicompose": "KI-Editor", "communities": "Communitys", "ephemeral": "Temporäre Nachrichten", "toncenter": "TON Center", "wallet": "Wallet", "feed": "Feed"}}