{"openapi": "3.0.3", "info": {"title": "Directorio de prueba de Telegram MTProto", "version": "0.1.0", "description": "Каталог методов клиентского API Telegram."}, "servers": [{"url": "."}], "tags": [{"name": "Métodos de utilidad", "description": "Operaciones globales de TL."}, {"name": "Autorización", "description": "Espacio de nombres TL: auth."}, {"name": "cuenta", "description": "Espacio de nombres TL: account."}, {"name": "Usuarios", "description": "Espacio de nombres TL: users."}, {"name": "Contactos", "description": "Espacio de nombres TL: contacts."}, {"name": "Mensajes", "description": "Espacio de nombres TL: messages."}, {"name": "Actualizaciones", "description": "Espacio de nombres TL: updates."}, {"name": "Fotos", "description": "Espacio de nombres TL: photos."}, {"name": "Archivos", "description": "Espacio de nombres TL: upload."}, {"name": "Configuración y ayuda", "description": "Espacio de nombres TL: help."}, {"name": "Canales y supergrupos", "description": "Espacio de nombres TL: channels."}, {"name": "robots", "description": "Espacio de nombres TL: bots."}, {"name": "Pagos", "description": "Espacio de nombres TL: payments."}, {"name": "Pegatinas", "description": "Espacio de nombres TL: stickers."}, {"name": "llamadas", "description": "Espacio de nombres TL: phone."}, {"name": "Traducciones", "description": "Espacio de nombres TL: langpack."}, {"name": "Carpetas", "description": "Espacio de nombres TL: folders."}, {"name": "Estadísticas", "description": "Espacio de nombres TL: stats."}, {"name": "Carpetas de chat", "description": "Espacio de nombres TL: chatlists."}, {"name": "Historias", "description": "Espacio de nombres TL: stories."}, {"name": "Telegram Premium", "description": "Espacio de nombres TL: premium."}, {"name": "SMS", "description": "Espacio de nombres TL: smsjobs."}, {"name": "Fragment", "description": "Espacio de nombres TL: fragment."}, {"name": "Editor con IA", "description": "Espacio de nombres TL: aicompose."}, {"name": "Comunidades", "description": "Espacio de nombres TL: communities."}, {"name": "Mensajes temporales", "description": "Espacio de nombres TL: ephemeral."}, {"name": "TON Center", "description": "Espacio de nombres TL: toncenter."}, {"name": "Monedero", "description": "Espacio de nombres TL: wallet."}, {"name": "Noticias", "description": "Espacio de nombres TL: feed."}], "paths": {"/catalog/invokeAfterMsg": {"post": {"operationId": "invokeAfterMsg", "tags": ["Métodos de utilidad"], "summary": "Ejecutar una solicitud después de que otra se complete exitosamente", "description": "Telegram ejecutará la solicitud anidada después de que la anterior tenga éxito. El cliente puede enviar ambas solicitudes con antelación. Disponible para usuarios y bots. [Consultas secuenciales](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": "Resultado de MTProto · `X`.\n\nEl tipo de X es el mismo que el tipo de resultado del método anidado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- `MSG_WAIT_TIMEOUT` — Se agotó el tiempo de espera de la solicitud anterior.\n- `MSG_WAIT_FAILED`: la solicitud anterior falló con un error RPC."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/invokeAfterMsg"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"msg_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El ID de transporte de 64 bits de la solicitud MTProto anterior.", "x-tl-type": "long"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Una solicitud TL anidada que Telegram ejecutará después de la anterior."}}, "additionalProperties": false, "required": ["msg_id", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `msg_id` | `long` | si | El ID de transporte de 64 bits de la solicitud MTProto anterior. |\n| `query` | `!X` | si | Una solicitud TL anidada que Telegram ejecutará después de la anterior. |"}, "x-telegram-rpc-errors": ["MSG_WAIT_TIMEOUT", "MSG_WAIT_FAILED"], "x-browser-schema-id": "3416209197"}}, "/catalog/invokeAfterMsgs": {"post": {"operationId": "invokeAfterMsgs", "tags": ["Métodos de utilidad"], "summary": "Invoca una consulta después de completar con éxito consultas anteriores", "description": "Invoca una consulta después de completar con éxito consultas anteriores", "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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de mensajes de los que depende una consulta actual"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "La consulta en sí"}}, "additionalProperties": false, "required": ["msg_ids", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `msg_ids` | `Vector<long>` | si | Lista de mensajes de los que depende una consulta actual |\n| `query` | `!X` | si | La consulta en sí |"}, "x-browser-schema-id": "1036301552"}}, "/catalog/initConnection": {"post": {"operationId": "initConnection", "tags": ["Métodos de utilidad"], "summary": "Inicializar conexión", "description": "Inicializar conexión\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CONNECTION_LAYER_INVALID` — Capa no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp))"}, "device_model": {"type": "string", "x-tl-type": "string", "description": "Modelo de dispositivo"}, "system_version": {"type": "string", "x-tl-type": "string", "description": "Versión del sistema operativo"}, "app_version": {"type": "string", "x-tl-type": "string", "description": "Versión de la aplicación"}, "system_lang_code": {"type": "string", "x-tl-type": "string", "description": "Código para el idioma utilizado en el sistema operativo del dispositivo, estándar ISO 639-1"}, "lang_pack": {"type": "string", "x-tl-type": "string", "description": "Identificador de plataforma (i.e. `android`, `tdesktop`, etc.)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](https://core.telegram.org/api/links.md#language-pack-links)."}, "proxy": {"type": "object", "x-tl-type": "InputClientProxy", "oneOf": [{"$ref": "#/components/schemas/inputClientProxy"}], "description": "Información sobre un proxy MTProto", "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": "Parámetros de initConnection adicionales.  Por ahora, solo se admite el campo `tz_offset`, para especificar el desplazamiento de la zona horaria en segundos.", "x-tl-flag": "flags.1?JSONValue"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "La consulta en sí"}}, "additionalProperties": false, "required": ["api_id", "device_model", "system_version", "app_version", "system_lang_code", "lang_pack", "lang_code", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `api_id` | `int` | si | Identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp)) |\n| `device_model` | `string` | si | Modelo de dispositivo |\n| `system_version` | `string` | si | Versión del sistema operativo |\n| `app_version` | `string` | si | Versión de la aplicación |\n| `system_lang_code` | `string` | si | Código para el idioma utilizado en el sistema operativo del dispositivo, estándar ISO 639-1 |\n| `lang_pack` | `string` | si | Identificador de plataforma (i.e. `android`, `tdesktop`, etc.). |\n| `lang_code` | `string` | si | Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](https://core.telegram.org/api/links.md#language-pack-links). |\n| `proxy` | `InputClientProxy` | No | Información sobre un proxy MTProto |\n| `params` | `JSONValue` | No | Parámetros de initConnection adicionales.  Por ahora, solo se admite el campo `tz_offset`, para especificar el desplazamiento de la zona horaria en segundos. |\n| `query` | `!X` | si | La consulta en sí |"}, "x-telegram-rpc-errors": ["CONNECTION_LAYER_INVALID"], "x-browser-schema-id": "3251461801"}}, "/catalog/invokeWithLayer": {"post": {"operationId": "invokeWithLayer", "tags": ["Métodos de utilidad"], "summary": "Invocar la consulta especificada utilizando la capa API especificada", "description": "Invoque la consulta especificada utilizando la API [capa](https://core.telegram.org/api/invoking.md#layers) especificada\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Llamar a API Métodos](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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AUTH_BYTES_INVALID` — La autorización proporcionada no es válida.\n- 400 · `CDN_METHOD_INVALID`: no puedes llamar a este método en un CDN DC.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `CONNECTION_API_ID_INVALID`: la identificación API proporcionada no es válida.\n- 400 · `CONNECTION_LAYER_INVALID` — Capa no válida.\n- 406 · `INVITE_HASH_EXPIRED` — El enlace de invitación ha caducado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La capa a utilizar"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "la consulta"}}, "additionalProperties": false, "required": ["layer", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `layer` | `int` | si | La capa a utilizar |\n| `query` | `!X` | si | la consulta |"}, "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": ["Métodos de utilidad"], "summary": "Invocar una solicitud sin suscribir la conexión utilizada para actualizaciones (esto está habilitado de forma predeterminada para consultas de archivos).", "description": "Invoque una solicitud sin suscribir la conexión utilizada para [actualizaciones](https://core.telegram.org/api/updates.md) (esto está habilitado de forma predeterminada para [consultas de archivos](https://core.telegram.org/api/files.md)).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Carga y descarga de archivos](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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la consulta"}}, "additionalProperties": false, "required": ["query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `query` | `!X` | si | la consulta |"}, "x-browser-schema-id": "3214170551"}}, "/catalog/invokeWithMessagesRange": {"post": {"operationId": "invokeWithMessagesRange", "tags": ["Métodos de utilidad"], "summary": "Invocar con el rango de mensajes dado", "description": "Invocar con el rango de mensajes dado", "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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Rango de mensajes"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Consulta"}}, "additionalProperties": false, "required": ["range", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `range` | `MessageRange` | si | Rango de mensajes |\n| `query` | `!X` | si | Consulta |"}, "x-browser-schema-id": "911373810"}}, "/catalog/invokeWithTakeout": {"post": {"operationId": "invokeWithTakeout", "tags": ["Métodos de utilidad"], "summary": "Invocar un método dentro de una sesión para llevar, consulte aquí » para obtener más información.", "description": "Invoque un método dentro de una [sesión para llevar, consulte aquí » para obtener más información](https://core.telegram.org/api/takeout.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Comida para llevar 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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/invokeWithTakeout"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"takeout_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID de sesión para llevar »](https://core.telegram.org/api/takeout.md)", "x-tl-type": "long"}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Consulta"}}, "additionalProperties": false, "required": ["takeout_id", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `takeout_id` | `long` | si | [ID de sesión para llevar »](https://core.telegram.org/api/takeout.md) |\n| `query` | `!X` | si | Consulta |"}, "x-browser-schema-id": "2896821550"}}, "/catalog/invokeWithBusinessConnection": {"post": {"operationId": "invokeWithBusinessConnection", "tags": ["Métodos de utilidad"], "summary": "Invoque un método utilizando una conexión de Telegram Business Bot, consulte aquí » para obtener más información, incluida una lista de los métodos que se pueden incluir en este constructor.", "description": "Invoque un método usando una [conexión de Telegram Business Bot, consulte aquí » para obtener más información, incluida una lista de los métodos que se pueden incluir en este constructor](https://core.telegram.org/api/bots/connected-business-bots.md).\n\nAsegúrese de enviar siempre consultas envueltas en un `invokeWithBusinessConnection` al ID del centro de datos, especificado en el campo `dc_id` del [botBusinessConnection](https://core.telegram.org/constructor/botBusinessConnection.md) que se está utilizando.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Bots empresariales conectados](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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de conexión empresarial."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "La consulta real."}}, "additionalProperties": false, "required": ["connection_id", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `connection_id` | `string` | si | ID de conexión empresarial. |\n| `query` | `!X` | si | La consulta real. |"}, "x-browser-schema-id": "3710427022"}}, "/catalog/invokeWithGooglePlayIntegrity": {"post": {"operationId": "invokeWithGooglePlayIntegrity", "tags": ["Métodos de utilidad"], "summary": "Solo clientes oficiales, invoquen con el token de integridad de Google Play.", "description": "Solo clientes oficiales, invoquen con el token de integridad de Google Play.", "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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ficha."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Consulta."}}, "additionalProperties": false, "required": ["nonce", "token", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `nonce` | `string` | si | Nonce. |\n| `token` | `string` | si | Ficha. |\n| `query` | `!X` | si | Consulta. |"}, "x-browser-schema-id": "502868356"}}, "/catalog/invokeWithApnsSecret": {"post": {"operationId": "invokeWithApnsSecret", "tags": ["Métodos de utilidad"], "summary": "Solo clientes oficiales, invocar con verificación push de Apple.", "description": "Solo clientes oficiales, invocar con verificación push de Apple.", "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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Secreto."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "Consulta."}}, "additionalProperties": false, "required": ["nonce", "secret", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `nonce` | `string` | si | Nonce. |\n| `secret` | `string` | si | Secreto. |\n| `query` | `!X` | si | Consulta. |"}, "x-browser-schema-id": "229528824"}}, "/catalog/invokeWithReCaptcha": {"post": {"operationId": "invokeWithReCaptcha", "tags": ["Métodos de utilidad"], "summary": "Solo clientes oficiales: vuelva a ejecutar una llamada a un método que requirió verificación de reCAPTCHA mediante un `RECAPTCHA_CHECK_%s__%s`, donde el primer marcador de posición es el `action` y el segundo es el ID de la clave reCAPTCHA.", "description": "Solo clientes oficiales: vuelva a ejecutar una llamada a un método que requirió verificación de reCAPTCHA mediante un `RECAPTCHA_CHECK_%s__%s`, donde el primer marcador de posición es el `action` y el segundo es el ID de la clave reCAPTCHA.", "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": "Resultado de MTProto · `X`.\n\nDevuelve el tipo devuelto por el método invocado.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "X", "additionalProperties": true, "description": "Tipo de TL: X."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Token reCAPTCHA recibido después de la verificación."}, "query": {"type": "object", "x-tl-type": "!X", "additionalProperties": true, "description": "La llamada al método original."}}, "additionalProperties": false, "required": ["token", "query"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `token` | `string` | si | Token reCAPTCHA recibido después de la verificación. |\n| `query` | `!X` | si | La llamada al método original. |"}, "x-browser-schema-id": "2914717588"}}, "/catalog/auth.sendCode": {"post": {"operationId": "auth.sendCode", "tags": ["Autorización"], "summary": "Envía el código de verificación para iniciar sesión", "description": "Envía el código de verificación para iniciar sesión\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: auth.SentCode."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `API_ID_INVALID` — API ID no válido.\n- 400 · `API_ID_PUBLISHED_FLOOD` — Esta identificación API se publicó en algún lugar, no puedes usarla ahora.\n- 500 · `AUTH_RESTART` — Reinicia el proceso de autorización.\n- 500 · `AUTH_RESTART_%d`: error interno (información de depuración %d), repita la llamada al método.\n- 400 · `PHONE_NUMBER_APP_SIGNUP_FORBIDDEN` — No puedes registrarte usando esta aplicación.\n- 400 · `PHONE_NUMBER_BANNED` — El número de teléfono proporcionado está prohibido en Telegram.\n- 400 · `PHONE_NUMBER_FLOOD` — Solicitaste el código demasiadas veces.\n- 406 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido.\n- 406 · `PHONE_PASSWORD_FLOOD` — Has intentado iniciar sesión demasiadas veces.\n- 400 · `PHONE_PASSWORD_PROTECTED` — Este teléfono está protegido con contraseña.\n- 400 · `SMS_CODE_CREATE_FAILED`: se produjo un error al crear el código SMS.\n- 406 · `UPDATE_APP_TO_LOGIN`: actualice su cliente para iniciar sesión."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de teléfono en formato internacional"}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador de la aplicación (ver [Configuración de la aplicación](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Hash secreto de la aplicación (consulte [Configuración de la aplicación](https://core.telegram.org/myapp))"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Configuración del tipo de código a enviar"}}, "additionalProperties": false, "required": ["phone_number", "api_id", "api_hash", "settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Número de teléfono en formato internacional |\n| `api_id` | `int` | si | Identificador de la aplicación (ver [Configuración de la aplicación](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | si | Hash secreto de la aplicación (consulte [Configuración de la aplicación](https://core.telegram.org/myapp)) |\n| `settings` | `CodeSettings` | si | Configuración del tipo de código a enviar |"}, "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": ["Autorización"], "summary": "Registra un número de teléfono validado en el sistema.", "description": "Registra un número de teléfono validado en el sistema.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: auth.Authorization."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FIRSTNAME_INVALID` — El nombre no es válido.\n- 400 · `LASTNAME_INVALID` — El apellido no es válido.\n- 400 · `PHONE_CODE_EMPTY` — phone_code falta.\n- 400 · `PHONE_CODE_EXPIRED` — El código telefónico que proporcionaste ha caducado.\n- 400 · `PHONE_CODE_INVALID` — El código telefónico proporcionado no es válido.\n- 400 · `PHONE_NUMBER_FLOOD` — Solicitaste el código demasiadas veces.\n- 406 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido.\n- 400 · `PHONE_NUMBER_OCCUPIED` — El número de teléfono ya está en uso."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, los usuarios de Telegram que ya hayan agregado `phone_number` a sus contactos *no* recibirán notificaciones de registro sobre este usuario."}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono en formato internacional."}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "SMS-ID de mensaje"}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Nombre del nuevo usuario"}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Apellido del nuevo usuario"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "first_name", "last_name"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `no_joined_notifications` | `true` | No | Si está configurado, los usuarios de Telegram que ya hayan agregado `phone_number` a sus contactos *no* recibirán notificaciones de registro sobre este usuario. |\n| `phone_number` | `string` | si | Número de teléfono en formato internacional. |\n| `phone_code_hash` | `string` | si | SMS-ID de mensaje |\n| `first_name` | `string` | si | Nombre del nuevo usuario |\n| `last_name` | `string` | si | Apellido del nuevo usuario |"}, "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": ["Autorización"], "summary": "Inicia sesión como usuario con un número de teléfono validado.", "description": "Inicia sesión como usuario con un número de teléfono validado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: auth.Authorization."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 500 · `AUTH_RESTART` — Reinicia el proceso de autorización.\n- 400 · `PHONE_CODE_EMPTY` — phone_code falta.\n- 400 · `PHONE_CODE_EXPIRED` — El código telefónico que proporcionaste ha caducado.\n- 400 · `PHONE_CODE_INVALID` — El código telefónico proporcionado no es válido.\n- 406 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido.\n- 400 · `PHONE_NUMBER_UNOCCUPIED` — El número de teléfono aún no se está utilizando.\n- 500 · `SIGN_IN_FAILED` — Error al iniciar sesión.\n- 406 · `UPDATE_APP_TO_LOGIN`: actualice su cliente para iniciar sesión."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de teléfono en formato internacional."}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "SMS-ID de mensaje, obtenido de [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": "Código numérico válido del mensaje SMS"}, "email_verification": {"type": "object", "x-tl-type": "EmailVerification", "oneOf": [{"$ref": "#/components/schemas/emailVerificationCode"}, {"$ref": "#/components/schemas/emailVerificationGoogle"}, {"$ref": "#/components/schemas/emailVerificationApple"}], "description": "Código o token de verificación de correo electrónico", "x-tl-flag": "flags.1?EmailVerification"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Número de teléfono en formato internacional. |\n| `phone_code_hash` | `string` | si | SMS-ID de mensaje, obtenido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `phone_code` | `string` | No | Código numérico válido del mensaje SMS |\n| `email_verification` | `EmailVerification` | No | Código o token de verificación de correo electrónico |"}, "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": ["Autorización"], "summary": "Cierra la sesión del usuario.", "description": "Cierra la sesión del usuario.", "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": "Resultado de MTProto · `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": "Escribe TL: auth.LoggedOut."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/auth.logOut"}, "x-browser-schema-id": "1047706137"}}, "/catalog/auth.resetAuthorizations": {"post": {"operationId": "auth.resetAuthorizations", "tags": ["Autorización"], "summary": "Finaliza todas las sesiones autorizadas del usuario excepto la actual.", "description": "Finaliza todas las sesiones autorizadas del usuario excepto la actual.\n\nDespués de llamar a este método es necesario volver a registrar el dispositivo actual usando el método [account.registerDevice](https://core.telegram.org/method/account.registerDevice.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` — No puedes cerrar sesión en otras sesiones si han pasado menos de 24 horas desde que iniciaste sesión en la sesión actual."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["Autorización"], "summary": "Devuelve datos para copiar la autorización a otro centro de datos.", "description": "Devuelve datos para copiar la autorización a otro centro de datos.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: auth.ExportedAuthorization."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `DC_ID_INVALID`: el ID de DC proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de un centro de datos de destino"}}, "additionalProperties": false, "required": ["dc_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dc_id` | `int` | si | Número de un centro de datos de destino |"}, "x-telegram-rpc-errors": ["DC_ID_INVALID"], "x-browser-schema-id": "3854565325"}}, "/catalog/auth.importAuthorization": {"post": {"operationId": "auth.importAuthorization", "tags": ["Autorización"], "summary": "Inicia sesión en un usuario utilizando una clave transmitida desde su centro de datos nativo.", "description": "Inicia sesión en un usuario utilizando una clave transmitida desde su centro de datos nativo.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: auth.Authorization."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AUTH_BYTES_INVALID` — La autorización proporcionada no es válida.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/auth.importAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de usuario", "x-tl-type": "long"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Clave de autorización"}}, "additionalProperties": false, "required": ["id", "bytes"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `long` | si | ID de usuario |\n| `bytes` | `bytes` | si | Clave de autorización |"}, "x-telegram-rpc-errors": ["AUTH_BYTES_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "2776268205"}}, "/catalog/auth.bindTempAuthKey": {"post": {"operationId": "auth.bindTempAuthKey", "tags": ["Autorización"], "summary": "Vincula una clave de autorización temporal `temp_auth_key_id` a la clave de autorización permanente `perm_auth_key_id`.", "description": "Vincula una clave de autorización temporal `temp_auth_key_id` a la clave de autorización permanente `perm_auth_key_id`.\n\nPara obtener más información, consulte [Secreto directo perfecto](https://core.telegram.org/api/pfs.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Secreto directo perfecto](https://core.telegram.org/api/pfs.md)\n- [Protocolo móvil: descripción detallada](https://core.telegram.org/mtproto/description.md)\n- [Llamar a API Métodos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ENCRYPTED_MESSAGE_INVALID` — Mensaje cifrado no válido.\n- 400 · `EXPIRES_AT_INVALID`: la marca de tiempo `expires_at` especificada no es válida.\n- 400 · `TEMP_AUTH_KEY_ALREADY_BOUND` — La clave temporal pasada ya está vinculada a otra **perm_auth_key_id**.\n- 400 · `TEMP_AUTH_KEY_EMPTY`: no se proporciona ninguna clave de autenticación temporal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Permanente auth_key_id para unirse", "x-tl-type": "long"}, "nonce": {"type": "string", "pattern": "^-?\\d+$", "description": "Largo aleatorio desde [Contenido del mensaje vinculante](#binding-message-contents)", "x-tl-type": "long"}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Marca de tiempo de Unix para invalidar la clave temporal, consulte [Contenido del mensaje vinculante](#binding-message-contents)"}, "encrypted_message": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Ver [Generando encrypted_message](#generating-encrypted-message)"}}, "additionalProperties": false, "required": ["perm_auth_key_id", "nonce", "expires_at", "encrypted_message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `perm_auth_key_id` | `long` | si | Permanente auth_key_id para unirse |\n| `nonce` | `long` | si | Largo aleatorio desde [Contenido del mensaje vinculante](#binding-message-contents) |\n| `expires_at` | `int` | si | Marca de tiempo de Unix para invalidar la clave temporal, consulte [Contenido del mensaje vinculante](#binding-message-contents) |\n| `encrypted_message` | `bytes` | si | Ver [Generando 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": ["Autorización"], "summary": "Iniciar sesión como robot", "description": "Iniciar sesión como robot\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: auth.Authorization."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ACCESS_TOKEN_EXPIRED` — El token de acceso expiró.\n- 400 · `ACCESS_TOKEN_INVALID`: token de acceso no válido.\n- 400 · `API_ID_INVALID` — API ID no válido.\n- 400 · `API_ID_PUBLISHED_FLOOD` — Esta identificación API se publicó en algún lugar, no puedes usarla ahora."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Reservado para uso futuro"}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp))"}, "bot_auth_token": {"type": "string", "x-tl-type": "string", "description": "Token de bot (ver [bots](https://core.telegram.org/bots.md))"}}, "additionalProperties": false, "required": ["flags", "api_id", "api_hash", "bot_auth_token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `flags` | `int` | si | Reservado para uso futuro |\n| `api_id` | `int` | si | Identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | si | Hash del identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp)) |\n| `bot_auth_token` | `string` | si | Token de bot (ver [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": ["Autorización"], "summary": "Intente iniciar sesión en una cuenta protegida por una contraseña 2FA.", "description": "Intente iniciar sesión en una cuenta protegida por una [contraseña 2FA](https://core.telegram.org/api/srp.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `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": "Tipo TL: auth.Authorization."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 500 · `AUTH_KEY_UNSYNCHRONIZED` — Error interno, repita la llamada al método.\n- 400 · `PASSWORD_HASH_INVALID`: el hash de contraseña proporcionado no es válido.\n- 400 · `SRP_ID_INVALID` — SRP ID proporcionada no válida.\n- 400 · `SRP_PASSWORD_CHANGED` — La contraseña ha cambiado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La contraseña de la cuenta (ver [SRP](https://core.telegram.org/api/srp.md))"}}, "additionalProperties": false, "required": ["password"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | si | La contraseña de la cuenta (ver [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": ["Autorización"], "summary": "Solicite el código de recuperación de una contraseña 2FA, solo para cuentas con un correo electrónico de recuperación configurado.", "description": "Solicite el código de recuperación de una [contraseña 2FA](https://core.telegram.org/api/srp.md), solo para cuentas con un [correo electrónico de recuperación configurado](https://core.telegram.org/api/srp.md#email-verification).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `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": "Escribe TL: auth.PasswordRecovery."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PASSWORD_EMPTY` — La contraseña proporcionada está vacía.\n- 400 · `PASSWORD_RECOVERY_NA`: no se configuró ningún correo electrónico, no se puede recuperar la contraseña por correo electrónico."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["Autorización"], "summary": "Restablezca la contraseña 2FA usando el código de recuperación enviado usando auth.requestPasswordRecovery.", "description": "Restablezca la [contraseña 2FA](https://core.telegram.org/api/srp.md) usando el código de recuperación enviado usando [auth.requestPasswordRecovery](https://core.telegram.org/method/auth.requestPasswordRecovery.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `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": "Tipo TL: auth.Authorization."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CODE_EMPTY` — El código proporcionado está vacío.\n- 400 · `NEW_SETTINGS_INVALID` — La nueva configuración de contraseña no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Código recibido por correo electrónico"}, "new_settings": {"type": "object", "x-tl-type": "account.PasswordInputSettings", "oneOf": [{"$ref": "#/components/schemas/account.passwordInputSettings"}], "description": "Nueva contraseña", "x-tl-flag": "flags.0?account.PasswordInputSettings"}}, "additionalProperties": false, "required": ["code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `code` | `string` | si | Código recibido por correo electrónico |\n| `new_settings` | `account.PasswordInputSettings` | No | Nueva contraseña |"}, "x-telegram-rpc-errors": ["CODE_EMPTY", "NEW_SETTINGS_INVALID"], "x-browser-schema-id": "923364464"}}, "/catalog/auth.resendCode": {"post": {"operationId": "auth.resendCode", "tags": ["Autorización"], "summary": "Vuelva a enviar el código de inicio de sesión a través de otro medio, el tipo de código de teléfono está determinado por el valor devuelto del auth.sendCode/auth.resendCode anterior: consulte inicio de sesión para obtener más información.", "description": "Vuelva a enviar el código de inicio de sesión a través de otro medio, el tipo de código de teléfono está determinado por el valor de retorno del auth.sendCode/auth.resendCode anterior: consulte [iniciar sesión](https://core.telegram.org/api/auth.md) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autorización de usuario](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": "Resultado de MTProto · `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": "Escribe TL: auth.SentCode."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMAIL_INSTALL_MISSING`: se intenta enviar un código al correo electrónico de recuperación, pero no hay ningún correo electrónico configurado.\n- 400 · `PHONE_CODE_EMPTY` — phone_code falta.\n- 400 · `PHONE_CODE_EXPIRED` — El código telefónico que proporcionaste ha caducado.\n- 400 · `PHONE_CODE_HASH_EMPTY` — phone_code_hash falta.\n- 406 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido.\n- 406 · `SEND_CODE_UNAVAILABLE`: se devuelve cuando ya se han utilizado todas las opciones disponibles para este tipo de número (e.g. flash-call, luego SMS, entonces este error podría devolverse para activar un segundo reenvío)."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el numero de telefono"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "El hash del código telefónico obtenido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}, "reason": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Solo clientes oficiales, utilizados si la verificación de la integridad del dispositivo falló y no se pudo obtener ningún secreto para invocar [auth.requestFirebaseSms](https://core.telegram.org/method/auth.requestFirebaseSms.md): en este caso, el motivo del error de verificación de la integridad del dispositivo se debe pasar aquí."}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | el numero de telefono |\n| `phone_code_hash` | `string` | si | El hash del código telefónico obtenido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `reason` | `string` | No | Solo clientes oficiales, utilizados si la verificación de la integridad del dispositivo falló y no se pudo obtener ningún secreto para invocar [auth.requestFirebaseSms](https://core.telegram.org/method/auth.requestFirebaseSms.md): en este caso, el motivo del error de verificación de la integridad del dispositivo se debe pasar aquí. |"}, "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": ["Autorización"], "summary": "Cancelar el código de verificación de inicio de sesión", "description": "Cancelar el código de verificación de inicio de sesión\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PHONE_CODE_EXPIRED` — El código telefónico que proporcionaste ha caducado.\n- 406 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de teléfono"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del código telefónico de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Número de teléfono |\n| `phone_code_hash` | `string` | si | Hash del código telefónico de [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": ["Autorización"], "summary": "Eliminar todas las claves de autorización temporales **excepto** las especificadas", "description": "Eliminar todas las claves de autorización temporales **excepto** las especificadas", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Las claves de autenticación que **no** deberían descartarse."}}, "additionalProperties": false, "required": ["except_auth_keys"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `except_auth_keys` | `Vector<long>` | si | Las claves de autenticación que **no** deberían descartarse. |"}, "x-browser-schema-id": "2387124616"}}, "/catalog/auth.exportLoginToken": {"post": {"operationId": "auth.exportLoginToken", "tags": ["Autorización"], "summary": "Genere un token de inicio de sesión, para iniciar sesión mediante un código QR.", "description": "Genere un token de inicio de sesión para [iniciar sesión mediante código QR](https://core.telegram.org/api/qr-login.md).\nEl token de inicio de sesión generado debe codificarse usando base64url y luego mostrarse como `tg://login?token=base64encodedtoken` [enlace profundo »](https://core.telegram.org/api/links.md#qr-code-login-links) en el código QR.\n\nPara obtener más información, consulte [iniciar sesión mediante código QR](https://core.telegram.org/api/qr-login.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Iniciar sesión mediante código QR](https://core.telegram.org/api/qr-login.md)\n- [Enlaces profundos](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": "Resultado de MTProto · `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": "Escribe TL: auth.LoginToken."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `API_ID_INVALID` — API ID no válido.\n- 400 · `API_ID_PUBLISHED_FLOOD` — Esta identificación API se publicó en algún lugar, no puedes usarla ahora.\n- 500 · `AUTH_RESTART` — Reinicia el proceso de autorización."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp))"}, "except_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de ID de usuarios que ya han iniciado sesión, para evitar iniciar sesión dos veces con el mismo usuario"}}, "additionalProperties": false, "required": ["api_id", "api_hash", "except_ids"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `api_id` | `int` | si | Identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | si | Hash del identificador de la aplicación (ver. [Configuración de la aplicación](https://core.telegram.org/myapp)) |\n| `except_ids` | `Vector<long>` | si | Lista de ID de usuarios que ya han iniciado sesión, para evitar iniciar sesión dos veces con el mismo usuario |"}, "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": ["Autorización"], "summary": "Inicie sesión utilizando un token de inicio de sesión redirigido, generado en caso de que DC no coincida durante el inicio de sesión con código QR.", "description": "Inicie sesión utilizando un token de inicio de sesión redirigido, generado en caso de que DC no coincida durante el [inicio de sesión con código QR](https://core.telegram.org/api/qr-login.md).\n\nPara obtener más información, consulte [iniciar sesión mediante código QR](https://core.telegram.org/api/qr-login.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Iniciar sesión mediante código QR](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": "Resultado de MTProto · `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": "Escribe TL: auth.LoginToken."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AUTH_TOKEN_ALREADY_ACCEPTED`: el token de autenticación especificado ya fue aceptado.\n- 400 · `AUTH_TOKEN_EXPIRED` — El token de autorización ha caducado.\n- 400 · `AUTH_TOKEN_INVALID`: el token de autenticación especificado no es válido.\n- 400 · `AUTH_TOKEN_INVALIDX`: el token de autenticación especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "token de inicio de sesión"}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `token` | `bytes` | si | token de inicio de sesión |"}, "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": ["Autorización"], "summary": "Acepte el token de inicio de sesión del código QR, iniciando sesión en la aplicación que lo generó.", "description": "Acepte el token de inicio de sesión del código QR, iniciando sesión en la aplicación que lo generó.\n\nDevuelve información sobre la nueva sesión.\n\nPara obtener más información, consulte [iniciar sesión mediante código QR](https://core.telegram.org/api/qr-login.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Iniciar sesión mediante código QR](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": "Resultado de MTProto · `Authorization`.\n\n[Autorización](https://core.telegram.org/type/Authorization.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Authorization", "oneOf": [{"$ref": "#/components/schemas/authorization"}], "description": "Tipo TL: Autorización."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AUTH_TOKEN_ALREADY_ACCEPTED`: el token de autenticación especificado ya fue aceptado.\n- 400 · `AUTH_TOKEN_EXCEPTION`: se produjo un error al importar el token de autenticación.\n- 400 · `AUTH_TOKEN_EXPIRED` — El token de autorización ha caducado.\n- 400 · `AUTH_TOKEN_INVALIDX`: el token de autenticación especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Token de inicio de sesión integrado en el código QR. Para obtener más información, consulte [iniciar sesión mediante código QR](https://core.telegram.org/api/qr-login.md)."}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `token` | `bytes` | si | Token de inicio de sesión integrado en el código QR. Para obtener más información, consulte [iniciar sesión mediante código QR](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": ["Autorización"], "summary": "Verifique si el código de recuperación 2FA enviado usando auth.requestPasswordRecovery es válido, antes de pasarlo a auth.recoverPassword.", "description": "Verifique si el [código de recuperación 2FA](https://core.telegram.org/api/srp.md) enviado usando [auth.requestPasswordRecovery](https://core.telegram.org/method/auth.requestPasswordRecovery.md) es válido, antes de pasarlo a [auth.recoverPassword](https://core.telegram.org/method/auth.recoverPassword.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CODE_EMPTY` — El código proporcionado está vacío.\n- 400 · `PASSWORD_RECOVERY_EXPIRED` — El código de recuperación ha caducado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Código recibido por correo electrónico"}}, "additionalProperties": false, "required": ["code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `code` | `string` | si | Código recibido por correo electrónico |"}, "x-telegram-rpc-errors": ["CODE_EMPTY", "PASSWORD_RECOVERY_EXPIRED"], "x-browser-schema-id": "221691769"}}, "/catalog/auth.importWebTokenAuthorization": {"post": {"operationId": "auth.importWebTokenAuthorization", "tags": ["Autorización"], "summary": "Inicie sesión importando un token de autorización", "description": "Inicie sesión importando un token de autorización\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Creando tu aplicación de Telegram](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": "Resultado de MTProto · `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": "Tipo TL: auth.Authorization."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `API_ID_INVALID` — API ID no válido.\n- 400 · `WEBAUTH_TOKEN_EXPIRED`: el token de autenticación especificado ha caducado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El token de autorización"}}, "additionalProperties": false, "required": ["api_id", "api_hash", "web_auth_token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `api_id` | `int` | si | [API ID](https://core.telegram.org/api/obtaining_api_id.md) |\n| `api_hash` | `string` | si | [API hash](https://core.telegram.org/api/obtaining_api_id.md) |\n| `web_auth_token` | `string` | si | El token de autorización |"}, "x-telegram-rpc-errors": ["API_ID_INVALID", "WEBAUTH_TOKEN_EXPIRED"], "x-browser-schema-id": "767062953"}}, "/catalog/auth.requestFirebaseSms": {"post": {"operationId": "auth.requestFirebaseSms", "tags": ["Autorización"], "summary": "Solicite un código SMS a través de Firebase.", "description": "Solicite un código SMS a través de Firebase.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autorización de usuario](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PHONE_CODE_EMPTY` — phone_code falta.\n- 400 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de teléfono"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del código telefónico devuelto por [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": "En Android, un objeto JWS obtenido como se describe en la [documentación de autenticación »](https://core.telegram.org/api/auth.md)"}, "play_integrity_token": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "En Android, un objeto obtenido como se describe en la [documentación de autenticación »](https://core.telegram.org/api/auth.md)"}, "ios_push_secret": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Token secreto recibido a través de una notificación push de Apple"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Número de teléfono |\n| `phone_code_hash` | `string` | si | Hash del código telefónico devuelto por [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `safety_net_token` | `string` | No | En Android, un objeto JWS obtenido como se describe en la [documentación de autenticación »](https://core.telegram.org/api/auth.md) |\n| `play_integrity_token` | `string` | No | En Android, un objeto obtenido como se describe en la [documentación de autenticación »](https://core.telegram.org/api/auth.md) |\n| `ios_push_secret` | `string` | No | Token secreto recibido a través de una notificación push de Apple |"}, "x-telegram-rpc-errors": ["PHONE_CODE_EMPTY", "PHONE_NUMBER_INVALID"], "x-browser-schema-id": "2386109982"}}, "/catalog/auth.resetLoginEmail": {"post": {"operationId": "auth.resetLoginEmail", "tags": ["Autorización"], "summary": "Restablecer el correo electrónico de inicio de sesión ».", "description": "Restablezca el [correo electrónico de inicio de sesión »](https://core.telegram.org/api/auth.md#email-verification).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autorización de usuario](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": "Resultado de MTProto · `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": "Escribe TL: auth.SentCode."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMAIL_INSTALL_MISSING`: se intenta enviar un código al correo electrónico de recuperación, pero no hay ningún correo electrónico configurado.\n- 400 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido.\n- 400 · `TASK_ALREADY_EXISTS` — Ya se solicitó un restablecimiento de correo electrónico."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de teléfono de la cuenta."}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del código telefónico, obtenido como se describe en la [documentación »](https://core.telegram.org/api/auth.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Número de teléfono de la cuenta. |\n| `phone_code_hash` | `string` | si | Hash del código telefónico, obtenido como se describe en la [documentación »](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": ["Autorización"], "summary": "Solo aplicaciones oficiales, informa que no se entregó el código de autenticación SMS.", "description": "Solo aplicaciones oficiales, informa que no se entregó el código de autenticación SMS.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de teléfono donde se suponía que recibiríamos el código"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "El hash del código telefónico obtenido de [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) del operador de red actual."}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "mnc"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Número de teléfono donde se suponía que recibiríamos el código |\n| `phone_code_hash` | `string` | si | El hash del código telefónico obtenido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `mnc` | `string` | si | [MNC](https://en.wikipedia.org/wiki/Mobile_country_code) del operador de red actual. |"}, "x-telegram-rpc-errors": ["PHONE_NUMBER_INVALID"], "x-browser-schema-id": "3416125430"}}, "/catalog/auth.checkPaidAuth": {"post": {"operationId": "auth.checkPaidAuth", "tags": ["Autorización"], "summary": "Comprueba el estado de un pago de inicio de sesión.", "description": "Comprueba el estado de un [pago de inicio de sesión](https://core.telegram.org/api/auth.md#paid-auth).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autorización de usuario](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": "Resultado de MTProto · `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": "Escribe TL: auth.SentCode."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de teléfono"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "El hash del código telefónico obtenido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md)"}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El ID del formulario de pago pasó a [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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Número de teléfono |\n| `phone_code_hash` | `string` | si | El hash del código telefónico obtenido de [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |\n| `form_id` | `long` | si | El ID del formulario de pago pasó a [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": ["Autorización"], "summary": "Inicialice el inicio de sesión con una clave de acceso a través de una conexión no autenticada, consulte aquí » para obtener más información.", "description": "Inicialice el inicio de sesión con una clave de acceso a través de una conexión no autenticada; consulte [aquí »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Inicio de sesión con contraseña](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": "Resultado de MTProto · `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": "Escribe TL: auth.PasskeyLoginOptions."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `API_ID_INVALID` — API ID no válido.\n- 500 · `AUTH_RESTART` — Reinicia el proceso de autorización."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de la aplicación (ver [Configuración de la aplicación](https://core.telegram.org/myapp))"}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del identificador de la aplicación (consulte [Configuración de la aplicación](https://core.telegram.org/myapp))"}}, "additionalProperties": false, "required": ["api_id", "api_hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `api_id` | `int` | si | Identificador de la aplicación (ver [Configuración de la aplicación](https://core.telegram.org/myapp)) |\n| `api_hash` | `string` | si | Hash del identificador de la aplicación (consulte [Configuración de la aplicación](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": ["Autorización"], "summary": "Complete el inicio de sesión con una clave de acceso a través de una conexión no autenticada, consulte aquí » para obtener más información.", "description": "Complete el inicio de sesión con una clave de acceso a través de una conexión no autenticada; consulte [aquí »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para obtener más información.\n\nDebe enviarse al DC nativo del usuario, según lo especificado por `user_handle` (`dcId:userId`) devuelto en la aserción de la clave de acceso; consulte [aquí »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para ver el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Inicio de sesión con contraseña](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": "Resultado de MTProto · `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": "Tipo TL: auth.Authorization."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 500 · `AUTH_RESTART` — Reinicia el proceso de autorización.\n- 400 · `CREDENTIAL_INVALID`: la credencial especificada no es válida.\n- 400 · `PASSKEY_ORIGIN_MISMATCH` — Los clientes de terceros actualmente no admiten claves de acceso incluso cuando se cambia el origen."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Resultado de la afirmación de la clave de acceso."}, "from_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "ID de DC utilizado para la solicitud inicial [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md); se establece solo si el DC del usuario es diferente del DC utilizado para el [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md)] inicial."}, "from_auth_key_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de clave de autenticación para la conexión a `from_dc_id` (use la ID de clave de autenticación permanente si PFS está habilitado); se establece solo si el DC del usuario es diferente del DC utilizado para el [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md)] inicial.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["credential"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `credential` | `InputPasskeyCredential` | si | Resultado de la afirmación de la clave de acceso. |\n| `from_dc_id` | `int` | No | ID de DC utilizado para la solicitud inicial [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md); se establece solo si el DC del usuario es diferente del DC utilizado para el [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md)] inicial. |\n| `from_auth_key_id` | `long` | No | ID de clave de autenticación para la conexión a `from_dc_id` (use la ID de clave de autenticación permanente si PFS está habilitado); se establece solo si el DC del usuario es diferente del DC utilizado para el [auth.initPasskeyLogin](https://core.telegram.org/method/auth.initPasskeyLogin.md)] inicial. |"}, "x-telegram-rpc-errors": ["AUTH_RESTART", "CREDENTIAL_INVALID", "PASSKEY_ORIGIN_MISMATCH"], "x-browser-schema-id": "2555882759"}}, "/catalog/auth.cancelWebTokenAuthorization": {"post": {"operationId": "auth.cancelWebTokenAuthorization", "tags": ["Autorización"], "summary": "auth.cancelWebTokenAuthorization", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["web_auth_token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `web_auth_token` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1225633185"}}, "/catalog/auth.initFirebasePnvLogin": {"post": {"operationId": "auth.initFirebasePnvLogin", "tags": ["Autorización"], "summary": "auth.initFirebasePnvLogin", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.0?Vector<long>", "description": "Valor del tipo TL `Vector<long>`."}, "api_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}, "api_hash": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["api_id", "api_hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `except_ids` | `Vector<long>` | No | Valor del tipo TL `Vector<long>`. |\n| `api_id` | `int` | si | Valor del tipo TL `int`. |\n| `api_hash` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1682904512"}}, "/catalog/auth.finishFirebasePnvLogin": {"post": {"operationId": "auth.finishFirebasePnvLogin", "tags": ["Autorización"], "summary": "auth.finishFirebasePnvLogin", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: auth.Authorization."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"google_token": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["google_token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `google_token` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "746916172"}}, "/catalog/auth.firebasePnvSignUp": {"post": {"operationId": "auth.firebasePnvSignUp", "tags": ["Autorización"], "summary": "auth.firebasePnvSignUp", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo 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": "Valor del tipo TL `true`."}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["first_name", "last_name"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `no_joined_notifications` | `true` | No | Valor del tipo TL `true`. |\n| `first_name` | `string` | si | Valor del tipo TL `string`. |\n| `last_name` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2017422166"}}, "/catalog/account.registerDevice": {"post": {"operationId": "account.registerDevice", "tags": ["cuenta"], "summary": "Registre el dispositivo para recibir PUSH notificaciones", "description": "Registre el dispositivo para recibir [PUSH notificaciones](https://core.telegram.org/api/push-updates.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Manejo de notificaciones PUSH](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `TOKEN_EMPTY`: el token especificado está vacío.\n- 400 · `TOKEN_INVALID`: el token proporcionado no es válido.\n- 400 · `TOKEN_TYPE_INVALID`: el tipo de token especificado no es válido.\n- 400 · `WEBPUSH_AUTH_INVALID`: el secreto de autenticación push web especificado no es válido.\n- 400 · `WEBPUSH_KEY_INVALID` — La clave pública Diffie-Hellman de curva elíptica de inserción web especificada no es válida.\n- 400 · `WEBPUSH_TOKEN_INVALID`: el token de inserción web especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Evite recibir notificaciones (en segundo plano silenciosas e invisibles). Útil para ahorrar batería."}, "token_type": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tipo de token de dispositivo; consulte [PUSH actualizaciones](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para conocer los valores posibles."}, "token": {"type": "string", "x-tl-type": "string", "description": "Token del dispositivo, consulte [PUSH actualizaciones](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para conocer los valores posibles."}, "app_sandbox": {"type": "boolean", "x-tl-type": "Bool", "description": "Si se transmite [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), se utilizará un certificado de espacio aislado durante la transmisión."}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Para VoIP FCM y APNS, clave de cifrado opcional utilizada para cifrar notificaciones automáticas"}, "other_uids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de identificadores de usuario de otros usuarios que actualmente utilizan el cliente"}}, "additionalProperties": false, "required": ["token_type", "token", "app_sandbox", "secret", "other_uids"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `no_muted` | `true` | No | Evite recibir notificaciones (en segundo plano silenciosas e invisibles). Útil para ahorrar batería. |\n| `token_type` | `int` | si | Tipo de token de dispositivo; consulte [PUSH actualizaciones](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para conocer los valores posibles. |\n| `token` | `string` | si | Token del dispositivo, consulte [PUSH actualizaciones](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para conocer los valores posibles. |\n| `app_sandbox` | `Bool` | si | Si se transmite [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), se utilizará un certificado de espacio aislado durante la transmisión. |\n| `secret` | `bytes` | si | Para VoIP FCM y APNS, clave de cifrado opcional utilizada para cifrar notificaciones automáticas |\n| `other_uids` | `Vector<long>` | si | Lista de identificadores de usuario de otros usuarios que actualmente utilizan el cliente |"}, "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": ["cuenta"], "summary": "Elimina un dispositivo por su token, deja de enviarle PUSH-notificaciones.", "description": "Elimina un dispositivo por su token, deja de enviarle PUSH-notificaciones.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Manejo de notificaciones PUSH](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `TOKEN_INVALID`: el token proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de token de dispositivo; consulte [PUSH actualizaciones](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para conocer los valores posibles."}, "token": {"type": "string", "x-tl-type": "string", "description": "Token del dispositivo, consulte [PUSH actualizaciones](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para conocer los valores posibles."}, "other_uids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de identificadores de usuario de otros usuarios que actualmente utilizan el cliente"}}, "additionalProperties": false, "required": ["token_type", "token", "other_uids"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `token_type` | `int` | si | Tipo de token de dispositivo; consulte [PUSH actualizaciones](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para conocer los valores posibles. |\n| `token` | `string` | si | Token del dispositivo, consulte [PUSH actualizaciones](https://core.telegram.org/api/push-updates.md#subscribing-to-notifications) para conocer los valores posibles. |\n| `other_uids` | `Vector<long>` | si | Lista de identificadores de usuario de otros usuarios que actualmente utilizan el cliente |"}, "x-telegram-rpc-errors": ["TOKEN_INVALID"], "x-browser-schema-id": "1779249670"}}, "/catalog/account.updateNotifySettings": {"post": {"operationId": "account.updateNotifySettings", "tags": ["cuenta"], "summary": "Edita la configuración de notificaciones de un usuario/grupo determinado, de todos los usuarios/todos los grupos.", "description": "Edita la configuración de notificaciones de un usuario/grupo determinado, de todos los usuarios/todos los grupos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `SETTINGS_INVALID`: se proporcionaron configuraciones no válidas."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Fuente de notificación"}, "settings": {"type": "object", "x-tl-type": "InputPeerNotifySettings", "oneOf": [{"$ref": "#/components/schemas/inputPeerNotifySettings"}], "description": "Configuración de notificaciones"}}, "additionalProperties": false, "required": ["peer", "settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputNotifyPeer` | si | Fuente de notificación |\n| `settings` | `InputPeerNotifySettings` | si | Configuración de notificaciones |"}, "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": ["cuenta"], "summary": "Obtiene la configuración de notificación actual para un usuario/grupo determinado, de todos los usuarios/todos los grupos.", "description": "Obtiene la configuración de notificación actual para un usuario/grupo determinado, de todos los usuarios/todos los grupos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `PeerNotifySettings`.\n\n[Configuración de PeerNotify](https://core.telegram.org/type/PeerNotifySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "PeerNotifySettings", "oneOf": [{"$ref": "#/components/schemas/peerNotifySettings"}], "description": "Tipo de TL: PeerNotifySettings."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Fuente de notificación"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputNotifyPeer` | si | Fuente de notificación |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "PEER_ID_INVALID"], "x-browser-schema-id": "313765169"}}, "/catalog/account.resetNotifySettings": {"post": {"operationId": "account.resetNotifySettings", "tags": ["cuenta"], "summary": "Restablece todas las configuraciones de notificación de usuarios y grupos.", "description": "Restablece todas las configuraciones de notificación de usuarios y grupos.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.resetNotifySettings"}, "x-browser-schema-id": "3682473799"}}, "/catalog/account.updateProfile": {"post": {"operationId": "account.updateProfile", "tags": ["cuenta"], "summary": "Actualiza el perfil de usuario.", "description": "Actualiza el perfil de usuario.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `User`.\n\n[Usuario](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": "Tipo TL: Usuario."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ABOUT_TOO_LONG` — Aproximadamente una cuerda demasiado larga.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `FIRSTNAME_INVALID` — El nombre no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nombre del nuevo usuario"}, "last_name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Apellido del nuevo usuario"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Nueva biografía"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `first_name` | `string` | No | Nombre del nuevo usuario |\n| `last_name` | `string` | No | Apellido del nuevo usuario |\n| `about` | `string` | No | Nueva biografía |"}, "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": ["cuenta"], "summary": "Actualiza el estado del usuario en línea.", "description": "Actualiza el estado del usuario en línea.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se transmite [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), el estado del usuario cambiará a [(userStatusOffline)](https://core.telegram.org/constructor/userStatusOffline.md)."}}, "additionalProperties": false, "required": ["offline"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offline` | `Bool` | si | Si se transmite [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), el estado del usuario cambiará a [(userStatusOffline)](https://core.telegram.org/constructor/userStatusOffline.md). |"}, "x-browser-schema-id": "1713919532"}}, "/catalog/account.getWallPapers": {"post": {"operationId": "account.getWallPapers", "tags": ["cuenta"], "summary": "Devuelve una lista de fondos de pantalla disponibles.", "description": "Devuelve una lista de [fondos de pantalla](https://core.telegram.org/api/wallpapers.md)] disponibles.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Fondos de pantalla de chat](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": "Resultado de MTProto · `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": "Escribe TL: account.WallPapers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "127302966"}}, "/catalog/account.reportPeer": {"post": {"operationId": "account.reportPeer", "tags": ["cuenta"], "summary": "Informar a un compañero por violación de los Términos de servicio de Telegram", "description": "Informar a un compañero por violación de los Términos de servicio de Telegram\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par a informar"}, "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": "El motivo por el que se denuncia a este compañero"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comentario para moderación del informe."}}, "additionalProperties": false, "required": ["peer", "reason", "message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par a informar |\n| `reason` | `ReportReason` | si | El motivo por el que se denuncia a este compañero |\n| `message` | `string` | si | Comentario para moderación del informe. |"}, "x-telegram-rpc-errors": ["CHANNEL_PRIVATE", "PEER_ID_INVALID"], "x-browser-schema-id": "3317316998"}}, "/catalog/account.checkUsername": {"post": {"operationId": "account.checkUsername", "tags": ["cuenta"], "summary": "Valida un nombre de usuario y comprueba la disponibilidad.", "description": "Valida un nombre de usuario y comprueba la disponibilidad.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USERNAME_OCCUPIED` — El nombre de usuario proporcionado ya está ocupado.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — El nombre de usuario especificado se puede comprar en https://fragment.com."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "nombre de usuario Caracteres aceptados: A-z (no distingue entre mayúsculas y minúsculas), 0-9 y guiones bajos. Longitud: 5-32 caracteres."}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `username` | `string` | si | nombre de usuario Caracteres aceptados: A-z (no distingue entre mayúsculas y minúsculas), 0-9 y guiones bajos. Longitud: 5-32 caracteres. |"}, "x-telegram-rpc-errors": ["USERNAME_INVALID", "USERNAME_OCCUPIED", "USERNAME_PURCHASE_AVAILABLE"], "x-browser-schema-id": "655677548"}}, "/catalog/account.updateUsername": {"post": {"operationId": "account.updateUsername", "tags": ["cuenta"], "summary": "Cambia el nombre de usuario del usuario actual.", "description": "Cambia el nombre de usuario del usuario actual.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `User`.\n\n[Usuario](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": "Tipo TL: Usuario."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USERNAME_NOT_MODIFIED` — El nombre de usuario no fue modificado.\n- 400 · `USERNAME_OCCUPIED` — El nombre de usuario proporcionado ya está ocupado.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — El nombre de usuario especificado se puede comprar en https://fragment.com."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "nombre de usuario o cadena vacía si se va a eliminar el nombre de usuario Caracteres aceptados: a-z (no distingue entre mayúsculas y minúsculas), 0-9 y guiones bajos. Longitud: 5-32 caracteres."}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `username` | `string` | si | nombre de usuario o cadena vacía si se va a eliminar el nombre de usuario Caracteres aceptados: a-z (no distingue entre mayúsculas y minúsculas), 0-9 y guiones bajos. Longitud: 5-32 caracteres. |"}, "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": ["cuenta"], "summary": "Obtener configuración de privacidad", "description": "Lee las reglas de privacidad de la cuenta actual para la categoría seleccionada.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: account.PrivacyRules."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PRIVACY_KEY_INVALID` — La clave de privacidad no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Categoría de privacidad, como visibilidad del número de teléfono."}}, "additionalProperties": false, "required": ["key"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `key` | `InputPrivacyKey` | si | Categoría de privacidad, como visibilidad del número de teléfono. |"}, "x-telegram-rpc-errors": ["PRIVACY_KEY_INVALID"], "x-browser-schema-id": "3671837008"}}, "/catalog/account.setPrivacy": {"post": {"operationId": "account.setPrivacy", "tags": ["cuenta"], "summary": "Cambiar la configuración de privacidad de la cuenta actual", "description": "Cambiar la configuración de privacidad de la cuenta actual\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: account.PrivacyRules."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PRIVACY_KEY_INVALID` — La clave de privacidad no es válida.\n- 400 · `PRIVACY_TOO_LONG` — Se especificaron demasiadas reglas de privacidad, el límite actual es 1000.\n- 400 · `PRIVACY_VALUE_INVALID`: la combinación de reglas de privacidad especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nueva regla de privacidad"}, "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": "Tipo de TL: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "description": "Pares a los que se aplicará la regla de privacidad."}}, "additionalProperties": false, "required": ["key", "rules"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `key` | `InputPrivacyKey` | si | Nueva regla de privacidad |\n| `rules` | `Vector<InputPrivacyRule>` | si | Pares a los que se aplicará la regla de privacidad. |"}, "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": ["cuenta"], "summary": "Eliminar la cuenta del usuario de los servidores de Telegram.", "description": "Eliminar la cuenta del usuario de los servidores de Telegram.\n\nTambién se puede utilizar para eliminar la cuenta de un usuario que proporcionó el código de inicio de sesión, pero olvidó la contraseña 2FA y no hay ningún método de recuperación configurado; consulte [aquí »](https://core.telegram.org/api/srp.md#password-recovery) para obtener más información sobre la recuperación de contraseña y [aquí »](https://core.telegram.org/api/account-deletion.md) para obtener más información sobre la eliminación de la cuenta.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](https://core.telegram.org/api/srp.md)\n- [Eliminación de cuenta](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 420 · `2FA_CONFIRM_WAIT_%d` — Dado que esta cuenta está activa y protegida por una contraseña 2FA, la eliminaremos en 1 semana por motivos de seguridad. Puedes cancelar este proceso en cualquier momento, podrás restablecer tu cuenta en %d segundos.\n- 400 · `PASSWORD_HASH_INVALID`: el hash de contraseña proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "¿Por qué se elimina la cuenta? Puede estar vacía."}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "[Contraseña 2FA](https://core.telegram.org/api/srp.md): este campo se puede omitir incluso para cuentas con 2FA habilitado: en este caso, la eliminación de la cuenta se retrasará 7 días [como se especifica en los documentos »](https://core.telegram.org/api/account-deletion.md)", "x-tl-flag": "flags.0?InputCheckPasswordSRP"}}, "additionalProperties": false, "required": ["reason"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `reason` | `string` | si | ¿Por qué se elimina la cuenta? Puede estar vacía. |\n| `password` | `InputCheckPasswordSRP` | No | [Contraseña 2FA](https://core.telegram.org/api/srp.md): este campo se puede omitir incluso para cuentas con 2FA habilitado: en este caso, la eliminación de la cuenta se retrasará 7 días [como se especifica en los documentos »](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": ["cuenta"], "summary": "Obtenga días de vida de la cuenta", "description": "Obtenga días de vida de la cuenta", "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": "Resultado de MTProto · `AccountDaysTTL`.\n\n[CuentaDíasTTL](https://core.telegram.org/type/AccountDaysTTL.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AccountDaysTTL", "oneOf": [{"$ref": "#/components/schemas/accountDaysTTL"}], "description": "Tipo de TL: AccountDaysTTL."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getAccountTTL"}, "x-browser-schema-id": "150761757"}}, "/catalog/account.setAccountTTL": {"post": {"operationId": "account.setAccountTTL", "tags": ["cuenta"], "summary": "Establecer período de autodestrucción de la cuenta", "description": "Establecer período de autodestrucción de la cuenta\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `TTL_DAYS_INVALID` — El TTL proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tiempo para vivir en días."}}, "additionalProperties": false, "required": ["ttl"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `ttl` | `AccountDaysTTL` | si | Tiempo para vivir en días. |"}, "x-telegram-rpc-errors": ["TTL_DAYS_INVALID"], "x-browser-schema-id": "608323678"}}, "/catalog/account.sendChangePhoneCode": {"post": {"operationId": "account.sendChangePhoneCode", "tags": ["cuenta"], "summary": "Verificar un nuevo número de teléfono para asociar a la cuenta actual", "description": "Verificar un nuevo número de teléfono para asociar a la cuenta actual\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: auth.SentCode."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `FRESH_CHANGE_PHONE_FORBIDDEN` — No puedes cambiar el número de teléfono inmediatamente después de iniciar sesión, espera al menos 24 horas.\n- 400 · `PHONE_NUMBER_BANNED` — El número de teléfono proporcionado está prohibido en Telegram.\n- 406 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido.\n- 400 · `PHONE_NUMBER_OCCUPIED` — El número de teléfono ya está en uso."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nuevo número de teléfono"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Configuración del código telefónico"}}, "additionalProperties": false, "required": ["phone_number", "settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Nuevo número de teléfono |\n| `settings` | `CodeSettings` | si | Configuración del código telefónico |"}, "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": ["cuenta"], "summary": "Cambiar el número de teléfono de la cuenta actual.", "description": "Cambiar el número de teléfono de la cuenta actual.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `User`.\n\n[Usuario](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": "Tipo TL: Usuario."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PHONE_CODE_EMPTY` — phone_code falta.\n- 400 · `PHONE_CODE_EXPIRED` — El código telefónico que proporcionaste ha caducado.\n- 400 · `PHONE_CODE_INVALID` — El código telefónico proporcionado no es válido.\n- 406 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido.\n- 400 · `PHONE_NUMBER_OCCUPIED` — El número de teléfono ya está en uso."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nuevo número de teléfono"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del código telefónico recibido al llamar [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "description": "Código telefónico recibido al llamar [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "phone_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Nuevo número de teléfono |\n| `phone_code_hash` | `string` | si | Hash del código telefónico recibido al llamar [account.sendChangePhoneCode](https://core.telegram.org/method/account.sendChangePhoneCode.md) |\n| `phone_code` | `string` | si | Código telefónico recibido al llamar [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": ["cuenta"], "summary": "Cuando la función de bloqueo de contraseña del lado del cliente está habilitada, no se mostrarán los mensajes de texto en las notificaciones entrantes PUSH.", "description": "Cuando la función de bloqueo de contraseña del lado del cliente está habilitada, no se mostrarán los mensajes de texto en las [PUSH notificaciones](https://core.telegram.org/api/push-updates.md) entrantes.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Manejo de notificaciones PUSH](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Periodo de inactividad tras el cual empezar a ocultar los textos de los mensajes en [PUSH notificaciones](https://core.telegram.org/api/push-updates.md)."}}, "additionalProperties": false, "required": ["period"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `period` | `int` | si | Periodo de inactividad tras el cual empezar a ocultar los textos de los mensajes en [PUSH notificaciones](https://core.telegram.org/api/push-updates.md). |"}, "x-browser-schema-id": "954152242"}}, "/catalog/account.getAuthorizations": {"post": {"operationId": "account.getAuthorizations", "tags": ["cuenta"], "summary": "Obtener sesiones iniciadas", "description": "Obtener sesiones iniciadas", "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": "Resultado de MTProto · `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": "Tipo TL: account.Authorizations."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getAuthorizations"}, "x-browser-schema-id": "3810574680"}}, "/catalog/account.resetAuthorization": {"post": {"operationId": "account.resetAuthorization", "tags": ["cuenta"], "summary": "Cerrar sesión en una sesión activa autorizada por su hash", "description": "Cerrar sesión en una [sesión autorizada](https://core.telegram.org/api/auth.md) activa por su hash\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autorización de usuario](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` — No puedes cerrar sesión en otras sesiones si han pasado menos de 24 horas desde que iniciaste sesión en la sesión actual.\n- 400 · `HASH_INVALID`: el hash proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.resetAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "hash de sesión", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | hash de sesión |"}, "x-telegram-rpc-errors": ["FRESH_RESET_AUTHORISATION_FORBIDDEN", "HASH_INVALID"], "x-browser-schema-id": "3749180348"}}, "/catalog/account.getPassword": {"post": {"operationId": "account.getPassword", "tags": ["cuenta"], "summary": "Obtener configuración para autorización de dos factores con contraseña", "description": "Obtener configuración para autorización de dos factores con contraseña\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: account.Password."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getPassword"}, "x-browser-schema-id": "1418342645"}}, "/catalog/account.getPasswordSettings": {"post": {"operationId": "account.getPasswordSettings", "tags": ["cuenta"], "summary": "Obtenga información privada asociada a la información de la contraseña (correo electrónico de recuperación, información del pasaporte de Telegram, etc.)", "description": "Obtenga información privada asociada a la información de la contraseña (correo electrónico de recuperación, telegrama [pasaporte](https://core.telegram.org/passport.md) información, etc.)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `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": "Tipo TL: account.PasswordSettings."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID`: el hash de contraseña proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La contraseña (ver [SRP](https://core.telegram.org/api/srp.md))"}}, "additionalProperties": false, "required": ["password"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | si | La contraseña (ver [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": ["cuenta"], "summary": "Establecer una nueva contraseña 2FA", "description": "Establecer una nueva contraseña 2FA\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMAIL_INVALID`: el correo electrónico especificado no es válido.\n- 400 · `EMAIL_UNCONFIRMED` — Correo electrónico no confirmado.\n- 400 · `EMAIL_UNCONFIRMED_%d`: el correo electrónico proporcionado no está confirmado, %d es la longitud del código de verificación que se acaba de enviar al correo electrónico: use [account.verifyEmail](https://core.telegram.org/method/account.verifyEmail.md) para ingresar el código de verificación recibido y habilitar el correo electrónico de recuperación.\n- 400 · `NEW_SALT_INVALID` — La nueva sal no es válida.\n- 400 · `NEW_SETTINGS_EMPTY`: no se ha establecido ninguna contraseña en la cuenta actual y no se ha especificado ninguna contraseña nueva en `new_settings`.\n- 400 · `NEW_SETTINGS_INVALID` — La nueva configuración de contraseña no es válida.\n- 400 · `PASSWORD_HASH_INVALID`: el hash de contraseña proporcionado no es válido.\n- 400 · `SRP_ID_INVALID` — SRP ID proporcionada no válida.\n- 400 · `SRP_PASSWORD_CHANGED` — La contraseña ha cambiado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La contraseña anterior (ver [SRP](https://core.telegram.org/api/srp.md))"}, "new_settings": {"type": "object", "x-tl-type": "account.PasswordInputSettings", "oneOf": [{"$ref": "#/components/schemas/account.passwordInputSettings"}], "description": "La nueva contraseña (ver [SRP](https://core.telegram.org/api/srp.md))"}}, "additionalProperties": false, "required": ["password", "new_settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | si | La contraseña anterior (ver [SRP](https://core.telegram.org/api/srp.md)) |\n| `new_settings` | `account.PasswordInputSettings` | si | La nueva contraseña (ver [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": ["cuenta"], "summary": "Enviar código de confirmación para cancelar la eliminación de la cuenta, para más información haga clic aquí »", "description": "Enviar código de confirmación para cancelar la eliminación de la cuenta, para más información [haga clic aquí »](https://core.telegram.org/api/account-deletion.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Eliminación de cuenta](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": "Resultado de MTProto · `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": "Escribe TL: auth.SentCode."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `HASH_INVALID`: el hash proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El hash de la notificación del servicio, para más información [haga clic aquí »](https://core.telegram.org/api/account-deletion.md)"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Configuración del código telefónico"}}, "additionalProperties": false, "required": ["hash", "settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `string` | si | El hash de la notificación del servicio, para más información [haga clic aquí »](https://core.telegram.org/api/account-deletion.md) |\n| `settings` | `CodeSettings` | si | Configuración del código telefónico |"}, "x-telegram-rpc-errors": ["HASH_INVALID"], "x-browser-schema-id": "457157256"}}, "/catalog/account.confirmPhone": {"post": {"operationId": "account.confirmPhone", "tags": ["cuenta"], "summary": "Confirme un número de teléfono para cancelar la eliminación de la cuenta; para obtener más información, haga clic aquí »", "description": "Confirme un número de teléfono para cancelar la eliminación de la cuenta, para más información [haga clic aquí »](https://core.telegram.org/api/account-deletion.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Eliminación de cuenta](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CODE_HASH_INVALID` — El hash del código no es válido.\n- 400 · `PHONE_CODE_EMPTY` — phone_code falta."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Hash del código telefónico, para obtener más información [haga clic aquí »](https://core.telegram.org/api/account-deletion.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "description": "SMS código, para más información [haga clic aquí »](https://core.telegram.org/api/account-deletion.md)"}}, "additionalProperties": false, "required": ["phone_code_hash", "phone_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_code_hash` | `string` | si | Hash del código telefónico, para obtener más información [haga clic aquí »](https://core.telegram.org/api/account-deletion.md) |\n| `phone_code` | `string` | si | SMS código, para más información [haga clic aquí »](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": ["cuenta"], "summary": "Obtener contraseña de pago temporal", "description": "Obtener contraseña de pago temporal\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: account.TmpPassword."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID`: el hash de contraseña proporcionado no es válido.\n- 400 · `SRP_A_INVALID`: el valor inputCheckPasswordSRP.A especificado no es válido.\n- 400 · `TMP_PASSWORD_DISABLED` — La contraseña temporal está deshabilitada."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 parámetros de contraseña"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo durante el cual la contraseña temporal será válida, en segundos; debe estar entre 60 y 86400"}}, "additionalProperties": false, "required": ["password", "period"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | si | SRP parámetros de contraseña |\n| `period` | `int` | si | Tiempo durante el cual la contraseña temporal será válida, en segundos; debe estar entre 60 y 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": ["cuenta"], "summary": "Obtenga autorizaciones de widget de inicio de sesión web", "description": "Obtenga autorizaciones web [widget de inicio de sesión](https://core.telegram.org/widgets/login.md)]\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escriba TL: account.WebAuthorizations."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getWebAuthorizations"}, "x-browser-schema-id": "405695855"}}, "/catalog/account.resetWebAuthorization": {"post": {"operationId": "account.resetWebAuthorization", "tags": ["cuenta"], "summary": "Cerrar sesión en una sesión activa de inicio de sesión de Telegram web", "description": "Cerrar sesión en una web activa [iniciar sesión en Telegram](https://core.telegram.org/widgets/login.md)]\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `HASH_INVALID`: el hash proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.resetWebAuthorization"}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Sesión](https://core.telegram.org/constructor/webAuthorization.md) hash", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Sesión](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": ["cuenta"], "summary": "Restablecer todas las sesiones de inicio de sesión activas de Web Telegram", "description": "Restablecer todas las sesiones web activas [iniciar sesión en Telegram](https://core.telegram.org/widgets/login.md)]\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.resetWebAuthorizations"}, "x-browser-schema-id": "1747789204"}}, "/catalog/account.getAllSecureValues": {"post": {"operationId": "account.getAllSecureValues", "tags": ["cuenta"], "summary": "Obtenga todos los documentos de Telegram Passport guardados; para obtener más información, consulte los documentos del pasaporte »", "description": "Obtenga todos los documentos [Telegram Passport](https://core.telegram.org/passport.md)] guardados, [para obtener más información, consulte los documentos del pasaporte »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Vector<SecureValue>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[ValorSeguro](https://core.telegram.org/type/SecureValue.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValue", "oneOf": [{"$ref": "#/components/schemas/secureValue"}], "description": "Tipo de TL: SecureValue."}, "x-tl-type": "Vector<SecureValue>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getAllSecureValues"}, "x-browser-schema-id": "2995305597"}}, "/catalog/account.getSecureValue": {"post": {"operationId": "account.getSecureValue", "tags": ["cuenta"], "summary": "Obtenga el documento Telegram Passport guardado; para obtener más información, consulte los documentos del pasaporte »", "description": "Guarde el [documento Telegram Passport](https://core.telegram.org/passport.md), [para obtener más información, consulte los documentos del pasaporte »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Vector<SecureValue>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[ValorSeguro](https://core.telegram.org/type/SecureValue.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValue", "oneOf": [{"$ref": "#/components/schemas/secureValue"}], "description": "Tipo de TL: SecureValue."}, "x-tl-type": "Vector<SecureValue>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: SecureValueType."}, "x-tl-type": "Vector<SecureValueType>", "description": "Tipos de valores solicitados"}}, "additionalProperties": false, "required": ["types"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `types` | `Vector<SecureValueType>` | si | Tipos de valores solicitados |"}, "x-browser-schema-id": "1936088002"}}, "/catalog/account.saveSecureValue": {"post": {"operationId": "account.saveSecureValue", "tags": ["cuenta"], "summary": "Guarde de forma segura el documento Telegram Passport; para obtener más información, consulte los documentos del pasaporte »", "description": "Guarde de forma segura el [documento Telegram Passport](https://core.telegram.org/passport.md), [para obtener más información, consulte los documentos del pasaporte »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `SecureValue`.\n\n[Valor seguro](https://core.telegram.org/type/SecureValue.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "SecureValue", "oneOf": [{"$ref": "#/components/schemas/secureValue"}], "description": "Tipo de TL: SecureValue."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PASSWORD_REQUIRED` — Se debe configurar una [contraseña 2FA](https://core.telegram.org/api/srp.md) para usar Telegram Passport.\n- 400 · `SECURE_SECRET_REQUIRED` — Se requiere un secreto seguro."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Valor seguro, [para más información consulte los documentos del pasaporte »](https://core.telegram.org/passport/encryption.md#encryption)"}, "secure_secret_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash secreto del pasaporte, [para obtener más información, consulte los documentos del pasaporte »](https://core.telegram.org/passport/encryption.md#encryption)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["value", "secure_secret_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `value` | `InputSecureValue` | si | Valor seguro, [para más información consulte los documentos del pasaporte »](https://core.telegram.org/passport/encryption.md#encryption) |\n| `secure_secret_id` | `long` | si | Hash secreto del pasaporte, [para obtener más información, consulte los documentos del pasaporte »](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": ["cuenta"], "summary": "Elimine los documentos almacenados de Telegram Passport; para obtener más información, consulte los documentos del pasaporte »", "description": "Elimine los documentos almacenados [Telegram Passport](https://core.telegram.org/passport.md), [para obtener más información, consulte los documentos del pasaporte »](https://core.telegram.org/passport/encryption.md#encryption)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: SecureValueType."}, "x-tl-type": "Vector<SecureValueType>", "description": "Tipos de documentos para eliminar"}}, "additionalProperties": false, "required": ["types"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `types` | `Vector<SecureValueType>` | si | Tipos de documentos para eliminar |"}, "x-browser-schema-id": "3095444555"}}, "/catalog/account.getAuthorizationForm": {"post": {"operationId": "account.getAuthorizationForm", "tags": ["cuenta"], "summary": "Devuelve un formulario de autorización de Telegram Passport para compartir datos con un servicio", "description": "Devuelve un formulario de autorización de Telegram Passport para compartir datos con un servicio\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: account.AuthorizationForm."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `PUBLIC_KEY_REQUIRED` — Se requiere una clave pública."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de usuario del bot del servicio.", "x-tl-type": "long"}, "scope": {"type": "string", "x-tl-type": "string", "description": "Tipos de elementos de Telegram Passport solicitados por el servicio"}, "public_key": {"type": "string", "x-tl-type": "string", "description": "clave pública del servicio"}}, "additionalProperties": false, "required": ["bot_id", "scope", "public_key"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot_id` | `long` | si | Identificador de usuario del bot del servicio. |\n| `scope` | `string` | si | Tipos de elementos de Telegram Passport solicitados por el servicio |\n| `public_key` | `string` | si | clave pública del servicio |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "PUBLIC_KEY_REQUIRED"], "x-browser-schema-id": "2838059386"}}, "/catalog/account.acceptAuthorization": {"post": {"operationId": "account.acceptAuthorization", "tags": ["cuenta"], "summary": "Envía un formulario de autorización de Telegram Passport, compartiendo datos de manera efectiva con el servicio.", "description": "Envía un formulario de autorización de Telegram Passport, compartiendo datos de manera efectiva con el servicio.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `PUBLIC_KEY_REQUIRED` — Se requiere una clave pública."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID del robot", "x-tl-type": "long"}, "scope": {"type": "string", "x-tl-type": "string", "description": "Tipos de elementos de Telegram Passport solicitados por el servicio"}, "public_key": {"type": "string", "x-tl-type": "string", "description": "clave pública del servicio"}, "value_hashes": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValueHash", "oneOf": [{"$ref": "#/components/schemas/secureValueHash"}], "description": "Tipo de TL: SecureValueHash."}, "x-tl-type": "Vector<SecureValueHash>", "description": "Tipos de valores enviados y sus hashes"}, "credentials": {"type": "object", "x-tl-type": "SecureCredentialsEncrypted", "oneOf": [{"$ref": "#/components/schemas/secureCredentialsEncrypted"}], "description": "Valores cifrados"}}, "additionalProperties": false, "required": ["bot_id", "scope", "public_key", "value_hashes", "credentials"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot_id` | `long` | si | ID del robot |\n| `scope` | `string` | si | Tipos de elementos de Telegram Passport solicitados por el servicio |\n| `public_key` | `string` | si | clave pública del servicio |\n| `value_hashes` | `Vector<SecureValueHash>` | si | Tipos de valores enviados y sus hashes |\n| `credentials` | `SecureCredentialsEncrypted` | si | Valores cifrados |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "PUBLIC_KEY_REQUIRED"], "x-browser-schema-id": "4092415091"}}, "/catalog/account.sendVerifyPhoneCode": {"post": {"operationId": "account.sendVerifyPhoneCode", "tags": ["cuenta"], "summary": "Envíe el código telefónico de verificación para el pasaporte de Telegram.", "description": "Envíe el código telefónico de verificación para Telegram [pasaporte](https://core.telegram.org/passport.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: auth.SentCode."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El número de teléfono para verificar"}, "settings": {"type": "object", "x-tl-type": "CodeSettings", "oneOf": [{"$ref": "#/components/schemas/codeSettings"}], "description": "Configuración del código telefónico"}}, "additionalProperties": false, "required": ["phone_number", "settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | El número de teléfono para verificar |\n| `settings` | `CodeSettings` | si | Configuración del código telefónico |"}, "x-telegram-rpc-errors": ["PHONE_NUMBER_INVALID"], "x-browser-schema-id": "2778945273"}}, "/catalog/account.verifyPhone": {"post": {"operationId": "account.verifyPhone", "tags": ["cuenta"], "summary": "Verifique un número de teléfono para el pasaporte de Telegram.", "description": "Verifique un número de teléfono para Telegram [pasaporte](https://core.telegram.org/passport.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PHONE_CODE_EMPTY` — phone_code falta.\n- 400 · `PHONE_CODE_EXPIRED` — El código telefónico que proporcionaste ha caducado.\n- 400 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de teléfono"}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del código telefónico recibido de la llamada a [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md)"}, "phone_code": {"type": "string", "x-tl-type": "string", "description": "Código recibido después de la llamada a [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md)"}}, "additionalProperties": false, "required": ["phone_number", "phone_code_hash", "phone_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone_number` | `string` | si | Número de teléfono |\n| `phone_code_hash` | `string` | si | Hash del código telefónico recibido de la llamada a [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |\n| `phone_code` | `string` | si | Código recibido después de la llamada a [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": ["cuenta"], "summary": "Envíe un código de verificación por correo electrónico.", "description": "Envíe un código de verificación por correo electrónico.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: account.SentEmailCode."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMAIL_INVALID`: el correo electrónico especificado no es válido.\n- 400 · `EMAIL_NOT_ALLOWED` — El correo electrónico especificado no se puede utilizar para completar la operación.\n- 400 · `EMAIL_NOT_SETUP` — Para cambiar el correo electrónico de inicio de sesión con emailVerifyPurposeLoginChange, ya se debe configurar un correo electrónico de inicio de sesión existente usando emailVerifyPurposeLoginSetup.\n- 400 · `PHONE_CODE_EMPTY` — phone_code falta.\n- 400 · `PHONE_HASH_EXPIRED` — Se proporcionó un `phone_code_hash` no válido o vencido.\n- 400 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Propósito de verificación."}, "email": {"type": "string", "x-tl-type": "string", "description": "El correo electrónico donde enviar el código."}}, "additionalProperties": false, "required": ["purpose", "email"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `purpose` | `EmailVerifyPurpose` | si | Propósito de verificación. |\n| `email` | `string` | si | El correo electrónico donde enviar el código. |"}, "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": ["cuenta"], "summary": "Verificar una dirección de correo electrónico.", "description": "Verificar una dirección de correo electrónico.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: account.EmailVerified."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CODE_INVALID` — Código no válido.\n- 400 · `EMAIL_INVALID`: el correo electrónico especificado no es válido.\n- 400 · `EMAIL_NOT_ALLOWED` — El correo electrónico especificado no se puede utilizar para completar la operación.\n- 400 · `EMAIL_VERIFY_EXPIRED` — El correo electrónico de verificación ha caducado.\n- 400 · `PHONE_CODE_EXPIRED` — El código telefónico que proporcionaste ha caducado.\n- 400 · `PHONE_NUMBER_INVALID` — El número de teléfono no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Propósito de verificación"}, "verification": {"type": "object", "x-tl-type": "EmailVerification", "oneOf": [{"$ref": "#/components/schemas/emailVerificationCode"}, {"$ref": "#/components/schemas/emailVerificationGoogle"}, {"$ref": "#/components/schemas/emailVerificationApple"}], "description": "Código o token de verificación de correo electrónico"}}, "additionalProperties": false, "required": ["purpose", "verification"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `purpose` | `EmailVerifyPurpose` | si | Propósito de verificación |\n| `verification` | `EmailVerification` | si | Código o token de verificación de correo electrónico |"}, "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": ["cuenta"], "summary": "Inicialice una sesión de comida para llevar, consulte aquí » para obtener más información.", "description": "Inicialice una [sesión para llevar, consulte aquí » para obtener más información](https://core.telegram.org/api/takeout.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Comida para llevar 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": "Resultado de MTProto · `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": "Tipo TL: account.Takeout."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 420 · `TAKEOUT_INIT_DELAY_%d` — Lo sentimos, por razones de seguridad, podrás comenzar a descargar tus datos en %d segundos. Hemos notificado a todos sus dispositivos sobre la solicitud de exportación para asegurarnos de que esté autorizada y darle tiempo para reaccionar si no lo está."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para exportar contactos"}, "message_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si exportar mensajes en chats privados"}, "message_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Ya sea para exportar mensajes en [grupos básicos](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": "Ya sea para exportar mensajes en [supergrupos](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": "Ya sea para exportar mensajes en [canales](https://core.telegram.org/api/channel.md#channels)"}, "files": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Ya sea para exportar archivos"}, "file_max_size": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamaño máximo de archivos para exportar", "x-tl-type": "long", "x-tl-flag": "flags.5?long"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `contacts` | `true` | No | Ya sea para exportar contactos |\n| `message_users` | `true` | No | Si exportar mensajes en chats privados |\n| `message_chats` | `true` | No | Ya sea para exportar mensajes en [grupos básicos](https://core.telegram.org/api/channel.md#basic-groups) |\n| `message_megagroups` | `true` | No | Ya sea para exportar mensajes en [supergrupos](https://core.telegram.org/api/channel.md#supergroups) |\n| `message_channels` | `true` | No | Ya sea para exportar mensajes en [canales](https://core.telegram.org/api/channel.md#channels) |\n| `files` | `true` | No | Ya sea para exportar archivos |\n| `file_max_size` | `long` | No | Tamaño máximo de archivos para exportar |"}, "x-telegram-rpc-errors": ["TAKEOUT_INIT_DELAY_%d"], "x-browser-schema-id": "2398350000"}}, "/catalog/account.finishTakeoutSession": {"post": {"operationId": "account.finishTakeoutSession", "tags": ["cuenta"], "summary": "Finalice una sesión de comida para llevar, consulte aquí » para obtener más información.", "description": "Finalice una [sesión para llevar, consulte aquí » para obtener más información](https://core.telegram.org/api/takeout.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Comida para llevar 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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `TAKEOUT_REQUIRED` — Primero se debe inicializar una sesión [para llevar](https://core.telegram.org/api/takeout.md), [consulte aquí » para obtener más información](https://core.telegram.org/api/takeout.md)."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Datos exportados exitosamente"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `success` | `true` | No | Datos exportados exitosamente |"}, "x-telegram-rpc-errors": ["TAKEOUT_REQUIRED"], "x-browser-schema-id": "489050862"}}, "/catalog/account.confirmPasswordEmail": {"post": {"operationId": "account.confirmPasswordEmail", "tags": ["cuenta"], "summary": "Verifique un correo electrónico para usarlo como método de recuperación 2FA.", "description": "Verifique un correo electrónico para usarlo como [método de recuperación 2FA](https://core.telegram.org/api/srp.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CODE_INVALID` — Código no válido.\n- 400 · `EMAIL_HASH_EXPIRED`: el hash de correo electrónico expiró."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El código de teléfono que se recibió después de [configurar un correo electrónico de recuperación](https://core.telegram.org/api/srp.md#email-verification)"}}, "additionalProperties": false, "required": ["code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `code` | `string` | si | El código de teléfono que se recibió después de [configurar un correo electrónico de recuperación](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": ["cuenta"], "summary": "Vuelva a enviar el código para verificar un correo electrónico y utilizarlo como método de recuperación 2FA.", "description": "Vuelva a enviar el código para verificar un correo electrónico y utilizarlo como [método de recuperación 2FA](https://core.telegram.org/api/srp.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMAIL_HASH_EXPIRED`: el hash de correo electrónico expiró."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["cuenta"], "summary": "Cancele el código que se envió para verificar un correo electrónico y usarlo como método de recuperación 2FA.", "description": "Cancele el código que se envió para verificar un correo electrónico para usarlo como [método de recuperación 2FA](https://core.telegram.org/api/srp.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMAIL_HASH_EXPIRED`: el hash de correo electrónico expiró."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["cuenta"], "summary": "Si el usuario recibirá notificaciones cuando los contactos se registren", "description": "Si el usuario recibirá notificaciones cuando los contactos se registren", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getContactSignUpNotification"}, "x-browser-schema-id": "2668087080"}}, "/catalog/account.setContactSignUpNotification": {"post": {"operationId": "account.setContactSignUpNotification", "tags": ["cuenta"], "summary": "Alternar notificaciones de registro de contacto", "description": "Alternar notificaciones de registro de contacto", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se deshabilitan las notificaciones de registro de contactos"}}, "additionalProperties": false, "required": ["silent"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `silent` | `Bool` | si | Si se deshabilitan las notificaciones de registro de contactos |"}, "x-browser-schema-id": "3488890721"}}, "/catalog/account.getNotifyExceptions": {"post": {"operationId": "account.getNotifyExceptions", "tags": ["cuenta"], "summary": "Devuelve una lista de chats con configuraciones de notificación no predeterminadas", "description": "Devuelve una lista de chats con configuraciones de notificación no predeterminadas", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se configura, se devolverán los chats con sonido no predeterminado"}, "compare_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si se configura, se devolverán los chats con configuraciones de notificación no predeterminadas para historias"}, "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": "Si se especifica, solo se devolverán los chats de la categoría especificada", "x-tl-flag": "flags.0?InputNotifyPeer"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `compare_sound` | `true` | No | Si se configura, se devolverán los chats con sonido no predeterminado |\n| `compare_stories` | `true` | No | Si se configura, se devolverán los chats con configuraciones de notificación no predeterminadas para historias |\n| `peer` | `InputNotifyPeer` | No | Si se especifica, solo se devolverán los chats de la categoría especificada |"}, "x-browser-schema-id": "1398240377"}}, "/catalog/account.getWallPaper": {"post": {"operationId": "account.getWallPaper", "tags": ["cuenta"], "summary": "Obtener información sobre un determinado fondo de pantalla", "description": "Obtener información sobre un determinado [fondo de pantalla](https://core.telegram.org/api/wallpapers.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Fondos de pantalla de chat](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": "Resultado de MTProto · `WallPaper`.\n\n[Fondo de pantalla](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": "Tipo TL: Papel pintado."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `WALLPAPER_INVALID`: el fondo de pantalla especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El [fondo de pantalla](https://core.telegram.org/api/wallpapers.md) para obtener información sobre"}}, "additionalProperties": false, "required": ["wallpaper"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `wallpaper` | `InputWallPaper` | si | El [fondo de pantalla](https://core.telegram.org/api/wallpapers.md) para obtener información sobre |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "4237155306"}}, "/catalog/account.uploadWallPaper": {"post": {"operationId": "account.uploadWallPaper", "tags": ["cuenta"], "summary": "Crea y sube un nuevo fondo de pantalla", "description": "Crea y sube un nuevo [fondo de pantalla](https://core.telegram.org/api/wallpapers.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Fondos de pantalla de chat](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": "Resultado de MTProto · `WallPaper`.\n\n[Fondo de pantalla](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": "Tipo TL: Papel pintado."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `WALLPAPER_FILE_INVALID`: el archivo de fondo de pantalla especificado no es válido.\n- 400 · `WALLPAPER_MIME_INVALID`: el tipo de fondo de pantalla especificado MIME no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Establezca esta bandera al cargar fondos de pantalla para que se pasen a [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": "El fondo de pantalla JPG/PNG"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME tipo de fondo de pantalla subido"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "Configuración del fondo de pantalla"}}, "additionalProperties": false, "required": ["file", "mime_type", "settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `for_chat` | `true` | No | Establezca esta bandera al cargar fondos de pantalla para que se pasen a [messages.setChatWallPaper](https://core.telegram.org/method/messages.setChatWallPaper.md). |\n| `file` | `InputFile` | si | El fondo de pantalla JPG/PNG |\n| `mime_type` | `string` | si | MIME tipo de fondo de pantalla subido |\n| `settings` | `WallPaperSettings` | si | Configuración del fondo de pantalla |"}, "x-telegram-rpc-errors": ["WALLPAPER_FILE_INVALID", "WALLPAPER_MIME_INVALID"], "x-browser-schema-id": "3818557187"}}, "/catalog/account.saveWallPaper": {"post": {"operationId": "account.saveWallPaper", "tags": ["cuenta"], "summary": "Instalar/desinstalar fondo de pantalla", "description": "Instalar/desinstalar [fondo de pantalla](https://core.telegram.org/api/wallpapers.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Fondos de pantalla de chat](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `WALLPAPER_INVALID`: el fondo de pantalla especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) para instalar o desinstalar"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "¿Desinstalar el fondo de pantalla?"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "Configuración del fondo de pantalla"}}, "additionalProperties": false, "required": ["wallpaper", "unsave", "settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `wallpaper` | `InputWallPaper` | si | [Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) para instalar o desinstalar |\n| `unsave` | `Bool` | si | ¿Desinstalar el fondo de pantalla? |\n| `settings` | `WallPaperSettings` | si | Configuración del fondo de pantalla |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "1817860919"}}, "/catalog/account.installWallPaper": {"post": {"operationId": "account.installWallPaper", "tags": ["cuenta"], "summary": "Instalar fondo de pantalla", "description": "Instalar [fondo de pantalla](https://core.telegram.org/api/wallpapers.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Fondos de pantalla de chat](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `WALLPAPER_INVALID`: el fondo de pantalla especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) para instalar"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "[Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) configuración"}}, "additionalProperties": false, "required": ["wallpaper", "settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `wallpaper` | `InputWallPaper` | si | [Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) para instalar |\n| `settings` | `WallPaperSettings` | si | [Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) configuración |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "4276967273"}}, "/catalog/account.resetWallPapers": {"post": {"operationId": "account.resetWallPapers", "tags": ["cuenta"], "summary": "Elimine todos los fondos de pantalla instalados y vuelva al conjunto de fondos de pantalla predeterminado.", "description": "Elimine todos los [fondos de pantalla](https://core.telegram.org/api/wallpapers.md) instalados y vuelva al conjunto de fondos de pantalla predeterminado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Fondos de pantalla de chat](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.resetWallPapers"}, "x-browser-schema-id": "3141244932"}}, "/catalog/account.getAutoDownloadSettings": {"post": {"operationId": "account.getAutoDownloadSettings", "tags": ["cuenta"], "summary": "Obtener configuración de descarga automática de medios", "description": "Obtener configuración de descarga automática de medios", "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": "Resultado de MTProto · `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": "Tipo TL: account.AutoDownloadSettings."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getAutoDownloadSettings"}, "x-browser-schema-id": "1457130303"}}, "/catalog/account.saveAutoDownloadSettings": {"post": {"operationId": "account.saveAutoDownloadSettings", "tags": ["cuenta"], "summary": "Cambiar la configuración de descarga automática de medios", "description": "Cambiar la configuración de descarga automática de medios", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se deben guardar medios en el ajuste preestablecido de bajo uso de datos"}, "high": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si se deben guardar medios en el ajuste preestablecido de alto uso de datos"}, "settings": {"type": "object", "x-tl-type": "AutoDownloadSettings", "oneOf": [{"$ref": "#/components/schemas/autoDownloadSettings"}], "description": "Configuración de descarga automática de medios"}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `low` | `true` | No | Si se deben guardar medios en el ajuste preestablecido de bajo uso de datos |\n| `high` | `true` | No | Si se deben guardar medios en el ajuste preestablecido de alto uso de datos |\n| `settings` | `AutoDownloadSettings` | si | Configuración de descarga automática de medios |"}, "x-browser-schema-id": "1995661875"}}, "/catalog/account.uploadTheme": {"post": {"operationId": "account.uploadTheme", "tags": ["cuenta"], "summary": "Subir tema", "description": "Subir tema\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas de telegramas](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": "Resultado de MTProto · `Document`.\n\n[Documento](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": "Tipo TL: Documento."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `THEME_FILE_INVALID`: archivo de tema no válido proporcionado.\n- 400 · `THEME_MIME_INVALID`: el tipo MIME del tema no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[El archivo de tema](https://core.telegram.org/api/themes.md#uploading-theme-files) cargado anteriormente con colores específicos de la plataforma para los componentes de la interfaz de usuario se puede dejar sin configurar al crear temas que solo modifican el fondo de pantalla o los colores de acento."}, "thumb": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Miniatura", "x-tl-flag": "flags.0?InputFile"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "Nombre de archivo"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME tipo, debe ser `application/x-tgtheme-{format}`, donde `format` depende del cliente"}}, "additionalProperties": false, "required": ["file", "file_name", "mime_type"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `file` | `InputFile` | si | [El archivo de tema](https://core.telegram.org/api/themes.md#uploading-theme-files) cargado anteriormente con colores específicos de la plataforma para los componentes de la interfaz de usuario se puede dejar sin configurar al crear temas que solo modifican el fondo de pantalla o los colores de acento. |\n| `thumb` | `InputFile` | No | Miniatura |\n| `file_name` | `string` | si | Nombre de archivo |\n| `mime_type` | `string` | si | MIME tipo, debe ser `application/x-tgtheme-{format}`, donde `format` depende del cliente |"}, "x-telegram-rpc-errors": ["THEME_FILE_INVALID", "THEME_MIME_INVALID"], "x-browser-schema-id": "473805619"}}, "/catalog/account.createTheme": {"post": {"operationId": "account.createTheme", "tags": ["cuenta"], "summary": "Crear un tema", "description": "Crear un tema\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `Theme`.\n\n[Tema](https://core.telegram.org/type/Theme.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Theme", "oneOf": [{"$ref": "#/components/schemas/theme"}], "description": "Tipo TL: Tema."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `THEME_MIME_INVALID`: el tipo MIME del tema no es válido.\n- 400 · `THEME_TITLE_INVALID`: el título del tema especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El ID de tema único utilizado para generar [enlaces profundos del tema](https://core.telegram.org/api/links.md#theme-links), puede estar vacío para generar automáticamente un ID aleatorio."}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del tema"}, "document": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Archivo de tema", "x-tl-flag": "flags.2?InputDocument"}, "settings": {"type": "array", "items": {"type": "object", "x-tl-type": "InputThemeSettings", "oneOf": [{"$ref": "#/components/schemas/inputThemeSettings"}], "description": "Tipo de TL: InputThemeSettings."}, "x-tl-type": "Vector<InputThemeSettings>", "x-tl-flag": "flags.3?Vector<InputThemeSettings>", "description": "Configuración del tema, se pueden proporcionar múltiples valores para los diferentes temas base (modo día/noche, etc.)."}}, "additionalProperties": false, "required": ["slug", "title"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | El ID de tema único utilizado para generar [enlaces profundos del tema](https://core.telegram.org/api/links.md#theme-links), puede estar vacío para generar automáticamente un ID aleatorio. |\n| `title` | `string` | si | Nombre del tema |\n| `document` | `InputDocument` | No | Archivo de tema |\n| `settings` | `Vector<InputThemeSettings>` | No | Configuración del tema, se pueden proporcionar múltiples valores para los diferentes temas base (modo día/noche, etc.). |"}, "x-telegram-rpc-errors": ["THEME_MIME_INVALID", "THEME_TITLE_INVALID"], "x-browser-schema-id": "1697530880"}}, "/catalog/account.updateTheme": {"post": {"operationId": "account.updateTheme", "tags": ["cuenta"], "summary": "Actualizar tema", "description": "Actualizar tema\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Theme`.\n\n[Tema](https://core.telegram.org/type/Theme.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Theme", "oneOf": [{"$ref": "#/components/schemas/theme"}], "description": "Tipo TL: Tema."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `THEME_INVALID`: tema proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Formato de tema, una cadena que identifica los motores de temas admitidos por el cliente."}, "theme": {"type": "object", "x-tl-type": "InputTheme", "oneOf": [{"$ref": "#/components/schemas/inputTheme"}, {"$ref": "#/components/schemas/inputThemeSlug"}], "description": "Tema para actualizar"}, "slug": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "ID de tema único"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Nombre del tema"}, "document": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Archivo de tema", "x-tl-flag": "flags.2?InputDocument"}, "settings": {"type": "array", "items": {"type": "object", "x-tl-type": "InputThemeSettings", "oneOf": [{"$ref": "#/components/schemas/inputThemeSettings"}], "description": "Tipo de TL: InputThemeSettings."}, "x-tl-type": "Vector<InputThemeSettings>", "x-tl-flag": "flags.3?Vector<InputThemeSettings>", "description": "Configuración del tema"}}, "additionalProperties": false, "required": ["format", "theme"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `format` | `string` | si | Formato de tema, una cadena que identifica los motores de temas admitidos por el cliente. |\n| `theme` | `InputTheme` | si | Tema para actualizar |\n| `slug` | `string` | No | ID de tema único |\n| `title` | `string` | No | Nombre del tema |\n| `document` | `InputDocument` | No | Archivo de tema |\n| `settings` | `Vector<InputThemeSettings>` | No | Configuración del tema |"}, "x-telegram-rpc-errors": ["THEME_INVALID"], "x-browser-schema-id": "737414348"}}, "/catalog/account.saveTheme": {"post": {"operationId": "account.saveTheme", "tags": ["cuenta"], "summary": "guardar un tema", "description": "guardar un tema\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `THEME_INVALID`: tema proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tema para guardar"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Dejar de guardar"}}, "additionalProperties": false, "required": ["theme", "unsave"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `theme` | `InputTheme` | si | Tema para guardar |\n| `unsave` | `Bool` | si | Dejar de guardar |"}, "x-telegram-rpc-errors": ["THEME_INVALID"], "x-browser-schema-id": "4065792108"}}, "/catalog/account.installTheme": {"post": {"operationId": "account.installTheme", "tags": ["cuenta"], "summary": "Instalar un tema", "description": "Instalar un tema", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para instalar la versión oscura"}, "theme": {"type": "object", "x-tl-type": "InputTheme", "oneOf": [{"$ref": "#/components/schemas/inputTheme"}, {"$ref": "#/components/schemas/inputThemeSlug"}], "description": "Tema para instalar", "x-tl-flag": "flags.1?InputTheme"}, "format": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Formato de tema, una cadena que identifica los motores de temas admitidos por el cliente."}, "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": "Indica un tema básico proporcionado por todos los clientes.", "x-tl-flag": "flags.3?BaseTheme"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dark` | `true` | No | Ya sea para instalar la versión oscura |\n| `theme` | `InputTheme` | No | Tema para instalar |\n| `format` | `string` | No | Formato de tema, una cadena que identifica los motores de temas admitidos por el cliente. |\n| `base_theme` | `BaseTheme` | No | Indica un tema básico proporcionado por todos los clientes. |"}, "x-browser-schema-id": "3341269819"}}, "/catalog/account.getTheme": {"post": {"operationId": "account.getTheme", "tags": ["cuenta"], "summary": "Obtener información del tema", "description": "Obtener información del tema\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Theme`.\n\n[Tema](https://core.telegram.org/type/Theme.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Theme", "oneOf": [{"$ref": "#/components/schemas/theme"}], "description": "Tipo TL: Tema."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `THEME_FORMAT_INVALID`: se proporcionó un formato de tema no válido.\n- 400 · `THEME_INVALID`: tema proporcionado no válido.\n- 400 · `THEME_SLUG_INVALID`: el tema especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Formato de tema, una cadena que identifica los motores de temas admitidos por el cliente."}, "theme": {"type": "object", "x-tl-type": "InputTheme", "oneOf": [{"$ref": "#/components/schemas/inputTheme"}, {"$ref": "#/components/schemas/inputThemeSlug"}], "description": "Tema"}}, "additionalProperties": false, "required": ["format", "theme"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `format` | `string` | si | Formato de tema, una cadena que identifica los motores de temas admitidos por el cliente. |\n| `theme` | `InputTheme` | si | Tema |"}, "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": ["cuenta"], "summary": "Obtener temas instalados", "description": "Obtener temas instalados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: account.Themes."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Formato de tema, una cadena que identifica los motores de temas admitidos por el cliente."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["format", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `format` | `string` | si | Formato de tema, una cadena que identifica los motores de temas admitidos por el cliente. |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1913054296"}}, "/catalog/account.setContentSettings": {"post": {"operationId": "account.setContentSettings", "tags": ["cuenta"], "summary": "Establecer configuraciones de contenido confidencial (para ver u ocultar contenido NSFW)", "description": "Establecer configuraciones de contenido confidencial (para ver u ocultar contenido NSFW)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `SENSITIVE_CHANGE_FORBIDDEN` — No puedes cambiar la configuración de contenido confidencial."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Habilitar contenido NSFW"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `sensitive_enabled` | `true` | No | Habilitar contenido NSFW |"}, "x-telegram-rpc-errors": ["SENSITIVE_CHANGE_FORBIDDEN"], "x-browser-schema-id": "3044323691"}}, "/catalog/account.getContentSettings": {"post": {"operationId": "account.getContentSettings", "tags": ["cuenta"], "summary": "Obtener configuración de contenido confidencial", "description": "Obtener configuración de contenido confidencial", "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": "Resultado de MTProto · `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": "Tipo TL: account.ContentSettings."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getContentSettings"}, "x-browser-schema-id": "2342210990"}}, "/catalog/account.getMultiWallPapers": {"post": {"operationId": "account.getMultiWallPapers", "tags": ["cuenta"], "summary": "Obtener información sobre varios fondos de pantalla", "description": "Obtén información sobre múltiples [fondos de pantalla](https://core.telegram.org/api/wallpapers.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Fondos de pantalla de chat](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": "Resultado de MTProto · `Vector<WallPaper>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Papel pintado](https://core.telegram.org/type/WallPaper.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "WallPaper", "oneOf": [{"$ref": "#/components/schemas/wallPaper"}, {"$ref": "#/components/schemas/wallPaperNoFile"}], "description": "Tipo TL: Papel pintado."}, "x-tl-type": "Vector<WallPaper>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `WALLPAPER_INVALID`: el fondo de pantalla especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo TL: InputWallPaper."}, "x-tl-type": "Vector<InputWallPaper>", "description": "[Fondos de pantalla](https://core.telegram.org/api/wallpapers.md) para obtener información sobre"}}, "additionalProperties": false, "required": ["wallpapers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `wallpapers` | `Vector<InputWallPaper>` | si | [Fondos de pantalla](https://core.telegram.org/api/wallpapers.md) para obtener información sobre |"}, "x-telegram-rpc-errors": ["WALLPAPER_INVALID"], "x-browser-schema-id": "1705865692"}}, "/catalog/account.getGlobalPrivacySettings": {"post": {"operationId": "account.getGlobalPrivacySettings", "tags": ["cuenta"], "summary": "Obtener configuración de privacidad global", "description": "Obtener configuración de privacidad global", "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": "Resultado de MTProto · `GlobalPrivacySettings`.\n\n[Configuración de privacidad global](https://core.telegram.org/type/GlobalPrivacySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "GlobalPrivacySettings", "oneOf": [{"$ref": "#/components/schemas/globalPrivacySettings"}], "description": "Tipo de TL: Configuración de privacidad global."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getGlobalPrivacySettings"}, "x-browser-schema-id": "3945483510"}}, "/catalog/account.setGlobalPrivacySettings": {"post": {"operationId": "account.setGlobalPrivacySettings", "tags": ["cuenta"], "summary": "Establecer configuración de privacidad global", "description": "Establecer configuración de privacidad global\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `GlobalPrivacySettings`.\n\n[Configuración de privacidad global](https://core.telegram.org/type/GlobalPrivacySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "GlobalPrivacySettings", "oneOf": [{"$ref": "#/components/schemas/globalPrivacySettings"}], "description": "Tipo de TL: Configuración de privacidad global."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AUTOARCHIVE_NOT_AVAILABLE`: la configuración de autoarchivo no está disponible en este momento: verifique el valor del campo [autoarchive_setting_available en la configuración del cliente »](https://core.telegram.org/api/config.md#client-configuration) antes de llamar a este método.\n- 403 · `BOT_ACCESS_FORBIDDEN` — El método especificado *puede* usarse a través de una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algunas operaciones, pero la consulta especificada intentó una operación que no está permitida a través de una conexión comercial.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Configuración de privacidad global"}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `settings` | `GlobalPrivacySettings` | si | Configuración de privacidad global |"}, "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": ["cuenta"], "summary": "Reportar una foto de perfil de un diálogo", "description": "Reportar una foto de perfil de un diálogo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El dialogo"}, "photo_id": {"type": "object", "x-tl-type": "InputPhoto", "oneOf": [{"$ref": "#/components/schemas/inputPhotoEmpty"}, {"$ref": "#/components/schemas/inputPhoto"}], "description": "Identificación con foto del cuadro de diálogo"}, "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": "Motivo del informe"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comentario para moderación del informe."}}, "additionalProperties": false, "required": ["peer", "photo_id", "reason", "message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El dialogo |\n| `photo_id` | `InputPhoto` | si | Identificación con foto del cuadro de diálogo |\n| `reason` | `ReportReason` | si | Motivo del informe |\n| `message` | `string` | si | Comentario para moderación del informe. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "4203529973"}}, "/catalog/account.resetPassword": {"post": {"operationId": "account.resetPassword", "tags": ["cuenta"], "summary": "Iniciar un restablecimiento de contraseña 2FA: solo se puede usar si el usuario ya inició sesión; consulte aquí para obtener más información »", "description": "Iniciar un restablecimiento de contraseña 2FA: solo se puede usar si el usuario ya inició sesión, [consulte aquí para obtener más información »](https://core.telegram.org/api/srp.md#password-reset)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `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": "Escriba TL: account.ResetPasswordResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PASSWORD_EMPTY` — La contraseña proporcionada está vacía."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["cuenta"], "summary": "Cancele un restablecimiento de contraseña 2FA pendiente; consulte aquí para obtener más información »", "description": "Cancelar un restablecimiento de contraseña 2FA pendiente, [consulte aquí para obtener más información »](https://core.telegram.org/api/srp.md#password-reset)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `RESET_REQUEST_MISSING`: no hay ningún restablecimiento de contraseña en curso."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["cuenta"], "summary": "Obtenga todos los temas de chat disponibles ».", "description": "Obtenga todos los [temas» de chat disponibles »](https://core.telegram.org/api/themes.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Temas de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: account.Themes."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3594051209"}}, "/catalog/account.setAuthorizationTTL": {"post": {"operationId": "account.setAuthorizationTTL", "tags": ["cuenta"], "summary": "Establecer el tiempo de vida de la sesión actual", "description": "Establecer el tiempo de vida de la sesión actual\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` — No puedes cerrar sesión en otras sesiones si han pasado menos de 24 horas desde que iniciaste sesión en la sesión actual.\n- 400 · `TTL_DAYS_INVALID` — El TTL proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tiempo de vida de la sesión actual en días"}}, "additionalProperties": false, "required": ["authorization_ttl_days"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `authorization_ttl_days` | `int` | si | Tiempo de vida de la sesión actual en días |"}, "x-telegram-rpc-errors": ["FRESH_RESET_AUTHORISATION_FORBIDDEN", "TTL_DAYS_INVALID"], "x-browser-schema-id": "3213466272"}}, "/catalog/account.changeAuthorizationSettings": {"post": {"operationId": "account.changeAuthorizationSettings", "tags": ["cuenta"], "summary": "Cambiar la configuración relacionada con una sesión.", "description": "Cambiar la configuración relacionada con una sesión.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autorización de usuario](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `HASH_INVALID`: el hash proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, [confirma una sesión recién iniciada »](https://core.telegram.org/api/auth.md#confirming-login)."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de sesión del constructor [autorización](https://core.telegram.org/constructor/authorization.md), recuperable usando [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": "Ya sea para habilitar o deshabilitar la recepción de chats cifrados: si la bandera no está configurada, la configuración anterior no cambia"}, "call_requests_disabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool", "description": "Ya sea para habilitar o deshabilitar la recepción de llamadas: si la bandera no está configurada, la configuración anterior no cambia"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `confirmed` | `true` | No | Si está configurado, [confirma una sesión recién iniciada »](https://core.telegram.org/api/auth.md#confirming-login). |\n| `hash` | `long` | si | ID de sesión del constructor [autorización](https://core.telegram.org/constructor/authorization.md), recuperable usando [account.getAuthorizations](https://core.telegram.org/method/account.getAuthorizations.md) |\n| `encrypted_requests_disabled` | `Bool` | No | Ya sea para habilitar o deshabilitar la recepción de chats cifrados: si la bandera no está configurada, la configuración anterior no cambia |\n| `call_requests_disabled` | `Bool` | No | Ya sea para habilitar o deshabilitar la recepción de llamadas: si la bandera no está configurada, la configuración anterior no cambia |"}, "x-telegram-rpc-errors": ["HASH_INVALID"], "x-browser-schema-id": "1089766498"}}, "/catalog/account.getSavedRingtones": {"post": {"operationId": "account.getSavedRingtones", "tags": ["cuenta"], "summary": "Recuperar sonidos de notificación guardados", "description": "Recuperar sonidos de notificación guardados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: account.SavedRingtones."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3784319624"}}, "/catalog/account.saveRingtone": {"post": {"operationId": "account.saveRingtone", "tags": ["cuenta"], "summary": "Guarde o elimine el sonido de notificación guardado.", "description": "Guarde o elimine el sonido de notificación guardado.\n\nSi el sonido de notificación ya está en formato MP3, se devolverá [account.savedRingtone](https://core.telegram.org/constructor/account.savedRingtone.md).\nDe lo contrario, se convertirá automáticamente y se devolverá un [account.savedRingtoneConverted](https://core.telegram.org/constructor/account.savedRingtoneConverted.md), que contiene un nuevo objeto [document](https://core.telegram.org/constructor/document.md) que debe usarse para hacer referencia al tono de llamada a partir de ahora (es decir, al eliminarlo usando el parámetro `unsave` o al descargarlo).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: account.SavedRingtone."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `RINGTONE_INVALID`: el tono de llamada especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Sonido de notificación subido usando [account.uploadRingtone](https://core.telegram.org/method/account.uploadRingtone.md)"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Ya sea para agregar o eliminar el sonido de notificación"}}, "additionalProperties": false, "required": ["id", "unsave"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | si | Sonido de notificación subido usando [account.uploadRingtone](https://core.telegram.org/method/account.uploadRingtone.md) |\n| `unsave` | `Bool` | si | Ya sea para agregar o eliminar el sonido de notificación |"}, "x-telegram-rpc-errors": ["RINGTONE_INVALID"], "x-browser-schema-id": "1038768899"}}, "/catalog/account.uploadRingtone": {"post": {"operationId": "account.uploadRingtone", "tags": ["cuenta"], "summary": "Cargue el sonido de notificación, use account.saveRingtone para convertirlo y agregarlo a la lista de sonidos de notificación guardados.", "description": "Cargue el sonido de notificación, use [account.saveRingtone](https://core.telegram.org/method/account.saveRingtone.md) para convertirlo y agregarlo a la lista de sonidos de notificación guardados.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Document`.\n\n[Documento](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": "Tipo TL: Documento."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `RINGTONE_MIME_INVALID`: el tipo MIME del tono de llamada no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Sonido de notificación"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "Nombre de archivo"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME tipo de archivo"}}, "additionalProperties": false, "required": ["file", "file_name", "mime_type"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `file` | `InputFile` | si | Sonido de notificación |\n| `file_name` | `string` | si | Nombre de archivo |\n| `mime_type` | `string` | si | MIME tipo de archivo |"}, "x-telegram-rpc-errors": ["RINGTONE_MIME_INVALID"], "x-browser-schema-id": "2199552930"}}, "/catalog/account.updateEmojiStatus": {"post": {"operationId": "account.updateEmojiStatus", "tags": ["cuenta"], "summary": "Establecer un estado de emoji", "description": "Establecer un [estado de emoji](https://core.telegram.org/api/emoji-status.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estado de los emojis](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `COLLECTIBLE_INVALID` — El objeto coleccionable especificado no es válido.\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Estado de emoji](https://core.telegram.org/api/emoji-status.md) para configurar"}}, "additionalProperties": false, "required": ["emoji_status"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `emoji_status` | `EmojiStatus` | si | [Estado de emoji](https://core.telegram.org/api/emoji-status.md) para configurar |"}, "x-telegram-rpc-errors": ["COLLECTIBLE_INVALID", "DOCUMENT_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4224966251"}}, "/catalog/account.getDefaultEmojiStatuses": {"post": {"operationId": "account.getDefaultEmojiStatuses", "tags": ["cuenta"], "summary": "Obtenga una lista de estados de emoji sugeridos predeterminados", "description": "Obtenga una lista de [estados de emoji](https://core.telegram.org/api/emoji-status.md)] predeterminados sugeridos\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Estado de los emojis](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": "Resultado de MTProto · `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": "Tipo TL: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3598005126"}}, "/catalog/account.getRecentEmojiStatuses": {"post": {"operationId": "account.getRecentEmojiStatuses", "tags": ["cuenta"], "summary": "Obtener estados de emoji usados recientemente", "description": "Obtener recientemente [estados de emoji](https://core.telegram.org/api/emoji-status.md)]\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Estado de los emojis](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": "Resultado de MTProto · `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": "Tipo TL: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "257392901"}}, "/catalog/account.clearRecentEmojiStatuses": {"post": {"operationId": "account.clearRecentEmojiStatuses", "tags": ["cuenta"], "summary": "Borra la lista de estados de emoji usados recientemente", "description": "Borra la lista de [estados de emoji](https://core.telegram.org/api/emoji-status.md) usados recientemente\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estado de los emojis](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.clearRecentEmojiStatuses"}, "x-browser-schema-id": "404757166"}}, "/catalog/account.reorderUsernames": {"post": {"operationId": "account.reorderUsernames", "tags": ["cuenta"], "summary": "Reordene los nombres de usuario asociados con el usuario actualmente conectado.", "description": "Reordene los nombres de usuario asociados con el usuario actualmente conectado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ORDER_INVALID`: el orden del nombre de usuario especificado no es válido.\n- 400 · `USERNAME_NOT_MODIFIED` — El nombre de usuario no fue modificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El nuevo orden para nombres de usuario activos. Se deben especificar todos los nombres de usuario activos."}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `order` | `Vector<string>` | si | El nuevo orden para nombres de usuario activos. Se deben especificar todos los nombres de usuario activos. |"}, "x-telegram-rpc-errors": ["ORDER_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "4015001259"}}, "/catalog/account.toggleUsername": {"post": {"operationId": "account.toggleUsername", "tags": ["cuenta"], "summary": "Active o desactive un nombre de usuario fragment.com comprado asociado al usuario actualmente conectado.", "description": "Active o desactive un nombre de usuario [fragment.com](https://fragment.com)] comprado y asociado al usuario que ha iniciado sesión actualmente.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USERNAMES_ACTIVE_TOO_MUCH` — Se alcanzó el número máximo de nombres de usuario activos.\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USERNAME_NOT_MODIFIED` — El nombre de usuario no fue modificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nombre de usuario"}, "active": {"type": "boolean", "x-tl-type": "Bool", "description": "Si activarlo o desactivarlo"}}, "additionalProperties": false, "required": ["username", "active"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `username` | `string` | si | Nombre de usuario |\n| `active` | `Bool` | si | Si activarlo o desactivarlo |"}, "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": ["cuenta"], "summary": "Obtenga un conjunto de pegatinas emoji personalizadas sugeridas que se pueden usar como imagen de perfil", "description": "Obtenga un conjunto de [pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md) sugeridas que se pueden [usar como imagen de perfil](https://core.telegram.org/api/files.md#sticker-profile-pictures)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Carga y descarga de archivos](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": "Resultado de MTProto · `EmojiList`.\n\n[ListaEmoji](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": "Tipo TL: Lista de emojis."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3799319336"}}, "/catalog/account.getDefaultGroupPhotoEmojis": {"post": {"operationId": "account.getDefaultGroupPhotoEmojis", "tags": ["cuenta"], "summary": "Obtenga un conjunto de pegatinas emoji personalizadas sugeridas que se pueden usar como imagen grupal", "description": "Obtenga un conjunto de [pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md) sugeridas que se pueden [usar como imagen de grupo](https://core.telegram.org/api/files.md#sticker-profile-pictures)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Carga y descarga de archivos](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": "Resultado de MTProto · `EmojiList`.\n\n[ListaEmoji](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": "Tipo TL: Lista de emojis."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2438488238"}}, "/catalog/account.getAutoSaveSettings": {"post": {"operationId": "account.getAutoSaveSettings", "tags": ["cuenta"], "summary": "Obtener configuración de guardado automático", "description": "Obtener configuración de guardado automático", "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": "Resultado de MTProto · `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": "Tipo TL: account.AutoSaveSettings."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getAutoSaveSettings"}, "x-browser-schema-id": "2915810522"}}, "/catalog/account.saveAutoSaveSettings": {"post": {"operationId": "account.saveAutoSaveSettings", "tags": ["cuenta"], "summary": "Modificar la configuración de guardado automático", "description": "Modificar la configuración de guardado automático\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si la nueva configuración debería afectar a todos los chats privados"}, "chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si la nueva configuración debería afectar a todos los grupos"}, "broadcasts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si la nueva configuración debería afectar a todos los [canales](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": "Si la nueva configuración debería afectar a un par específico", "x-tl-flag": "flags.3?InputPeer"}, "settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "oneOf": [{"$ref": "#/components/schemas/autoSaveSettings"}], "description": "La nueva configuración de autoguardado"}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `users` | `true` | No | Si la nueva configuración debería afectar a todos los chats privados |\n| `chats` | `true` | No | Si la nueva configuración debería afectar a todos los grupos |\n| `broadcasts` | `true` | No | Si la nueva configuración debería afectar a todos los [canales](https://core.telegram.org/api/channel.md) |\n| `peer` | `InputPeer` | No | Si la nueva configuración debería afectar a un par específico |\n| `settings` | `AutoSaveSettings` | si | La nueva configuración de autoguardado |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3600515937"}}, "/catalog/account.deleteAutoSaveExceptions": {"post": {"operationId": "account.deleteAutoSaveExceptions", "tags": ["cuenta"], "summary": "Borre todas las configuraciones de guardado automático específicas de pares.", "description": "Borre todas las configuraciones de guardado automático específicas de pares.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.deleteAutoSaveExceptions"}, "x-browser-schema-id": "1404829728"}}, "/catalog/account.invalidateSignInCodes": {"post": {"operationId": "account.invalidateSignInCodes", "tags": ["cuenta"], "summary": "Invalide los códigos de inicio de sesión especificados, consulte aquí » para obtener más información.", "description": "Invalide los códigos de inicio de sesión especificados; consulte [aquí »](https://core.telegram.org/api/auth.md#invalidating-login-codes) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autorización de usuario](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Los códigos de inicio de sesión a invalidar."}}, "additionalProperties": false, "required": ["codes"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `codes` | `Vector<string>` | si | Los códigos de inicio de sesión a invalidar. |"}, "x-browser-schema-id": "3398101178"}}, "/catalog/account.updateColor": {"post": {"operationId": "account.updateColor", "tags": ["cuenta"], "summary": "Actualice el color de acento y el emoji personalizado de fondo de la cuenta actual.", "description": "Actualiza el [color de acento y emoji personalizado de fondo» ](https://core.telegram.org/api/colors.md) de la cuenta actual.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Colores de acento](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `COLOR_INVALID`: el ID de la paleta de colores especificada no era válido.\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe cambiar el patrón de emoji de color de acento de la página de perfil; de lo contrario, se cambiará el color de acento y el patrón de emoji de los mensajes."}, "color": {"type": "object", "x-tl-type": "PeerColor", "oneOf": [{"$ref": "#/components/schemas/peerColor"}, {"$ref": "#/components/schemas/peerColorCollectible"}, {"$ref": "#/components/schemas/inputPeerColorCollectible"}], "description": "[ID de la paleta de colores de acento »](https://core.telegram.org/api/colors.md) para usar (no RGB24, consulte [aquí »](https://core.telegram.org/api/colors.md) para obtener más información).", "x-tl-flag": "flags.2?PeerColor"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `for_profile` | `true` | No | Si se debe cambiar el patrón de emoji de color de acento de la página de perfil; de lo contrario, se cambiará el color de acento y el patrón de emoji de los mensajes. |\n| `color` | `PeerColor` | No | [ID de la paleta de colores de acento »](https://core.telegram.org/api/colors.md) para usar (no RGB24, consulte [aquí »](https://core.telegram.org/api/colors.md) para obtener más información). |"}, "x-telegram-rpc-errors": ["COLOR_INVALID", "DOCUMENT_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1749885262"}}, "/catalog/account.getDefaultBackgroundEmojis": {"post": {"operationId": "account.getDefaultBackgroundEmojis", "tags": ["cuenta"], "summary": "Obtenga un conjunto de pegatinas emoji personalizadas sugeridas que se pueden usar en un patrón de color acentuado.", "description": "Obtenga un conjunto de [pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md) sugeridas que se pueden usar en un [patrón de color de acento](https://core.telegram.org/api/colors.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Colores de acento](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": "Resultado de MTProto · `EmojiList`.\n\n[ListaEmoji](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": "Tipo TL: Lista de emojis."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2785720782"}}, "/catalog/account.getChannelDefaultEmojiStatuses": {"post": {"operationId": "account.getChannelDefaultEmojiStatuses", "tags": ["cuenta"], "summary": "Obtenga una lista de estados emoji de canal sugeridos predeterminados.", "description": "Obtenga una lista de [estados de emoji de canal](https://core.telegram.org/api/emoji-status.md)] predeterminados sugeridos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Estado de los emojis](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": "Resultado de MTProto · `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": "Tipo TL: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1999087573"}}, "/catalog/account.getChannelRestrictedStatusEmojis": {"post": {"operationId": "account.getChannelRestrictedStatusEmojis", "tags": ["cuenta"], "summary": "Las devoluciones obtienen la lista completa de ID de emoji personalizados »que no se pueden usar en los estados de emoji del canal».", "description": "Las devoluciones recuperan la lista completa de [ID de emoji personalizados »](https://core.telegram.org/api/custom-emoji.md) que no se pueden usar en [estados de emoji de canal »](https://core.telegram.org/api/emoji-status.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Estado de los emojis](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": "Resultado de MTProto · `EmojiList`.\n\n[ListaEmoji](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": "Tipo TL: Lista de emojis."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "900325589"}}, "/catalog/account.updateBusinessWorkHours": {"post": {"operationId": "account.updateBusinessWorkHours", "tags": ["cuenta"], "summary": "Especifique un conjunto de horarios de apertura de Telegram Business.", "description": "Especifique un conjunto de [horario de apertura de Telegram Business](https://core.telegram.org/api/business.md#opening-hours).\nEsta información estará contenida en [userFull](https://core.telegram.org/constructor/userFull.md).`business_work_hours`.\n\nPara eliminar todos los horarios de apertura, invoque el método sin configurar el campo `business_work_hours`.\n\nTenga en cuenta que el horario de apertura especificado por el usuario debe validarse y transformarse adecuadamente antes de invocar el método, como se especifica [aquí »](https://core.telegram.org/api/business.md#opening-hours).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUSINESS_WORK_HOURS_EMPTY` — No se especificaron horas de trabajo.\n- 400 · `BUSINESS_WORK_HOURS_PERIOD_INVALID`: las horas de trabajo especificadas no son válidas; consulte [aquí »](https://core.telegram.org/api/business.md#opening-hours) para conocer los requisitos exactos.\n- 400 · `TIMEZONE_INVALID` — La zona horaria especificada no existe."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Horario de apertura (opcional; si no se establece, se eliminan todos los horarios de apertura).", "x-tl-flag": "flags.0?BusinessWorkHours"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `business_work_hours` | `BusinessWorkHours` | No | Horario de apertura (opcional; si no se establece, se eliminan todos los horarios de apertura). |"}, "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": ["cuenta"], "summary": "Las empresas » pueden anunciar su ubicación utilizando este método, consulte aquí » para obtener más información.", "description": "[Las empresas »](https://core.telegram.org/api/business.md#location) pueden anunciar su ubicación utilizando este método; consulte [aquí »](https://core.telegram.org/api/business.md#location) para obtener más información.\n\nPara eliminar información de ubicación comercial, invoque el método sin establecer ninguno de los parámetros.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Opcional, contiene un conjunto de coordenadas geográficas.", "x-tl-flag": "flags.1?InputGeoPoint"}, "address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Obligatorio al configurar/actualizar la ubicación, contiene una descripción textual de la dirección (máximo 96 UTF-8 caracteres)."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `geo_point` | `InputGeoPoint` | No | Opcional, contiene un conjunto de coordenadas geográficas. |\n| `address` | `string` | No | Obligatorio al configurar/actualizar la ubicación, contiene una descripción textual de la dirección (máximo 96 UTF-8 caracteres). |"}, "x-browser-schema-id": "2657817370"}}, "/catalog/account.updateBusinessGreetingMessage": {"post": {"operationId": "account.updateBusinessGreetingMessage", "tags": ["cuenta"], "summary": "Establezca una lista de mensajes de saludo de Telegram Business.", "description": "Establezca una lista de [mensajes de saludo de Telegram Business](https://core.telegram.org/api/business.md#greeting-messages).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Configuración y contenidos del mensaje de saludo.", "x-tl-flag": "flags.0?InputBusinessGreetingMessage"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `message` | `InputBusinessGreetingMessage` | No | Configuración y contenidos del mensaje de saludo. |"}, "x-browser-schema-id": "1724755908"}}, "/catalog/account.updateBusinessAwayMessage": {"post": {"operationId": "account.updateBusinessAwayMessage", "tags": ["cuenta"], "summary": "Establezca una lista de mensajes ausentes de Telegram Business.", "description": "Establezca una lista de [mensajes de ausencia de Telegram Business](https://core.telegram.org/api/business.md#away-messages).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Configuración y contenido del mensaje de ausencia.", "x-tl-flag": "flags.0?InputBusinessAwayMessage"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `message` | `InputBusinessAwayMessage` | No | Configuración y contenido del mensaje de ausencia. |"}, "x-browser-schema-id": "2724888485"}}, "/catalog/account.updateConnectedBot": {"post": {"operationId": "account.updateConnectedBot", "tags": ["cuenta"], "summary": "Conecte un robot empresarial » a la cuenta actual o para cambiar la configuración de conexión actual.", "description": "Conecte un [bot empresarial »](https://core.telegram.org/api/bots/connected-business-bots.md) a la cuenta actual o cambie la configuración de conexión actual.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Bots empresariales conectados](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_BUSINESS_MISSING`: el bot especificado no es un bot empresarial (el indicador [user](https://core.telegram.org/constructor/user.md).`bot_business` no está configurado).\n- 400 · `BUSINESS_RECIPIENTS_EMPTY`: no estableciste ningún indicador en inputBusinessBotRecipients, por lo que el bot no puede funcionar con *ningún* igual."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para desconectar completamente el bot de la cuenta actual."}, "rights": {"type": "object", "x-tl-type": "BusinessBotRights", "oneOf": [{"$ref": "#/components/schemas/businessBotRights"}], "description": "Derechos de los robots empresariales.", "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": "El bot para conectar o desconectar"}, "recipients": {"type": "object", "x-tl-type": "InputBusinessBotRecipients", "oneOf": [{"$ref": "#/components/schemas/inputBusinessBotRecipients"}], "description": "Configuración para la conexión empresarial"}}, "additionalProperties": false, "required": ["bot", "recipients"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `deleted` | `true` | No | Ya sea para desconectar completamente el bot de la cuenta actual. |\n| `rights` | `BusinessBotRights` | No | Derechos de los robots empresariales. |\n| `bot` | `InputUser` | si | El bot para conectar o desconectar |\n| `recipients` | `InputBusinessBotRecipients` | si | Configuración para la conexión empresarial |"}, "x-telegram-rpc-errors": ["BOT_BUSINESS_MISSING", "BUSINESS_RECIPIENTS_EMPTY"], "x-browser-schema-id": "1721797758"}}, "/catalog/account.getConnectedBots": {"post": {"operationId": "account.getConnectedBots", "tags": ["cuenta"], "summary": "Enumere todos los bots empresariales actualmente conectados »", "description": "Enumere todos los [bots comerciales »](https://core.telegram.org/api/bots/connected-business-bots.md) actualmente conectados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Bots empresariales conectados](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": "Resultado de MTProto · `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": "Tipo TL: account.ConnectedBots."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getConnectedBots"}, "x-browser-schema-id": "1319421967"}}, "/catalog/account.getBotBusinessConnection": {"post": {"operationId": "account.getBotBusinessConnection", "tags": ["cuenta"], "summary": "Los bots pueden invocar este método para volver a buscar el constructor updateBotBusinessConnect asociado con una empresa específica `connection_id`; consulte aquí » para obtener más información sobre los bots comerciales conectados.", "description": "Los bots pueden invocar este método para volver a buscar el constructor [updateBotBusinessConnect](https://core.telegram.org/constructor/updateBotBusinessConnect.md) asociado con un [negocio `connection_id` específico; consulte aquí »](https://core.telegram.org/api/bots/connected-business-bots.md) para obtener más información sobre los bots comerciales conectados.\nEsto es necesario, por ejemplo, para bots recién conectados que reciben algunas actualizaciones [updateBotNewBusinessMessage](https://core.telegram.org/constructor/updateBotNewBusinessMessage.md), etc. porque algunos usuarios ya se han conectado al bot antes de que pueda iniciar sesión.\nEn este caso, el bot recibe mensajes de la conexión empresarial, pero aún no ha almacenado en caché el [updateBotBusinessConnect](https://core.telegram.org/constructor/updateBotBusinessConnect.md) asociado con información sobre la conexión (¿puede responder a los mensajes? etc.) y no puede recibir los antiguos porque se enviaron cuando el bot aún no había iniciado sesión.\nEste método se puede utilizar para obtener información sobre una conexión comercial que aún no está almacenada en caché y no debe invocarse si la información ya está almacenada en caché o para recuperar cambios, ya que los cambios eventuales se enviarán automáticamente como nuevas actualizaciones [updateBotBusinessConnect](https://core.telegram.org/constructor/updateBotBusinessConnect.md) al bot utilizando los [métodos de entrega de actualizaciones »](https://core.telegram.org/api/updates.md) habituales.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Trabajar con actualizaciones](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CONNECTION_ID_INVALID`: el ID de conexión especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[ID de conexión empresarial »](https://core.telegram.org/api/bots/connected-business-bots.md)."}}, "additionalProperties": false, "required": ["connection_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `connection_id` | `string` | si | [ID de conexión empresarial »](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": ["cuenta"], "summary": "Configurar o eliminar la introducción de Telegram Business ».", "description": "Configure o elimine la [Introducción de Telegram Business »](https://core.telegram.org/api/business.md#business-introduction).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Introducción de Telegram Business, para eliminarlo, llame al método sin configurar este indicador.", "x-tl-flag": "flags.0?InputBusinessIntro"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `intro` | `InputBusinessIntro` | No | Introducción de Telegram Business, para eliminarlo, llame al método sin configurar este indicador. |"}, "x-browser-schema-id": "2786381876"}}, "/catalog/account.toggleConnectedBotPaused": {"post": {"operationId": "account.toggleConnectedBotPaused", "tags": ["cuenta"], "summary": "Pausar o reanudar un chat específico, desconectándolo temporalmente de todos los bots empresariales».", "description": "Pausar o reanudar un chat específico, desconectándolo temporalmente de todos los [bots comerciales» ](https://core.telegram.org/api/bots/connected-business-bots.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Bots empresariales conectados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat para pausar"}, "paused": {"type": "boolean", "x-tl-type": "Bool", "description": "Si pausar o reanudar el chat"}}, "additionalProperties": false, "required": ["peer", "paused"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat para pausar |\n| `paused` | `Bool` | si | Si pausar o reanudar el chat |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1684934807"}}, "/catalog/account.disablePeerConnectedBot": {"post": {"operationId": "account.disablePeerConnectedBot", "tags": ["cuenta"], "summary": "Desconectar permanentemente un chat específico de todos los bots empresariales » (equivale a especificarlo en `recipients.exclude_users` durante la configuración inicial con account.updateConnectedBot »); para volver a conectar un chat desconectado usando este método el usuario debe volver a conectar todo el bot invocando account.updateConnectedBot».", "description": "Desconectar permanentemente un chat específico de todos los [bots comerciales »](https://core.telegram.org/api/bots/connected-business-bots.md) (equivalente a especificarlo en `recipients.exclude_users` durante la configuración inicial con [account.updateConnectedBot »](https://core.telegram.org/method/account.updateConnectedBot.md)); Para volver a conectar un chat desconectado usando este método, el usuario debe volver a conectar todo el bot invocando [account.updateConnectedBot »](https://core.telegram.org/method/account.updateConnectedBot.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_ALREADY_DISABLED`: el robot empresarial conectado ya estaba deshabilitado para el par especificado.\n- 400 · `BOT_NOT_CONNECTED_YET`: ningún [bot empresarial](https://core.telegram.org/api/business.md#connected-bots) está conectado al usuario que ha iniciado sesión actualmente.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat para desconectar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat para desconectar |"}, "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": ["cuenta"], "summary": "Actualice nuestro cumpleaños, consulte aquí » para obtener más información.", "description": "Actualice nuestro [cumpleaños, consulte aquí »](https://core.telegram.org/api/profile.md#birthday) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Perfiles de usuario](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BIRTHDAY_INVALID` — Se especificó una edad no válida, debe estar entre 0 y 150 años."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Cumpleaños.", "x-tl-flag": "flags.0?Birthday"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `birthday` | `Birthday` | No | Cumpleaños. |"}, "x-telegram-rpc-errors": ["BIRTHDAY_INVALID"], "x-browser-schema-id": "3429764113"}}, "/catalog/account.createBusinessChatLink": {"post": {"operationId": "account.createBusinessChatLink", "tags": ["cuenta"], "summary": "Cree un enlace profundo de chat empresarial ».", "description": "Cree un [enlace profundo de chat empresarial »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `BusinessChatLink`.\n\n[Enlace de chat empresarial](https://core.telegram.org/type/BusinessChatLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/businessChatLink"}], "description": "Tipo de TL: BusinessChatLink."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHATLINKS_TOO_MUCH`: se crearon demasiados [enlaces de chat de negocios](https://core.telegram.org/api/business.md#business-chat-links); elimine algunos enlaces más antiguos.\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Información sobre el enlace a crear."}}, "additionalProperties": false, "required": ["link"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `link` | `InputBusinessChatLink` | si | Información sobre el enlace a crear. |"}, "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": ["cuenta"], "summary": "Editar un enlace profundo de chat empresarial creado ».", "description": "Edite un [enlace profundo de chat empresarial »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `BusinessChatLink`.\n\n[Enlace de chat empresarial](https://core.telegram.org/type/BusinessChatLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "BusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/businessChatLink"}], "description": "Tipo de TL: BusinessChatLink."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHATLINK_SLUG_EMPTY` — El slug especificado está vacío.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 del enlace, obtenido como se especifica [aquí »](https://core.telegram.org/api/links.md#business-chat-links)."}, "link": {"type": "object", "x-tl-type": "InputBusinessChatLink", "oneOf": [{"$ref": "#/components/schemas/inputBusinessChatLink"}], "description": "Nueva información del enlace."}}, "additionalProperties": false, "required": ["slug", "link"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | Slug del enlace, obtenido como se especifica [aquí »](https://core.telegram.org/api/links.md#business-chat-links). |\n| `link` | `InputBusinessChatLink` | si | Nueva información del enlace. |"}, "x-telegram-rpc-errors": ["CHATLINK_SLUG_EMPTY", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "2352222383"}}, "/catalog/account.deleteBusinessChatLink": {"post": {"operationId": "account.deleteBusinessChatLink", "tags": ["cuenta"], "summary": "Eliminar un enlace profundo de un chat empresarial».", "description": "Elimine un [enlace profundo del chat empresarial »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHATLINK_SLUG_EMPTY` — El slug especificado está vacío.\n- 400 · `CHATLINK_SLUG_EXPIRED`: el [enlace de chat empresarial](https://core.telegram.org/api/business.md#business-chat-links) especificado ha caducado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 del enlace, obtenido como se especifica [aquí »](https://core.telegram.org/api/links.md#business-chat-links)."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | Slug del enlace, obtenido como se especifica [aquí »](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": ["cuenta"], "summary": "Enumere todos los enlaces profundos del chat empresarial creados ».", "description": "Enumere todos los [enlaces profundos de chat empresarial» creados »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: account.BusinessChatLinks."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getBusinessChatLinks"}, "x-browser-schema-id": "1869667809"}}, "/catalog/account.resolveBusinessChatLink": {"post": {"operationId": "account.resolveBusinessChatLink", "tags": ["cuenta"], "summary": "Resolver un enlace profundo de un chat empresarial».", "description": "Resolver un [enlace profundo del chat empresarial »](https://core.telegram.org/api/business.md#business-chat-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Escribe TL: account.ResolvedBusinessChatLinks."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHATLINK_SLUG_EMPTY` — El slug especificado está vacío.\n- 400 · `CHATLINK_SLUG_EXPIRED`: el [enlace de chat empresarial](https://core.telegram.org/api/business.md#business-chat-links) especificado ha caducado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 del enlace, obtenido como se especifica [aquí »](https://core.telegram.org/api/links.md#business-chat-links)."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | Slug del enlace, obtenido como se especifica [aquí »](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": ["cuenta"], "summary": "Asociar (o eliminar) un canal personal», que aparecerá en nuestra página de perfil personal».", "description": "Asocia (o elimina) un [canal» personal »](https://core.telegram.org/api/channel.md), que aparecerá en nuestra [página de perfil »](https://core.telegram.org/api/profile.md#personal-channel) personal.\n\nCambiarlo emitirá una actualización [updateUser](https://core.telegram.org/constructor/updateUser.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Perfiles de usuario](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PUBLIC_BROADCAST_EXPECTED` — `channel` solo acepta un canal, pero se pasó un supergrupo."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El canal, pase [inputChannelEmpty](https://core.telegram.org/constructor/inputChannelEmpty.md) para eliminarlo."}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El canal, pase [inputChannelEmpty](https://core.telegram.org/constructor/inputChannelEmpty.md) para eliminarlo. |"}, "x-telegram-rpc-errors": ["PUBLIC_BROADCAST_EXPECTED"], "x-browser-schema-id": "3645048288"}}, "/catalog/account.toggleSponsoredMessages": {"post": {"operationId": "account.toggleSponsoredMessages", "tags": ["cuenta"], "summary": "Deshabilite o vuelva a habilitar los anuncios de Telegram para la cuenta Premium actual.", "description": "Deshabilite o vuelva a habilitar los anuncios de Telegram para la cuenta [Premium](https://core.telegram.org/api/premium.md) actual.\n\nÚtil para propietarios de empresas que quieran lanzar y ver sus propios anuncios de Telegram a través de la [plataforma de anuncios de Telegram »](https://ads.telegram.org).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Telegrama 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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Activar o desactivar anuncios."}}, "additionalProperties": false, "required": ["enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `enabled` | `Bool` | si | Activar o desactivar anuncios. |"}, "x-browser-schema-id": "3118048141"}}, "/catalog/account.getReactionsNotifySettings": {"post": {"operationId": "account.getReactionsNotifySettings", "tags": ["cuenta"], "summary": "Obtenga la configuración actual de notificación de reacción ».", "description": "Obtenga la [configuración de notificación de reacción» actual »](https://core.telegram.org/api/reactions.md#notifications-about-reactions).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `ReactionsNotifySettings`.\n\n[ReaccionesNotificarConfiguración](https://core.telegram.org/type/ReactionsNotifySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ReactionsNotifySettings", "oneOf": [{"$ref": "#/components/schemas/reactionsNotifySettings"}], "description": "Tipo de TL: ReaccionesNotifySettings."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getReactionsNotifySettings"}, "x-browser-schema-id": "115172684"}}, "/catalog/account.setReactionsNotifySettings": {"post": {"operationId": "account.setReactionsNotifySettings", "tags": ["cuenta"], "summary": "Cambiar la configuración de notificación de reacción ».", "description": "Cambie la [configuración de notificación de reacción »](https://core.telegram.org/api/reactions.md#notifications-about-reactions).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `ReactionsNotifySettings`.\n\n[ReaccionesNotificarConfiguración](https://core.telegram.org/type/ReactionsNotifySettings.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ReactionsNotifySettings", "oneOf": [{"$ref": "#/components/schemas/reactionsNotifySettings"}], "description": "Tipo de TL: ReaccionesNotifySettings."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nuevas configuraciones de notificación de reacción."}}, "additionalProperties": false, "required": ["settings"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `settings` | `ReactionsNotifySettings` | si | Nuevas configuraciones de notificación de reacción. |"}, "x-browser-schema-id": "829220168"}}, "/catalog/account.getCollectibleEmojiStatuses": {"post": {"operationId": "account.getCollectibleEmojiStatuses", "tags": ["cuenta"], "summary": "Obtenga una lista de estados de emoji » para obsequios coleccionables propios o alojados ».", "description": "Obtenga una lista de [estados de emoji »](https://core.telegram.org/api/emoji-status.md) para regalos coleccionables propios o alojados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Estado de los emojis](https://core.telegram.org/api/emoji-status.md)\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: account.EmojiStatuses."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 para paginación](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash para paginación](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "779830595"}}, "/catalog/account.getPaidMessagesRevenue": {"post": {"operationId": "account.getPaidMessagesRevenue", "tags": ["cuenta"], "summary": "Obtener el número de estrellas que hemos recibido del usuario especificado gracias a los mensajes pagos »; el monto recibido será igual al monto enviado multiplicado por stars\\_paid\\_message\\_commission\\_permille dividido por 1000.", "description": "Obtener la cantidad de estrellas que hemos recibido del usuario especificado gracias a [mensajes pagados »](https://core.telegram.org/api/paid-messages.md); el monto recibido será igual al monto enviado multiplicado por [stars\\_paid\\_message\\_commission\\_permille](https://core.telegram.org/api/config.md#stars-paid-message-commission-permille) dividido por 1000.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Mensajes pagados](https://core.telegram.org/api/paid-messages.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `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": "Tipo TL: account.PaidMessagesRevenue."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PARENT_PEER_INVALID`: el `parent_peer` especificado no es válido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se configura, puede contener el ID de un [monoforum (mensajes directos del canal)](https://core.telegram.org/api/monoforum.md) para obtener la cantidad de estrellas que el usuario ha gastado para enviarnos mensajes directos a través del canal.", "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": "El usuario que pagó para enviarnos mensajes."}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | No | Si se configura, puede contener el ID de un [monoforum (mensajes directos del canal)](https://core.telegram.org/api/monoforum.md) para obtener la cantidad de estrellas que el usuario ha gastado para enviarnos mensajes directos a través del canal. |\n| `user_id` | `InputUser` | si | El usuario que pagó para enviarnos mensajes. |"}, "x-telegram-rpc-errors": ["PARENT_PEER_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "431639143"}}, "/catalog/account.toggleNoPaidMessagesException": {"post": {"operationId": "account.toggleNoPaidMessagesException", "tags": ["cuenta"], "summary": "Permitir que un usuario nos envíe mensajes sin pagar si los mensajes pagos » están habilitados.", "description": "Permitir que un usuario nos envíe mensajes sin pagar si [mensajes pagos »](https://core.telegram.org/api/paid-messages.md) están habilitados.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Mensajes pagados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PARENT_PEER_INVALID`: el `parent_peer` especificado no es válido.\n- 400 · `UNSUPPORTED` — `require_payment` no puede ser *establecido* por los usuarios, solo por los monoforos: en su lugar, los usuarios deben usar la configuración de privacidad [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages.md) para eliminar una exención agregada anteriormente.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado y `require_payment` no está configurado, reembolsa las cantidades que el usuario ya nos ha pagado para enviarnos mensajes (directamente o a través de un monoforo)."}, "require_payment": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si está configurado, requiere que el usuario pague para poder enviarnos mensajes.  Solo puede ser **establecido** por monoforos, no por usuarios, i.e. `parent_peer` debe configurarse si esta bandera está configurada; en su lugar, los usuarios deben usar la configuración de privacidad [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages.md)] para eliminar una exención agregada anteriormente.  Si no está configurado, permite al usuario enviarnos mensajes sin pagar (puede **desconfigurarse** tanto por monoforos como por usuarios)."}, "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": "Si está configurado, aplica la configuración dentro del [monoforum también conocido como mensajes directos »](https://core.telegram.org/api/monoforum.md) (pase el ID del monoforum, **no** el ID del canal asociado).", "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": "El usuario a eximir o no eximir."}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `refund_charged` | `true` | No | Si está configurado y `require_payment` no está configurado, reembolsa las cantidades que el usuario ya nos ha pagado para enviarnos mensajes (directamente o a través de un monoforo). |\n| `require_payment` | `true` | No | Si está configurado, requiere que el usuario pague para poder enviarnos mensajes.  Solo puede ser **establecido** por monoforos, no por usuarios, i.e. `parent_peer` debe configurarse si esta bandera está configurada; en su lugar, los usuarios deben usar la configuración de privacidad [inputPrivacyKeyNoPaidMessages](https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages.md)] para eliminar una exención agregada anteriormente.  Si no está configurado, permite al usuario enviarnos mensajes sin pagar (puede **desconfigurarse** tanto por monoforos como por usuarios). |\n| `parent_peer` | `InputPeer` | No | Si está configurado, aplica la configuración dentro del [monoforum también conocido como mensajes directos »](https://core.telegram.org/api/monoforum.md) (pase el ID del monoforum, **no** el ID del canal asociado). |\n| `user_id` | `InputUser` | si | El usuario a eximir o no eximir. |"}, "x-telegram-rpc-errors": ["PARENT_PEER_INVALID", "UNSUPPORTED", "USER_ID_INVALID"], "x-browser-schema-id": "4264483446"}}, "/catalog/account.setMainProfileTab": {"post": {"operationId": "account.setMainProfileTab", "tags": ["cuenta"], "summary": "Cambia la pestaña de perfil principal del usuario actual, consulte aquí » para obtener más información.", "description": "Cambia la pestaña de perfil principal del usuario actual, consulte [aquí »](https://core.telegram.org/api/profile.md#tabs) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Perfiles de usuario](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La pestaña que se establecerá como pestaña principal."}}, "additionalProperties": false, "required": ["tab"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `tab` | `ProfileTab` | si | La pestaña que se establecerá como pestaña principal. |"}, "x-browser-schema-id": "1575909552"}}, "/catalog/account.saveMusic": {"post": {"operationId": "account.saveMusic", "tags": ["cuenta"], "summary": "Agrega o elimina una canción del perfil del usuario actual, consulte aquí » para obtener más información sobre la pestaña de música de la página de perfil.", "description": "Agrega o elimina una canción del perfil del usuario actual [consulte aquí »](https://core.telegram.org/api/profile.md#music) para obtener más información en la pestaña de música de la página de perfil.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Perfiles de usuario](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, elimina la canción."}, "id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "La canción para agregar o quitar; puede ser una canción ya agregada al reordenar canciones con `after_id`. Agregar una canción ya agregada nunca la volverá a agregar, solo la moverá a la parte superior de la lista de canciones (o después de que la canción haya pasado a `after_id`)."}, "after_id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Si se configura, la canción se agregará después de la canción pasada (ya debe estar fijada en el perfil).", "x-tl-flag": "flags.1?InputDocument"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `unsave` | `true` | No | Si está configurado, elimina la canción. |\n| `id` | `InputDocument` | si | La canción para agregar o quitar; puede ser una canción ya agregada al reordenar canciones con `after_id`. Agregar una canción ya agregada nunca la volverá a agregar, solo la moverá a la parte superior de la lista de canciones (o después de que la canción haya pasado a `after_id`). |\n| `after_id` | `InputDocument` | No | Si se configura, la canción se agregará después de la canción pasada (ya debe estar fijada en el perfil). |"}, "x-telegram-rpc-errors": ["DOCUMENT_INVALID"], "x-browser-schema-id": "2993107625"}}, "/catalog/account.getSavedMusicIds": {"post": {"operationId": "account.getSavedMusicIds", "tags": ["cuenta"], "summary": "Obtenga la lista completa de solo los ID de las canciones agregadas actualmente al perfil; consulte aquí » para obtener más información.", "description": "Obtenga la lista completa solo de los ID de [canciones agregadas actualmente al perfil, consulte aquí »](https://core.telegram.org/api/profile.md#music) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Perfiles de usuario](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": "Resultado de MTProto · `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": "Escribe TL: account.SavedMusicIds."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 [generado »](https://core.telegram.org/api/offsets.md#hash-generation) a partir de la lista de ID devuelta anteriormente.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | Hash [generado »](https://core.telegram.org/api/offsets.md#hash-generation) a partir de la lista de ID devuelta anteriormente. |"}, "x-browser-schema-id": "3768410031"}}, "/catalog/account.getUniqueGiftChatThemes": {"post": {"operationId": "account.getUniqueGiftChatThemes", "tags": ["cuenta"], "summary": "Obtenga todos los temas de chat » asociados a obsequios coleccionables propios o alojados ».", "description": "Obtenga todos los [temas de chat »](https://core.telegram.org/api/themes.md#chat-themes) asociados a [obsequios coleccionables alojados o propios» ](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Temas de telegramas](https://core.telegram.org/api/themes.md)\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: account.ChatThemes."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md), inicialmente una cadena vacía, luego igual al valor del último devuelto [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md).`next_offset` (si está configurado)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md). Tenga en cuenta que el servidor puede devolver menos de `limit` resultados, incluso si el número real de resultados restantes es `>= limit`, pagina para recuperarlos todos."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de un constructor [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md)] devuelto previamente, para evitar devolver ningún resultado si la lista de temas no ha cambiado.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset", "limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offset` | `string` | si | Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md), inicialmente una cadena vacía, luego igual al valor del último devuelto [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md).`next_offset` (si está configurado). |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md). Tenga en cuenta que el servidor puede devolver menos de `limit` resultados, incluso si el número real de resultados restantes es `>= limit`, pagina para recuperarlos todos. |\n| `hash` | `long` | si | Hash de un constructor [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md)] devuelto previamente, para evitar devolver ningún resultado si la lista de temas no ha cambiado. |"}, "x-browser-schema-id": "3828148681"}}, "/catalog/account.initPasskeyRegistration": {"post": {"operationId": "account.initPasskeyRegistration", "tags": ["cuenta"], "summary": "Inicialice el registro de clave de acceso para la cuenta actual, consulte aquí » para obtener más información sobre el flujo completo.", "description": "Inicialice el registro de clave de acceso para la cuenta actual; consulte [aquí »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Inicio de sesión con contraseña](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": "Resultado de MTProto · `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": "Tipo TL: account.PasskeyRegistrationOptions."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `ACCESS_DENIED` — La cuenta fue desactivada o es una cuenta de bot/servicio.\n- 406 · `FRESH_RESET_AUTHORISATION_FORBIDDEN` — No puedes cerrar sesión en otras sesiones si han pasado menos de 24 horas desde que iniciaste sesión en la sesión actual."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["cuenta"], "summary": "Complete el registro de clave de acceso para la cuenta actual, consulte aquí » para obtener más información sobre el flujo completo.", "description": "Complete el registro de clave de acceso para la cuenta actual; consulte [aquí »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Inicio de sesión con contraseña](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": "Resultado de MTProto · `Passkey`.\n\n[Clave de acceso](https://core.telegram.org/type/Passkey.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Passkey", "oneOf": [{"$ref": "#/components/schemas/passkey"}], "description": "Tipo TL: Clave de acceso."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CREDENTIAL_INVALID`: la credencial especificada no es válida.\n- 400 · `PASSKEY_ORIGIN_MISMATCH` — Los clientes de terceros actualmente no admiten claves de acceso incluso cuando se cambia el origen."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Resultado del registro."}}, "additionalProperties": false, "required": ["credential"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `credential` | `InputPasskeyCredential` | si | Resultado del registro. |"}, "x-telegram-rpc-errors": ["CREDENTIAL_INVALID", "PASSKEY_ORIGIN_MISMATCH"], "x-browser-schema-id": "1437867990"}}, "/catalog/account.getPasskeys": {"post": {"operationId": "account.getPasskeys", "tags": ["cuenta"], "summary": "Enumere las claves de acceso asociadas a la cuenta actual que se pueden usar para iniciar sesión; consulte aquí » para obtener más información sobre las claves de acceso.", "description": "Enumere las claves de acceso asociadas a la cuenta actual que se pueden usar para iniciar sesión; consulte [aquí »](https://core.telegram.org/api/passkeys.md#list-passkeys) para obtener más información sobre las claves de acceso.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Inicio de sesión con contraseña](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": "Resultado de MTProto · `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": "Tipo TL: account.Passkeys."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/account.getPasskeys"}, "x-browser-schema-id": "3927903314"}}, "/catalog/account.deletePasskey": {"post": {"operationId": "account.deletePasskey", "tags": ["cuenta"], "summary": "Elimine una clave de acceso asociada a la cuenta actual, consulte aquí » para obtener más información.", "description": "Elimine una clave de acceso asociada a la cuenta actual; consulte [aquí »](https://core.telegram.org/api/passkeys.md#delete-passkeys) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Inicio de sesión con contraseña](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de la clave de acceso a eliminar, tomada de [passkey](https://core.telegram.org/constructor/passkey.md).`id`, generalmente obtenida usando [account.getPasskeys](https://core.telegram.org/method/account.getPasskeys.md)."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `string` | si | Identificador de la clave de acceso a eliminar, tomada de [passkey](https://core.telegram.org/constructor/passkey.md).`id`, generalmente obtenida usando [account.getPasskeys](https://core.telegram.org/method/account.getPasskeys.md). |"}, "x-browser-schema-id": "4122302015"}}, "/catalog/account.confirmBotConnection": {"post": {"operationId": "account.confirmBotConnection", "tags": ["cuenta"], "summary": "account.confirmBotConnection", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: Usuario de entrada."}}, "additionalProperties": false, "required": ["bot_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot_id` | `InputUser` | si | Tipo de TL: Usuario de entrada. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1743593320"}}, "/catalog/account.getWebBrowserSettings": {"post": {"operationId": "account.getWebBrowserSettings", "tags": ["cuenta"], "summary": "account.getWebBrowserSettings", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1449482088"}}, "/catalog/account.updateWebBrowserSettings": {"post": {"operationId": "account.updateWebBrowserSettings", "tags": ["cuenta"], "summary": "account.updateWebBrowserSettings", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "display_close_button": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor del tipo TL `true`."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `open_external_browser` | `true` | No | Valor del tipo TL `true`. |\n| `display_close_button` | `true` | No | Valor del tipo TL `true`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2598339326"}}, "/catalog/account.toggleWebBrowserSettingsException": {"post": {"operationId": "account.toggleWebBrowserSettingsException", "tags": ["cuenta"], "summary": "account.toggleWebBrowserSettingsException", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "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": "Valor del tipo TL `true`."}, "open_external_browser": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Valor del tipo TL `Bool`."}, "url": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["url"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `delete` | `true` | No | Valor del tipo TL `true`. |\n| `open_external_browser` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `url` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1626161705"}}, "/catalog/account.deleteWebBrowserSettingsExceptions": {"post": {"operationId": "account.deleteWebBrowserSettingsExceptions", "tags": ["cuenta"], "summary": "account.deleteWebBrowserSettingsExceptions", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2258663005"}}, "/catalog/users.getUsers": {"post": {"operationId": "users.getUsers", "tags": ["Usuarios"], "summary": "Devuelve información básica del usuario según sus identificadores.", "description": "Devuelve información básica del usuario según sus identificadores.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Vector<User>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Usuario](https://core.telegram.org/type/User.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `FROM_MESSAGE_BOT_DISABLED` — Los bots no pueden usar constructores fromMessage min.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Lista de identificadores de usuario"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputUser>` | si | Lista de identificadores de usuario |"}, "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": ["Usuarios"], "summary": "Obtener perfil de usuario detallado", "description": "Возвращает расширенные сведения о пользователе. В ответе могут быть описание профиля и связанные пользователи или чаты.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `USERNAME_OCCUPIED` — El nombre de usuario proporcionado ya está ocupado.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El usuario sobre el que se desea obtener información.", "example": {"_": "inputUserSelf"}}}, "additionalProperties": false, "required": ["id"]}, "example": {"id": {"_": "inputUserSelf"}}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | si | El usuario sobre el que se desea obtener información. |"}, "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": ["Usuarios"], "summary": "Notifique al usuario que los datos del pasaporte enviados contienen algunos errores. El usuario no podrá volver a enviarle los datos del pasaporte hasta que se corrijan los errores (el contenido del campo para el cual devolvió el error debe cambiar).", "description": "Notifique al usuario que los datos del [pasaporte](https://core.telegram.org/passport.md) enviados contienen algunos errores. El usuario no podrá volver a enviarle los datos del pasaporte hasta que se corrijan los errores (el contenido del campo para el cual devolvió el error debe cambiar).\n\nÚselo si los datos enviados por el usuario no cumplen con los estándares que requiere su servicio por algún motivo. Por ejemplo, si una fecha de cumpleaños parece no válida, un documento enviado está borroso, un escaneo muestra evidencia de manipulación, etc. Proporcione algunos detalles en el mensaje de error para asegurarse de que el usuario sepa cómo corregir los problemas.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `DATA_HASH_SIZE_INVALID`: el tamaño del secureValueErrorData.data_hash especificado no es válido.\n- 400 · `HASH_SIZE_INVALID`: el tamaño del secureValueError.hash especificado no es válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el usuario"}, "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": "Tipo de TL: SecureValueError."}, "x-tl-type": "Vector<SecureValueError>", "description": "Errores"}}, "additionalProperties": false, "required": ["id", "errors"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | si | el usuario |\n| `errors` | `Vector<SecureValueError>` | si | Errores |"}, "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": ["Usuarios"], "summary": "Comprobar si podemos escribir a los usuarios especificados, utilizado para implementar comprobaciones masivas de mensajes solo Premium » y mensajes pagos ».", "description": "Compruebe si podemos escribir a los usuarios especificados, que se utilizan para implementar comprobaciones masivas para [mensajes solo Premium »](https://core.telegram.org/api/privacy.md#require-premium-for-new-non-contact-users) y [mensajes pagos »](https://core.telegram.org/api/paid-messages.md).\n\nPara cada usuario de entrada, devuelve un constructor [RequirementToContact](https://core.telegram.org/type/RequirementToContact.md) (en el mismo desplazamiento en el vector) que contiene los requisitos para contactarlos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración de privacidad](https://core.telegram.org/api/privacy.md)\n- [Mensajes pagados](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": "Resultado de MTProto · `Vector<RequirementToContact>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Requisito de contacto](https://core.telegram.org/type/RequirementToContact.md)>", "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": "Tipo de TL: Requisito de contacto."}, "x-tl-type": "Vector<RequirementToContact>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Usuarios a comprobar."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputUser>` | si | Usuarios a comprobar. |"}, "x-browser-schema-id": "3634004899"}}, "/catalog/users.getSavedMusic": {"post": {"operationId": "users.getSavedMusic", "tags": ["Usuarios"], "summary": "Obtenga canciones fijadas en el perfil del usuario, consulte aquí » para obtener más información.", "description": "Obtenga canciones [fijadas al perfil del usuario, consulte aquí »](https://core.telegram.org/api/profile.md#music) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Perfiles de usuario](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": "Resultado de MTProto · `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": "Tipo TL: users.SavedMusic."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La identificación del usuario."}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Desplazamiento para paginación."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash» ](https://core.telegram.org/api/offsets.md#hash-generation) de los ID de canciones agregadas previamente, para evitar devolver algún resultado si no hubo cambio.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["id", "offset", "limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | si | La identificación del usuario. |\n| `offset` | `int` | si | Desplazamiento para paginación. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | si | [Hash» ](https://core.telegram.org/api/offsets.md#hash-generation) de los ID de canciones agregadas previamente, para evitar devolver algún resultado si no hubo cambio. |"}, "x-telegram-rpc-errors": ["USER_ID_INVALID"], "x-browser-schema-id": "2022539235"}}, "/catalog/users.getSavedMusicByID": {"post": {"operationId": "users.getSavedMusicByID", "tags": ["Usuarios"], "summary": "Compruebe si las canciones pasadas todavía están fijadas en el perfil del usuario, o actualice las referencias de archivos de las canciones fijadas en el perfil de un usuario, consulte aquí » para obtener más información.", "description": "Compruebe si las canciones pasadas todavía están fijadas en el perfil del usuario o actualice las referencias de archivos de las canciones fijadas en el perfil de un usuario [consulte aquí »](https://core.telegram.org/api/profile.md#music) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Perfiles de usuario](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": "Resultado de MTProto · `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": "Tipo TL: users.SavedMusic."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La identificación del usuario."}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Tipo TL: Documento de entrada."}, "x-tl-type": "Vector<InputDocument>", "description": "Las canciones (aquí, `file_reference` pueden estar vacías para actualizar las referencias de archivos)."}}, "additionalProperties": false, "required": ["id", "documents"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | si | La identificación del usuario. |\n| `documents` | `Vector<InputDocument>` | si | Las canciones (aquí, `file_reference` pueden estar vacías para actualizar las referencias de archivos). |"}, "x-telegram-rpc-errors": ["USER_ID_INVALID"], "x-browser-schema-id": "1970513129"}}, "/catalog/users.suggestBirthday": {"post": {"operationId": "users.suggestBirthday", "tags": ["Usuarios"], "summary": "Sugiera un cumpleaños a otro usuario, consulte aquí » para obtener más información sobre los cumpleaños en el API.", "description": "Sugiera un cumpleaños a otro usuario, consulte [aquí »](https://core.telegram.org/api/profile.md#birthday) para obtener más información sobre los cumpleaños en el API.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Perfiles de usuario](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BIRTHDAY_ALREADY`: el usuario objetivo ya tiene un cumpleaños establecido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El usuario que recibirá la fecha de cumpleaños sugerida."}, "birthday": {"type": "object", "x-tl-type": "Birthday", "oneOf": [{"$ref": "#/components/schemas/birthday"}], "description": "El cumpleaños para sugerir."}}, "additionalProperties": false, "required": ["id", "birthday"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | si | El usuario que recibirá la fecha de cumpleaños sugerida. |\n| `birthday` | `Birthday` | si | El cumpleaños para sugerir. |"}, "x-telegram-rpc-errors": ["BIRTHDAY_ALREADY", "USER_ID_INVALID"], "x-browser-schema-id": "4233311090"}}, "/catalog/contacts.getContactIDs": {"post": {"operationId": "contacts.getContactIDs", "tags": ["Contactos"], "summary": "Obtenga los ID de Telegram de todos los contactos.", "description": "Obtenga los ID de Telegram de todos los contactos.\nDevuelve una serie de ID de usuario de Telegram para todos los contactos (0 si un contacto no tiene una cuenta de Telegram asociada o ha ocultado su cuenta mediante la configuración de privacidad).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[int](https://core.telegram.org/type/int.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-browser-schema-id": "2061264541"}}, "/catalog/contacts.getStatuses": {"post": {"operationId": "contacts.getStatuses", "tags": ["Contactos"], "summary": "Utilice este método para obtener los estados en línea de todos los contactos con una cuenta de Telegram accesible.", "description": "Utilice este método para obtener los estados en línea de todos los contactos con una cuenta de Telegram accesible.", "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": "Resultado de MTProto · `Vector<ContactStatus>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Estado de contacto](https://core.telegram.org/type/ContactStatus.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "ContactStatus", "oneOf": [{"$ref": "#/components/schemas/contactStatus"}], "description": "Tipo de TL: Estado de contacto."}, "x-tl-type": "Vector<ContactStatus>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/contacts.getStatuses"}, "x-browser-schema-id": "3299038190"}}, "/catalog/contacts.getContacts": {"post": {"operationId": "contacts.getContacts", "tags": ["Contactos"], "summary": "Devuelve la lista de contactos del usuario actual.", "description": "Devuelve la lista de contactos del usuario actual.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: contacts.Contacts."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). Tenga en cuenta que el hash se calcula [utilizando el algoritmo habitual](https://core.telegram.org/api/offsets.md#hash-generation), pasando al algoritmo primero el campo [contacts.contacts](https://core.telegram.org/constructor/contacts.contacts.md).`saved_count`] devuelto previamente, luego un máximo de `100000` ID de usuario ordenados de la lista de contactos, incluido el ID del usuario actualmente conectado si está guardado como contacto.  Ejemplo: [implementación de tdlib](https://github.com/tdlib/td/blob/73035e4a69ed26df563652de14aa9c4c86d23420/td/telegram/UserManager.cpp#L7865).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). Tenga en cuenta que el hash se calcula [utilizando el algoritmo habitual](https://core.telegram.org/api/offsets.md#hash-generation), pasando al algoritmo primero el campo [contacts.contacts](https://core.telegram.org/constructor/contacts.contacts.md).`saved_count`] devuelto previamente, luego un máximo de `100000` ID de usuario ordenados de la lista de contactos, incluido el ID del usuario actualmente conectado si está guardado como contacto.  Ejemplo: [implementación de tdlib](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": ["Contactos"], "summary": "Importa contactos: guarda una lista completa en el servidor, agrega contactos ya registrados a la lista de contactos, devuelve contactos agregados y su información.", "description": "Importa contactos: guarda una lista completa en el servidor, agrega contactos ya registrados a la lista de contactos, devuelve contactos agregados y su información.\n\nUtilice [contacts.addContact](https://core.telegram.org/method/contacts.addContact.md) para agregar contactos de Telegram sin usar su número de teléfono.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: contacts.ImportedContacts."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo TL: Contacto de entrada."}, "x-tl-type": "Vector<InputContact>", "description": "Lista de contactos para importar"}}, "additionalProperties": false, "required": ["contacts"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `contacts` | `Vector<InputContact>` | si | Lista de contactos para importar |"}, "x-browser-schema-id": "746589157"}}, "/catalog/contacts.deleteContacts": {"post": {"operationId": "contacts.deleteContacts", "tags": ["Contactos"], "summary": "Elimina varios contactos de la lista.", "description": "Elimina varios contactos de la lista.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Lista de ID de usuario"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputUser>` | si | Lista de ID de usuario |"}, "x-telegram-rpc-errors": ["MSG_ID_INVALID"], "x-browser-schema-id": "157945344"}}, "/catalog/contacts.deleteByPhones": {"post": {"operationId": "contacts.deleteByPhones", "tags": ["Contactos"], "summary": "Eliminar contactos por número de teléfono", "description": "Eliminar contactos por número de teléfono", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Números de teléfono"}}, "additionalProperties": false, "required": ["phones"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phones` | `Vector<string>` | si | Números de teléfono |"}, "x-browser-schema-id": "269745566"}}, "/catalog/contacts.block": {"post": {"operationId": "contacts.block", "tags": ["Contactos"], "summary": "Agrega un par a una lista de bloqueo, consulte aquí » para obtener más información.", "description": "Agrega un par a una lista de bloqueo; consulte [aquí »](https://core.telegram.org/api/block.md) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Usuarios bloqueados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CONTACT_ID_INVALID`: la identificación de contacto proporcionada no es válida.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si el compañero debe agregarse a la lista de bloqueo de historias; si no se configura, el par se agregará a la lista de bloqueo principal; consulte [aquí »](https://core.telegram.org/api/block.md) para obtener más información."}, "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": "compañero"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | No | Si el compañero debe agregarse a la lista de bloqueo de historias; si no se configura, el par se agregará a la lista de bloqueo principal; consulte [aquí »](https://core.telegram.org/api/block.md) para obtener más información. |\n| `id` | `InputPeer` | si | compañero |"}, "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": ["Contactos"], "summary": "Elimina un par de una lista de bloqueo, consulte aquí » para obtener más información.", "description": "Elimina un par de una lista de bloqueo; consulte [aquí »](https://core.telegram.org/api/block.md) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Usuarios bloqueados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CONTACT_ID_INVALID`: la identificación de contacto proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si el compañero debe ser eliminado de la lista de bloqueo de historias; si no se configura, el par será eliminado de la lista de bloqueo principal; consulte [aquí »](https://core.telegram.org/api/block.md) para obtener más información."}, "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": "compañero"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | No | Si el compañero debe ser eliminado de la lista de bloqueo de historias; si no se configura, el par será eliminado de la lista de bloqueo principal; consulte [aquí »](https://core.telegram.org/api/block.md) para obtener más información. |\n| `id` | `InputPeer` | si | compañero |"}, "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": ["Contactos"], "summary": "Devuelve la lista de usuarios bloqueados.", "description": "Devuelve la lista de usuarios bloqueados.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Usuarios bloqueados](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": "Resultado de MTProto · `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": "Escribe TL: contacts.Blocked."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para recuperar la lista de bloqueo de historias; si no se configura, buscará la lista de bloqueo principal. Consulte [aquí »](https://core.telegram.org/api/block.md) para conocer las diferencias entre los dos."}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El número de elementos de la lista que se omitirán."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El número de elementos de la lista que se devolverán."}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | No | Ya sea para recuperar la lista de bloqueo de historias; si no se configura, buscará la lista de bloqueo principal. Consulte [aquí »](https://core.telegram.org/api/block.md) para conocer las diferencias entre los dos. |\n| `offset` | `int` | si | El número de elementos de la lista que se omitirán. |\n| `limit` | `int` | si | El número de elementos de la lista que se devolverán. |"}, "x-browser-schema-id": "2592509824"}}, "/catalog/contacts.search": {"post": {"operationId": "contacts.search", "tags": ["Contactos"], "summary": "Devuelve los usuarios encontrados por subcadena de nombre de usuario.", "description": "Devuelve los usuarios encontrados por subcadena de nombre de usuario.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: contacts.Found."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `QUERY_TOO_SHORT`: la cadena de consulta es demasiado corta.\n- 400 · `SEARCH_QUERY_EMPTY` — La consulta de búsqueda está vacía."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Valor del tipo TL `true`."}, "bots": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor del tipo TL `true`."}, "q": {"type": "string", "x-tl-type": "string", "description": "Subcadena de destino"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de usuarios a devolver"}}, "additionalProperties": false, "required": ["q", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `broadcasts` | `true` | No | Valor del tipo TL `true`. |\n| `bots` | `true` | No | Valor del tipo TL `true`. |\n| `q` | `string` | si | Subcadena de destino |\n| `limit` | `int` | si | Número máximo de usuarios a devolver |"}, "x-telegram-rpc-errors": ["QUERY_TOO_SHORT", "SEARCH_QUERY_EMPTY"], "x-browser-schema-id": "99978511"}}, "/catalog/contacts.resolveUsername": {"post": {"operationId": "contacts.resolveUsername", "tags": ["Contactos"], "summary": "Encuentra un usuario, chat o canal por nombre", "description": "Determina quién utiliza el nombre público y devuelve el identificador junto con los datos asociados.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `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": "Tipo TL: contacts.ResolvedPeer."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CONNECTION_LAYER_INVALID` — Capa no válida.\n- 400 · `STARREF_EXPIRED`: el enlace de referencia especificado no es válido.\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USERNAME_NOT_OCCUPIED` — El nombre de usuario proporcionado no está ocupado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nombre público del usuario, chat o canal."}, "referer": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "ID de origen del enlace de referencia, si está disponible."}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `username` | `string` | si | Nombre público del usuario, chat o canal. |\n| `referer` | `string` | No | ID de origen del enlace de referencia, si está disponible. |"}, "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": ["Contactos"], "summary": "Obtenga los pares más utilizados", "description": "Obtenga los pares más utilizados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Modo invitado para bots](https://core.telegram.org/api/bots/guest-mode.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: contacts.TopPeers."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `TYPES_EMPTY`: no se proporcionó ningún tipo de par superior."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Usuarios con los que hemos chateado más frecuentemente"}, "bots_pm": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Bots más usados"}, "bots_inline": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Bots en línea más utilizados"}, "phone_calls": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Usuarios llamados con más frecuencia"}, "forward_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Usuarios a los que los usuarios suelen reenviar mensajes"}, "forward_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Chats a los que los usuarios suelen reenviar mensajes"}, "groups": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true", "description": "Grupos y supergrupos abiertos con frecuencia"}, "channels": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true", "description": "Canales más visitados"}, "bots_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "Las [Aplicaciones principales de Mini Bot](https://core.telegram.org/api/bots/webapps.md#main-mini-apps)] más utilizadas."}, "bots_guestchat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.17?true", "description": "Los [bots invitados» más utilizados »](https://core.telegram.org/api/bots/guest-mode.md)"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset", "limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `correspondents` | `true` | No | Usuarios con los que hemos chateado más frecuentemente |\n| `bots_pm` | `true` | No | Bots más usados |\n| `bots_inline` | `true` | No | Bots en línea más utilizados |\n| `phone_calls` | `true` | No | Usuarios llamados con más frecuencia |\n| `forward_users` | `true` | No | Usuarios a los que los usuarios suelen reenviar mensajes |\n| `forward_chats` | `true` | No | Chats a los que los usuarios suelen reenviar mensajes |\n| `groups` | `true` | No | Grupos y supergrupos abiertos con frecuencia |\n| `channels` | `true` | No | Canales más visitados |\n| `bots_app` | `true` | No | Las [Aplicaciones principales de Mini Bot](https://core.telegram.org/api/bots/webapps.md#main-mini-apps)] más utilizadas. |\n| `bots_guestchat` | `true` | No | Los [bots invitados» más utilizados »](https://core.telegram.org/api/bots/guest-mode.md) |\n| `offset` | `int` | si | Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": ["Contactos"], "summary": "Restablecer la calificación del mejor compañero", "description": "Restablecer [calificación](https://core.telegram.org/api/top-rating.md) del mejor compañero\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Calificación de pares superior](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Categoría de pares superior"}, "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": "Par cuya calificación se debe restablecer"}}, "additionalProperties": false, "required": ["category", "peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `category` | `TopPeerCategory` | si | Categoría de pares superior |\n| `peer` | `InputPeer` | si | Par cuya calificación se debe restablecer |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "451113900"}}, "/catalog/contacts.resetSaved": {"post": {"operationId": "contacts.resetSaved", "tags": ["Contactos"], "summary": "Elimina todos los contactos sin una cuenta de Telegram asociada.", "description": "Elimina todos los contactos sin una cuenta de Telegram asociada.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/contacts.resetSaved"}, "x-browser-schema-id": "2274703345"}}, "/catalog/contacts.getSaved": {"post": {"operationId": "contacts.getSaved", "tags": ["Contactos"], "summary": "Obtenga todos los contactos, requiere una sesión para llevar, consulte aquí » para obtener más información.", "description": "Obtenga todos los contactos, requiere una [sesión para llevar, consulte aquí » para obtener más información](https://core.telegram.org/api/takeout.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Comida para llevar 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": "Resultado de MTProto · `Vector<SavedContact>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Contacto guardado](https://core.telegram.org/type/SavedContact.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "SavedContact", "oneOf": [{"$ref": "#/components/schemas/savedPhoneContact"}], "description": "Tipo de TL: Contacto guardado."}, "x-tl-type": "Vector<SavedContact>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `TAKEOUT_INVALID`: el ID de comida para llevar especificado no es válido.\n- 403 · `TAKEOUT_REQUIRED` — Primero se debe inicializar una sesión [para llevar](https://core.telegram.org/api/takeout.md), [consulte aquí » para obtener más información](https://core.telegram.org/api/takeout.md)."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["Contactos"], "summary": "Activar/desactivar pares superiores", "description": "Activar/desactivar [principales pares](https://core.telegram.org/api/top-rating.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Calificación de pares superior](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Activar/desactivar"}}, "additionalProperties": false, "required": ["enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `enabled` | `Bool` | si | Activar/desactivar |"}, "x-browser-schema-id": "2232729050"}}, "/catalog/contacts.addContact": {"post": {"operationId": "contacts.addContact", "tags": ["Contactos"], "summary": "Agregue un usuario de Telegram existente como contacto.", "description": "Agregue un usuario de Telegram existente como contacto.\n\nUtilice [contacts.importContacts](https://core.telegram.org/method/contacts.importContacts.md) para agregar contactos por número de teléfono, sin conocer su ID de Telegram.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [lista de contactos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CONTACT_ID_INVALID`: la identificación de contacto proporcionada no es válida.\n- 400 · `CONTACT_NAME_EMPTY` — Nombre de contacto vacío.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "¿Permitir que el otro usuario vea nuestro número de teléfono?"}, "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 de Telegram del otro usuario"}, "first_name": {"type": "string", "x-tl-type": "string", "description": "nombre"}, "last_name": {"type": "string", "x-tl-type": "string", "description": "apellido"}, "phone": {"type": "string", "x-tl-type": "string", "description": "Se puede omitir el número de teléfono del usuario para simplemente agregar el usuario a la lista de contactos, sin un número de teléfono."}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Una nota privada para este contacto, solo visible para nosotros; consulte [aquí »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts) para obtener más información sobre las notas de contacto.", "x-tl-flag": "flags.1?TextWithEntities"}}, "additionalProperties": false, "required": ["id", "first_name", "last_name", "phone"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `add_phone_privacy_exception` | `true` | No | ¿Permitir que el otro usuario vea nuestro número de teléfono? |\n| `id` | `InputUser` | si | ID de Telegram del otro usuario |\n| `first_name` | `string` | si | nombre |\n| `last_name` | `string` | si | apellido |\n| `phone` | `string` | si | Se puede omitir el número de teléfono del usuario para simplemente agregar el usuario a la lista de contactos, sin un número de teléfono. |\n| `note` | `TextWithEntities` | No | Una nota privada para este contacto, solo visible para nosotros; consulte [aquí »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts) para obtener más información sobre las notas de contacto. |"}, "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": ["Contactos"], "summary": "Si la barra de acción de agregar contacto está activa, agregue ese usuario como contacto", "description": "Si la [barra de acción para agregar contacto está activa](https://core.telegram.org/api/action-bar.md#add-contact), agregue ese usuario como contacto\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [barra de acción](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CONTACT_ADD_MISSING` — Falta el contacto para agregar.\n- 400 · `CONTACT_ID_INVALID`: la identificación de contacto proporcionada no es válida.\n- 400 · `CONTACT_REQ_MISSING` — Solicitud de contacto faltante.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El usuario a agregar como contacto"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | si | El usuario a agregar como contacto |"}, "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": ["Contactos"], "summary": "Obtenga usuarios y geochats cerca de usted, consulte aquí » para obtener más información.", "description": "Obtenga usuarios y geochats cerca de usted; consulte [aquí »](https://core.telegram.org/api/nearby.md) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Usuarios y chats cercanos](https://core.telegram.org/api/nearby.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `BUSINESS_ADDRESS_ACTIVE`: el usuario actualmente anuncia una [Ubicación comercial](https://core.telegram.org/api/business.md#location); la ubicación solo se puede cambiar (o eliminar) usando [account.updateBusinessLocation »](https://core.telegram.org/method/account.updateBusinessLocation.md).  .\n- 400 · `GEO_POINT_INVALID` — Se proporcionó una geoposición no válida.\n- 406 · `USERPIC_PRIVACY_REQUIRED` — Debes desactivar la configuración de privacidad de tu foto de perfil para poder hacer pública tu geolocalización.\n- 406 · `USERPIC_UPLOAD_REQUIRED` — Debes tener una foto de perfil para publicar tu geolocalización."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si bien la geolocalización del usuario actual es pública, los clientes deben actualizarla en segundo plano cada media hora aproximadamente, mientras configuran este indicador.  Haga esto sólo si la nueva ubicación está a más de 1 KM de la anterior, o si se desconoce la ubicación anterior."}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "Geolocalización"}, "self_expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Si se establece, la geolocalización del usuario actual será pública durante el número de segundos especificado; pase 0x7fffffff para deshabilitar la caducidad, 0 para hacer privada la geolocalización actual; Si la bandera no está configurada, no se aplicarán cambios."}}, "additionalProperties": false, "required": ["geo_point"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `background` | `true` | No | Si bien la geolocalización del usuario actual es pública, los clientes deben actualizarla en segundo plano cada media hora aproximadamente, mientras configuran este indicador.  Haga esto sólo si la nueva ubicación está a más de 1 KM de la anterior, o si se desconoce la ubicación anterior. |\n| `geo_point` | `InputGeoPoint` | si | Geolocalización |\n| `self_expires` | `int` | No | Si se establece, la geolocalización del usuario actual será pública durante el número de segundos especificado; pase 0x7fffffff para deshabilitar la caducidad, 0 para hacer privada la geolocalización actual; Si la bandera no está configurada, no se aplicarán cambios. |"}, "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": ["Contactos"], "summary": "Dejar de recibir notificaciones sobre respuestas a debates de un determinado usuario en `@replies`", "description": "Dejar de recibir notificaciones sobre [respuestas de discusión](https://core.telegram.org/api/discussion.md) de un determinado usuario en `@replies`\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Grupos de discusión](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe eliminar también el mensaje especificado"}, "delete_history": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si se deben eliminar también todos los mensajes `@replies` de este usuario"}, "report_spam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si también se debe denunciar a este usuario por spam"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje en el chat [@replies](https://core.telegram.org/api/discussion.md#replies)"}}, "additionalProperties": false, "required": ["msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `delete_message` | `true` | No | Si se debe eliminar también el mensaje especificado |\n| `delete_history` | `true` | No | Si se deben eliminar también todos los mensajes `@replies` de este usuario |\n| `report_spam` | `true` | No | Si también se debe denunciar a este usuario por spam |\n| `msg_id` | `int` | si | ID del mensaje en el chat [@replies](https://core.telegram.org/api/discussion.md#replies) |"}, "x-telegram-rpc-errors": ["MSG_ID_INVALID"], "x-browser-schema-id": "698914348"}}, "/catalog/contacts.resolvePhone": {"post": {"operationId": "contacts.resolvePhone", "tags": ["Contactos"], "summary": "Resuelva un número de teléfono para obtener información del usuario, si su configuración de privacidad lo permite.", "description": "Resuelva un número de teléfono para obtener información del usuario, si su configuración de privacidad lo permite.\n\nAsegúrese de implementar limitación de velocidad/antirrebote del lado del cliente para este método, permitiendo como máximo 1 llamada cada 3 segundos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `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": "Tipo TL: contacts.ResolvedPeer."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PHONE_NOT_OCCUPIED` — Ningún usuario está asociado al número de teléfono especificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de teléfono en formato internacional, posiblemente obtenido de un [enlace profundo del número de teléfono](https://core.telegram.org/api/links.md#phone-number-links)."}}, "additionalProperties": false, "required": ["phone"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `phone` | `string` | si | Número de teléfono en formato internacional, posiblemente obtenido de un [enlace profundo del número de teléfono](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": ["Contactos"], "summary": "Genera un enlace de perfil temporal para el usuario actualmente conectado.", "description": "Genera un [enlace de perfil temporal](https://core.telegram.org/api/links.md#temporary-profile-links) para el usuario que ha iniciado sesión actualmente.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `ExportedContactToken`.\n\n[Token de contacto exportado](https://core.telegram.org/type/ExportedContactToken.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedContactToken", "oneOf": [{"$ref": "#/components/schemas/exportedContactToken"}], "description": "Tipo de TL: ExportedContactToken."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/contacts.exportContactToken"}, "x-browser-schema-id": "4167385127"}}, "/catalog/contacts.importContactToken": {"post": {"operationId": "contacts.importContactToken", "tags": ["Contactos"], "summary": "Obtenga información de usuario desde un enlace de perfil temporal.", "description": "Obtenga información de usuario de un [enlace de perfil temporal](https://core.telegram.org/api/links.md#temporary-profile-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `User`.\n\n[Usuario](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": "Tipo TL: Usuario."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `IMPORT_TOKEN_INVALID`: el token especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El token extraído del [enlace de perfil temporal](https://core.telegram.org/api/links.md#temporary-profile-links)."}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `token` | `string` | si | El token extraído del [enlace de perfil temporal](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": ["Contactos"], "summary": "Edite la lista de amigos cercanos, consulte aquí » para obtener más información.", "description": "Edite la [lista de amigos cercanos, consulte aquí »](https://core.telegram.org/api/privacy.md) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración de privacidad](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista completa de ID de usuario de amigos cercanos; consulte [aquí](https://core.telegram.org/api/privacy.md) para obtener más información."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<long>` | si | Lista completa de ID de usuario de amigos cercanos; consulte [aquí](https://core.telegram.org/api/privacy.md) para obtener más información. |"}, "x-browser-schema-id": "3127313904"}}, "/catalog/contacts.setBlocked": {"post": {"operationId": "contacts.setBlocked", "tags": ["Contactos"], "summary": "Reemplace el contenido de una lista de bloqueo completa; consulte aquí para obtener más información ».", "description": "Reemplace el contenido de una [lista de bloqueo completa, consulte aquí para obtener más información »](https://core.telegram.org/api/block.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Usuarios bloqueados](https://core.telegram.org/api/block.md)\n- [Paginación en el 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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para editar la lista de bloqueo de historias; si no está configurado, editará la lista de bloqueo principal. Consulte [aquí »](https://core.telegram.org/api/block.md) para conocer las diferencias entre los dos."}, "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Contenido completo de la lista de bloqueo."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `my_stories_from` | `true` | No | Ya sea para editar la lista de bloqueo de historias; si no está configurado, editará la lista de bloqueo principal. Consulte [aquí »](https://core.telegram.org/api/block.md) para conocer las diferencias entre los dos. |\n| `id` | `Vector<InputPeer>` | si | Contenido completo de la lista de bloqueo. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "2496027766"}}, "/catalog/contacts.getBirthdays": {"post": {"operationId": "contacts.getBirthdays", "tags": ["Contactos"], "summary": "Recupera todos los usuarios con cumpleaños que caen dentro de +1/-1 días, en relación con el día actual: los clientes deben invocar este método cada 6 a 8 horas, y si el resultado no está vacío, debe usarse para actualizar adecuadamente la información de cumpleaños almacenada en caché local en el usuario.`birthday`.", "description": "Recupera todos los usuarios con cumpleaños que caen dentro de +1/-1 días, en relación con el día actual: los clientes deben invocar este método cada 6 a 8 horas, y si el resultado no está vacío, debe usarse para actualizar adecuadamente la información de cumpleaños almacenada en caché local en [usuario](https://core.telegram.org/constructor/user.md).`birthday`.\n\n[Ver aquí »](https://core.telegram.org/api/profile.md#birthday) para más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Perfiles de usuario](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": "Resultado de MTProto · `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": "Escriba TL: contacts.ContactBirthdays."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/contacts.getBirthdays"}, "x-browser-schema-id": "3673008228"}}, "/catalog/contacts.getSponsoredPeers": {"post": {"operationId": "contacts.getSponsoredPeers", "tags": ["Contactos"], "summary": "Obtener una lista de resultados de búsqueda de pares patrocinados para una consulta determinada", "description": "Obtener una lista de resultados de búsqueda de pares patrocinados para una consulta determinada\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: contacts.SponsoredPeers."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SEARCH_QUERY_EMPTY` — La consulta de búsqueda está vacía."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la consulta"}}, "additionalProperties": false, "required": ["q"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `q` | `string` | si | la consulta |"}, "x-telegram-rpc-errors": ["SEARCH_QUERY_EMPTY"], "x-browser-schema-id": "3066610579"}}, "/catalog/contacts.updateContactNote": {"post": {"operationId": "contacts.updateContactNote", "tags": ["Contactos"], "summary": "Actualizar la nota privada asociada a un contacto; consulte aquí » para obtener más información.", "description": "Actualizar la nota privada asociada a un contacto; consulte [aquí »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [lista de contactos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CONTACT_ID_INVALID`: la identificación de contacto proporcionada no es válida.\n- 400 · `CONTACT_MISSING` — El usuario especificado no es un contacto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El contacto."}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "La nota."}}, "additionalProperties": false, "required": ["id", "note"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputUser` | si | El contacto. |\n| `note` | `TextWithEntities` | si | La nota. |"}, "x-telegram-rpc-errors": ["CONTACT_ID_INVALID", "CONTACT_MISSING"], "x-browser-schema-id": "329212923"}}, "/catalog/contacts.exportNoPaidMessagesToken": {"post": {"operationId": "contacts.exportNoPaidMessagesToken", "tags": ["Contactos"], "summary": "contacts.exportNoPaidMessagesToken", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "temporary": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor del tipo TL `true`."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `revoke` | `true` | No | Valor del tipo TL `true`. |\n| `temporary` | `true` | No | Valor del tipo TL `true`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2210760366"}}, "/catalog/contacts.importNoPaidMessagesToken": {"post": {"operationId": "contacts.importNoPaidMessagesToken", "tags": ["Contactos"], "summary": "contacts.importNoPaidMessagesToken", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `User`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Tipo TL: Usuario."}}}}}, "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": "Tipo de TL: Usuario de entrada."}, "token": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["user_id", "token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `token` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "900187850"}}, "/catalog/messages.getMessages": {"post": {"operationId": "messages.getMessages", "tags": ["Mensajes"], "summary": "Devuelve la lista de mensajes por sus ID.", "description": "Devuelve la lista de mensajes por sus ID.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: mensaje de entrada."}, "x-tl-type": "Vector<InputMessage>", "description": "Lista de ID de mensajes"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputMessage>` | si | Lista de ID de mensajes |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "MSG_ID_INVALID"], "x-browser-schema-id": "1673946374"}}, "/catalog/messages.getDialogs": {"post": {"operationId": "messages.getDialogs", "tags": ["Mensajes"], "summary": "Obtener lista de diálogos", "description": "Devuelve la página de diálogo de la cuenta actual. La selección se puede limitar a una carpeta.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](https://core.telegram.org/api/folders.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.Dialogs."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `FOLDER_ID_INVALID` — ID de carpeta no válida.\n- 400 · `OFFSET_PEER_ID_INVALID`: el par de compensación proporcionado no es válido.\n- 400 · `PINNED_DIALOGS_TOO_MUCH`: demasiados cuadros de diálogo anclados.\n- 400 · `TAKEOUT_INVALID`: el ID de comida para llevar especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Saltar conversaciones fijadas."}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Identificador de carpeta de diálogo."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha del mensaje para avanzar a la página siguiente, en segundos Unix."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje para desplazamiento de lista."}, "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": "El chat respecto del cual continúa la emisión."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El número máximo de diálogos devueltos."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Un hash de resultados recibidos previamente para comprobar si hay cambios.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset_date", "offset_id", "offset_peer", "limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `exclude_pinned` | `true` | No | Saltar conversaciones fijadas. |\n| `folder_id` | `int` | No | Identificador de carpeta de diálogo. |\n| `offset_date` | `int` | si | Fecha del mensaje para avanzar a la página siguiente, en segundos Unix. |\n| `offset_id` | `int` | si | ID de mensaje para desplazamiento de lista. |\n| `offset_peer` | `InputPeer` | si | El chat respecto del cual continúa la emisión. |\n| `limit` | `int` | si | El número máximo de diálogos devueltos. |\n| `hash` | `long` | si | Un hash de resultados recibidos previamente para comprobar si hay cambios. |"}, "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": ["Mensajes"], "summary": "Leer historial de chat", "description": "Devuelve la página de mensajes del chat seleccionado en orden del más nuevo al más antiguo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Autorización de usuario](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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `FROZEN_PARTICIPANT_MISSING`: la cuenta actual está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) y no puede acceder al par especificado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `TAKEOUT_INVALID`: el ID de comida para llevar especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Un chat cuya historia necesitas leer."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje a partir del cual comienza la selección."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha para el desplazamiento del historial en segundos de Unix."}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Desplazamiento adicional en mensajes."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de mensajes devueltos."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Devuelve mensajes con un ID menor al especificado."}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Devuelve mensajes con un ID mayor al especificado."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Un hash de resultados recibidos previamente para comprobar si hay cambios.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "offset_id", "offset_date", "add_offset", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Un chat cuya historia necesitas leer. |\n| `offset_id` | `int` | si | ID del mensaje a partir del cual comienza la selección. |\n| `offset_date` | `int` | si | Fecha para el desplazamiento del historial en segundos de Unix. |\n| `add_offset` | `int` | si | Desplazamiento adicional en mensajes. |\n| `limit` | `int` | si | Número máximo de mensajes devueltos. |\n| `max_id` | `int` | si | Devuelve mensajes con un ID menor al especificado. |\n| `min_id` | `int` | si | Devuelve mensajes con un ID mayor al especificado. |\n| `hash` | `long` | si | Un hash de resultados recibidos previamente para comprobar si hay cambios. |"}, "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": ["Mensajes"], "summary": "Buscar mensajes de chat", "description": "Busca mensajes según su consulta y condiciones adicionales, como autor, fecha o tipo de archivo adjunto.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Mensajes guardados](https://core.telegram.org/api/saved-messages.md)\n- [Hilos de mensajes](https://core.telegram.org/api/threads.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `FROM_PEER_INVALID`: el from_id especificado no es válido.\n- 400 · `INPUT_FILTER_INVALID`: el filtro especificado no es válido.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PEER_ID_NOT_SUPPORTED`: el ID de par proporcionado no es compatible.\n- 400 · `SEARCH_QUERY_EMPTY` — La consulta de búsqueda está vacía.\n- 400 · `TAKEOUT_INVALID`: el ID de comida para llevar especificado no es válido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Chatear para buscar."}, "q": {"type": "string", "x-tl-type": "string", "description": "Texto de consulta de búsqueda."}, "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": "El autor por quien se limita la muestra.", "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": "Busque dentro del [diálogo de mensaje guardado »](https://core.telegram.org/api/saved-messages.md) con esta 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": "Tipo TL: Reacción."}, "x-tl-type": "Vector<Reaction>", "x-tl-flag": "flags.3?Vector<Reaction>", "description": "Puede buscar [mensajes guardados etiquetados »](https://core.telegram.org/api/saved-messages.md#tags) con una o más reacciones usando esta bandera."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "ID del tema del hilo o mensaje principal."}, "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": "Filtrar por tipo de mensaje o archivo adjunto."}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Límite inferior para la fecha del mensaje en segundos de Unix."}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Límite superior de la fecha del mensaje en segundos Unix."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Solo devolver mensajes a partir del ID de mensaje especificado"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensación adicional](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados por número."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID máximo de mensaje para devolver](https://core.telegram.org/api/offsets.md)"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID de mensaje mínimo para devolver](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[picadillo](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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Chatear para buscar. |\n| `q` | `string` | si | Texto de consulta de búsqueda. |\n| `from_id` | `InputPeer` | No | El autor por quien se limita la muestra. |\n| `saved_peer_id` | `InputPeer` | No | Busque dentro del [diálogo de mensaje guardado »](https://core.telegram.org/api/saved-messages.md) con esta ID. |\n| `saved_reaction` | `Vector<Reaction>` | No | Puede buscar [mensajes guardados etiquetados »](https://core.telegram.org/api/saved-messages.md#tags) con una o más reacciones usando esta bandera. |\n| `top_msg_id` | `int` | No | ID del tema del hilo o mensaje principal. |\n| `filter` | `MessagesFilter` | si | Filtrar por tipo de mensaje o archivo adjunto. |\n| `min_date` | `int` | si | Límite inferior para la fecha del mensaje en segundos de Unix. |\n| `max_date` | `int` | si | Límite superior de la fecha del mensaje en segundos Unix. |\n| `offset_id` | `int` | si | Solo devolver mensajes a partir del ID de mensaje especificado |\n| `add_offset` | `int` | si | [Compensación adicional](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados por número. |\n| `max_id` | `int` | si | [ID máximo de mensaje para devolver](https://core.telegram.org/api/offsets.md) |\n| `min_id` | `int` | si | [ID de mensaje mínimo para devolver](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | si | [picadillo](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": ["Mensajes"], "summary": "Marca el historial de mensajes como leído.", "description": "Marca el historial de mensajes como leído.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedMessages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Usuario o grupo objetivo"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se pasa un valor positivo, solo se leerán los mensajes con identificadores menores o iguales al dado."}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Usuario o grupo objetivo |\n| `max_id` | `int` | si | Si se pasa un valor positivo, solo se leerán los mensajes con identificadores menores o iguales al dado. |"}, "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": ["Mensajes"], "summary": "Elimina el historial de comunicaciones.", "description": "Elimina el historial de comunicaciones.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedHistory."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_REVOKE_DATE_UNSUPPORTED` — `min_date` y `max_date` no están disponibles para usar con pares que no son usuarios.\n- 400 · `MAX_DATE_INVALID` — La fecha máxima especificada no es válida.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MIN_DATE_INVALID` — La fecha mínima especificada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Simplemente borre el historial del usuario actual, sin eliminar los mensajes de cada usuario del chat."}, "revoke": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si se debe eliminar el historial de mensajes de todos los participantes del 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": "Usuario o chat cuyo historial de comunicaciones será eliminado"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID máximo del mensaje a eliminar"}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "Eliminar todos los mensajes más recientes que esta UNIX marca de tiempo"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int", "description": "Eliminar todos los mensajes anteriores a esta UNIX marca de tiempo"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `just_clear` | `true` | No | Simplemente borre el historial del usuario actual, sin eliminar los mensajes de cada usuario del chat. |\n| `revoke` | `true` | No | Si se debe eliminar el historial de mensajes de todos los participantes del chat |\n| `peer` | `InputPeer` | si | Usuario o chat cuyo historial de comunicaciones será eliminado |\n| `max_id` | `int` | si | ID máximo del mensaje a eliminar |\n| `min_date` | `int` | No | Eliminar todos los mensajes más recientes que esta UNIX marca de tiempo |\n| `max_date` | `int` | No | Eliminar todos los mensajes anteriores a esta UNIX marca de tiempo |"}, "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": ["Mensajes"], "summary": "Elimina mensajes por sus identificadores.", "description": "Elimina mensajes por sus identificadores.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedMessages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `BOT_ACCESS_FORBIDDEN` — El método especificado *puede* usarse a través de una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algunas operaciones, pero la consulta especificada intentó una operación que no está permitida a través de una conexión comercial.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 403 · `MESSAGE_DELETE_FORBIDDEN` — No puedes eliminar uno de los mensajes que intentaste eliminar, probablemente porque es un mensaje de servicio.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `SELF_DELETE_RESTRICTED`: los robots empresariales no pueden eliminar mensajes solo para el usuario, `revoke` **debe** configurarse."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se deben eliminar mensajes para todos los participantes del chat"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Lista de ID de mensajes"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `revoke` | `true` | No | Si se deben eliminar mensajes para todos los participantes del chat |\n| `id` | `Vector<int>` | si | Lista de ID de mensajes |"}, "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": ["Mensajes"], "summary": "Confirma la recepción de mensajes por parte de un cliente, cancela el envío de PUSH-notificación.", "description": "Confirma la recepción de mensajes por parte de un cliente, cancela el envío de PUSH-notificación.", "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": "Resultado de MTProto · `Vector<ReceivedNotifyMessage>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Mensaje de notificación recibido](https://core.telegram.org/type/ReceivedNotifyMessage.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "ReceivedNotifyMessage", "oneOf": [{"$ref": "#/components/schemas/receivedNotifyMessage"}], "description": "Tipo de TL: Mensaje de notificación recibido."}, "x-tl-type": "Vector<ReceivedNotifyMessage>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de mensaje máximo disponible en un cliente."}}, "additionalProperties": false, "required": ["max_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `max_id` | `int` | si | ID de mensaje máximo disponible en un cliente. |"}, "x-browser-schema-id": "94983360"}}, "/catalog/messages.setTyping": {"post": {"operationId": "messages.setTyping", "tags": ["Mensajes"], "summary": "Envía un evento de escritura del usuario actual (consulte SendMessageAction para conocer todos los tipos de eventos) a un interlocutor o grupo de conversación.", "description": "Envía un evento de escritura del usuario actual (consulte [SendMessageAction](https://core.telegram.org/type/SendMessageAction.md) para conocer todos los tipos de eventos) a un interlocutor o grupo de conversación.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Hilos de mensajes](https://core.telegram.org/api/threads.md)\n- [Negocio de telegramas](https://core.telegram.org/api/business.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `BUSINESS_PEER_INVALID`: los mensajes no se pueden configurar para el par especificado a través de la [conexión comercial](https://core.telegram.org/api/business.md#connected-bots) actual.\n- 400 · `BUSINESS_PEER_USAGE_MISSING`: no puede enviar un mensaje a un usuario a través de una [conexión comercial](https://core.telegram.org/api/business.md#connected-bots) si el usuario no se ha comunicado con nosotros recientemente.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MESSAGE_TOO_LONG`: el mensaje proporcionado es demasiado largo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 406 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `TEXTDRAFT_PEER_INVALID` — sendMessageTextDraftAction solo se puede usar en chats privados 1 a 1.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 403 · `USER_IS_BLOCKED` — Este usuario te bloqueó.\n- 400 · `USER_IS_BOT` — Los bots no pueden enviar mensajes a otros bots."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Usuario o grupo objetivo"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "[ID de tema](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": "Tipo de acción"}}, "additionalProperties": false, "required": ["peer", "action"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Usuario o grupo objetivo |\n| `top_msg_id` | `int` | No | [ID de tema](https://core.telegram.org/api/threads.md) |\n| `action` | `SendMessageAction` | si | Tipo de acción |"}, "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": ["Mensajes"], "summary": "Enviar un mensaje de texto", "description": "Envía un texto al chat seleccionado. Si tiene éxito, Telegram devuelve las actualizaciones.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Pegatinas y máscaras](https://core.telegram.org/api/stickers.md)\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Mensajes programados](https://core.telegram.org/api/scheduled-messages.md)\n- [Negocio de telegramas](https://core.telegram.org/api/business.md)\n- [Efectos de mensajes animados](https://core.telegram.org/api/effects.md)\n- [Mensajes pagados](https://core.telegram.org/api/paid-messages.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Publicaciones sugeridas](https://core.telegram.org/api/suggested-posts.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Grupos de discusión](https://core.telegram.org/api/discussion.md)\n- [Manejo de errores](https://core.telegram.org/api/errors.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Mensajes directos a canales.](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ADMIN_RIGHTS_EMPTY`: el constructor chatAdminRights pasado en keyboardButtonRequestPeer.peer_type.user_admin_rights no tiene derechos establecidos (i.e. flags es 0).\n- 406 · `ALLOW_PAYMENT_REQUIRED`: este par solo acepta [mensajes pagos »](https://core.telegram.org/api/paid-messages.md): este error solo se emite para capas más antiguas sin soporte para mensajes pagos, por lo que el cliente debe actualizarse para poder usar mensajes pagos.  .\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d`: este par cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensaje, pero el `allow_paid_stars` no se configuró o su valor es menor que %d.\n- 400 · `BALANCE_TOO_LOW`: la transacción no se puede completar porque el [saldo de Telegram Stars](https://core.telegram.org/api/stars.md) actual es demasiado bajo.\n- 400 · `BOT_DOMAIN_INVALID` — Dominio del bot no válido.\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `BUSINESS_PEER_INVALID`: los mensajes no se pueden configurar para el par especificado a través de la [conexión comercial](https://core.telegram.org/api/business.md#connected-bots) actual.\n- 400 · `BUSINESS_PEER_USAGE_MISSING`: no puede enviar un mensaje a un usuario a través de una [conexión comercial](https://core.telegram.org/api/business.md#connected-bots) si el usuario no se ha comunicado con nosotros recientemente.\n- 400 · `BUTTON_COPY_TEXT_INVALID`: el [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy.md).`copy_text` especificado no es válido.\n- 400 · `BUTTON_DATA_INVALID` — Los datos de uno o más de los botones que proporcionaste no son válidos.\n- 400 · `BUTTON_ID_INVALID`: el ID del botón especificado no es válido.\n- 400 · `BUTTON_TYPE_INVALID` — El tipo de uno o más de los botones que proporcionó no es válido.\n- 400 · `BUTTON_URL_INVALID` — Botón URL no válido.\n- 400 · `BUTTON_USER_INVALID` — ¡El `user_id` pasado a inputKeyboardButtonUserProfile no es válido!\n- 400 · `BUTTON_USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario especificada en un botón [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile.md) no permite crear dicho botón.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_FORWARDS_RESTRICTED` — No puedes reenviar mensajes desde un chat protegido.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` — Te unes al grupo de discusión antes de comentar, consulta [aquí »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group) para obtener más información.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_RESTRICTED` — No puedes enviar mensajes en este chat, estabas restringido.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — No puedes enviar mensajes que no sean multimedia (de texto) en este chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 400 · `EFFECT_CHAT_INVALID` — El mensaje [efectos](https://core.telegram.org/api/effects.md) solo se puede usar en chats privados 1 a 1, pero la persona que llama intentó enviar un mensaje con un efecto a un grupo o canal.\n- 400 · `ENCRYPTION_DECLINED` — El chat secreto fue rechazado.\n- 400 · `ENTITIES_TOO_LONG`: proporcionaste demasiadas entidades de mensaje con estilo.\n- 400 · `ENTITY_BOUNDS_INVALID`: un [desplazamiento o longitud de entidad](https://core.telegram.org/api/entities.md#entity-length) especificado no es válido; consulte [aquí »](https://core.telegram.org/api/entities.md#entity-length) para obtener información sobre cómo calcular correctamente el desplazamiento/longitud de la entidad.\n- 400 · `ENTITY_DATE_FORMAT_INVALID`: uno de los objetos messageEntityFormattedDate pasados tiene un formato no válido (i.e. una combinación no válida de los indicadores de formato).\n- 400 · `ENTITY_DATE_INVALID` — Uno de los objetos messageEntityFormattedDate pasados tiene una fecha no válida: el valor permitido oscila entre `0` y la fecha actual más 1098 días (`time()+1098*86400`).\n- 400 · `ENTITY_DATE_TOO_LONG`: la extensión máxima de texto que puede cubrir una entidad de fecha es 31 UTF-16 unidades de código si se establece alguna de las banderas de formato de fecha, o 127 UTF-16 unidades de código sin ellas.  .\n- 400 · `ENTITY_MENTION_USER_INVALID` — Mencionaste un usuario no válido.\n- 400 · `FROM_MESSAGE_BOT_DISABLED` — Los bots no pueden usar constructores fromMessage min.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MESSAGE_EMPTY` — El mensaje proporcionado está vacío.\n- 400 · `MESSAGE_TOO_LONG`: el mensaje proporcionado es demasiado largo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 500 · `MSG_WAIT_FAILED`: una llamada en espera devolvió un error.\n- 406 · `PAYMENT_UNSUPPORTED` — Se recibirá una descripción detallada del error por separado como se describe [aquí »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 404 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PEER_TYPES_INVALID`: el campo [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline.md).`peer_types` pasado no es válido.\n- 400 · `PINNED_DIALOGS_TOO_MUCH`: demasiados cuadros de diálogo anclados.\n- 400 · `POLL_OPTION_INVALID`: se proporcionó una opción de encuesta no válida.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción.\n- 406 · `PRIVACY_PREMIUM_REQUIRED` — Necesitas una [suscripción a Telegram Premium](https://core.telegram.org/api/premium.md) para enviar un mensaje a este usuario.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` — [Las respuestas rápidas](https://core.telegram.org/api/business.md#quick-reply-shortcuts) no pueden ser utilizadas por bots.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Se puede crear un máximo de [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) accesos directos, se alcanzó el límite.\n- 400 · `QUOTE_TEXT_INVALID`: el campo `reply_to`.`quote_text` especificado no es válido.\n- 500 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada.\n- 400 · `RANDOM_ID_EMPTY` — ID aleatorio vacío.\n- 400 · `REPLY_MARKUP_INVALID`: el marcado de respuesta proporcionado no es válido.\n- 400 · `REPLY_MARKUP_TOO_LONG` — El reply_markup especificado es demasiado largo.\n- 400 · `REPLY_MESSAGES_TOO_MUCH`: cada acceso directo puede contener un máximo de [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensajes; se alcanzó el límite.\n- 400 · `REPLY_MESSAGE_ID_INVALID`: el ID del mensaje de respuesta especificado no es válido.\n- 400 · `REPLY_TO_INVALID`: el campo `reply_to` especificado no es válido.\n- 400 · `REPLY_TO_MONOFORUM_PEER_INVALID`: el inputReplyToMonoForum.monoforum_peer_id especificado no es válido.\n- 400 · `REPLY_TO_USER_INVALID`: el usuario al que se respondió no es válido.\n- 400 · `SCHEDULE_BOT_NOT_ALLOWED` — Los bots no pueden programar mensajes.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — No puedes programar un mensaje tan lejos en el futuro.\n- 400 · `SCHEDULE_STATUS_PRIVATE`: no se puede programar hasta que el usuario esté en línea, si la última marca de tiempo vista por el usuario está oculta en su configuración de privacidad.\n- 400 · `SCHEDULE_TOO_MUCH` — Hay demasiados mensajes programados.\n- 400 · `SEND_AS_PEER_INVALID`: no puede enviar mensajes como el par especificado.\n- 420 · `SLOWMODE_WAIT_%d` — El modo lento está habilitado en este chat: espera %d segundos antes de enviar otro mensaje a este chat.\n- 400 · `STORIES_NEVER_CREATED`: este compañero nunca ha publicado ninguna historia.\n- 400 · `STORY_ID_INVALID`: el ID de historia especificado no es válido.\n- 400 · `SUGGESTED_POST_AMOUNT_INVALID` — El precio especificado para la publicación sugerida no es válido.\n- 400 · `SUGGESTED_POST_PEER_INVALID`: no puedes enviar publicaciones sugeridas a compañeros que no sean [monoforum](https://core.telegram.org/api/monoforum.md)].\n- 406 · `TOPIC_CLOSED` — Este tema se cerró, ya no puedes enviarle mensajes.\n- 406 · `TOPIC_DELETED` — El tema especificado fue eliminado.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `USER_BOT_TO_BOT_DISABLED` — La mensajería de bot a bot está deshabilitada porque uno de los dos bots no ha habilitado la configuración de Bot a Bot en @BotFather.\n- 403 · `USER_IS_BLOCKED` — Este usuario te bloqueó.\n- 400 · `USER_IS_BOT` — Los bots no pueden enviar mensajes a otros bots.\n- 400 · `WC_CONVERT_URL_INVALID` — Conversión WC URL no válida.\n- 400 · `YOU_BLOCKED_USER` — Bloqueaste a este usuario."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Deshabilitar las vistas previas de enlaces."}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Enviar sin notificación sonora."}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Enviar este mensaje como mensaje de fondo"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Borrar el campo de borrador"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Solo para bots, no permite reenviar ni guardar mensajes, incluso si el chat de destino no tiene [protección de contenido](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada"}, "update_stickersets_order": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true", "description": "Si se deben mover los conjuntos de pegatinas usados a la parte superior, [consulte aquí para obtener más información sobre esta bandera »](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": "Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior."}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Solo bots: si está configurado, permite enviar hasta 1000 mensajes por segundo, ignorando [límites de transmisión](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por una tarifa de 0,1 Telegram Stars por mensaje. Las Estrellas correspondientes se retirarán del saldo del 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": "Charla de destino."}, "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": "El mensaje o tema al que se envía una respuesta.", "x-tl-flag": "flags.0?InputReplyTo"}, "message": {"type": "string", "x-tl-type": "string", "description": "Texto del mensaje."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de envío único para proteger contra repeticiones.", "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": "Marcado de respuesta para enviar botones de bot", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Mensaje [entidades](https://core.telegram.org/api/entities.md) para enviar texto con estilo"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Fecha de mensaje programada para [mensajes programados](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": "Una vez enviado, este mensaje se reprogramará automáticamente para volver a enviarse dentro de tantos segundos en el futuro. Consulte [aquí »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para obtener más información sobre cómo repetir mensajes programados."}, "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": "Enviar este mensaje como el par especificado", "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": "En su lugar, agregue el mensaje al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Se utiliza para [sugerir una publicación en un canal, consulte aquí »](https://core.telegram.org/api/suggested-posts.md) para obtener más información sobre el flujo completo.", "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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | No | Deshabilitar las vistas previas de enlaces. |\n| `silent` | `true` | No | Enviar sin notificación sonora. |\n| `background` | `true` | No | Enviar este mensaje como mensaje de fondo |\n| `clear_draft` | `true` | No | Borrar el campo de borrador |\n| `noforwards` | `true` | No | Solo para bots, no permite reenviar ni guardar mensajes, incluso si el chat de destino no tiene [protección de contenido](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada |\n| `update_stickersets_order` | `true` | No | Si se deben mover los conjuntos de pegatinas usados a la parte superior, [consulte aquí para obtener más información sobre esta bandera »](https://core.telegram.org/api/stickers.md#recent-stickersets) |\n| `invert_media` | `true` | No | Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior. |\n| `allow_paid_floodskip` | `true` | No | Solo bots: si está configurado, permite enviar hasta 1000 mensajes por segundo, ignorando [límites de transmisión](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por una tarifa de 0,1 Telegram Stars por mensaje. Las Estrellas correspondientes se retirarán del saldo del bot. |\n| `peer` | `InputPeer` | si | Charla de destino. |\n| `reply_to` | `InputReplyTo` | No | El mensaje o tema al que se envía una respuesta. |\n| `message` | `string` | si | Texto del mensaje. |\n| `random_id` | `long` | si | Identificador de envío único para proteger contra repeticiones. |\n| `reply_markup` | `ReplyMarkup` | No | Marcado de respuesta para enviar botones de bot |\n| `entities` | `Vector<MessageEntity>` | No | Mensaje [entidades](https://core.telegram.org/api/entities.md) para enviar texto con estilo |\n| `schedule_date` | `int` | No | Fecha de mensaje programada para [mensajes programados](https://core.telegram.org/api/scheduled-messages.md) |\n| `schedule_repeat_period` | `int` | No | Una vez enviado, este mensaje se reprogramará automáticamente para volver a enviarse dentro de tantos segundos en el futuro. Consulte [aquí »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para obtener más información sobre cómo repetir mensajes programados. |\n| `send_as` | `InputPeer` | No | Enviar este mensaje como el par especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | No | En su lugar, agregue el mensaje al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `effect` | `long` | No | Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje. |\n| `allow_paid_stars` | `long` | No | Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje. |\n| `suggested_post` | `SuggestedPost` | No | Se utiliza para [sugerir una publicación en un canal, consulte aquí »](https://core.telegram.org/api/suggested-posts.md) para obtener más información sobre el flujo completo. |\n| `rich_message` | `InputRichMessage` | No | Тип 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": ["Mensajes"], "summary": "enviar un medio", "description": "enviar un medio\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Pegatinas y máscaras](https://core.telegram.org/api/stickers.md)\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Mensajes programados](https://core.telegram.org/api/scheduled-messages.md)\n- [Negocio de telegramas](https://core.telegram.org/api/business.md)\n- [Efectos de mensajes animados](https://core.telegram.org/api/effects.md)\n- [Mensajes pagados](https://core.telegram.org/api/paid-messages.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Publicaciones sugeridas](https://core.telegram.org/api/suggested-posts.md)\n- [Grupos de discusión](https://core.telegram.org/api/discussion.md)\n- [Referencias de archivos](https://core.telegram.org/api/file-references.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Suscripciones estrella](https://core.telegram.org/api/subscriptions.md)\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Listas de verificación y listas de tareas pendientes](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `ALLOW_PAYMENT_REQUIRED`: este par solo acepta [mensajes pagos »](https://core.telegram.org/api/paid-messages.md): este error solo se emite para capas más antiguas sin soporte para mensajes pagos, por lo que el cliente debe actualizarse para poder usar mensajes pagos.  .\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d`: este par cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensaje, pero el `allow_paid_stars` no se configuró o su valor es menor que %d.\n- 400 · `BOT_GAMES_DISABLED` — Los juegos no se pueden enviar a canales.\n- 400 · `BOT_PAYMENTS_DISABLED` — Habilite los pagos de bot en botfather antes de llamar a este método.\n- 400 · `BROADCAST_PUBLIC_VOTERS_FORBIDDEN` — No se pueden reenviar encuestas con votantes públicos.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `BUSINESS_PEER_INVALID`: los mensajes no se pueden configurar para el par especificado a través de la [conexión comercial](https://core.telegram.org/api/business.md#connected-bots) actual.\n- 400 · `BUSINESS_PEER_USAGE_MISSING`: no puede enviar un mensaje a un usuario a través de una [conexión comercial](https://core.telegram.org/api/business.md#connected-bots) si el usuario no se ha comunicado con nosotros recientemente.\n- 400 · `BUTTON_COPY_TEXT_INVALID`: el [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy.md).`copy_text` especificado no es válido.\n- 400 · `BUTTON_DATA_INVALID` — Los datos de uno o más de los botones que proporcionaste no son válidos.\n- 400 · `BUTTON_POS_INVALID` — La posición de uno de los botones del teclado no es válida (i.e. un botón de Juego o Pagar no está en la primera posición, y así sucesivamente...).\n- 400 · `BUTTON_TYPE_INVALID` — El tipo de uno o más de los botones que proporcionó no es válido.\n- 400 · `BUTTON_URL_INVALID` — Botón URL no válido.\n- 400 · `BUTTON_USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario especificada en un botón [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile.md) no permite crear dicho botón.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_FORWARDS_RESTRICTED` — No puedes reenviar mensajes desde un chat protegido.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` — Te unes al grupo de discusión antes de comentar, consulta [aquí »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group) para obtener más información.\n- 400 · `CHAT_RESTRICTED` — No puedes enviar mensajes en este chat, estabas restringido.\n- 403 · `CHAT_SEND_AUDIOS_FORBIDDEN` — No puedes enviar mensajes de audio en este chat.\n- 403 · `CHAT_SEND_DOCS_FORBIDDEN` — No puedes enviar documentos en este chat.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — No puedes enviar gifs en este chat.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — No puedes enviar medios en este chat.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — No puedes enviar fotos en este chat.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — No puedes enviar mensajes que no sean multimedia (de texto) en este chat.\n- 403 · `CHAT_SEND_POLL_FORBIDDEN` — No puedes enviar encuestas en este chat.\n- 403 · `CHAT_SEND_ROUNDVIDEOS_FORBIDDEN` — No puedes enviar videos redondos a este chat.\n- 403 · `CHAT_SEND_STICKERS_FORBIDDEN` — No puedes enviar stickers en este chat.\n- 403 · `CHAT_SEND_VIDEOS_FORBIDDEN` — No puedes enviar videos en este chat.\n- 403 · `CHAT_SEND_VOICES_FORBIDDEN` — No puedes enviar grabaciones de voz en este chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `CURRENCY_TOTAL_AMOUNT_INVALID` — El importe total de todos los precios no es válido.\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 400 · `EFFECT_CHAT_INVALID` — El mensaje [efectos](https://core.telegram.org/api/effects.md) solo se puede usar en chats privados 1 a 1, pero la persona que llama intentó enviar un mensaje con un efecto a un grupo o canal.\n- 400 · `EFFECT_ID_INVALID`: el ID del efecto especificado no es válido.\n- 400 · `EMOTICON_INVALID`: el emoji especificado no es válido.\n- 400 · `ENTITY_BOUNDS_INVALID`: un [desplazamiento o longitud de entidad](https://core.telegram.org/api/entities.md#entity-length) especificado no es válido; consulte [aquí »](https://core.telegram.org/api/entities.md#entity-length) para obtener información sobre cómo calcular correctamente el desplazamiento/longitud de la entidad.\n- 400 · `EXTENDED_MEDIA_AMOUNT_INVALID`: el `stars_amount` especificado del [inputMediaPaidMedia](https://core.telegram.org/constructor/inputMediaPaidMedia.md) pasado no es válido.\n- 400 · `EXTENDED_MEDIA_EMPTY`: el medio extendido especificado está vacío.\n- 400 · `EXTENDED_MEDIA_INVALID`: el medio pago especificado no es válido.\n- 400 · `EXTENDED_MEDIA_PEER_INVALID`: los medios pagos no están permitidos para el par objetivo.\n- 400 · `EXTERNAL_URL_INVALID` — Externo URL no válido.\n- 400 · `FILE_PARTS_INVALID`: el número de partes del archivo no es válido.\n- 400 · `FILE_PART_LENGTH_INVALID` — La longitud de una parte del archivo no es válida.\n- 400 · `FILE_REFERENCE_EMPTY`: se especificó una [referencia de archivo](https://core.telegram.org/api/file-references.md)] vacía.\n- 400 · `FILE_REFERENCE_EXPIRED` — La referencia del archivo expiró, debe recuperarse como se describe en [la documentación](https://core.telegram.org/api/file-references.md).\n- 400 · `GAME_BOT_INVALID` — Los bots no pueden enviar el juego de otro bot.\n- 400 · `IMAGE_PROCESS_FAILED` — Fallo al procesar la imagen.\n- 400 · `INPUT_FILE_INVALID`: el [InputFile](https://core.telegram.org/type/InputFile.md) especificado no es válido.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `INVOICE_PAYLOAD_INVALID`: la carga útil de la factura especificada no es válida.\n- 400 · `MD5_CHECKSUM_INVALID` — Las sumas de verificación MD5 no coinciden.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — El título es demasiado largo.\n- 400 · `MEDIA_EMPTY`: el objeto multimedia proporcionado no es válido.\n- 400 · `MEDIA_FILE_INVALID`: el archivo multimedia especificado no es válido.\n- 400 · `MEDIA_INVALID` — Medios no válidos.\n- 400 · `MESSAGE_EMPTY` — El mensaje proporcionado está vacío.\n- 400 · `MESSAGE_TOO_LONG`: el mensaje proporcionado es demasiado largo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PAYMENT_PROVIDER_INVALID`: el proveedor de pago especificado no es válido.\n- 406 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PHOTO_EXT_INVALID` — La extensión de la foto no es válida.\n- 400 · `PHOTO_INVALID_DIMENSIONS` — Las dimensiones de la foto no son válidas.\n- 400 · `PHOTO_SAVE_FILE_INVALID` — Problemas internos, inténtalo de nuevo más tarde.\n- 400 · `POLL_ANSWERS_INVALID` — Se proporcionaron respuestas de encuesta no válidas.\n- 400 · `POLL_ANSWER_INVALID` — Una de las respuestas de la encuesta no es aceptable.\n- 400 · `POLL_OPTION_DUPLICATE`: se proporcionan opciones de encuesta duplicadas.\n- 400 · `POLL_OPTION_INVALID`: se proporcionó una opción de encuesta no válida.\n- 400 · `POLL_QUESTION_INVALID` — Una de las preguntas de la encuesta no es aceptable.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — Necesitas una [suscripción a Telegram Premium](https://core.telegram.org/api/premium.md) para enviar un mensaje a este usuario.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` — [Las respuestas rápidas](https://core.telegram.org/api/business.md#quick-reply-shortcuts) no pueden ser utilizadas por bots.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Se puede crear un máximo de [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) accesos directos, se alcanzó el límite.\n- 400 · `QUIZ_CORRECT_ANSWERS_EMPTY`: no se especificó ninguna respuesta correcta al cuestionario.\n- 400 · `QUIZ_CORRECT_ANSWERS_TOO_MUCH` — Especificaste demasiadas respuestas correctas en un cuestionario, ¡los cuestionarios solo pueden tener una respuesta correcta!\n- 400 · `QUIZ_CORRECT_ANSWER_INVALID`: se proporcionó un valor no válido al campo correct_answers.\n- 400 · `QUIZ_MULTIPLE_INVALID` — ¡Los cuestionarios no pueden tener configurada la bandera multiple_choice!\n- 500 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada.\n- 400 · `REPLY_MARKUP_BUY_EMPTY` — Marcado de respuesta para el botón de compra vacío.\n- 400 · `REPLY_MARKUP_GAME_EMPTY`: se está editando un mensaje de juego, pero el teclado recién proporcionado no tiene el botón KeyboardButtonGame.\n- 400 · `REPLY_MARKUP_INVALID`: el marcado de respuesta proporcionado no es válido.\n- 400 · `REPLY_MARKUP_TOO_LONG` — El reply_markup especificado es demasiado largo.\n- 400 · `REPLY_MESSAGES_TOO_MUCH`: cada acceso directo puede contener un máximo de [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensajes; se alcanzó el límite.\n- 400 · `REPLY_MESSAGE_ID_INVALID`: el ID del mensaje de respuesta especificado no es válido.\n- 400 · `REPLY_TO_MONOFORUM_PEER_INVALID`: el inputReplyToMonoForum.monoforum_peer_id especificado no es válido.\n- 400 · `SCHEDULE_BOT_NOT_ALLOWED` — Los bots no pueden programar mensajes.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — No puedes programar un mensaje tan lejos en el futuro.\n- 400 · `SCHEDULE_TOO_MUCH` — Hay demasiados mensajes programados.\n- 400 · `SEND_AS_PEER_INVALID`: no puede enviar mensajes como el par especificado.\n- 420 · `SLOWMODE_WAIT_%d` — El modo lento está habilitado en este chat: espera %d segundos antes de enviar otro mensaje a este chat.\n- 400 · `STARS_INVOICE_INVALID` — La factura de Telegram Star especificada no es válida.\n- 400 · `STORY_ID_INVALID`: el ID de historia especificado no es válido.\n- 400 · `SUBSCRIPTION_EXPORT_MISSING`: no puede enviar una [factura de suscripción de bot](https://core.telegram.org/api/subscriptions.md#bot-subscriptions) directamente, solo puede crear enlaces de factura usando [payments.exportInvoice](https://core.telegram.org/method/payments.exportInvoice.md).\n- 400 · `SUGGESTED_POST_PEER_INVALID`: no puedes enviar publicaciones sugeridas a compañeros que no sean [monoforum](https://core.telegram.org/api/monoforum.md)].\n- 400 · `TERMS_URL_INVALID` — La [factura](https://core.telegram.org/constructor/invoice.md).`terms_url` especificada no es válida.\n- 400 · `TODO_ITEMS_EMPTY`: se especificó una lista de verificación, pero no se aprobaron [elementos de la lista de verificación](https://core.telegram.org/api/todo.md)].\n- 400 · `TODO_ITEMS_TOO_MUCH`: especificaste demasiados elementos de la lista de tareas pendientes.\n- 400 · `TODO_ITEM_DUPLICATE` — Duplicados [elementos de la lista de verificación](https://core.telegram.org/api/todo.md) detectados.\n- 406 · `TOPIC_CLOSED` — Este tema se cerró, ya no puedes enviarle mensajes.\n- 406 · `TOPIC_DELETED` — El tema especificado fue eliminado.\n- 400 · `TTL_MEDIA_INVALID` — Se proporcionó tiempo de vida multimedia no válido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `USER_BOT_TO_BOT_DISABLED` — La mensajería de bot a bot está deshabilitada porque uno de los dos bots no ha habilitado la configuración de Bot a Bot en @BotFather.\n- 403 · `USER_IS_BLOCKED` — Este usuario te bloqueó.\n- 400 · `USER_IS_BOT` — Los bots no pueden enviar mensajes a otros bots.\n- 400 · `VIDEO_CONTENT_TYPE_INVALID`: el tipo de contenido del vídeo no es válido.\n- 400 · `VOICE_MESSAGES_FORBIDDEN` — La configuración de privacidad de este usuario le prohíbe enviar mensajes de voz.\n- 400 · `WEBDOCUMENT_MIME_INVALID`: se proporcionó un tipo mime de documento web no válido.\n- 400 · `WEBPAGE_CURL_FAILED`: error al buscar la página web con cURL.\n- 400 · `WEBPAGE_MEDIA_EMPTY` — Medios de página web vacíos.\n- 400 · `WEBPAGE_NOT_FOUND`: no se pudo generar una vista previa de la página web especificada `url`.\n- 400 · `WEBPAGE_URL_INVALID`: la página web especificada `url` no es válida.\n- 400 · `YOU_BLOCKED_USER` — Bloqueaste a este usuario."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Enviar mensaje en silencio (no se debe activar ninguna notificación)"}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Enviar mensaje en segundo plano"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Borrar el borrador"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Solo para bots, no permite reenviar ni guardar mensajes, incluso si el chat de destino no tiene [protección de contenido](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada"}, "update_stickersets_order": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true", "description": "Si se deben mover los conjuntos de pegatinas usados a la parte superior, [consulte aquí para obtener más información sobre esta bandera »](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": "Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior."}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Solo bots: si está configurado, permite enviar hasta 1000 mensajes por segundo, ignorando [límites de transmisión](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por una tarifa de 0,1 Telegram Stars por mensaje. Las Estrellas correspondientes se retirarán del saldo del 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": "Destino"}, "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": "Si está configurado, indica que el mensaje debe enviarse en respuesta al mensaje o historia especificada.", "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": "Medios adjuntos"}, "message": {"type": "string", "x-tl-type": "string", "description": "Subtítulo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatorio para evitar reenviar el mismo mensaje. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "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": "Marcado de respuesta para teclados bot", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Mensaje [entidades](https://core.telegram.org/api/entities.md) para texto con estilo"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Fecha de mensaje programada para [mensajes programados](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": "Una vez enviado, este mensaje se reprogramará automáticamente para volver a enviarse dentro de tantos segundos en el futuro. Consulte [aquí »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para obtener más información sobre cómo repetir mensajes programados."}, "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": "Enviar este mensaje como el par especificado", "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": "En su lugar, agregue el mensaje al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Se utiliza para [sugerir una publicación en un canal, consulte aquí »](https://core.telegram.org/api/suggested-posts.md) para obtener más información sobre el flujo completo.", "x-tl-flag": "flags.22?SuggestedPost"}}, "additionalProperties": false, "required": ["peer", "media", "message", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `silent` | `true` | No | Enviar mensaje en silencio (no se debe activar ninguna notificación) |\n| `background` | `true` | No | Enviar mensaje en segundo plano |\n| `clear_draft` | `true` | No | Borrar el borrador |\n| `noforwards` | `true` | No | Solo para bots, no permite reenviar ni guardar mensajes, incluso si el chat de destino no tiene [protección de contenido](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada |\n| `update_stickersets_order` | `true` | No | Si se deben mover los conjuntos de pegatinas usados a la parte superior, [consulte aquí para obtener más información sobre esta bandera »](https://core.telegram.org/api/stickers.md#recent-stickersets) |\n| `invert_media` | `true` | No | Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior. |\n| `allow_paid_floodskip` | `true` | No | Solo bots: si está configurado, permite enviar hasta 1000 mensajes por segundo, ignorando [límites de transmisión](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por una tarifa de 0,1 Telegram Stars por mensaje. Las Estrellas correspondientes se retirarán del saldo del bot. |\n| `peer` | `InputPeer` | si | Destino |\n| `reply_to` | `InputReplyTo` | No | Si está configurado, indica que el mensaje debe enviarse en respuesta al mensaje o historia especificada. |\n| `media` | `InputMedia` | si | Medios adjuntos |\n| `message` | `string` | si | Subtítulo |\n| `random_id` | `long` | si | ID aleatorio para evitar reenviar el mismo mensaje. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `reply_markup` | `ReplyMarkup` | No | Marcado de respuesta para teclados bot |\n| `entities` | `Vector<MessageEntity>` | No | Mensaje [entidades](https://core.telegram.org/api/entities.md) para texto con estilo |\n| `schedule_date` | `int` | No | Fecha de mensaje programada para [mensajes programados](https://core.telegram.org/api/scheduled-messages.md) |\n| `schedule_repeat_period` | `int` | No | Una vez enviado, este mensaje se reprogramará automáticamente para volver a enviarse dentro de tantos segundos en el futuro. Consulte [aquí »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para obtener más información sobre cómo repetir mensajes programados. |\n| `send_as` | `InputPeer` | No | Enviar este mensaje como el par especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | No | En su lugar, agregue el mensaje al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `effect` | `long` | No | Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje. |\n| `allow_paid_stars` | `long` | No | Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje. |\n| `suggested_post` | `SuggestedPost` | No | Se utiliza para [sugerir una publicación en un canal, consulte aquí »](https://core.telegram.org/api/suggested-posts.md) para obtener más información sobre el flujo completo. |"}, "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": ["Mensajes"], "summary": "Reenviar mensajes", "description": "Reenvía uno o más mensajes desde el chat de origen al chat de destino.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Temas del foro](https://core.telegram.org/api/forum.md)\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Mensajes programados](https://core.telegram.org/api/scheduled-messages.md)\n- [Negocio de telegramas](https://core.telegram.org/api/business.md)\n- [Efectos de mensajes animados](https://core.telegram.org/api/effects.md)\n- [Mensajes pagados](https://core.telegram.org/api/paid-messages.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Publicaciones sugeridas](https://core.telegram.org/api/suggested-posts.md)\n- [Grupos de discusión](https://core.telegram.org/api/discussion.md)\n- [Manejo de errores](https://core.telegram.org/api/errors.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `ALLOW_PAYMENT_REQUIRED`: este par solo acepta [mensajes pagos »](https://core.telegram.org/api/paid-messages.md): este error solo se emite para capas más antiguas sin soporte para mensajes pagos, por lo que el cliente debe actualizarse para poder usar mensajes pagos.  .\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d`: este par cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensaje, pero el `allow_paid_stars` no se configuró o su valor es menor que %d.\n- 400 · `BROADCAST_PUBLIC_VOTERS_FORBIDDEN` — No se pueden reenviar encuestas con votantes públicos.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 406 · `CHAT_FORWARDS_RESTRICTED` — No puedes reenviar mensajes desde un chat protegido.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` — Te unes al grupo de discusión antes de comentar, consulta [aquí »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group) para obtener más información.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_RESTRICTED` — No puedes enviar mensajes en este chat, estabas restringido.\n- 403 · `CHAT_SEND_AUDIOS_FORBIDDEN` — No puedes enviar mensajes de audio en este chat.\n- 403 · `CHAT_SEND_DOCS_FORBIDDEN` — No puedes enviar documentos en este chat.\n- 403 · `CHAT_SEND_GAME_FORBIDDEN` — No puedes enviar un juego a este chat.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — No puedes enviar gifs en este chat.\n- 403 · `CHAT_SEND_INLINE_FORBIDDEN` — No puedes enviar mensajes en línea en este grupo.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — No puedes enviar medios en este chat.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — No puedes enviar fotos en este chat.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — No puedes enviar mensajes que no sean multimedia (de texto) en este chat.\n- 403 · `CHAT_SEND_POLL_FORBIDDEN` — No puedes enviar encuestas en este chat.\n- 403 · `CHAT_SEND_STICKERS_FORBIDDEN` — No puedes enviar stickers en este chat.\n- 403 · `CHAT_SEND_VIDEOS_FORBIDDEN` — No puedes enviar videos en este chat.\n- 403 · `CHAT_SEND_VOICES_FORBIDDEN` — No puedes enviar grabaciones de voz en este chat.\n- 403 · `CHAT_SEND_WEBPAGE_FORBIDDEN` — No puedes enviar vistas previas de páginas web a este chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `GROUPED_MEDIA_INVALID` — Medios agrupados no válidos.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MEDIA_EMPTY`: el objeto multimedia proporcionado no es válido.\n- 400 · `MEDIA_FILE_INVALID`: el archivo multimedia especificado no es válido.\n- 400 · `MESSAGE_IDS_EMPTY`: no se proporcionaron identificadores de mensajes.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 406 · `PAYMENT_UNSUPPORTED` — Se recibirá una descripción detallada del error por separado como se describe [aquí »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 406 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción.\n- 406 · `PRIVACY_PREMIUM_REQUIRED` — Necesitas una [suscripción a Telegram Premium](https://core.telegram.org/api/premium.md) para enviar un mensaje a este usuario.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` — [Las respuestas rápidas](https://core.telegram.org/api/business.md#quick-reply-shortcuts) no pueden ser utilizadas por bots.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Se puede crear un máximo de [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) accesos directos, se alcanzó el límite.\n- 400 · `QUIZ_ANSWER_MISSING`: puede reenviar un cuestionario ocultando al autor original solo después de elegir una opción en el cuestionario.\n- 500 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada.\n- 400 · `RANDOM_ID_INVALID`: una identificación aleatoria proporcionada no es válida.\n- 400 · `REPLY_MESSAGES_TOO_MUCH`: cada acceso directo puede contener un máximo de [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensajes; se alcanzó el límite.\n- 400 · `REPLY_TO_MONOFORUM_PEER_INVALID`: el inputReplyToMonoForum.monoforum_peer_id especificado no es válido.\n- 400 · `SCHEDULE_BOT_NOT_ALLOWED` — Los bots no pueden programar mensajes.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — No puedes programar un mensaje tan lejos en el futuro.\n- 400 · `SCHEDULE_TOO_MUCH` — Hay demasiados mensajes programados.\n- 400 · `SEND_AS_PEER_INVALID`: no puede enviar mensajes como el par especificado.\n- 400 · `SLOWMODE_MULTI_MSGS_DISABLED` — El modo lento está habilitado, no puedes reenviar varios mensajes a este grupo.\n- 420 · `SLOWMODE_WAIT_%d` — El modo lento está habilitado en este chat: espera %d segundos antes de enviar otro mensaje a este chat.\n- 400 · `SUGGESTED_POST_PEER_INVALID`: no puedes enviar publicaciones sugeridas a compañeros que no sean [monoforum](https://core.telegram.org/api/monoforum.md)].\n- 406 · `TOPIC_CLOSED` — Este tema se cerró, ya no puedes enviarle mensajes.\n- 406 · `TOPIC_DELETED` — El tema especificado fue eliminado.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `USER_BOT_TO_BOT_DISABLED` — La mensajería de bot a bot está deshabilitada porque uno de los dos bots no ha habilitado la configuración de Bot a Bot en @BotFather.\n- 403 · `USER_IS_BLOCKED` — Este usuario te bloqueó.\n- 400 · `USER_IS_BOT` — Los bots no pueden enviar mensajes a otros bots.\n- 403 · `VOICE_MESSAGES_FORBIDDEN` — La configuración de privacidad de este usuario le prohíbe enviar mensajes de voz.\n- 400 · `YOU_BLOCKED_USER` — Bloqueaste a este usuario."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Adelante sin notificación sonora."}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Si enviar el mensaje en segundo plano"}, "with_my_score": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Al reenviar juegos, si desea incluir su puntuación en el juego"}, "drop_author": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true", "description": "Si reenviar mensajes sin citar al autor original"}, "drop_media_captions": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.12?true", "description": "Si eliminar subtítulos de los medios"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Solo para bots, no permite reenviar ni guardar mensajes, incluso si el chat de destino no tiene [protección de contenido](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada"}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Solo bots: si está configurado, permite enviar hasta 1000 mensajes por segundo, ignorando [límites de transmisión](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por una tarifa de 0,1 Telegram Stars por mensaje. Las Estrellas correspondientes se retirarán del saldo del bot."}, "from_ephemeral": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.25?true", "description": "Valor del tipo TL `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": "El chat desde el que desea reenviar mensajes."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de mensajes de origen."}, "random_id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Un ID de reenvío único para cada mensaje."}, "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": "Charla de destino."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.9?int", "description": "Destino [tema del foro](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": "Solo puede contener un [inputReplyToMonoForum](https://core.telegram.org/constructor/inputReplyToMonoForum.md), para reenviar mensajes a un [tema monoforum](https://core.telegram.org/api/monoforum.md) (mutuamente excluyente con `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": "Fecha de mensaje programado para mensajes programados"}, "schedule_repeat_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.24?int", "description": "Una vez enviado, este mensaje se reprogramará automáticamente para volver a enviarse dentro de tantos segundos en el futuro. Consulte [aquí »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para obtener más información sobre cómo repetir mensajes programados."}, "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": "Reenviar los mensajes como el par especificado", "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": "En su lugar, agregue los mensajes al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje.", "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": "Comience a reproducir el video en la marca de tiempo especificada (segundos)."}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Se utiliza para [sugerir una publicación en un canal, consulte aquí »](https://core.telegram.org/api/suggested-posts.md) para obtener más información sobre el flujo completo.", "x-tl-flag": "flags.23?SuggestedPost"}}, "additionalProperties": false, "required": ["from_peer", "id", "random_id", "to_peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `silent` | `true` | No | Adelante sin notificación sonora. |\n| `background` | `true` | No | Si enviar el mensaje en segundo plano |\n| `with_my_score` | `true` | No | Al reenviar juegos, si desea incluir su puntuación en el juego |\n| `drop_author` | `true` | No | Si reenviar mensajes sin citar al autor original |\n| `drop_media_captions` | `true` | No | Si eliminar subtítulos de los medios |\n| `noforwards` | `true` | No | Solo para bots, no permite reenviar ni guardar mensajes, incluso si el chat de destino no tiene [protección de contenido](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada |\n| `allow_paid_floodskip` | `true` | No | Solo bots: si está configurado, permite enviar hasta 1000 mensajes por segundo, ignorando [límites de transmisión](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por una tarifa de 0,1 Telegram Stars por mensaje. Las Estrellas correspondientes se retirarán del saldo del bot. |\n| `from_ephemeral` | `true` | No | Valor del tipo TL `true`. |\n| `from_peer` | `InputPeer` | si | El chat desde el que desea reenviar mensajes. |\n| `id` | `Vector<int>` | si | ID de mensajes de origen. |\n| `random_id` | `Vector<long>` | si | Un ID de reenvío único para cada mensaje. |\n| `to_peer` | `InputPeer` | si | Charla de destino. |\n| `top_msg_id` | `int` | No | Destino [tema del foro](https://core.telegram.org/api/forum.md#forum-topics) |\n| `reply_to` | `InputReplyTo` | No | Solo puede contener un [inputReplyToMonoForum](https://core.telegram.org/constructor/inputReplyToMonoForum.md), para reenviar mensajes a un [tema monoforum](https://core.telegram.org/api/monoforum.md) (mutuamente excluyente con `top_msg_id`). |\n| `schedule_date` | `int` | No | Fecha de mensaje programado para mensajes programados |\n| `schedule_repeat_period` | `int` | No | Una vez enviado, este mensaje se reprogramará automáticamente para volver a enviarse dentro de tantos segundos en el futuro. Consulte [aquí »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para obtener más información sobre cómo repetir mensajes programados. |\n| `send_as` | `InputPeer` | No | Reenviar los mensajes como el par especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | No | En su lugar, agregue los mensajes al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `effect` | `long` | No | Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje. |\n| `video_timestamp` | `int` | No | Comience a reproducir el video en la marca de tiempo especificada (segundos). |\n| `allow_paid_stars` | `long` | No | Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje. |\n| `suggested_post` | `SuggestedPost` | No | Se utiliza para [sugerir una publicación en un canal, consulte aquí »](https://core.telegram.org/api/suggested-posts.md) para obtener más información sobre el flujo completo. |"}, "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": ["Mensajes"], "summary": "Reportar un nuevo chat entrante como spam, si la configuración de pares del chat nos permite hacerlo", "description": "Reportar un nuevo chat entrante como spam, si la [configuración de pares](https://core.telegram.org/constructor/peerSettings.md) del chat nos permite hacerlo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Compañero para informar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Compañero para informar |"}, "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": ["Mensajes"], "summary": "Obtener configuración de pares", "description": "Obtener configuración de pares\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Tipo TL: messages.PeerSettings."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el par"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | el par |"}, "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": ["Mensajes"], "summary": "Reportar un mensaje en un chat por violación de los Términos de servicio de Telegram", "description": "Reportar un mensaje en un chat por violación de los Términos de servicio de Telegram\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `ReportResult`.\n\n[Resultado del informe](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": "Tipo de TL: InformeResultado."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MESSAGE_REQUIRED` — Se debe pasar una lista no vacía de ID a `id`.\n- 400 · `OPTION_INVALID` — Opción seleccionada no válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de mensajes para informar"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Opción de menú, inicialmente vacía"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comentario para moderación del informe."}}, "additionalProperties": false, "required": ["peer", "id", "option", "message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `id` | `Vector<int>` | si | ID de mensajes para informar |\n| `option` | `bytes` | si | Opción de menú, inicialmente vacía |\n| `message` | `string` | si | Comentario para moderación del informe. |"}, "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": ["Mensajes"], "summary": "Devuelve información básica del chat sobre sus ID.", "description": "Devuelve información básica del chat sobre sus ID.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.Chats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de ID de chat"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<long>` | si | Lista de ID de chat |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1240027791"}}, "/catalog/messages.getFullChat": {"post": {"operationId": "messages.getFullChat", "tags": ["Mensajes"], "summary": "Obtenga información completa sobre un grupo básico.", "description": "Obtenga información completa sobre un [grupo básico](https://core.telegram.org/api/channel.md#basic-groups).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Tipo TL: messages.ChatFull."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Grupo básico](https://core.telegram.org/api/channel.md#basic-groups) ID.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | si | [Grupo básico](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": ["Mensajes"], "summary": "Cambia el nombre del chat y envía un mensaje de servicio.", "description": "Cambia el nombre del chat y envía un mensaje de servicio.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `CHAT_TITLE_EMPTY`: no se proporciona ningún título de chat.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de chat", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nuevo nombre de chat, diferente al anterior."}}, "additionalProperties": false, "required": ["chat_id", "title"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | si | ID de chat |\n| `title` | `string` | si | Nuevo nombre de chat, diferente al anterior. |"}, "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": ["Mensajes"], "summary": "Cambia la foto del chat y envía un mensaje de servicio en ella.", "description": "Cambia la foto del chat y envía un mensaje de servicio en ella.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `IMAGE_PROCESS_FAILED` — Fallo al procesar la imagen.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PHOTO_CROP_SIZE_SMALL` — La foto es demasiado pequeña.\n- 400 · `PHOTO_EXT_INVALID` — La extensión de la foto no es válida.\n- 400 · `PHOTO_INVALID` — Foto no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de chat", "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": "Foto por configurar"}}, "additionalProperties": false, "required": ["chat_id", "photo"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | si | ID de chat |\n| `photo` | `InputChatPhoto` | si | Foto por configurar |"}, "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": ["Mensajes"], "summary": "Agrega un usuario a un chat y envía un mensaje de servicio en él.", "description": "Agrega un usuario a un chat y envía un mensaje de servicio en él.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: messages.InvitedUsers."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_GROUPS_BLOCKED`: este bot no se puede agregar a grupos.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_INVALID` — Chat no válido.\n- 400 · `CHAT_MEMBER_ADD_FAILED` — No se pudieron agregar participantes.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USERS_TOO_MUCH` — Se ha superado el número máximo de usuarios (para crear un chat, por ejemplo).\n- 400 · `USER_ALREADY_PARTICIPANT` — El usuario ya está en el grupo.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 400 · `USER_IS_BLOCKED` — Este usuario te bloqueó.\n- 403 · `USER_NOT_MUTUAL_CONTACT` — El usuario proporcionado no es un contacto mutuo.\n- 403 · `USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario no le permite hacer esto.\n- 400 · `YOU_BLOCKED_USER` — Bloqueaste a este usuario."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de chat", "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": "ID de usuario que se agregará"}, "fwd_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de últimos mensajes a reenviar"}}, "additionalProperties": false, "required": ["chat_id", "user_id", "fwd_limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | si | ID de chat |\n| `user_id` | `InputUser` | si | ID de usuario que se agregará |\n| `fwd_limit` | `int` | si | Número de últimos mensajes a reenviar |"}, "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": ["Mensajes"], "summary": "Elimina un usuario de un chat y envía un mensaje de servicio sobre él.", "description": "Elimina un usuario de un chat y envía un mensaje de servicio sobre él.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 400 · `USER_NOT_PARTICIPANT` — No eres miembro de este supergrupo/canal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Elimina todo el historial de chat del usuario especificado en este chat."}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de chat", "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": "ID de usuario que se eliminará"}}, "additionalProperties": false, "required": ["chat_id", "user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `revoke_history` | `true` | No | Elimina todo el historial de chat del usuario especificado en este chat. |\n| `chat_id` | `long` | si | ID de chat |\n| `user_id` | `InputUser` | si | ID de usuario que se eliminará |"}, "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": ["Mensajes"], "summary": "Crea un nuevo chat.", "description": "Crea un nuevo chat.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: messages.InvitedUsers."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 500 · `CHAT_ID_GENERATE_FAILED` — Error al generar la ID del chat.\n- 400 · `CHAT_INVALID` — Chat no válido.\n- 400 · `CHAT_MEMBER_ADD_FAILED` — No se pudieron agregar participantes.\n- 400 · `CHAT_TITLE_EMPTY`: no se proporciona ningún título de chat.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `TTL_PERIOD_INVALID`: el período TTL especificado no es válido.\n- 400 · `USERS_TOO_FEW` — No hay suficientes usuarios (para crear un chat, por ejemplo).\n- 406 · `USER_RESTRICTED` — Te reportan spam, no puedes crear canales ni chats."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Lista de ID de usuario a invitar"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del chat"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Tiempo de vida de todos los mensajes que se enviarán en el chat: una vez message.date+message.ttl_period === time(), el mensaje se eliminará en el servidor y deberá eliminarse localmente también. Puede usar [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) para editar este valor más tarde."}}, "additionalProperties": false, "required": ["users", "title"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `users` | `Vector<InputUser>` | si | Lista de ID de usuario a invitar |\n| `title` | `string` | si | Nombre del chat |\n| `ttl_period` | `int` | No | Tiempo de vida de todos los mensajes que se enviarán en el chat: una vez message.date+message.ttl_period === time(), el mensaje se eliminará en el servidor y deberá eliminarse localmente también. Puede usar [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) para editar este valor más tarde. |"}, "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": ["Mensajes"], "summary": "Devuelve los parámetros de configuración para la generación de claves Diffie-Hellman. También puede devolver una secuencia aleatoria de bytes de la longitud requerida.", "description": "Devuelve los parámetros de configuración para la generación de claves Diffie-Hellman. También puede devolver una secuencia aleatoria de bytes de la longitud requerida.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.DhConfig."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `RANDOM_LENGTH_INVALID` — Longitud aleatoria no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Valor del parámetro **versión** de [messages.dhConfig](https://core.telegram.org/constructor/messages.dhConfig.md), disponible en el cliente"}, "random_length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la secuencia aleatoria requerida"}}, "additionalProperties": false, "required": ["version", "random_length"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `version` | `int` | si | Valor del parámetro **versión** de [messages.dhConfig](https://core.telegram.org/constructor/messages.dhConfig.md), disponible en el cliente |\n| `random_length` | `int` | si | Longitud de la secuencia aleatoria requerida |"}, "x-telegram-rpc-errors": ["RANDOM_LENGTH_INVALID"], "x-browser-schema-id": "651135312"}}, "/catalog/messages.requestEncryption": {"post": {"operationId": "messages.requestEncryption", "tags": ["Mensajes"], "summary": "Envía una solicitud para iniciar un chat secreto al usuario.", "description": "Envía una solicitud para iniciar un chat secreto al usuario.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](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": "Resultado de MTProto · `EncryptedChat`.\n\n[Chat cifrado](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": "Tipo de TL: Chat cifrado."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `DH_G_A_INVALID` — g_a inválido.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 403 · `USER_IS_BLOCKED` — Este usuario te bloqueó."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de usuario"}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se requiere un ID de solicitud de cliente único para evitar el reenvío. Esto también funciona como ID del chat. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID."}, "g_a": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`A = g ^ a mod p`, ver [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)"}}, "additionalProperties": false, "required": ["user_id", "random_id", "g_a"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | ID de usuario |\n| `random_id` | `int` | si | Se requiere un ID de solicitud de cliente único para evitar el reenvío. Esto también funciona como ID del chat. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `g_a` | `bytes` | si | `A = g ^ a mod p`, ver [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": ["Mensajes"], "summary": "Confirma la creación de un chat secreto.", "description": "Confirma la creación de un chat secreto.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `EncryptedChat`.\n\n[Chat cifrado](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": "Tipo de TL: Chat cifrado."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `ENCRYPTION_ALREADY_ACCEPTED` — Chat secreto ya aceptado.\n- 400 · `ENCRYPTION_ALREADY_DECLINED` — El chat secreto ya fue rechazado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de chat secreto"}, "g_b": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`B = g ^ b mod p`, ver [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange)"}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "Huella digital de 64 bits de la clave recibida", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "g_b", "key_fingerprint"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | si | ID de chat secreto |\n| `g_b` | `bytes` | si | `B = g ^ b mod p`, ver [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) |\n| `key_fingerprint` | `long` | si | Huella digital de 64 bits de la clave recibida |"}, "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": ["Mensajes"], "summary": "Cancela una solicitud de creación y/o eliminación de información en un chat secreto.", "description": "Cancela una solicitud de creación y/o eliminación de información en un chat secreto.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_EMPTY`: el ID de chat proporcionado está vacío.\n- 400 · `ENCRYPTION_ALREADY_ACCEPTED` — Chat secreto ya aceptado.\n- 400 · `ENCRYPTION_ALREADY_DECLINED` — El chat secreto ya fue rechazado.\n- 400 · `ENCRYPTION_ID_INVALID`: el ID de chat secreto proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe eliminar también todo el historial de chat del otro usuario"}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de chat secreto"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `delete_history` | `true` | No | Si se debe eliminar también todo el historial de chat del otro usuario |\n| `chat_id` | `int` | si | ID de chat secreto |"}, "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": ["Mensajes"], "summary": "Enviar evento de escritura por parte del usuario actual a un chat secreto.", "description": "Enviar evento de escritura por parte del usuario actual a un chat secreto.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de chat secreto"}, "typing": {"type": "boolean", "x-tl-type": "Bool", "description": "Escribiendo. **Valores posibles**: [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), si el usuario comenzó a escribir y han pasado más de **5 segundos** desde la última solicitud [(boolFalse)](https://core.telegram.org/constructor/boolFalse.md), si el usuario dejó de escribir"}}, "additionalProperties": false, "required": ["peer", "typing"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | si | ID de chat secreto |\n| `typing` | `Bool` | si | Escribiendo. **Valores posibles**: [(boolTrue)](https://core.telegram.org/constructor/boolTrue.md), si el usuario comenzó a escribir y han pasado más de **5 segundos** desde la última solicitud [(boolFalse)](https://core.telegram.org/constructor/boolFalse.md), si el usuario dejó de escribir |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID"], "x-browser-schema-id": "2031374829"}}, "/catalog/messages.readEncryptedHistory": {"post": {"operationId": "messages.readEncryptedHistory", "tags": ["Mensajes"], "summary": "Marca el historial de mensajes dentro de un chat secreto como leído.", "description": "Marca el historial de mensajes dentro de un chat secreto como leído.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `MAX_DATE_INVALID` — La fecha máxima especificada no es válida.\n- 400 · `MSG_WAIT_FAILED`: una llamada en espera devolvió un error."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de chat secreto"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor de fecha máxima para mensajes recibidos en el historial"}}, "additionalProperties": false, "required": ["peer", "max_date"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | si | ID de chat secreto |\n| `max_date` | `int` | si | Valor de fecha máxima para mensajes recibidos en el historial |"}, "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": ["Mensajes"], "summary": "Envía un mensaje de texto a un chat secreto.", "description": "Envía un mensaje de texto a un chat secreto.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](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": "Resultado de MTProto · `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": "Tipo TL: messages.SentEncryptedMessage."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `DATA_INVALID`: datos cifrados no válidos.\n- 400 · `DATA_TOO_LONG` — Datos demasiado largos.\n- 400 · `ENCRYPTION_DECLINED` — El chat secreto fue rechazado.\n- 500 · `MSG_WAIT_FAILED`: una llamada en espera devolvió un error.\n- 403 · `USER_IS_BLOCKED` — Este usuario te bloqueó."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Enviar mensaje cifrado sin notificación"}, "peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "ID de chat secreto"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de mensaje de cliente único, necesario para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Serialización TL de tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), cifrada con una clave que se creó durante la inicialización del chat"}}, "additionalProperties": false, "required": ["peer", "random_id", "data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `silent` | `true` | No | Enviar mensaje cifrado sin notificación |\n| `peer` | `InputEncryptedChat` | si | ID de chat secreto |\n| `random_id` | `long` | si | ID de mensaje de cliente único, necesario para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `data` | `bytes` | si | Serialización TL de tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), cifrada con una clave que se creó durante la inicialización del chat |"}, "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": ["Mensajes"], "summary": "Envía un mensaje con un archivo adjunto a un chat secreto", "description": "Envía un mensaje con un archivo adjunto a un chat secreto\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](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": "Resultado de MTProto · `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": "Tipo TL: messages.SentEncryptedMessage."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `DATA_TOO_LONG` — Datos demasiado largos.\n- 400 · `ENCRYPTION_DECLINED` — El chat secreto fue rechazado.\n- 400 · `FILE_EMTPY` — Se proporcionó un archivo vacío.\n- 400 · `MD5_CHECKSUM_INVALID` — Las sumas de verificación MD5 no coinciden.\n- 400 · `MSG_WAIT_FAILED`: una llamada en espera devolvió un error."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe enviar el archivo sin activar una notificación"}, "peer": {"type": "object", "x-tl-type": "InputEncryptedChat", "oneOf": [{"$ref": "#/components/schemas/inputEncryptedChat"}], "description": "ID de chat secreto"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de mensaje de cliente único necesario para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Serialización TL de tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), cifrada con una clave generada durante la inicialización del chat"}, "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": "Archivo adjunto para el chat secreto."}}, "additionalProperties": false, "required": ["peer", "random_id", "data", "file"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `silent` | `true` | No | Si se debe enviar el archivo sin activar una notificación |\n| `peer` | `InputEncryptedChat` | si | ID de chat secreto |\n| `random_id` | `long` | si | ID de mensaje de cliente único necesario para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `data` | `bytes` | si | Serialización TL de tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), cifrada con una clave generada durante la inicialización del chat |\n| `file` | `InputEncryptedFile` | si | Archivo adjunto para el chat secreto. |"}, "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": ["Mensajes"], "summary": "Envía un mensaje de servicio a un chat secreto.", "description": "Envía un mensaje de servicio a un chat secreto.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](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": "Resultado de MTProto · `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": "Tipo TL: messages.SentEncryptedMessage."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `DATA_INVALID`: datos cifrados no válidos.\n- 400 · `DATA_TOO_LONG` — Datos demasiado largos.\n- 400 · `ENCRYPTION_DECLINED` — El chat secreto fue rechazado.\n- 400 · `ENCRYPTION_ID_INVALID`: el ID de chat secreto proporcionado no es válido.\n- 500 · `MSG_WAIT_FAILED`: una llamada en espera devolvió un error.\n- 403 · `USER_DELETED` — No puedes enviar este mensaje secreto porque el otro participante eliminó su cuenta.\n- 403 · `USER_IS_BLOCKED` — Este usuario te bloqueó."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de chat secreto"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Se requiere un ID de mensaje de cliente único para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Serialización TL de tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), cifrada con una clave generada durante la inicialización del chat"}}, "additionalProperties": false, "required": ["peer", "random_id", "data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | si | ID de chat secreto |\n| `random_id` | `long` | si | Se requiere un ID de mensaje de cliente único para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `data` | `bytes` | si | Serialización TL de tipo [DecryptedMessage](https://core.telegram.org/type/DecryptedMessage.md), cifrada con una clave generada durante la inicialización del chat |"}, "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": ["Mensajes"], "summary": "Confirma la recepción de mensajes en un chat secreto por parte del cliente, cancela las notificaciones automáticas.", "description": "Confirma la recepción de mensajes en un chat secreto por parte del cliente, cancela las notificaciones automáticas.\nEl método devuelve una lista de **id_aleatorios** de mensajes para los cuales se cancelaron las notificaciones automáticas.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Vector<long>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[largo](https://core.telegram.org/type/long.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MAX_QTS_INVALID`: el max_qts especificado no es válido.\n- 500 · `MSG_WAIT_FAILED`: una llamada en espera devolvió un error."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Valor máximo de qts disponible en el cliente"}}, "additionalProperties": false, "required": ["max_qts"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `max_qts` | `int` | si | Valor máximo de qts disponible en el cliente |"}, "x-telegram-rpc-errors": ["MAX_QTS_INVALID", "MSG_WAIT_FAILED"], "x-browser-schema-id": "1436924774"}}, "/catalog/messages.reportEncryptedSpam": {"post": {"operationId": "messages.reportEncryptedSpam", "tags": ["Mensajes"], "summary": "Reportar un chat secreto como spam", "description": "Reportar un chat secreto como spam\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat secreto para denunciar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | si | El chat secreto para denunciar |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID"], "x-browser-schema-id": "1259113487"}}, "/catalog/messages.readMessageContents": {"post": {"operationId": "messages.readMessageContents", "tags": ["Mensajes"], "summary": "Notifica al remitente que el destinatario escuchó un mensaje de voz o vio un video, emitiendo un updateReadMessagesContents.", "description": "Notifica al remitente que el destinatario escuchó un mensaje de voz o vio un video, emitiendo un [updateReadMessagesContents](https://core.telegram.org/constructor/updateReadMessagesContents.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedMessages."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Lista de ID de mensajes"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<int>` | si | Lista de ID de mensajes |"}, "x-browser-schema-id": "916930423"}}, "/catalog/messages.getStickers": {"post": {"operationId": "messages.getStickers", "tags": ["Mensajes"], "summary": "Obtener pegatinas por emoji", "description": "Obtener pegatinas por emoji\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: messages.Stickers."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMOTICON_EMPTY` — El emoji está vacío."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "los emojis"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["emoticon", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `emoticon` | `string` | si | los emojis |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](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": ["Mensajes"], "summary": "Obtener todas las pegatinas instaladas", "description": "Obtener todas las pegatinas instaladas\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.AllStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3097534888"}}, "/catalog/messages.getWebPagePreview": {"post": {"operationId": "messages.getWebPagePreview", "tags": ["Mensajes"], "summary": "Obtener vista previa de la página web", "description": "Obtener vista previa de la página web\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Texto con estilo con entidades de mensaje.](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": "Resultado de MTProto · `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": "Tipo TL: messages.WebPagePreview."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ENTITY_BOUNDS_INVALID`: un [desplazamiento o longitud de entidad](https://core.telegram.org/api/entities.md#entity-length) especificado no es válido; consulte [aquí »](https://core.telegram.org/api/entities.md#entity-length) para obtener información sobre cómo calcular correctamente el desplazamiento/longitud de la entidad.\n- 400 · `MESSAGE_EMPTY` — El mensaje proporcionado está vacío."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mensaje del que extraer la vista previa"}, "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](https://core.telegram.org/api/entities.md)"}}, "additionalProperties": false, "required": ["message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `message` | `string` | si | Mensaje del que extraer la vista previa |\n| `entities` | `Vector<MessageEntity>` | No | [Entidades de mensaje para texto con estilo](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": ["Mensajes"], "summary": "Exportar un enlace de invitación para un chat", "description": "Exportar un enlace de invitación para un chat\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Suscripciones estrella](https://core.telegram.org/api/subscriptions.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `ExportedChatInvite`.\n\n[Invitación de chat exportada](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": "Tipo de TL: ExportedChatInvite."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `EXPIRE_DATE_INVALID` — La fecha de vencimiento especificada no es válida.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PRICING_CHAT_INVALID`: el precio de la [suscripción](https://core.telegram.org/api/subscriptions.md) no es válido, el precio máximo se especifica en la [`stars_subscription_amount_max` clave de configuración »](https://core.telegram.org/api/config.md#stars-subscription-amount-max).\n- 400 · `SUBSCRIPTION_PERIOD_INVALID` — El subscription_pricing.period especificado no es válido.\n- 400 · `USAGE_LIMIT_INVALID`: el límite de uso especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Indicador heredado, que reproduce el comportamiento heredado de este método: si está configurado, revoca todos los enlaces anteriores antes de crear uno nuevo. Conservado para bot API BC, no debe ser utilizado por clientes modernos."}, "request_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Si se requiere confirmación del administrador antes de admitir a cada usuario por separado en el 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": "Charla"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Fecha de vencimiento"}, "usage_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Número máximo de usuarios que pueden unirse usando este enlace"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Descripción del enlace de invitación, visible solo para administradores"}, "subscription_pricing": {"type": "object", "x-tl-type": "StarsSubscriptionPricing", "oneOf": [{"$ref": "#/components/schemas/starsSubscriptionPricing"}], "description": "Para [suscripciones a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contiene el precio de la suscripción que el usuario debe activar para unirse al canal privado.", "x-tl-flag": "flags.5?StarsSubscriptionPricing"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `legacy_revoke_permanent` | `true` | No | Indicador heredado, que reproduce el comportamiento heredado de este método: si está configurado, revoca todos los enlaces anteriores antes de crear uno nuevo. Conservado para bot API BC, no debe ser utilizado por clientes modernos. |\n| `request_needed` | `true` | No | Si se requiere confirmación del administrador antes de admitir a cada usuario por separado en el chat |\n| `peer` | `InputPeer` | si | Charla |\n| `expire_date` | `int` | No | Fecha de vencimiento |\n| `usage_limit` | `int` | No | Número máximo de usuarios que pueden unirse usando este enlace |\n| `title` | `string` | No | Descripción del enlace de invitación, visible solo para administradores |\n| `subscription_pricing` | `StarsSubscriptionPricing` | No | Para [suscripciones a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contiene el precio de la suscripción que el usuario debe activar para unirse al canal privado. |"}, "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": ["Mensajes"], "summary": "Verifique la validez de un enlace de invitación a un chat y obtenga información básica al respecto", "description": "Verifique la validez de un enlace de invitación a un chat y obtenga información básica al respecto\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `ChatInvite`.\n\n[ChatInvitar](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": "Tipo de TL: ChatInvite."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `INVITE_HASH_EMPTY` — El hash de invitación está vacío.\n- 406 · `INVITE_HASH_EXPIRED` — El enlace de invitación ha caducado.\n- 400 · `INVITE_HASH_INVALID`: el hash de invitación no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Invitar hash desde [enlace profundo de invitación al chat »](https://core.telegram.org/api/links.md#chat-invite-links)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `string` | si | Invitar hash desde [enlace profundo de invitación al chat »](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": ["Mensajes"], "summary": "Importe una invitación de chat y únase a un chat/supergrupo/canal privado", "description": "Importe una invitación de chat y únase a un chat/supergrupo/canal privado\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Suscripciones estrella](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[Actualizaciones](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": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Te has unido a demasiados canales/supergrupos.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_INVALID` — Chat no válido.\n- 400 · `INVITE_HASH_EMPTY` — El hash de invitación está vacío.\n- 406 · `INVITE_HASH_EXPIRED` — El enlace de invitación ha caducado.\n- 400 · `INVITE_HASH_INVALID`: el hash de invitación no es válido.\n- 400 · `INVITE_REQUEST_SENT`: has solicitado con éxito unirte a este chat o canal.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STARS_PAYMENT_REQUIRED` — Para importar este enlace de invitación a chat, primero debes [pagar la suscripción asociada a Telegram Star »](https://core.telegram.org/api/subscriptions.md#channel-subscriptions).\n- 400 · `USERS_TOO_MUCH` — Se ha superado el número máximo de usuarios (para crear un chat, por ejemplo).\n- 400 · `USER_ALREADY_PARTICIPANT` — El usuario ya está en el grupo.\n- 400 · `USER_CHANNELS_TOO_MUCH`: uno de los usuarios que intentó agregar ya está en demasiados canales/supergrupos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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` desde un [enlace profundo de invitación al chat](https://core.telegram.org/api/links.md#chat-invite-links)"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `string` | si | `hash` desde un [enlace profundo de invitación al chat](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": ["Mensajes"], "summary": "Obtener información sobre un juego de pegatinas", "description": "Obtener información sobre un juego de pegatinas\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.StickerSet."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMOTICON_STICKERPACK_MISSING` — inputStickerSetDice.emoji no puede estar vacío.\n- 406 · `STICKERSET_INVALID` — El conjunto de pegatinas proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "conjunto de pegatinas"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)"}}, "additionalProperties": false, "required": ["stickerset", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | si | conjunto de pegatinas |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": ["Mensajes"], "summary": "Instalar un juego de pegatinas", "description": "Instalar un juego de pegatinas\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: messages.StickerSetInstallResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `STICKERSET_INVALID` — El conjunto de pegatinas proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Conjunto de pegatinas para instalar"}, "archived": {"type": "boolean", "x-tl-type": "Bool", "description": "Ya sea para archivar el conjunto de pegatinas"}}, "additionalProperties": false, "required": ["stickerset", "archived"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | si | Conjunto de pegatinas para instalar |\n| `archived` | `Bool` | si | Ya sea para archivar el conjunto de pegatinas |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "3348096096"}}, "/catalog/messages.uninstallStickerSet": {"post": {"operationId": "messages.uninstallStickerSet", "tags": ["Mensajes"], "summary": "Desinstalar un conjunto de pegatinas", "description": "Desinstalar un conjunto de pegatinas\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `STICKERSET_INVALID` — El conjunto de pegatinas proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El conjunto de pegatinas para desinstalar"}}, "additionalProperties": false, "required": ["stickerset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | si | El conjunto de pegatinas para desinstalar |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "4184757726"}}, "/catalog/messages.startBot": {"post": {"operationId": "messages.startBot", "tags": ["Mensajes"], "summary": "Iniciar una conversación con un bot usando un parámetro de enlace profundo", "description": "Inicie una conversación con un bot usando un [parámetro de enlace profundo](https://core.telegram.org/api/links.md#bot-links)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Enlaces profundos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 500 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada.\n- 400 · `START_PARAM_EMPTY` — El parámetro de inicio está vacío.\n- 400 · `START_PARAM_INVALID` — El parámetro de inicio no es válido.\n- 400 · `START_PARAM_TOO_LONG` — El parámetro de inicio es demasiado largo."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el robot"}, "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": "El chat donde iniciar el bot, puede ser el chat privado del bot o un grupo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatorio para evitar reenviar el mismo mensaje. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "start_param": {"type": "string", "x-tl-type": "string", "description": "[Parámetro de enlace profundo](https://core.telegram.org/api/links.md#bot-links)"}}, "additionalProperties": false, "required": ["bot", "peer", "random_id", "start_param"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | el robot |\n| `peer` | `InputPeer` | si | El chat donde iniciar el bot, puede ser el chat privado del bot o un grupo |\n| `random_id` | `long` | si | ID aleatorio para evitar reenviar el mismo mensaje. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `start_param` | `string` | si | [Parámetro de enlace profundo](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": ["Mensajes"], "summary": "Obtener y aumentar el contador de vistas de un mensaje enviado o reenviado desde un canal", "description": "Obtener y aumentar el contador de vistas de un mensaje enviado o reenviado desde un [canal](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Escribe TL: messages.MessageViews."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se encontró el mensaje"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID del mensaje"}, "increment": {"type": "boolean", "x-tl-type": "Bool", "description": "Si marcar el mensaje como visto e incrementar el contador de vistas"}}, "additionalProperties": false, "required": ["peer", "id", "increment"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se encontró el mensaje |\n| `id` | `Vector<int>` | si | ID del mensaje |\n| `increment` | `Bool` | si | Si marcar el mensaje como visto e incrementar el contador de vistas |"}, "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": ["Mensajes"], "summary": "Convierta un usuario administrador en un grupo básico.", "description": "Convierta un usuario administrador en un [grupo básico](https://core.telegram.org/api/channel.md#basic-groups).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 400 · `USER_NOT_PARTICIPANT` — No eres miembro de este supergrupo/canal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El ID del grupo.", "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": "El usuario para hacer administrador."}, "is_admin": {"type": "boolean", "x-tl-type": "Bool", "description": "Si hacerlos administradores"}}, "additionalProperties": false, "required": ["chat_id", "user_id", "is_admin"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | si | El ID del grupo. |\n| `user_id` | `InputUser` | si | El usuario para hacer administrador. |\n| `is_admin` | `Bool` | si | Si hacerlos administradores |"}, "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": ["Mensajes"], "summary": "Convertir un grupo básico en un supergrupo", "description": "Convertir un [grupo básico en un supergrupo](https://core.telegram.org/api/channel.md#migration)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Te has unido a demasiados canales/supergrupos.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 500 · `CHAT_INVALID` — Chat no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Grupo básico](https://core.telegram.org/api/channel.md#basic-groups) para migrar", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | si | [Grupo básico](https://core.telegram.org/api/channel.md#basic-groups) para migrar |"}, "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": ["Mensajes"], "summary": "Busque mensajes y pares a nivel mundial", "description": "Busque mensajes y pares a nivel mundial\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Búsqueda y filtros](https://core.telegram.org/api/search.md)\n- [Carpetas de diálogo](https://core.telegram.org/api/folders.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FOLDER_ID_INVALID` — ID de carpeta no válida.\n- 400 · `INPUT_FILTER_INVALID`: el filtro especificado no es válido.\n- 400 · `SEARCH_QUERY_EMPTY` — La consulta de búsqueda está vacía."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, solo devuelve resultados de los canales (usados en la [pestaña de búsqueda global de canales »](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": "Si buscar solo en grupos"}, "users_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Si buscar solo en chats privados"}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "[ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](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": "Tipo TL: Canal de entrada.", "x-tl-flag": "flags.4?InputChannel"}, "q": {"type": "string", "x-tl-type": "string", "description": "Consulta"}, "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": "Filtro de búsqueda global"}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se especificó un valor positivo, el método devolverá solo mensajes con fecha mayor que min_date"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se transfirió un valor positivo, el método devolverá solo mensajes con fecha menor que max_date"}, "offset_rate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Inicialmente 0, luego configúrelo en el parámetro [`next_rate` de messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), o si está ausente, el `date` del último mensaje devuelto."}, "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": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["q", "filter", "min_date", "max_date", "offset_rate", "offset_peer", "offset_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `broadcasts_only` | `true` | No | Si está configurado, solo devuelve resultados de los canales (usados en la [pestaña de búsqueda global de canales »](https://core.telegram.org/api/search.md#global-search)). |\n| `groups_only` | `true` | No | Si buscar solo en grupos |\n| `users_only` | `true` | No | Si buscar solo en chats privados |\n| `folder_id` | `int` | No | [ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](https://core.telegram.org/api/folders.md#peer-folders) |\n| `community` | `InputChannel` | No | Tipo TL: Canal de entrada. |\n| `q` | `string` | si | Consulta |\n| `filter` | `MessagesFilter` | si | Filtro de búsqueda global |\n| `min_date` | `int` | si | Si se especificó un valor positivo, el método devolverá solo mensajes con fecha mayor que min_date |\n| `max_date` | `int` | si | Si se transfirió un valor positivo, el método devolverá solo mensajes con fecha menor que max_date |\n| `offset_rate` | `int` | si | Inicialmente 0, luego configúrelo en el parámetro [`next_rate` de messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), o si está ausente, el `date` del último mensaje devuelto. |\n| `offset_peer` | `InputPeer` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](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": ["Mensajes"], "summary": "Reordenar los juegos de stickers instalados", "description": "Reordenar los juegos de stickers instalados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Reordenar conjuntos de pegatinas de máscaras"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Reordenar [conjuntos de pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md)"}, "order": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Nuevo orden de pegatinas por ID de pegatinas"}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `masks` | `true` | No | Reordenar conjuntos de pegatinas de máscaras |\n| `emojis` | `true` | No | Reordenar [conjuntos de pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md) |\n| `order` | `Vector<long>` | si | Nuevo orden de pegatinas por ID de pegatinas |"}, "x-browser-schema-id": "2016638777"}}, "/catalog/messages.getDocumentByHash": {"post": {"operationId": "messages.getDocumentByHash", "tags": ["Mensajes"], "summary": "Obtener un documento por su hash SHA256, utilizado principalmente para gifs", "description": "Obtener un documento por su hash SHA256, utilizado principalmente para gifs\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Document`.\n\n[Documento](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": "Tipo TL: Documento."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SHA256_HASH_INVALID`: el hash SHA256 proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 de archivo"}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamaño del archivo en bytes", "x-tl-type": "long"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "tipo mimo"}}, "additionalProperties": false, "required": ["sha256", "size", "mime_type"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `sha256` | `bytes` | si | SHA256 de archivo |\n| `size` | `long` | si | Tamaño del archivo en bytes |\n| `mime_type` | `string` | si | tipo mimo |"}, "x-telegram-rpc-errors": ["SHA256_HASH_INVALID"], "x-browser-schema-id": "2985428511"}}, "/catalog/messages.getSavedGifs": {"post": {"operationId": "messages.getSavedGifs", "tags": ["Mensajes"], "summary": "Obtenga GIF guardados.", "description": "Obtenga GIF guardados.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.SavedGifs."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1559270965"}}, "/catalog/messages.saveGif": {"post": {"operationId": "messages.saveGif", "tags": ["Mensajes"], "summary": "Agrega GIF a la lista de gifs guardados", "description": "Agrega GIF a la lista de gifs guardados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GIF_ID_INVALID`: el ID GIF proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 para guardar"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Si se debe eliminar GIF de la lista de gifs guardados"}}, "additionalProperties": false, "required": ["id", "unsave"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | si | GIF para guardar |\n| `unsave` | `Bool` | si | Si se debe eliminar GIF de la lista de gifs guardados |"}, "x-telegram-rpc-errors": ["GIF_ID_INVALID"], "x-browser-schema-id": "846868683"}}, "/catalog/messages.getInlineBotResults": {"post": {"operationId": "messages.getInlineBotResults", "tags": ["Mensajes"], "summary": "Consultar un bot en línea", "description": "Consultar un bot en línea\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.BotResults."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INLINE_DISABLED` — Este bot no se puede utilizar en modo en línea.\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `BOT_RESPONSE_TIMEOUT`: se agotó el tiempo de espera al obtener datos del bot.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot para consultar"}, "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": "El chat abierto actualmente"}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "La geolocalización, si se solicita", "x-tl-flag": "flags.0?InputGeoPoint"}, "query": {"type": "string", "x-tl-type": "string", "description": "la consulta"}, "offset": {"type": "string", "x-tl-type": "string", "description": "El desplazamiento dentro de los resultados se pasará directamente tal cual al bot."}}, "additionalProperties": false, "required": ["bot", "peer", "query", "offset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot para consultar |\n| `peer` | `InputPeer` | si | El chat abierto actualmente |\n| `geo_point` | `InputGeoPoint` | No | La geolocalización, si se solicita |\n| `query` | `string` | si | la consulta |\n| `offset` | `string` | si | El desplazamiento dentro de los resultados se pasará directamente tal cual al 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": ["Mensajes"], "summary": "Responder una consulta en línea, solo para bots", "description": "Responder una consulta en línea, solo para bots\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en 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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ARTICLE_TITLE_EMPTY` — El título del artículo está vacío.\n- 400 · `AUDIO_CONTENT_URL_EMPTY` — El control remoto URL especificado en el campo de contenido está vacío.\n- 400 · `AUDIO_TITLE_EMPTY`: se proporcionó un título de audio vacío.\n- 400 · `BUTTON_DATA_INVALID` — Los datos de uno o más de los botones que proporcionaste no son válidos.\n- 400 · `BUTTON_TYPE_INVALID` — El tipo de uno o más de los botones que proporcionó no es válido.\n- 400 · `BUTTON_URL_INVALID` — Botón URL no válido.\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 400 · `FILE_CONTENT_TYPE_INVALID`: el tipo de contenido del archivo no es válido.\n- 400 · `FILE_TITLE_EMPTY`: se especificó un título de archivo vacío.\n- 400 · `GIF_CONTENT_TYPE_INVALID` — GIF tipo de contenido no válido.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — El título es demasiado largo.\n- 400 · `MESSAGE_EMPTY` — El mensaje proporcionado está vacío.\n- 400 · `MESSAGE_TOO_LONG`: el mensaje proporcionado es demasiado largo.\n- 400 · `NEXT_OFFSET_INVALID`: el desplazamiento especificado tiene más de 64 bytes.\n- 400 · `PEER_TYPES_INVALID`: el campo [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline.md).`peer_types` pasado no es válido.\n- 400 · `PHOTO_CONTENT_TYPE_INVALID` — El tipo de foto mímica no es válido.\n- 400 · `PHOTO_CONTENT_URL_EMPTY` — Foto URL no válida.\n- 400 · `PHOTO_INVALID` — Foto no válida.\n- 400 · `PHOTO_THUMB_URL_EMPTY` — La miniatura de la foto URL está vacía.\n- 400 · `QUERY_ID_INVALID`: el ID de la consulta no es válido.\n- 400 · `REPLY_MARKUP_INVALID`: el marcado de respuesta proporcionado no es válido.\n- 400 · `RESULTS_TOO_MUCH`: se proporcionaron demasiados resultados.\n- 400 · `RESULT_ID_DUPLICATE`: proporcionó una identificación de resultado duplicada.\n- 400 · `RESULT_ID_INVALID`: uno de los ID de resultados especificados no es válido.\n- 400 · `RESULT_TYPE_INVALID` — Tipo de resultado no válido.\n- 400 · `SEND_MESSAGE_MEDIA_INVALID` — Medios proporcionados no válidos.\n- 400 · `SEND_MESSAGE_TYPE_INVALID`: el tipo de mensaje no es válido.\n- 400 · `START_PARAM_EMPTY` — El parámetro de inicio está vacío.\n- 400 · `START_PARAM_INVALID` — El parámetro de inicio no es válido.\n- 400 · `STICKER_DOCUMENT_INVALID`: el documento adhesivo especificado no es válido.\n- 400 · `SWITCH_PM_TEXT_EMPTY` — El campo switch_pm.text estaba vacío.\n- 400 · `SWITCH_WEBVIEW_URL_INVALID` — ¡El URL especificado en switch_webview.url no es válido!\n- 400 · `URL_INVALID` — No válido URL proporcionado.\n- 403 · `USER_BOT_INVALID`: las cuentas de usuario deben proporcionar el parámetro del método `bot` al llamar a este método. Si no existe tal parámetro de método, este método solo puede ser invocado por cuentas de bot.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot.\n- 400 · `VIDEO_CONTENT_TYPE_INVALID`: el tipo de contenido del vídeo no es válido.\n- 400 · `VIDEO_TITLE_EMPTY`: el título del vídeo especificado está vacío.\n- 400 · `WEBDOCUMENT_INVALID` — Se proporcionó un documento web URL no válido.\n- 400 · `WEBDOCUMENT_MIME_INVALID`: se proporcionó un tipo mime de documento web no válido.\n- 400 · `WEBDOCUMENT_SIZE_TOO_BIG` — ¡Webdocument es demasiado grande!\n- 400 · `WEBDOCUMENT_URL_EMPTY` — El documento web pasado URL está vacío.\n- 400 · `WEBDOCUMENT_URL_INVALID`: el documento web especificado URL no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Establezca esta bandera si los resultados están compuestos de archivos multimedia."}, "private": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Establezca esta marca si los resultados se pueden almacenar en caché en el lado del servidor solo para el usuario que envió la consulta. De forma predeterminada, los resultados pueden devolverse a cualquier usuario que envíe la misma consulta."}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador único para la consulta respondida.", "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": "Tipo de TL: InputBotInlineResult."}, "x-tl-type": "Vector<InputBotInlineResult>", "description": "Vector de resultados para la consulta en línea"}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La cantidad máxima de tiempo en segundos que el resultado de la consulta en línea puede almacenarse en caché en el servidor. El valor predeterminado es 300."}, "next_offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Pase el offset que un cliente debería enviar en la siguiente consulta con el mismo texto para recibir más resultados. Pase una cadena vacía si no hay más resultados o si no admite la paginación. La longitud del desplazamiento no puede exceder los 64 bytes."}, "switch_pm": {"type": "object", "x-tl-type": "InlineBotSwitchPM", "oneOf": [{"$ref": "#/components/schemas/inlineBotSwitchPM"}], "description": "Si se aprueba, los clientes mostrarán un botón en la parte superior de la lista de resultados en línea restante con el texto especificado, que cambia al usuario a un chat privado con el bot y le envía un mensaje de inicio con un determinado parámetro.", "x-tl-flag": "flags.3?InlineBotSwitchPM"}, "switch_webview": {"type": "object", "x-tl-type": "InlineBotWebView", "oneOf": [{"$ref": "#/components/schemas/inlineBotWebView"}], "description": "Si se aprueba, los clientes mostrarán un botón en la parte superior de la lista de resultados en línea restante con el texto especificado, que cambia al usuario a la [miniaplicación de modo en línea](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps) especificada.", "x-tl-flag": "flags.4?InlineBotWebView"}}, "additionalProperties": false, "required": ["query_id", "results", "cache_time"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `gallery` | `true` | No | Establezca esta bandera si los resultados están compuestos de archivos multimedia. |\n| `private` | `true` | No | Establezca esta marca si los resultados se pueden almacenar en caché en el lado del servidor solo para el usuario que envió la consulta. De forma predeterminada, los resultados pueden devolverse a cualquier usuario que envíe la misma consulta. |\n| `query_id` | `long` | si | Identificador único para la consulta respondida. |\n| `results` | `Vector<InputBotInlineResult>` | si | Vector de resultados para la consulta en línea |\n| `cache_time` | `int` | si | La cantidad máxima de tiempo en segundos que el resultado de la consulta en línea puede almacenarse en caché en el servidor. El valor predeterminado es 300. |\n| `next_offset` | `string` | No | Pase el offset que un cliente debería enviar en la siguiente consulta con el mismo texto para recibir más resultados. Pase una cadena vacía si no hay más resultados o si no admite la paginación. La longitud del desplazamiento no puede exceder los 64 bytes. |\n| `switch_pm` | `InlineBotSwitchPM` | No | Si se aprueba, los clientes mostrarán un botón en la parte superior de la lista de resultados en línea restante con el texto especificado, que cambia al usuario a un chat privado con el bot y le envía un mensaje de inicio con un determinado parámetro. |\n| `switch_webview` | `InlineBotWebView` | No | Si se aprueba, los clientes mostrarán un botón en la parte superior de la lista de resultados en línea restante con el texto especificado, que cambia al usuario a la [miniaplicación de modo en línea](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps) especificada. |"}, "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": ["Mensajes"], "summary": "Envía un resultado obtenido usando messages.getInlineBotResults.", "description": "Enviar un resultado obtenido usando [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Borradores de mensajes](https://core.telegram.org/api/drafts.md)\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Negocio de telegramas](https://core.telegram.org/api/business.md)\n- [Mensajes pagados](https://core.telegram.org/api/paid-messages.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Grupos de discusión](https://core.telegram.org/api/discussion.md)\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d`: este par cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensaje, pero el `allow_paid_stars` no se configuró o su valor es menor que %d.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_GUEST_SEND_FORBIDDEN` — Te unes al grupo de discusión antes de comentar, consulta [aquí »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group) para obtener más información.\n- 400 · `CHAT_RESTRICTED` — No puedes enviar mensajes en este chat, estabas restringido.\n- 403 · `CHAT_SEND_AUDIOS_FORBIDDEN` — No puedes enviar mensajes de audio en este chat.\n- 403 · `CHAT_SEND_GAME_FORBIDDEN` — No puedes enviar un juego a este chat.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — No puedes enviar gifs en este chat.\n- 403 · `CHAT_SEND_INLINE_FORBIDDEN` — No puedes enviar mensajes en línea en este grupo.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — No puedes enviar medios en este chat.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — No puedes enviar fotos en este chat.\n- 403 · `CHAT_SEND_PLAIN_FORBIDDEN` — No puedes enviar mensajes que no sean multimedia (de texto) en este chat.\n- 403 · `CHAT_SEND_STICKERS_FORBIDDEN` — No puedes enviar stickers en este chat.\n- 403 · `CHAT_SEND_VOICES_FORBIDDEN` — No puedes enviar grabaciones de voz en este chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `ENTITY_BOUNDS_INVALID`: un [desplazamiento o longitud de entidad](https://core.telegram.org/api/entities.md#entity-length) especificado no es válido; consulte [aquí »](https://core.telegram.org/api/entities.md#entity-length) para obtener información sobre cómo calcular correctamente el desplazamiento/longitud de la entidad.\n- 400 · `INLINE_RESULT_EXPIRED` — La consulta en línea expiró.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MEDIA_EMPTY`: el objeto multimedia proporcionado no es válido.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — Necesitas una [suscripción a Telegram Premium](https://core.telegram.org/api/premium.md) para enviar un mensaje a este usuario.\n- 400 · `QUERY_ID_EMPTY`: el ID de consulta está vacío.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Se puede crear un máximo de [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) accesos directos, se alcanzó el límite.\n- 500 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada.\n- 400 · `REPLY_MESSAGES_TOO_MUCH`: cada acceso directo puede contener un máximo de [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensajes; se alcanzó el límite.\n- 400 · `RESULT_ID_EMPTY` — ID de resultado vacío.\n- 400 · `RESULT_ID_INVALID`: uno de los ID de resultados especificados no es válido.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — No puedes programar un mensaje tan lejos en el futuro.\n- 400 · `SCHEDULE_TOO_MUCH` — Hay demasiados mensajes programados.\n- 400 · `SEND_AS_PEER_INVALID`: no puede enviar mensajes como el par especificado.\n- 500 · `SEND_MEDIA_INVALID`: el medio especificado no es válido.\n- 420 · `SLOWMODE_WAIT_%d` — El modo lento está habilitado en este chat: espera %d segundos antes de enviar otro mensaje a este chat.\n- 400 · `TOPIC_DELETED` — Se eliminó el tema especificado.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `VOICE_MESSAGES_FORBIDDEN` — La configuración de privacidad de este usuario le prohíbe enviar mensajes de voz.\n- 400 · `WEBPAGE_CURL_FAILED`: error al buscar la página web con cURL.\n- 400 · `WEBPAGE_MEDIA_EMPTY` — Medios de página web vacíos.\n- 400 · `YOU_BLOCKED_USER` — Bloqueaste a este usuario."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe enviar el mensaje en silencio (no se activará ninguna notificación en el otro cliente)"}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Si enviar el mensaje en segundo plano"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Si se debe borrar el [borrador](https://core.telegram.org/api/drafts.md)"}, "hide_via": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.11?true", "description": "Si se debe ocultar el `via @botname` en el mensaje resultante (solo para los nombres de usuario de bot encontrados en [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": "Destino"}, "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": "Si está configurado, indica que el mensaje debe enviarse en respuesta al mensaje o historia especificada.", "x-tl-flag": "flags.0?InputReplyTo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatorio para evitar reenviar la misma consulta. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de consulta de [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md)", "x-tl-type": "long"}, "id": {"type": "string", "x-tl-type": "string", "description": "ID de resultado de [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": "Fecha de mensaje programado para mensajes programados"}, "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": "Enviar este mensaje como el par especificado", "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": "En su lugar, agregue el mensaje al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}}, "additionalProperties": false, "required": ["peer", "random_id", "query_id", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `silent` | `true` | No | Si se debe enviar el mensaje en silencio (no se activará ninguna notificación en el otro cliente) |\n| `background` | `true` | No | Si enviar el mensaje en segundo plano |\n| `clear_draft` | `true` | No | Si se debe borrar el [borrador](https://core.telegram.org/api/drafts.md) |\n| `hide_via` | `true` | No | Si se debe ocultar el `via @botname` en el mensaje resultante (solo para los nombres de usuario de bot encontrados en [config](https://core.telegram.org/constructor/config.md)) |\n| `peer` | `InputPeer` | si | Destino |\n| `reply_to` | `InputReplyTo` | No | Si está configurado, indica que el mensaje debe enviarse en respuesta al mensaje o historia especificada. |\n| `random_id` | `long` | si | ID aleatorio para evitar reenviar la misma consulta. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `query_id` | `long` | si | ID de consulta de [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md) |\n| `id` | `string` | si | ID de resultado de [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md) |\n| `schedule_date` | `int` | No | Fecha de mensaje programado para mensajes programados |\n| `send_as` | `InputPeer` | No | Enviar este mensaje como el par especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | No | En su lugar, agregue el mensaje al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `allow_paid_stars` | `long` | No | Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje. |"}, "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": ["Mensajes"], "summary": "Descubra si el título de un mensaje multimedia se puede editar", "description": "Descubra si el título de un mensaje multimedia se puede editar\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: messages.MessageEditData."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 403 · `MESSAGE_AUTHOR_REQUIRED` — Se requiere autor del mensaje.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se enviaron los medios"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se enviaron los medios |\n| `id` | `int` | si | ID del mensaje |"}, "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": ["Mensajes"], "summary": "Editar mensaje", "description": "Edita un mensaje por ID en el chat seleccionado.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Mensajes programados](https://core.telegram.org/api/scheduled-messages.md)\n- [Negocio de telegramas](https://core.telegram.org/api/business.md)\n- [Listas de verificación y listas de tareas pendientes](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_DOMAIN_INVALID` — Dominio del bot no válido.\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `BUSINESS_PEER_INVALID`: los mensajes no se pueden configurar para el par especificado a través de la [conexión comercial](https://core.telegram.org/api/business.md#connected-bots) actual.\n- 400 · `BUTTON_COPY_TEXT_INVALID`: el [keyboardButtonCopy](https://core.telegram.org/constructor/keyboardButtonCopy.md).`copy_text` especificado no es válido.\n- 400 · `BUTTON_DATA_INVALID` — Los datos de uno o más de los botones que proporcionaste no son válidos.\n- 400 · `BUTTON_TYPE_INVALID` — El tipo de uno o más de los botones que proporcionó no es válido.\n- 400 · `BUTTON_URL_INVALID` — Botón URL no válido.\n- 400 · `BUTTON_USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario especificada en un botón [inputKeyboardButtonUserProfile](https://core.telegram.org/constructor/inputKeyboardButtonUserProfile.md) no permite crear dicho botón.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_FORWARDS_RESTRICTED` — No puedes reenviar mensajes desde un chat protegido.\n- 403 · `CHAT_SEND_GIFS_FORBIDDEN` — No puedes enviar gifs en este chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 406 · `EDIT_MESSAGE_TEMP_RESTRICTED` — La edición de mensajes está temporalmente prohibida para este usuario debido a restricciones regulatorias.\n- 400 · `ENTITIES_TOO_LONG`: proporcionaste demasiadas entidades de mensaje con estilo.\n- 400 · `ENTITY_BOUNDS_INVALID`: un [desplazamiento o longitud de entidad](https://core.telegram.org/api/entities.md#entity-length) especificado no es válido; consulte [aquí »](https://core.telegram.org/api/entities.md#entity-length) para obtener información sobre cómo calcular correctamente el desplazamiento/longitud de la entidad.\n- 400 · `FILE_PARTS_INVALID`: el número de partes del archivo no es válido.\n- 400 · `IMAGE_PROCESS_FAILED` — Fallo al procesar la imagen.\n- 403 · `INLINE_BOT_REQUIRED`: solo el bot en línea puede editar el mensaje.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — El título es demasiado largo.\n- 400 · `MEDIA_EMPTY`: el objeto multimedia proporcionado no es válido.\n- 400 · `MEDIA_GROUPED_INVALID`: intentaste enviar medios de diferentes tipos en un álbum.\n- 400 · `MEDIA_INVALID` — Medios no válidos.\n- 400 · `MEDIA_NEW_INVALID` — El nuevo medio no es válido.\n- 400 · `MEDIA_PREV_INVALID` — Medios anteriores no válidos.\n- 400 · `MEDIA_TTL_INVALID`: el medio especificado TTL no es válido.\n- 403 · `MESSAGE_AUTHOR_REQUIRED` — Se requiere autor del mensaje.\n- 400 · `MESSAGE_EDIT_TIME_EXPIRED` — Ya no puedes editar este mensaje, ha pasado demasiado tiempo desde su creación.\n- 400 · `MESSAGE_EMPTY` — El mensaje proporcionado está vacío.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MESSAGE_NOT_MODIFIED` — Los datos del mensaje proporcionados son idénticos a los datos del mensaje anterior, el mensaje no fue modificado.\n- 400 · `MESSAGE_TOO_LONG`: el mensaje proporcionado es demasiado largo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 500 · `MSG_WAIT_FAILED`: una llamada en espera devolvió un error.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PEER_TYPES_INVALID`: el campo [keyboardButtonSwitchInline](https://core.telegram.org/constructor/keyboardButtonSwitchInline.md).`peer_types` pasado no es válido.\n- 400 · `PHOTO_EXT_INVALID` — La extensión de la foto no es válida.\n- 400 · `PHOTO_INVALID_DIMENSIONS` — Las dimensiones de la foto no son válidas.\n- 400 · `PHOTO_SAVE_FILE_INVALID` — Problemas internos, inténtalo de nuevo más tarde.\n- 400 · `REPLY_MARKUP_INVALID`: el marcado de respuesta proporcionado no es válido.\n- 400 · `REPLY_MARKUP_TOO_LONG` — El reply_markup especificado es demasiado largo.\n- 400 · `SCHEDULE_DATE_INVALID` — Se proporcionó una fecha de programación no válida.\n- 400 · `TODO_ITEMS_EMPTY`: se especificó una lista de verificación, pero no se aprobaron [elementos de la lista de verificación](https://core.telegram.org/api/todo.md)].\n- 400 · `TODO_ITEM_DUPLICATE` — Duplicados [elementos de la lista de verificación](https://core.telegram.org/api/todo.md) detectados.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `WEBPAGE_NOT_FOUND`: no se pudo generar una vista previa de la página web especificada `url`."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Deshabilitar las vistas previas de enlaces."}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior."}, "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 donde se encuentra el mensaje."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje que se está editando."}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.11?string", "description": "Nuevo texto de mensaje."}, "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": "Nuevos medios adjuntos", "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": "Marcado de respuesta para teclados en línea", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Elementos de formato para texto nuevo."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.15?int", "description": "Fecha de mensaje programada para [mensajes programados](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": "Una vez enviado, este mensaje se reprogramará automáticamente para volver a enviarse dentro de tantos segundos en el futuro. Consulte [aquí »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para obtener más información sobre cómo repetir mensajes programados."}, "quick_reply_shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.17?int", "description": "Si se especifica, edita un [mensaje de acceso directo de respuesta rápida, en su lugar »](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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | No | Deshabilitar las vistas previas de enlaces. |\n| `invert_media` | `true` | No | Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior. |\n| `peer` | `InputPeer` | si | Chat donde se encuentra el mensaje. |\n| `id` | `int` | si | ID del mensaje que se está editando. |\n| `message` | `string` | No | Nuevo texto de mensaje. |\n| `media` | `InputMedia` | No | Nuevos medios adjuntos |\n| `reply_markup` | `ReplyMarkup` | No | Marcado de respuesta para teclados en línea |\n| `entities` | `Vector<MessageEntity>` | No | Elementos de formato para texto nuevo. |\n| `schedule_date` | `int` | No | Fecha de mensaje programada para [mensajes programados](https://core.telegram.org/api/scheduled-messages.md) |\n| `schedule_repeat_period` | `int` | No | Una vez enviado, este mensaje se reprogramará automáticamente para volver a enviarse dentro de tantos segundos en el futuro. Consulte [aquí »](https://core.telegram.org/api/scheduled-messages.md#repeating-scheduled-messages) para obtener más información sobre cómo repetir mensajes programados. |\n| `quick_reply_shortcut_id` | `int` | No | Si se especifica, edita un [mensaje de acceso directo de respuesta rápida, en su lugar »](https://core.telegram.org/api/business.md#quick-reply-shortcuts). |\n| `rich_message` | `InputRichMessage` | No | Тип 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": ["Mensajes"], "summary": "Editar un mensaje de bot en línea", "description": "Editar un mensaje de bot en línea\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Texto con estilo con entidades de mensaje.](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUTTON_DATA_INVALID` — Los datos de uno o más de los botones que proporcionaste no son válidos.\n- 400 · `ENTITY_BOUNDS_INVALID`: un [desplazamiento o longitud de entidad](https://core.telegram.org/api/entities.md#entity-length) especificado no es válido; consulte [aquí »](https://core.telegram.org/api/entities.md#entity-length) para obtener información sobre cómo calcular correctamente el desplazamiento/longitud de la entidad.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MESSAGE_NOT_MODIFIED` — Los datos del mensaje proporcionados son idénticos a los datos del mensaje anterior, el mensaje no fue modificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Deshabilitar la vista previa de la página web"}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.16?true", "description": "Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior."}, "id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineMessageID"}, {"$ref": "#/components/schemas/inputBotInlineMessageID64"}], "description": "ID de mensaje en línea enviado"}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.11?string", "description": "Mensaje"}, "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": "Medios", "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": "Marcado de respuesta para teclados en línea", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | No | Deshabilitar la vista previa de la página web |\n| `invert_media` | `true` | No | Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior. |\n| `id` | `InputBotInlineMessageID` | si | ID de mensaje en línea enviado |\n| `message` | `string` | No | Mensaje |\n| `media` | `InputMedia` | No | Medios |\n| `reply_markup` | `ReplyMarkup` | No | Marcado de respuesta para teclados en línea |\n| `entities` | `Vector<MessageEntity>` | No | [Entidades de mensaje para texto con estilo](https://core.telegram.org/api/entities.md) |\n| `rich_message` | `InputRichMessage` | No | Тип 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": ["Mensajes"], "summary": "Presione un botón de devolución de llamada en línea y obtenga una respuesta de devolución de llamada del bot", "description": "Presione un botón de devolución de llamada en línea y obtenga una respuesta de devolución de llamada del bot\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](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": "Resultado de MTProto · `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": "Tipo TL: messages.BotCallbackAnswer."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_RESPONSE_TIMEOUT`: se agotó el tiempo de espera al obtener datos del bot.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `DATA_INVALID`: datos cifrados no válidos.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PASSWORD_MISSING` — Debes [habilitar 2FA](https://core.telegram.org/api/srp.md) antes de ejecutar esta operación.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se trata de un botón de \"jugar\""}, "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": "¿Dónde se envió el teclado en línea?"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del Mensaje con el teclado en línea"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "datos de devolución de llamada"}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "Para los botones [que requieren que verifique su identidad con su contraseña 2FA](https://core.telegram.org/constructor/keyboardButtonCallback.md), la carga útil SRP generada usando [SRP](https://core.telegram.org/api/srp.md).", "x-tl-flag": "flags.2?InputCheckPasswordSRP"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `game` | `true` | No | Si se trata de un botón de \"jugar\" |\n| `peer` | `InputPeer` | si | ¿Dónde se envió el teclado en línea? |\n| `msg_id` | `int` | si | ID del Mensaje con el teclado en línea |\n| `data` | `bytes` | No | datos de devolución de llamada |\n| `password` | `InputCheckPasswordSRP` | No | Para los botones [que requieren que verifique su identidad con su contraseña 2FA](https://core.telegram.org/constructor/keyboardButtonCallback.md), la carga útil SRP generada usando [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": ["Mensajes"], "summary": "Establecer la respuesta de devolución de llamada al presionar un botón de usuario (solo bots)", "description": "Establecer la respuesta de devolución de llamada al presionar un botón de usuario (solo bots)\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_TOO_LONG`: el mensaje proporcionado es demasiado largo.\n- 400 · `QUERY_ID_INVALID`: el ID de la consulta no es válido.\n- 400 · `URL_INVALID` — No válido URL proporcionado.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si mostrar el mensaje como una ventana emergente en lugar de una notificación del sistema"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de consulta", "x-tl-type": "long"}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Ventana emergente para mostrar"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "URL para abrir"}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Validez de la caché"}}, "additionalProperties": false, "required": ["query_id", "cache_time"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `alert` | `true` | No | Si mostrar el mensaje como una ventana emergente en lugar de una notificación del sistema |\n| `query_id` | `long` | si | ID de consulta |\n| `message` | `string` | No | Ventana emergente para mostrar |\n| `url` | `string` | No | URL para abrir |\n| `cache_time` | `int` | si | Validez de la caché |"}, "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": ["Mensajes"], "summary": "Obtener información de diálogo de pares específicos", "description": "Obtener información de diálogo de pares específicos\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autorización de usuario](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": "Resultado de MTProto · `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": "Tipo TL: messages.PeerDialogs."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `FROZEN_PARTICIPANT_MISSING`: la cuenta actual está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) y no puede acceder al par especificado.\n- 400 · `INPUT_PEERS_EMPTY`: la matriz de pares especificada está vacía.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: InputDialogPeer."}, "x-tl-type": "Vector<InputDialogPeer>", "description": "Compañeros"}}, "additionalProperties": false, "required": ["peers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peers` | `Vector<InputDialogPeer>` | si | Compañeros |"}, "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": ["Mensajes"], "summary": "Guardar un borrador de mensaje asociado a un chat.", "description": "Guardar un mensaje [borrador](https://core.telegram.org/api/drafts.md) asociado a un chat.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Efectos de mensajes animados](https://core.telegram.org/api/effects.md)\n- [Publicaciones sugeridas](https://core.telegram.org/api/suggested-posts.md)\n- [Borradores de mensajes](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `ENTITY_BOUNDS_INVALID`: un [desplazamiento o longitud de entidad](https://core.telegram.org/api/entities.md#entity-length) especificado no es válido; consulte [aquí »](https://core.telegram.org/api/entities.md#entity-length) para obtener información sobre cómo calcular correctamente el desplazamiento/longitud de la entidad.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Deshabilitar la generación de la vista previa de la página web."}, "invert_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior."}, "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": "Si está configurado, indica que el mensaje debe enviarse en respuesta al mensaje o historia especificada.", "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": "Destino del mensaje que se debe enviar"}, "message": {"type": "string", "x-tl-type": "string", "description": "el borrador"}, "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.3?Vector<MessageEntity>", "description": "Mensaje [entidades](https://core.telegram.org/api/entities.md) para texto con estilo"}, "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": "Medios adjuntos", "x-tl-flag": "flags.5?InputMedia"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje.", "x-tl-type": "long", "x-tl-flag": "flags.7?long"}, "suggested_post": {"type": "object", "x-tl-type": "SuggestedPost", "oneOf": [{"$ref": "#/components/schemas/suggestedPost"}], "description": "Se utiliza para [sugerir una publicación en un canal, consulte aquí »](https://core.telegram.org/api/suggested-posts.md) para obtener más información sobre el flujo completo.", "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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `no_webpage` | `true` | No | Deshabilitar la generación de la vista previa de la página web. |\n| `invert_media` | `true` | No | Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior. |\n| `reply_to` | `InputReplyTo` | No | Si está configurado, indica que el mensaje debe enviarse en respuesta al mensaje o historia especificada. |\n| `peer` | `InputPeer` | si | Destino del mensaje que se debe enviar |\n| `message` | `string` | si | el borrador |\n| `entities` | `Vector<MessageEntity>` | No | Mensaje [entidades](https://core.telegram.org/api/entities.md) para texto con estilo |\n| `media` | `InputMedia` | No | Medios adjuntos |\n| `effect` | `long` | No | Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje. |\n| `suggested_post` | `SuggestedPost` | No | Se utiliza para [sugerir una publicación en un canal, consulte aquí »](https://core.telegram.org/api/suggested-posts.md) para obtener más información sobre el flujo completo. |\n| `rich_message` | `InputRichMessage` | No | Тип 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": ["Mensajes"], "summary": "Devolver todos los borradores de mensajes.", "description": "Devolver todos los mensajes [borradores](https://core.telegram.org/api/drafts.md).\nDevuelve las últimas actualizaciones de [updateDraftMessage](https://core.telegram.org/constructor/updateDraftMessage.md) relacionadas con todos los chats con borradores.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Borradores de mensajes](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.getAllDrafts"}, "x-browser-schema-id": "1782549861"}}, "/catalog/messages.getFeaturedStickers": {"post": {"operationId": "messages.getFeaturedStickers", "tags": ["Mensajes"], "summary": "Obtener pegatinas destacadas", "description": "Obtener pegatinas destacadas\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.FeaturedStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1685588756"}}, "/catalog/messages.readFeaturedStickers": {"post": {"operationId": "messages.readFeaturedStickers", "tags": ["Mensajes"], "summary": "Marcar nuevos stickers destacados como leídos", "description": "Marcar nuevos stickers destacados como leídos", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "ID de conjuntos de stickers para marcar como leídos"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<long>` | si | ID de conjuntos de stickers para marcar como leídos |"}, "x-browser-schema-id": "1527873830"}}, "/catalog/messages.getRecentStickers": {"post": {"operationId": "messages.getRecentStickers", "tags": ["Mensajes"], "summary": "Obtener pegatinas recientes", "description": "Obtener pegatinas recientes\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.RecentStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Obtenga pegatinas adjuntas recientemente a archivos de fotos o vídeos"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `attached` | `true` | No | Obtenga pegatinas adjuntas recientemente a archivos de fotos o vídeos |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2645114939"}}, "/catalog/messages.saveRecentSticker": {"post": {"operationId": "messages.saveRecentSticker", "tags": ["Mensajes"], "summary": "Agregar o quitar calcomanías de la lista de calcomanías recientes", "description": "Agregar o quitar calcomanías de la lista de calcomanías recientes\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKER_ID_INVALID`: la identificación de la etiqueta proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para agregar o quitar pegatinas adjuntas recientemente a archivos de fotos o videos"}, "id": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Pegatina"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Ya sea para guardar o desguardar la etiqueta"}}, "additionalProperties": false, "required": ["id", "unsave"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `attached` | `true` | No | Ya sea para agregar o quitar pegatinas adjuntas recientemente a archivos de fotos o videos |\n| `id` | `InputDocument` | si | Pegatina |\n| `unsave` | `Bool` | si | Ya sea para guardar o desguardar la etiqueta |"}, "x-telegram-rpc-errors": ["STICKER_ID_INVALID"], "x-browser-schema-id": "958863608"}}, "/catalog/messages.clearRecentStickers": {"post": {"operationId": "messages.clearRecentStickers", "tags": ["Mensajes"], "summary": "Borrar pegatinas recientes", "description": "Borrar pegatinas recientes", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Establezca esta bandera para borrar la lista de pegatinas adjuntas recientemente a archivos de fotos o vídeos."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `attached` | `true` | No | Establezca esta bandera para borrar la lista de pegatinas adjuntas recientemente a archivos de fotos o vídeos. |"}, "x-browser-schema-id": "2308530221"}}, "/catalog/messages.getArchivedStickers": {"post": {"operationId": "messages.getArchivedStickers", "tags": ["Mensajes"], "summary": "Obtener todos los stickers archivados", "description": "Obtener todos los stickers archivados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Pegatinas y máscaras](https://core.telegram.org/api/stickers.md)\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.ArchivedStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Obtén [pegatinas de máscaras](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": "Obtén [pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md)"}, "offset_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `masks` | `true` | No | Obtén [pegatinas de máscaras](https://core.telegram.org/api/stickers.md#mask-stickers) |\n| `emojis` | `true` | No | Obtén [pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md) |\n| `offset_id` | `long` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "1475442322"}}, "/catalog/messages.getMaskStickers": {"post": {"operationId": "messages.getMaskStickers", "tags": ["Mensajes"], "summary": "Obtener pegatinas de máscara instaladas", "description": "Obtener pegatinas de máscara instaladas\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.AllStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1678738104"}}, "/catalog/messages.getAttachedStickers": {"post": {"operationId": "messages.getAttachedStickers", "tags": ["Mensajes"], "summary": "Adjunte pegatinas a una foto o vídeo", "description": "Adjunte pegatinas a una foto o vídeo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Vector<StickerSetCovered>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[StickerSetCovered](https://core.telegram.org/type/StickerSetCovered.md)>", "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": "Tipo TL: Juego de pegatinasCubierto."}, "x-tl-type": "Vector<StickerSetCovered>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MEDIA_EMPTY`: el objeto multimedia proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Medios adhesivos"}}, "additionalProperties": false, "required": ["media"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `media` | `InputStickeredMedia` | si | Medios adhesivos |"}, "x-telegram-rpc-errors": ["MEDIA_EMPTY"], "x-browser-schema-id": "3428542412"}}, "/catalog/messages.setGameScore": {"post": {"operationId": "messages.setGameScore", "tags": ["Mensajes"], "summary": "Utilice este método para establecer la puntuación del usuario especificado en un juego enviado como un mensaje normal (solo bots).", "description": "Utilice este método para establecer la puntuación del usuario especificado en un juego enviado como un mensaje normal (solo bots).\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_SCORE_NOT_MODIFIED` — La puntuación no fue modificada.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `SCORE_INVALID`: la puntuación del juego especificada no es válida.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Configure esta bandera si el mensaje del juego debe editarse automáticamente para incluir el marcador actual"}, "force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Establezca esta bandera si se permite que la puntuación más alta disminuya. Esto puede resultar útil a la hora de corregir errores o prohibir a los tramposos."}, "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": "Identificador único del chat objetivo"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador del mensaje enviado"}, "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": "Identificador de usuario"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nueva puntuación"}}, "additionalProperties": false, "required": ["peer", "id", "user_id", "score"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `edit_message` | `true` | No | Configure esta bandera si el mensaje del juego debe editarse automáticamente para incluir el marcador actual |\n| `force` | `true` | No | Establezca esta bandera si se permite que la puntuación más alta disminuya. Esto puede resultar útil a la hora de corregir errores o prohibir a los tramposos. |\n| `peer` | `InputPeer` | si | Identificador único del chat objetivo |\n| `id` | `int` | si | Identificador del mensaje enviado |\n| `user_id` | `InputUser` | si | Identificador de usuario |\n| `score` | `int` | si | Nueva puntuación |"}, "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": ["Mensajes"], "summary": "Utilice este método para establecer la puntuación del usuario especificado en un juego enviado como un mensaje en línea (solo bots).", "description": "Utilice este método para establecer la puntuación del usuario especificado en un juego enviado como un mensaje en línea (solo bots).\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Configure esta bandera si el mensaje del juego debe editarse automáticamente para incluir el marcador actual"}, "force": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Establezca esta bandera si se permite que la puntuación más alta disminuya. Esto puede resultar útil a la hora de corregir errores o prohibir a los tramposos."}, "id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "oneOf": [{"$ref": "#/components/schemas/inputBotInlineMessageID"}, {"$ref": "#/components/schemas/inputBotInlineMessageID64"}], "description": "ID del mensaje en línea"}, "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": "Identificador de usuario"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nueva puntuación"}}, "additionalProperties": false, "required": ["id", "user_id", "score"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `edit_message` | `true` | No | Configure esta bandera si el mensaje del juego debe editarse automáticamente para incluir el marcador actual |\n| `force` | `true` | No | Establezca esta bandera si se permite que la puntuación más alta disminuya. Esto puede resultar útil a la hora de corregir errores o prohibir a los tramposos. |\n| `id` | `InputBotInlineMessageID` | si | ID del mensaje en línea |\n| `user_id` | `InputUser` | si | Identificador de usuario |\n| `score` | `int` | si | Nueva puntuación |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "363700068"}}, "/catalog/messages.getGameHighScores": {"post": {"operationId": "messages.getGameHighScores", "tags": ["Mensajes"], "summary": "Obtener puntuaciones más altas de un juego", "description": "Obtener puntuaciones más altas de un juego\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.HighScores."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "¿Dónde fue enviado el juego?"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje con el archivo adjunto multimedia del juego"}, "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": "Obtener puntuaciones altas obtenidas por un determinado usuario"}}, "additionalProperties": false, "required": ["peer", "id", "user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | ¿Dónde fue enviado el juego? |\n| `id` | `int` | si | ID del mensaje con el archivo adjunto multimedia del juego |\n| `user_id` | `InputUser` | si | Obtener puntuaciones altas obtenidas por un determinado usuario |"}, "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": ["Mensajes"], "summary": "Obtenga puntuaciones más altas de un juego enviado mediante un bot en línea", "description": "Obtenga puntuaciones más altas de un juego enviado mediante un bot en línea\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.HighScores."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 del mensaje en línea"}, "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": "Obtener puntuaciones altas de un determinado usuario"}}, "additionalProperties": false, "required": ["id", "user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputBotInlineMessageID` | si | ID del mensaje en línea |\n| `user_id` | `InputUser` | si | Obtener puntuaciones altas de un determinado usuario |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "258170395"}}, "/catalog/messages.getCommonChats": {"post": {"operationId": "messages.getCommonChats", "tags": ["Mensajes"], "summary": "Obtener chats en común con un usuario", "description": "Obtener chats en común con un usuario\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.Chats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de usuario"}, "max_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID máximo del chat para devolver (ver [paginación](https://core.telegram.org/api/offsets.md))", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["user_id", "max_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | ID de usuario |\n| `max_id` | `long` | si | ID máximo del chat para devolver (ver [paginación](https://core.telegram.org/api/offsets.md)) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Mensajes"], "summary": "Obtener página de vista instantánea", "description": "Obtenga [vista instantánea](https://instantview.telegram.org) página\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.WebPage."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `WC_CONVERT_URL_INVALID` — Conversión WC URL no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 de la página IV para buscar"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).  **Nota**: el algoritmo de generación de hash habitual no se puede utilizar en este caso; vuelva a utilizar el campo [webPage](https://core.telegram.org/constructor/webPage.md).`hash` devuelto por una llamada anterior al método, o pase 0 si esta es la primera llamada o si la llamada anterior no devolvió un [webPage](https://core.telegram.org/constructor/webPage.md)."}}, "additionalProperties": false, "required": ["url", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `url` | `string` | si | URL de la página IV para buscar |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).  **Nota**: el algoritmo de generación de hash habitual no se puede utilizar en este caso; vuelva a utilizar el campo [webPage](https://core.telegram.org/constructor/webPage.md).`hash` devuelto por una llamada anterior al método, o pase 0 si esta es la primera llamada o si la llamada anterior no devolvió un [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": ["Mensajes"], "summary": "Anclar/desanclar un cuadro de diálogo", "description": "Anclar/desanclar un cuadro de diálogo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `PEER_HISTORY_EMPTY` — No puedes fijar un chat vacío con un usuario.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PINNED_DIALOGS_TOO_MUCH`: demasiados cuadros de diálogo anclados."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si anclar o desanclar el diálogo"}, "peer": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "El diálogo para anclar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `pinned` | `true` | No | Si anclar o desanclar el diálogo |\n| `peer` | `InputDialogPeer` | si | El diálogo para anclar |"}, "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": ["Mensajes"], "summary": "Reordenar los diálogos anclados", "description": "Reordenar los diálogos anclados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, los cuadros de diálogo fijados en el lado del servidor pero que no están presentes en el campo `order` se desanclarán."}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](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": "Tipo de TL: InputDialogPeer."}, "x-tl-type": "Vector<InputDialogPeer>", "description": "Nuevo orden de diálogo"}}, "additionalProperties": false, "required": ["folder_id", "order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `force` | `true` | No | Si está configurado, los cuadros de diálogo fijados en el lado del servidor pero que no están presentes en el campo `order` se desanclarán. |\n| `folder_id` | `int` | si | [ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](https://core.telegram.org/api/folders.md#peer-folders) |\n| `order` | `Vector<InputDialogPeer>` | si | Nuevo orden de diálogo |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "991616823"}}, "/catalog/messages.getPinnedDialogs": {"post": {"operationId": "messages.getPinnedDialogs", "tags": ["Mensajes"], "summary": "Obtener cuadros de diálogo anclados", "description": "Obtener cuadros de diálogo anclados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](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": "Resultado de MTProto · `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": "Tipo TL: messages.PeerDialogs."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FOLDER_ID_INVALID` — ID de carpeta no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](https://core.telegram.org/api/folders.md#peer-folders)"}}, "additionalProperties": false, "required": ["folder_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `folder_id` | `int` | si | [ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](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": ["Mensajes"], "summary": "Si envió una factura solicitando una dirección de envío y se especificó el parámetro is\\_flexible, el bot recibirá una actualización de updateBotShippingQuery. Utilice este método para responder a consultas de envío.", "description": "Si envió una factura solicitando una dirección de envío y se especificó el parámetro is\\_flexible, el bot recibirá una actualización [updateBotShippingQuery](https://core.telegram.org/constructor/updateBotShippingQuery.md). Utilice este método para responder a consultas de envío.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `QUERY_ID_INVALID`: el ID de la consulta no es válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador único de la consulta a responder", "x-tl-type": "long"}, "error": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Mensaje de error en formato legible por humanos que explica por qué es imposible completar el pedido (e.g. \"Lo sentimos, la entrega a la dirección deseada no está disponible\"). Telegram mostrará este mensaje al usuario."}, "shipping_options": {"type": "array", "items": {"type": "object", "x-tl-type": "ShippingOption", "oneOf": [{"$ref": "#/components/schemas/shippingOption"}], "description": "Tipo TL: Opción de envío."}, "x-tl-type": "Vector<ShippingOption>", "x-tl-flag": "flags.1?Vector<ShippingOption>", "description": "Un vector de opciones de envío disponibles."}}, "additionalProperties": false, "required": ["query_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `query_id` | `long` | si | Identificador único de la consulta a responder |\n| `error` | `string` | No | Mensaje de error en formato legible por humanos que explica por qué es imposible completar el pedido (e.g. \"Lo sentimos, la entrega a la dirección deseada no está disponible\"). Telegram mostrará este mensaje al usuario. |\n| `shipping_options` | `Vector<ShippingOption>` | No | Un vector de opciones de envío disponibles. |"}, "x-telegram-rpc-errors": ["QUERY_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3858133754"}}, "/catalog/messages.setBotPrecheckoutResults": {"post": {"operationId": "messages.setBotPrecheckoutResults", "tags": ["Mensajes"], "summary": "Una vez que el usuario ha confirmado sus detalles de pago y envío, el bot recibe una actualización updateBotPrecheckoutQuery.", "description": "Una vez que el usuario ha confirmado sus detalles de pago y envío, el bot recibe una actualización [updateBotPrecheckoutQuery](https://core.telegram.org/constructor/updateBotPrecheckoutQuery.md).\nUtilice este método para responder a dichas consultas previas al pago.\n**Nota**: Telegram debe recibir una respuesta dentro de los 10 segundos posteriores al envío de la consulta previa al pago.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ERROR_TEXT_EMPTY`: el mensaje de error proporcionado está vacío.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Establezca esta bandera si todo está bien (los productos están disponibles, etc.) y el robot está listo para continuar con el pedido; de lo contrario, no la configure y, en su lugar, configure el campo `error`."}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador único de la consulta a responder", "x-tl-type": "long"}, "error": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Requerido si el `success` no está configurado. Mensaje de error en formato legible por humanos que explica el motivo por el que no se pudo realizar el pago (e.g. \"Lo siento, alguien acaba de comprar la última de nuestras increíbles camisetas negras mientras estabas ocupado completando tus datos de pago. ¡Elige un color o prenda diferente!\"). Telegram mostrará este mensaje al usuario."}}, "additionalProperties": false, "required": ["query_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `success` | `true` | No | Establezca esta bandera si todo está bien (los productos están disponibles, etc.) y el robot está listo para continuar con el pedido; de lo contrario, no la configure y, en su lugar, configure el campo `error`. |\n| `query_id` | `long` | si | Identificador único de la consulta a responder |\n| `error` | `string` | No | Requerido si el `success` no está configurado. Mensaje de error en formato legible por humanos que explica el motivo por el que no se pudo realizar el pago (e.g. \"Lo siento, alguien acaba de comprar la última de nuestras increíbles camisetas negras mientras estabas ocupado completando tus datos de pago. ¡Elige un color o prenda diferente!\"). Telegram mostrará este mensaje al usuario. |"}, "x-telegram-rpc-errors": ["ERROR_TEXT_EMPTY", "USER_BOT_REQUIRED"], "x-browser-schema-id": "163765653"}}, "/catalog/messages.uploadMedia": {"post": {"operationId": "messages.uploadMedia", "tags": ["Mensajes"], "summary": "Subir un archivo y asociarlo a un chat (sin enviarlo realmente al chat)", "description": "Subir un archivo y asociarlo a un chat (sin enviarlo realmente al chat)\n\nTambién se puede usar en una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md), *no* envolviendo la consulta en [invokeWithBusinessConnection »](https://core.telegram.org/method/invokeWithBusinessConnection.md), sino especificando el ID de la conexión comercial en el parámetro `business_connection_id`.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Carga y descarga de archivos](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": "Resultado de MTProto · `MessageMedia`.\n\n[Medios de mensaje](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": "Tipo de TL: MessageMedia."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_RESTRICTED` — No puedes enviar mensajes en este chat, estabas restringido.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `FILE_PARTS_INVALID`: el número de partes del archivo no es válido.\n- 400 · `FILE_PART_LENGTH_INVALID` — La longitud de una parte del archivo no es válida.\n- 400 · `IMAGE_PROCESS_FAILED` — Fallo al procesar la imagen.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MEDIA_INVALID` — Medios no válidos.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PHOTO_EXT_INVALID` — La extensión de la foto no es válida.\n- 400 · `PHOTO_INVALID_DIMENSIONS` — Las dimensiones de la foto no son válidas.\n- 400 · `PHOTO_SAVE_FILE_INVALID` — Problemas internos, inténtalo de nuevo más tarde.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `VOICE_MESSAGES_FORBIDDEN` — La configuración de privacidad de este usuario le prohíbe enviar mensajes de voz.\n- 400 · `WEBPAGE_CURL_FAILED`: error al buscar la página web con cURL."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si los medios se utilizarán únicamente en la [conexión comercial »](https://core.telegram.org/api/bots/connected-business-bots.md) especificada, y no directamente por el 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": "El chat puede ser [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) para bots y [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) para usuarios."}, "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": "Archivo cargado en fragmentos como se describe en [archivos »](https://core.telegram.org/api/files.md)"}}, "additionalProperties": false, "required": ["peer", "media"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `business_connection_id` | `string` | No | Si los medios se utilizarán únicamente en la [conexión comercial »](https://core.telegram.org/api/bots/connected-business-bots.md) especificada, y no directamente por el bot. |\n| `peer` | `InputPeer` | si | El chat puede ser [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) para bots y [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) para usuarios. |\n| `media` | `InputMedia` | si | Archivo cargado en fragmentos como se describe en [archivos »](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": ["Mensajes"], "summary": "Notificar al otro usuario en un chat privado que se tomó una captura de pantalla del chat", "description": "Notificar al otro usuario en un chat privado que se tomó una captura de pantalla del chat\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `REPLY_MESSAGE_ID_INVALID`: el ID del mensaje de respuesta especificado no es válido.\n- 400 · `STORY_ID_INVALID`: el ID de historia especificado no es válido.\n- 400 · `YOU_BLOCKED_USER` — Bloqueaste a este usuario."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Otro usuario"}, "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": "Indica el mensaje del que se tomó la captura de pantalla (el ID del mensaje especificado también puede ser `0` para evitar indicar ningún mensaje específico)."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatorio para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "reply_to", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Otro usuario |\n| `reply_to` | `InputReplyTo` | si | Indica el mensaje del que se tomó la captura de pantalla (el ID del mensaje especificado también puede ser `0` para evitar indicar ningún mensaje específico). |\n| `random_id` | `long` | si | ID aleatorio para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |"}, "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": ["Mensajes"], "summary": "Consigue pegatinas favoritas", "description": "Consigue pegatinas favoritas\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.FavedStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "82946729"}}, "/catalog/messages.faveSticker": {"post": {"operationId": "messages.faveSticker", "tags": ["Mensajes"], "summary": "Marcar o desmarcar una pegatina como favorita", "description": "Marcar o desmarcar una pegatina como favorita\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKER_ID_INVALID`: la identificación de la etiqueta proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Pegatina en cuestión"}, "unfave": {"type": "boolean", "x-tl-type": "Bool", "description": "Ya sea para agregar o eliminar una pegatina de favoritos"}}, "additionalProperties": false, "required": ["id", "unfave"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | si | Pegatina en cuestión |\n| `unfave` | `Bool` | si | Ya sea para agregar o eliminar una pegatina de favoritos |"}, "x-telegram-rpc-errors": ["STICKER_ID_INVALID"], "x-browser-schema-id": "3120547163"}}, "/catalog/messages.getUnreadMentions": {"post": {"operationId": "messages.getUnreadMentions", "tags": ["Mensajes"], "summary": "Recibir mensajes no leídos donde nos mencionaron", "description": "Recibir mensajes no leídos donde nos mencionaron\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](https://core.telegram.org/api/forum.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde buscar menciones"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Si se establece, considera solo los mensajes dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics) especificado"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID máximo de mensaje a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje mínimo para devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_id", "add_offset", "limit", "max_id", "min_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde buscar menciones |\n| `top_msg_id` | `int` | No | Si se establece, considera solo los mensajes dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics) especificado |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | si | ID máximo de mensaje a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `min_id` | `int` | si | ID de mensaje mínimo para devolver, [ver paginación](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": ["Mensajes"], "summary": "Mark menciona como leído; se puede utilizar en foros pero **no** se puede utilizar en monoforos.", "description": "Mark menciona como leído; se puede usar en [foros](https://core.telegram.org/api/forum.md) pero **no** se puede usar en [monoforums](https://core.telegram.org/api/monoforum.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](https://core.telegram.org/api/forum.md)\n- [Mensajes directos a canales.](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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedHistory."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Diálogo"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Marcar como menciones de solo lectura dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics)] especificado (excepto para monoforos)."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Diálogo |\n| `top_msg_id` | `int` | No | Marcar como menciones de solo lectura dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics)] especificado (excepto para monoforos). |"}, "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": ["Mensajes"], "summary": "Obtener todas las ubicaciones en vivo recientes enviadas a un chat específico: devuelve hasta 1 mensaje de ubicación (messageMediaGeoLive) por participante del chat.", "description": "Obtener todas las [ubicaciones en vivo](https://core.telegram.org/api/live-location.md) recientes enviadas a un chat específico: devuelve hasta 1 mensaje de ubicación ([messageMediaGeoLive](https://core.telegram.org/constructor/messageMediaGeoLive.md)) por participante del chat.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Geolocalización en vivo](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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Grupo objetivo o chat privado."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Grupo objetivo o chat privado. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-browser-schema-id": "1881817312"}}, "/catalog/messages.sendMultiMedia": {"post": {"operationId": "messages.sendMultiMedia", "tags": ["Mensajes"], "summary": "Enviar un álbum o medios agrupados", "description": "Enviar un [álbum o medio agrupado](https://core.telegram.org/api/files.md#albums-grouped-media)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Borradores de mensajes](https://core.telegram.org/api/drafts.md)\n- [Pegatinas y máscaras](https://core.telegram.org/api/stickers.md)\n- [Negocio de telegramas](https://core.telegram.org/api/business.md)\n- [Efectos de mensajes animados](https://core.telegram.org/api/effects.md)\n- [Mensajes pagados](https://core.telegram.org/api/paid-messages.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Carga y descarga de archivos](https://core.telegram.org/api/files.md)\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Referencias de archivos](https://core.telegram.org/api/file-references.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `ALLOW_PAYMENT_REQUIRED_%d`: este par cobra %d [Telegram Stars](https://core.telegram.org/api/stars.md) por mensaje, pero el `allow_paid_stars` no se configuró o su valor es menor que %d.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `BUSINESS_PEER_INVALID`: los mensajes no se pueden configurar para el par especificado a través de la [conexión comercial](https://core.telegram.org/api/business.md#connected-bots) actual.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_FORWARDS_RESTRICTED` — No puedes reenviar mensajes desde un chat protegido.\n- 403 · `CHAT_SEND_MEDIA_FORBIDDEN` — No puedes enviar medios en este chat.\n- 403 · `CHAT_SEND_PHOTOS_FORBIDDEN` — No puedes enviar fotos en este chat.\n- 403 · `CHAT_SEND_VIDEOS_FORBIDDEN` — No puedes enviar videos en este chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `EFFECT_ID_INVALID`: el ID del efecto especificado no es válido.\n- 400 · `ENTITY_BOUNDS_INVALID`: un [desplazamiento o longitud de entidad](https://core.telegram.org/api/entities.md#entity-length) especificado no es válido; consulte [aquí »](https://core.telegram.org/api/entities.md#entity-length) para obtener información sobre cómo calcular correctamente el desplazamiento/longitud de la entidad.\n- 400 · `FILE_REFERENCE_%d_EMPTY`: la referencia del archivo multimedia en el desplazamiento %d en la matriz multi_media no es válida.\n- 400 · `FILE_REFERENCE_%d_EXPIRED` — La referencia del archivo multimedia en el índice %d en la matriz multimedia pasada expiró, [debe actualizarse como se especifica en la documentación](https://core.telegram.org/api/file-references.md). .\n- 400 · `FILE_REFERENCE_%d_INVALID` — La [referencia de archivo](https://core.telegram.org/api/file-references.md) del archivo multimedia en el índice %d en la matriz multimedia pasada no es válida.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — El título es demasiado largo.\n- 400 · `MEDIA_EMPTY`: el objeto multimedia proporcionado no es válido.\n- 400 · `MEDIA_INVALID` — Medios no válidos.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `MULTI_MEDIA_TOO_LONG`: demasiados archivos multimedia para el álbum.\n- 406 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — Necesitas una [suscripción a Telegram Premium](https://core.telegram.org/api/premium.md) para enviar un mensaje a este usuario.\n- 400 · `QUICK_REPLIES_BOT_NOT_ALLOWED` — [Las respuestas rápidas](https://core.telegram.org/api/business.md#quick-reply-shortcuts) no pueden ser utilizadas por bots.\n- 400 · `QUICK_REPLIES_TOO_MUCH` — Se puede crear un máximo de [appConfig.`quick_replies_limit`](https://core.telegram.org/api/config.md#quick-replies-limit) accesos directos, se alcanzó el límite.\n- 500 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada.\n- 400 · `RANDOM_ID_EMPTY` — ID aleatorio vacío.\n- 400 · `REPLY_MESSAGES_TOO_MUCH`: cada acceso directo puede contener un máximo de [appConfig.`quick_reply_messages_limit`](https://core.telegram.org/api/config.md#quick-reply-messages-limit) mensajes; se alcanzó el límite.\n- 400 · `REPLY_TO_INVALID`: el campo `reply_to` especificado no es válido.\n- 400 · `SCHEDULE_DATE_TOO_LATE` — No puedes programar un mensaje tan lejos en el futuro.\n- 400 · `SCHEDULE_TOO_MUCH` — Hay demasiados mensajes programados.\n- 400 · `SEND_AS_PEER_INVALID`: no puede enviar mensajes como el par especificado.\n- 420 · `SLOWMODE_WAIT_%d` — El modo lento está habilitado en este chat: espera %d segundos antes de enviar otro mensaje a este chat.\n- 400 · `TOPIC_CLOSED` — Este tema se cerró, ya no puedes enviarle mensajes.\n- 400 · `TOPIC_DELETED` — Se eliminó el tema especificado.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `USER_IS_BLOCKED` — Este usuario te bloqueó."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe enviar el álbum en silencio (no se activa ninguna notificación)"}, "background": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "¿Enviar en segundo plano?"}, "clear_draft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Ya sea para borrar [borradores](https://core.telegram.org/api/drafts.md)"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.14?true", "description": "Solo para bots, no permite reenviar ni guardar mensajes, incluso si el chat de destino no tiene [protección de contenido](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada"}, "update_stickersets_order": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.15?true", "description": "Si se deben mover los conjuntos de pegatinas usados a la parte superior, [consulte aquí para obtener más información sobre esta bandera »](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": "Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior."}, "allow_paid_floodskip": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.19?true", "description": "Solo bots: si está configurado, permite enviar hasta 1000 mensajes por segundo, ignorando [límites de transmisión](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por una tarifa de 0,1 Telegram Stars por mensaje. Las Estrellas correspondientes se retirarán del saldo del 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": "El chat de destino"}, "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": "Si está configurado, indica que el mensaje debe enviarse en respuesta al mensaje o historia especificada.", "x-tl-flag": "flags.0?InputReplyTo"}, "multi_media": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSingleMedia", "oneOf": [{"$ref": "#/components/schemas/inputSingleMedia"}], "description": "Tipo de TL: InputSingleMedia."}, "x-tl-type": "Vector<InputSingleMedia>", "description": "Los medios a enviar: tenga en cuenta que deben cargarse por separado usando [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md) primero; no se admite el uso de constructores `inputMediaUploaded*` sin formato."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.10?int", "description": "Fecha de mensaje programado para mensajes programados"}, "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": "Enviar este mensaje como el par especificado", "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": "En su lugar, agregue el mensaje al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado.", "x-tl-flag": "flags.17?InputQuickReplyShortcut"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje.", "x-tl-type": "long", "x-tl-flag": "flags.18?long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje.", "x-tl-type": "long", "x-tl-flag": "flags.21?long"}}, "additionalProperties": false, "required": ["peer", "multi_media"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `silent` | `true` | No | Si se debe enviar el álbum en silencio (no se activa ninguna notificación) |\n| `background` | `true` | No | ¿Enviar en segundo plano? |\n| `clear_draft` | `true` | No | Ya sea para borrar [borradores](https://core.telegram.org/api/drafts.md) |\n| `noforwards` | `true` | No | Solo para bots, no permite reenviar ni guardar mensajes, incluso si el chat de destino no tiene [protección de contenido](https://telegram.org/blog/content-protection-delete-by-date-and-more) habilitada |\n| `update_stickersets_order` | `true` | No | Si se deben mover los conjuntos de pegatinas usados a la parte superior, [consulte aquí para obtener más información sobre esta bandera »](https://core.telegram.org/api/stickers.md#recent-stickersets) |\n| `invert_media` | `true` | No | Si se configura, cualquier vista previa de la página web se mostrará en la parte superior del mensaje en lugar de en la parte inferior. |\n| `allow_paid_floodskip` | `true` | No | Solo bots: si está configurado, permite enviar hasta 1000 mensajes por segundo, ignorando [límites de transmisión](https://core.telegram.org/bots/faq.md#how-can-i-message-all-of-my-bot-39s-subscribers-at-once) por una tarifa de 0,1 Telegram Stars por mensaje. Las Estrellas correspondientes se retirarán del saldo del bot. |\n| `peer` | `InputPeer` | si | El chat de destino |\n| `reply_to` | `InputReplyTo` | No | Si está configurado, indica que el mensaje debe enviarse en respuesta al mensaje o historia especificada. |\n| `multi_media` | `Vector<InputSingleMedia>` | si | Los medios a enviar: tenga en cuenta que deben cargarse por separado usando [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md) primero; no se admite el uso de constructores `inputMediaUploaded*` sin formato. |\n| `schedule_date` | `int` | No | Fecha de mensaje programado para mensajes programados |\n| `send_as` | `InputPeer` | No | Enviar este mensaje como el par especificado |\n| `quick_reply_shortcut` | `InputQuickReplyShortcut` | No | En su lugar, agregue el mensaje al [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) especificado. |\n| `effect` | `long` | No | Especifica un [efecto de mensaje »](https://core.telegram.org/api/effects.md) para usar en el mensaje. |\n| `allow_paid_stars` | `long` | No | Para [mensajes pagados»](https://core.telegram.org/api/paid-messages.md), especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario ha aceptado pagar para poder enviar el mensaje. |"}, "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": ["Mensajes"], "summary": "Sube un archivo cifrado y asócialo a un chat secreto (sin enviarlo realmente al chat).", "description": "Sube un archivo cifrado y asócialo a un chat secreto (sin enviarlo realmente al chat).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `EncryptedFile`.\n\n[Archivo cifrado](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": "Tipo de TL: Archivo cifrado."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat secreto al que asociar el archivo"}, "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": "el archivo"}}, "additionalProperties": false, "required": ["peer", "file"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputEncryptedChat` | si | El chat secreto al que asociar el archivo |\n| `file` | `InputEncryptedFile` | si | el archivo |"}, "x-telegram-rpc-errors": ["CHAT_ID_INVALID"], "x-browser-schema-id": "1347929239"}}, "/catalog/messages.searchStickerSets": {"post": {"operationId": "messages.searchStickerSets", "tags": ["Mensajes"], "summary": "Buscar conjuntos de pegatinas", "description": "Buscar conjuntos de pegatinas\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.FoundStickerSets."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Excluir conjuntos de stickers destacados de los resultados"}, "q": {"type": "string", "x-tl-type": "string", "description": "cadena de consulta"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["q", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `exclude_featured` | `true` | No | Excluir conjuntos de stickers destacados de los resultados |\n| `q` | `string` | si | cadena de consulta |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "896555914"}}, "/catalog/messages.getSplitRanges": {"post": {"operationId": "messages.getSplitRanges", "tags": ["Mensajes"], "summary": "Obtener rangos de mensajes para guardar el historial de chat del usuario", "description": "Obtener rangos de mensajes para guardar el historial de chat del usuario", "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": "Resultado de MTProto · `Vector<MessageRange>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Rango de mensajes](https://core.telegram.org/type/MessageRange.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageRange", "oneOf": [{"$ref": "#/components/schemas/messageRange"}], "description": "Tipo de TL: Rango de mensajes."}, "x-tl-type": "Vector<MessageRange>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.getSplitRanges"}, "x-browser-schema-id": "486505992"}}, "/catalog/messages.markDialogUnread": {"post": {"operationId": "messages.markDialogUnread", "tags": ["Mensajes"], "summary": "Marcar manualmente el diálogo como no leído", "description": "Marcar manualmente el diálogo como no leído\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes directos a canales.](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Marcar como no leído/leído"}, "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": "Si se establece, debe ser igual al ID de [monoforum](https://core.telegram.org/api/monoforum.md) y afectará el tema de monoforum pasado en `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": "Diálogo"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `unread` | `true` | No | Marcar como no leído/leído |\n| `parent_peer` | `InputPeer` | No | Si se establece, debe ser igual al ID de [monoforum](https://core.telegram.org/api/monoforum.md) y afectará el tema de monoforum pasado en `peer`. |\n| `peer` | `InputDialogPeer` | si | Diálogo |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2354054904"}}, "/catalog/messages.getDialogUnreadMarks": {"post": {"operationId": "messages.getDialogUnreadMarks", "tags": ["Mensajes"], "summary": "Obtener cuadros de diálogo manualmente marcados como no leídos", "description": "Obtener cuadros de diálogo manualmente marcados como no leídos", "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": "Resultado de MTProto · `Vector<DialogPeer>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[DialogPeer](https://core.telegram.org/type/DialogPeer.md)>", "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": "Tipo de TL: DialogPeer."}, "x-tl-type": "Vector<DialogPeer>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Puede ser igual al ID de un monoforo, para recuperar temas de monoforo marcados manualmente como no leídos.", "x-tl-flag": "flags.0?InputPeer"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | No | Puede ser igual al ID de un monoforo, para recuperar temas de monoforo marcados manualmente como no leídos. |"}, "x-browser-schema-id": "555754018"}}, "/catalog/messages.clearAllDrafts": {"post": {"operationId": "messages.clearAllDrafts", "tags": ["Mensajes"], "summary": "Borrar todos los borradores.", "description": "Borrar todos los [borradores](https://core.telegram.org/api/drafts.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Borradores de mensajes](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.clearAllDrafts"}, "x-browser-schema-id": "2119757468"}}, "/catalog/messages.updatePinnedMessage": {"post": {"operationId": "messages.updatePinnedMessage", "tags": ["Mensajes"], "summary": "Fijar un mensaje", "description": "Fijar un mensaje\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_ONESIDE_NOT_AVAIL` — Los bots no pueden fijar mensajes en PM solo para ellos.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `BUSINESS_PEER_INVALID`: los mensajes no se pueden configurar para el par especificado a través de la [conexión comercial](https://core.telegram.org/api/business.md#connected-bots) actual.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_INVALID` — Chat no válido.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PIN_RESTRICTED` — No puedes fijar mensajes.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Fija el mensaje en silencio, sin activar una notificación"}, "unpin": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si el mensaje debe anclarse o anclarse"}, "pm_oneside": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si el mensaje solo debe fijarse en el lado local de un chat individual"}, "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": "El par donde fijar el mensaje"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El mensaje para fijar o desanclar"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `silent` | `true` | No | Fija el mensaje en silencio, sin activar una notificación |\n| `unpin` | `true` | No | Si el mensaje debe anclarse o anclarse |\n| `pm_oneside` | `true` | No | Si el mensaje solo debe fijarse en el lado local de un chat individual |\n| `peer` | `InputPeer` | si | El par donde fijar el mensaje |\n| `id` | `int` | si | El mensaje para fijar o desanclar |"}, "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": ["Mensajes"], "summary": "Votar en una encuesta", "description": "Votar en una [encuesta](https://core.telegram.org/constructor/poll.md)\n\nA partir de la capa 159, el voto se enviará desde el par especificado usando [messages.saveDefaultSendAs](https://core.telegram.org/method/messages.saveDefaultSendAs.md).\n\nAntes de votar, los clientes deben verificar que el usuario realmente tenga permiso para votar: no es posible votar si la encuesta está cerrada, si es [solo para suscriptores »](https://core.telegram.org/api/poll.md#subscriber-only-polls) y el usuario no es un suscriptor elegible, o si es [restringido por país »](https://core.telegram.org/api/poll.md#country-restricted-polls) y el [`phone_country_iso2` »](https://core.telegram.org/api/config.md#phone-country-iso2) del usuario no está en la lista de países permitidos de la encuesta. Consulte [restricciones de voto»](https://core.telegram.org/api/poll.md#vote-restrictions) para obtener la lista completa de condiciones.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Encuestas y cuestionarios](https://core.telegram.org/api/poll.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MESSAGE_POLL_CLOSED` — Encuesta cerrada.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `OPTIONS_TOO_MUCH`: se proporcionan demasiadas opciones.\n- 400 · `OPTION_INVALID` — Opción seleccionada no válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 406 · `POLL_COUNTRY_RESTRICTED`: los usuarios del país del usuario actual no pueden votar en esta [encuesta restringida por país »](https://core.telegram.org/api/poll.md#country-restricted-polls).\n- 406 · `POLL_MEMBER_RESTRICTED` — Solo los suscriptores del canal pueden votar en esta encuesta.\n- 400 · `REVOTE_NOT_ALLOWED` — No puedes cambiar tu voto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat donde se envió la encuesta."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El ID del mensaje de la encuesta."}, "options": {"type": "array", "items": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "x-tl-type": "Vector<bytes>", "description": "Las opciones que se eligieron"}}, "additionalProperties": false, "required": ["peer", "msg_id", "options"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat donde se envió la encuesta. |\n| `msg_id` | `int` | si | El ID del mensaje de la encuesta. |\n| `options` | `Vector<bytes>` | si | Las opciones que se eligieron |"}, "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": ["Mensajes"], "summary": "Obtener resultados de la encuesta", "description": "Obtener resultados de la encuesta\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Compañero donde se encontró la encuesta"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje del mensaje de encuesta"}, "poll_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Pase el `poll.hash` del último estado de encuesta recibido; el servidor omite devolver datos sin cambios", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "msg_id", "poll_hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Compañero donde se encontró la encuesta |\n| `msg_id` | `int` | si | ID de mensaje del mensaje de encuesta |\n| `poll_hash` | `long` | si | Pase el `poll.hash` del último estado de encuesta recibido; el servidor omite devolver datos sin cambios |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3986940731"}}, "/catalog/messages.getOnlines": {"post": {"operationId": "messages.getOnlines", "tags": ["Mensajes"], "summary": "Obtenga el recuento de usuarios en línea en un chat", "description": "Obtenga el recuento de usuarios en línea en un chat\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `ChatOnlines`.\n\n[ChatOnline](https://core.telegram.org/type/ChatOnlines.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ChatOnlines", "oneOf": [{"$ref": "#/components/schemas/chatOnlines"}], "description": "Tipo TL: ChatOnlines."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la charla"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | la charla |"}, "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": ["Mensajes"], "summary": "Editar la descripción de un grupo/supergrupo/canal.", "description": "Edita la descripción de un [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ABOUT_NOT_MODIFIED` — El texto Acerca de no ha cambiado.\n- 400 · `CHAT_ABOUT_TOO_LONG` — Charla demasiado tiempo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md)."}, "about": {"type": "string", "x-tl-type": "string", "description": "la nueva descripción"}}, "additionalProperties": false, "required": ["peer", "about"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md). |\n| `about` | `string` | si | la nueva descripción |"}, "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": ["Mensajes"], "summary": "Edite los derechos prohibidos predeterminados de un canal/supergrupo/grupo.", "description": "Edite los derechos prohibidos predeterminados de un [canal/supergrupo/grupo](https://core.telegram.org/api/channel.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BANNED_RIGHTS_INVALID`: proporcionaste algunas banderas no válidas en los derechos prohibidos.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `UNTIL_DATE_INVALID` — Inválido hasta la fecha proporcionada."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el par"}, "banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "oneOf": [{"$ref": "#/components/schemas/chatBannedRights"}], "description": "Los nuevos derechos globales"}}, "additionalProperties": false, "required": ["peer", "banned_rights"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | el par |\n| `banned_rights` | `ChatBannedRights` | si | Los nuevos derechos globales |"}, "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": ["Mensajes"], "summary": "Obtenga palabras clave emoji localizadas ».", "description": "Obtenga [palabras clave emoji »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords) localizadas.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](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": "Resultado de MTProto · `EmojiKeywordsDifference`.\n\n[Diferencia de palabras clave emoji](https://core.telegram.org/type/EmojiKeywordsDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiKeywordsDifference", "oneOf": [{"$ref": "#/components/schemas/emojiKeywordsDifference"}], "description": "Tipo de TL: Diferencia de palabras clave emoji."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "código de idioma"}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | si | código de idioma |"}, "x-browser-schema-id": "899735650"}}, "/catalog/messages.getEmojiKeywordsDifference": {"post": {"operationId": "messages.getEmojiKeywordsDifference", "tags": ["Mensajes"], "summary": "Obtenga palabras clave emoji modificadas ».", "description": "Cámbiate [palabras clave emoji »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](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": "Resultado de MTProto · `EmojiKeywordsDifference`.\n\n[Diferencia de palabras clave emoji](https://core.telegram.org/type/EmojiKeywordsDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "EmojiKeywordsDifference", "oneOf": [{"$ref": "#/components/schemas/emojiKeywordsDifference"}], "description": "Tipo de TL: Diferencia de palabras clave emoji."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "código de idioma"}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Lista de palabras clave emoji almacenadas anteriormente `version`"}}, "additionalProperties": false, "required": ["lang_code", "from_version"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | si | código de idioma |\n| `from_version` | `int` | si | Lista de palabras clave emoji almacenadas anteriormente `version` |"}, "x-browser-schema-id": "352892591"}}, "/catalog/messages.getEmojiKeywordsLanguages": {"post": {"operationId": "messages.getEmojiKeywordsLanguages", "tags": ["Mensajes"], "summary": "Obtenga una lista de idiomas relacionados que se deben utilizar al buscar listas de palabras clave emoji ».", "description": "Obtenga una lista de idiomas relacionados que se deben utilizar al buscar [listas de palabras clave emoji »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords).\n\nPor lo general, el método devolverá los códigos de idioma pasados (si están localizados) + `en` + algunos códigos de idioma para idiomas similares (si corresponde).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](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": "Resultado de MTProto · `Vector<EmojiLanguage>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Idioma Emoji](https://core.telegram.org/type/EmojiLanguage.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "EmojiLanguage", "oneOf": [{"$ref": "#/components/schemas/emojiLanguage"}], "description": "Tipo TL: EmojiLanguage."}, "x-tl-type": "Vector<EmojiLanguage>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Los códigos de idioma del usuario."}}, "additionalProperties": false, "required": ["lang_codes"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_codes` | `Vector<string>` | si | Los códigos de idioma del usuario. |"}, "x-browser-schema-id": "1318675378"}}, "/catalog/messages.getEmojiURL": {"post": {"operationId": "messages.getEmojiURL", "tags": ["Mensajes"], "summary": "Devuelve un HTTP URL que se puede utilizar para iniciar sesión automáticamente en la plataforma de traducción y sugerir nuevas palabras clave emoji ». El URL tendrá una validez de 30 segundos después de su generación.", "description": "Devuelve un HTTP URL que se puede utilizar para iniciar sesión automáticamente en la plataforma de traducción y sugerir nuevas [palabras clave emoji »](https://core.telegram.org/api/custom-emoji.md#emoji-keywords). El URL tendrá una validez de 30 segundos después de su generación.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](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": "Resultado de MTProto · `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": "Tipo de TL: EmojiURL."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Código de idioma para el cual se sugerirán las palabras clave emoji"}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | si | Código de idioma para el cual se sugerirán las palabras clave emoji |"}, "x-browser-schema-id": "3585149990"}}, "/catalog/messages.getSearchCounters": {"post": {"operationId": "messages.getSearchCounters", "tags": ["Mensajes"], "summary": "Obtenga la cantidad de resultados que se encontrarían con una llamada messages.search con los mismos parámetros", "description": "Obtenga la cantidad de resultados que se encontrarían con una llamada [messages.search](https://core.telegram.org/method/messages.search.md) con los mismos parámetros\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes guardados](https://core.telegram.org/api/saved-messages.md)\n- [Temas del foro](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": "Resultado de MTProto · `Vector<messages.SearchCounter>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[messages.SearchCounter](https://core.telegram.org/type/messages.SearchCounter.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "messages.SearchCounter", "oneOf": [{"$ref": "#/components/schemas/messages.searchCounter"}], "description": "Tipo TL: messages.SearchCounter."}, "x-tl-type": "Vector<messages.SearchCounter>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde buscar"}, "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": "Busque dentro del [diálogo de mensaje guardado »](https://core.telegram.org/api/saved-messages.md) con esta 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": "Si está configurado, considere solo los mensajes dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics) especificado"}, "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": "Tipo de TL: Filtro de mensajes."}, "x-tl-type": "Vector<MessagesFilter>", "description": "Filtros de búsqueda"}}, "additionalProperties": false, "required": ["peer", "filters"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde buscar |\n| `saved_peer_id` | `InputPeer` | No | Busque dentro del [diálogo de mensaje guardado »](https://core.telegram.org/api/saved-messages.md) con esta ID. |\n| `top_msg_id` | `int` | No | Si está configurado, considere solo los mensajes dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics) especificado |\n| `filters` | `Vector<MessagesFilter>` | si | Filtros de búsqueda |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "465367808"}}, "/catalog/messages.requestUrlAuth": {"post": {"operationId": "messages.requestUrlAuth", "tags": ["Mensajes"], "summary": "Obtenga más información sobre una solicitud de autorización de inicio de sesión sin interrupciones en Telegram. Para obtener más información, haga clic aquí »", "description": "Obtenga más información sobre una solicitud de autorización de inicio de sesión sin interrupciones de Telegram, para obtener más información [haga clic aquí »](https://core.telegram.org/api/url-authorization.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Inicio de sesión de Telegram sin problemas](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": "Resultado de MTProto · `UrlAuthResult`.\n\n[Resultado de autenticación de URL](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": "Tipo de TL: UrlAuthResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 500 · `OAUTH_REQUEST_INVALID`: la solicitud OAuth especificada no es válida.\n- 400 · `URL_EXPIRED`: la solicitud OAuth especificada ha caducado.\n- 400 · `URL_INVALID` — No válido URL proporcionado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se encuentra el mensaje", "x-tl-flag": "flags.1?InputPeer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "el mensaje"}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "El ID del botón con la solicitud de autorización."}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "URL se utiliza para [enlace URL autorización, haga clic aquí para obtener más información »](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": "Para [autorización OAuth desde miniaplicaciones »](https://core.telegram.org/api/url-authorization.md#oauth-authorization-for-mini-apps): el origen de la vista web que originó la solicitud OAuth, en el formato `scheme://host` (o `scheme://host:port` para puertos no predeterminados)"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | No | Peer donde se encuentra el mensaje |\n| `msg_id` | `int` | No | el mensaje |\n| `button_id` | `int` | No | El ID del botón con la solicitud de autorización. |\n| `url` | `string` | No | URL se utiliza para [enlace URL autorización, haga clic aquí para obtener más información »](https://core.telegram.org/api/url-authorization.md#link-url-authorization) |\n| `in_app_origin` | `string` | No | Para [autorización OAuth desde miniaplicaciones »](https://core.telegram.org/api/url-authorization.md#oauth-authorization-for-mini-apps): el origen de la vista web que originó la solicitud OAuth, en el formato `scheme://host` (o `scheme://host:port` para puertos no predeterminados) |"}, "x-telegram-rpc-errors": ["OAUTH_REQUEST_INVALID", "URL_EXPIRED", "URL_INVALID"], "x-browser-schema-id": "2303510940"}}, "/catalog/messages.acceptUrlAuth": {"post": {"operationId": "messages.acceptUrlAuth", "tags": ["Mensajes"], "summary": "Utilice esto para aceptar una solicitud de autorización de inicio de sesión sin interrupciones de Telegram. Para obtener más información, haga clic aquí »", "description": "Utilice esto para aceptar una solicitud de autorización de inicio de sesión sin interrupciones de Telegram; para obtener más información [haga clic aquí »](https://core.telegram.org/api/url-authorization.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Inicio de sesión de Telegram sin problemas](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": "Resultado de MTProto · `UrlAuthResult`.\n\n[Resultado de autenticación de URL](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": "Tipo de TL: UrlAuthResult."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Establezca esta bandera para permitir que el bot le envíe mensajes (si lo solicita)"}, "share_phone_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Establezca esta marca para compartir el número de teléfono del usuario con el bot (si se solicita a través de [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`request_phone_number` y el usuario lo autoriza)"}, "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": "La ubicación del mensaje.", "x-tl-flag": "flags.1?InputPeer"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "ID de mensaje del mensaje con el botón de inicio de sesión"}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "ID del botón de inicio de sesión"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "URL se utiliza para [enlace URL autorización, haga clic aquí para obtener más información »](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": "Si se configuró [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes`, el emoji o código seleccionado por el usuario de la lista proporcionada; siempre se debe proporcionar cuando se configura `match_codes`, incluso si se configuró `match_codes_first` y el código ya se validó mediante [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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `write_allowed` | `true` | No | Establezca esta bandera para permitir que el bot le envíe mensajes (si lo solicita) |\n| `share_phone_number` | `true` | No | Establezca esta marca para compartir el número de teléfono del usuario con el bot (si se solicita a través de [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`request_phone_number` y el usuario lo autoriza) |\n| `peer` | `InputPeer` | No | La ubicación del mensaje. |\n| `msg_id` | `int` | No | ID de mensaje del mensaje con el botón de inicio de sesión |\n| `button_id` | `int` | No | ID del botón de inicio de sesión |\n| `url` | `string` | No | URL se utiliza para [enlace URL autorización, haga clic aquí para obtener más información »](https://core.telegram.org/api/url-authorization.md#link-url-authorization) |\n| `match_code` | `string` | No | Si se configuró [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes`, el emoji o código seleccionado por el usuario de la lista proporcionada; siempre se debe proporcionar cuando se configura `match_codes`, incluso si se configuró `match_codes_first` y el código ya se validó mediante [messages.checkUrlAuthMatchCode](https://core.telegram.org/method/messages.checkUrlAuthMatchCode.md) |\n| `tonconnect_session` | `InputTonConnectOauthSession` | No | Тип TL: InputTonConnectOauthSession. |"}, "x-browser-schema-id": "417156754"}}, "/catalog/messages.hidePeerSettingsBar": {"post": {"operationId": "messages.hidePeerSettingsBar", "tags": ["Mensajes"], "summary": "Debe llamarse después de que el usuario oculta el informe de spam/agregar como barra de contactos de un nuevo chat, evita efectivamente que el usuario ejecute las acciones especificadas en la barra de acciones ».", "description": "Debe llamarse después de que el usuario oculta la [reportar spam/agregar como barra de contacto](https://core.telegram.org/api/action-bar.md) de un nuevo chat, lo que evita efectivamente que el usuario ejecute las acciones especificadas en la [barra de acciones »](https://core.telegram.org/api/action-bar.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [barra de acción](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1336717624"}}, "/catalog/messages.getScheduledHistory": {"post": {"operationId": "messages.getScheduledHistory", "tags": ["Mensajes"], "summary": "Recibir mensajes programados", "description": "Recibir mensajes programados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).  Para generar el hash, complete la matriz `ids` con `id`, `edit_date` (0 si no está editado) y `date` (en este orden) de los mensajes devueltos anteriormente (en orden, i.e. `ids = [id1, (edit_date1 ?? 0), date1, id2, (edit_date2 ?? 0), date2, ...]`).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).  Para generar el hash, complete la matriz `ids` con `id`, `edit_date` (0 si no está editado) y `date` (en este orden) de los mensajes devueltos anteriormente (en orden, 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": ["Mensajes"], "summary": "Recibir mensajes programados", "description": "Recibir mensajes programados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de mensajes programados"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `id` | `Vector<int>` | si | ID de mensajes programados |"}, "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": ["Mensajes"], "summary": "Envía mensajes programados de inmediato", "description": "Envía mensajes programados de inmediato\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 500 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de mensajes programados"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `id` | `Vector<int>` | si | ID de mensajes programados |"}, "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": ["Mensajes"], "summary": "Eliminar mensajes programados", "description": "Eliminar mensajes programados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 403 · `MESSAGE_DELETE_FORBIDDEN` — No puedes eliminar uno de los mensajes que intentaste eliminar, probablemente porque es un mensaje de servicio.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de mensajes programados"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `id` | `Vector<int>` | si | ID de mensajes programados |"}, "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": ["Mensajes"], "summary": "Obtenga resultados de encuestas para encuestas no anónimas", "description": "Obtenga resultados de encuestas para encuestas no anónimas\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escriba TL: messages.VotesList."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `BROADCAST_FORBIDDEN` — Los votantes y las reacciones de las encuestas del canal no se pueden recuperar para evitar la desanonimización.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 403 · `POLL_VOTE_REQUIRED` — Emitir un voto en la encuesta antes de llamar a este método."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se envió la encuesta"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Obtenga solo resultados para la encuesta especificada `option`"}, "offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Compensación de resultados, tomada del campo `next_offset` de [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md), inicialmente una cadena vacía.  Nota: si no hay más resultados disponibles, la llamada al método devolverá un `next_offset` vacío; por lo tanto, evite proporcionar el `next_offset` devuelto en [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md) si está vacío, para evitar un bucle infinito."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de resultados a devolver"}}, "additionalProperties": false, "required": ["peer", "id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Chat donde se envió la encuesta |\n| `id` | `int` | si | ID de mensaje |\n| `option` | `bytes` | No | Obtenga solo resultados para la encuesta especificada `option` |\n| `offset` | `string` | No | Compensación de resultados, tomada del campo `next_offset` de [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md), inicialmente una cadena vacía.  Nota: si no hay más resultados disponibles, la llamada al método devolverá un `next_offset` vacío; por lo tanto, evite proporcionar el `next_offset` devuelto en [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md) si está vacío, para evitar un bucle infinito. |\n| `limit` | `int` | si | Número de resultados a devolver |"}, "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": ["Mensajes"], "summary": "Aplicar cambios a múltiples conjuntos de pegatinas", "description": "Aplicar cambios a múltiples conjuntos de pegatinas", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Desinstale los conjuntos de pegatinas especificados"}, "archive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Archivar los conjuntos de stickers especificados"}, "unarchive": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Desarchivar los conjuntos de stickers especificados"}, "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": "Tipo TL: InputStickerSet."}, "x-tl-type": "Vector<InputStickerSet>", "description": "Conjuntos de pegatinas para actuar"}}, "additionalProperties": false, "required": ["stickersets"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `uninstall` | `true` | No | Desinstale los conjuntos de pegatinas especificados |\n| `archive` | `true` | No | Archivar los conjuntos de stickers especificados |\n| `unarchive` | `true` | No | Desarchivar los conjuntos de stickers especificados |\n| `stickersets` | `Vector<InputStickerSet>` | si | Conjuntos de pegatinas para actuar |"}, "x-browser-schema-id": "3037016042"}}, "/catalog/messages.getDialogFilters": {"post": {"operationId": "messages.getDialogFilters", "tags": ["Mensajes"], "summary": "Obtener carpetas", "description": "Obtener [carpetas](https://core.telegram.org/api/folders.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](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": "Resultado de MTProto · `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": "Escriba TL: messages.DialogFilters."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.getDialogFilters"}, "x-browser-schema-id": "4023684233"}}, "/catalog/messages.getSuggestedDialogFilters": {"post": {"operationId": "messages.getSuggestedDialogFilters", "tags": ["Mensajes"], "summary": "Obtener carpetas sugeridas", "description": "Obtenga [carpetas sugeridas](https://core.telegram.org/api/folders.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](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": "Resultado de MTProto · `Vector<DialogFilterSuggested>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Filtro de diálogo sugerido](https://core.telegram.org/type/DialogFilterSuggested.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "DialogFilterSuggested", "oneOf": [{"$ref": "#/components/schemas/dialogFilterSuggested"}], "description": "Tipo de TL: DialogFilterSuggested."}, "x-tl-type": "Vector<DialogFilterSuggested>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.getSuggestedDialogFilters"}, "x-browser-schema-id": "2728186924"}}, "/catalog/messages.updateDialogFilter": {"post": {"operationId": "messages.updateDialogFilter", "tags": ["Mensajes"], "summary": "Actualizar carpeta", "description": "Actualizar [carpeta](https://core.telegram.org/api/folders.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHATLIST_EXCLUDE_INVALID` — Los `exclude_peers` especificados no son válidos.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido.\n- 400 · `FILTER_INCLUDE_EMPTY` — El vector include_peers del filtro está vacío.\n- 400 · `FILTER_TITLE_EMPTY` — El campo de título del filtro está vacío.\n- 400 · `MESSAGE_TOO_LONG`: el mensaje proporcionado es demasiado largo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Carpeta](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": "[Carpeta](https://core.telegram.org/api/folders.md) información", "x-tl-flag": "flags.0?DialogFilter"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `int` | si | [Carpeta](https://core.telegram.org/api/folders.md) ID |\n| `filter` | `DialogFilter` | No | [Carpeta](https://core.telegram.org/api/folders.md) información |"}, "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": ["Mensajes"], "summary": "Reordenar carpetas", "description": "Reordenar [carpetas](https://core.telegram.org/api/folders.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nuevo [carpeta](https://core.telegram.org/api/folders.md) orden"}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `order` | `Vector<int>` | si | Nuevo [carpeta](https://core.telegram.org/api/folders.md) orden |"}, "x-browser-schema-id": "3311649252"}}, "/catalog/messages.getOldFeaturedStickers": {"post": {"operationId": "messages.getOldFeaturedStickers", "tags": ["Mensajes"], "summary": "Método para recuperar pegatinas destacadas anteriormente", "description": "Método para recuperar pegatinas destacadas anteriormente\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.FeaturedStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compensación"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["offset", "limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offset` | `int` | si | compensación |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2127598753"}}, "/catalog/messages.getReplies": {"post": {"operationId": "messages.getReplies", "tags": ["Mensajes"], "summary": "Recibir mensajes en un hilo de respuesta", "description": "Recibir mensajes en un hilo de respuesta\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `TOPIC_ID_INVALID`: el ID del tema especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se transfirió un valor positivo, el método devolverá solo mensajes con un ID menor que max_id"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se transfirió un valor positivo, el método devolverá solo mensajes con un ID mayor que min_id"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `msg_id` | `int` | si | ID de mensaje |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `offset_date` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | si | Si se transfirió un valor positivo, el método devolverá solo mensajes con un ID menor que max_id |\n| `min_id` | `int` | si | Si se transfirió un valor positivo, el método devolverá solo mensajes con un ID mayor que min_id |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": ["Mensajes"], "summary": "Obtener un mensaje de discusión del grupo de discusión asociado de un canal para mostrarlo en la parte superior de la sección de comentarios, sin tener que unirse al grupo.", "description": "Obtenga [mensaje de discusión](https://core.telegram.org/api/threads.md) del [grupo de discusión asociado](https://core.telegram.org/api/discussion.md) de un canal para mostrarlo en la parte superior de la sección de comentarios, sin tener que unirse al grupo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Hilos de mensajes](https://core.telegram.org/api/threads.md)\n- [Grupos de discusión](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": "Resultado de MTProto · `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": "Tipo TL: messages.DiscussionMessage."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `TOPIC_ID_INVALID`: el ID del tema especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[ID de canal](https://core.telegram.org/api/channel.md)"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | [ID de canal](https://core.telegram.org/api/channel.md) |\n| `msg_id` | `int` | si | ID de mensaje |"}, "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": ["Mensajes"], "summary": "Marcar un hilo como leído", "description": "Marcar un [tema](https://core.telegram.org/api/threads.md) como leído\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Hilos de mensajes](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de grupo"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje que inició el hilo"}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID hasta qué hilo se leyeron los mensajes"}}, "additionalProperties": false, "required": ["peer", "msg_id", "read_max_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | ID de grupo |\n| `msg_id` | `int` | si | ID del mensaje que inició el hilo |\n| `read_max_id` | `int` | si | ID hasta qué hilo se leyeron los mensajes |"}, "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": ["Mensajes"], "summary": "Desanclar todos los mensajes fijados", "description": "[Desanclar](https://core.telegram.org/api/pin.md) todos los mensajes anclados\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](https://core.telegram.org/api/forum.md)\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Mensajes fijados](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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedHistory."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde desanclar"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "[Tema del foro](https://core.telegram.org/api/forum.md#forum-topics) dónde desanclar"}, "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": "Si se establece, debe ser igual al ID de un [tema de monoforo](https://core.telegram.org/api/monoforum.md) y desanclará todos los mensajes fijados en el tema de monoforo pasado.", "x-tl-flag": "flags.1?InputPeer"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Chat donde desanclar |\n| `top_msg_id` | `int` | No | [Tema del foro](https://core.telegram.org/api/forum.md#forum-topics) dónde desanclar |\n| `saved_peer_id` | `InputPeer` | No | Si se establece, debe ser igual al ID de un [tema de monoforo](https://core.telegram.org/api/monoforum.md) y desanclará todos los mensajes fijados en el tema de monoforo pasado. |"}, "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": ["Mensajes"], "summary": "Eliminar un chat", "description": "Eliminar un [chat](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de chat", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["chat_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chat_id` | `long` | si | ID de chat |"}, "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": ["Mensajes"], "summary": "Elimina todo el historial de llamadas telefónicas.", "description": "Elimina todo el historial de llamadas telefónicas.", "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": "Resultado de MTProto · `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": "Escribe TL: messages.AffectedFoundMessages."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si también se debe eliminar el historial de llamadas telefónicas de los participantes"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `revoke` | `true` | No | Si también se debe eliminar el historial de llamadas telefónicas de los participantes |"}, "x-browser-schema-id": "4190888969"}}, "/catalog/messages.checkHistoryImport": {"post": {"operationId": "messages.checkHistoryImport", "tags": ["Mensajes"], "summary": "Obtiene información sobre un archivo de exportación de chat, generado por una aplicación de chat extranjera, haga clic aquí para obtener más información sobre chats importados ».", "description": "Obtiene información sobre un archivo de exportación de chat, generado por una aplicación de chat extranjera, [haga clic aquí para obtener más información sobre chats importados »](https://core.telegram.org/api/import.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes importados](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": "Resultado de MTProto · `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": "Escribe TL: messages.HistoryImportParsed."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `IMPORT_FORMAT_UNRECOGNIZED`: el archivo de exportación de chat especificado se exportó desde una aplicación de chat no compatible."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Inicio del archivo de mensajes; hasta 100 líneas."}}, "additionalProperties": false, "required": ["import_head"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `import_head` | `string` | si | Inicio del archivo de mensajes; hasta 100 líneas. |"}, "x-telegram-rpc-errors": ["IMPORT_FORMAT_UNRECOGNIZED"], "x-browser-schema-id": "1140726259"}}, "/catalog/messages.initHistoryImport": {"post": {"operationId": "messages.initHistoryImport", "tags": ["Mensajes"], "summary": "Importe el historial de chat desde una aplicación de chat extranjera a un chat de Telegram específico; haga clic aquí para obtener más información sobre los chats importados ».", "description": "Importe el historial de chat desde una aplicación de chat extranjera a un chat de Telegram específico, [haga clic aquí para obtener más información sobre los chats importados »](https://core.telegram.org/api/import.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes importados](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": "Resultado de MTProto · `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": "Escribe TL: messages.HistoryImport."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `IMPORT_FILE_INVALID`: el archivo de exportación de chat especificado no es válido.\n- 400 · `IMPORT_FORMAT_DATE_INVALID`: la fecha especificada en el archivo de importación no es válida.\n- 400 · `IMPORT_FORMAT_UNRECOGNIZED`: el archivo de exportación de chat especificado se exportó desde una aplicación de chat no compatible.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 406 · `PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_%dMIN`: la importación de este chat ya está en curso; espere %d minutos antes de iniciar uno nuevo.\n- 400 · `USER_NOT_MUTUAL_CONTACT` — El usuario proporcionado no es un contacto mutuo."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat de Telegram donde se debe importar el [historial](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": "Archivo con mensajes para importar."}, "media_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de archivos multimedia asociados con el chat que se cargarán usando [messages.uploadImportedMedia](https://core.telegram.org/method/messages.uploadImportedMedia.md)."}}, "additionalProperties": false, "required": ["peer", "file", "media_count"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat de Telegram donde se debe importar el [historial](https://core.telegram.org/api/import.md). |\n| `file` | `InputFile` | si | Archivo con mensajes para importar. |\n| `media_count` | `int` | si | Número de archivos multimedia asociados con el chat que se cargarán usando [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": ["Mensajes"], "summary": "Cargue un archivo multimedia asociado con un chat importado, haga clic aquí para obtener más información ».", "description": "Cargue un archivo multimedia asociado con un [chat importado, haga clic aquí para obtener más información »](https://core.telegram.org/api/import.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes importados](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": "Resultado de MTProto · `MessageMedia`.\n\n[Medios de mensaje](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": "Tipo de TL: MessageMedia."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `IMPORT_ID_INVALID`: el ID de importación especificado no es válido.\n- 400 · `MEDIA_INVALID` — Medios no válidos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat de Telegram donde se importarán los medios."}, "import_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de una [sesión de importación de historial](https://core.telegram.org/api/import.md), devuelto por [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md)", "x-tl-type": "long"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "Nombre de archivo"}, "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": "Metadatos de medios"}}, "additionalProperties": false, "required": ["peer", "import_id", "file_name", "media"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat de Telegram donde se importarán los medios. |\n| `import_id` | `long` | si | Identificador de una [sesión de importación de historial](https://core.telegram.org/api/import.md), devuelto por [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) |\n| `file_name` | `string` | si | Nombre de archivo |\n| `media` | `InputMedia` | si | Metadatos de medios |"}, "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": ["Mensajes"], "summary": "Completa el proceso de importación del historial, importando todos los mensajes al chat.", "description": "Complete el [proceso de importación del historial](https://core.telegram.org/api/import.md), importando todos los mensajes al chat.\nSe llamará solo después de inicializar la importación con [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) y cargar todos los archivos usando [messages.uploadImportedMedia](https://core.telegram.org/method/messages.uploadImportedMedia.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes importados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `IMPORT_ID_INVALID`: el ID de importación especificado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat de Telegram donde se deben [importar los mensajes, haz clic aquí para más información»](https://core.telegram.org/api/import.md)"}, "import_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de una sesión de importación de historial, devuelto por [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "import_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat de Telegram donde se deben [importar los mensajes, haz clic aquí para más información»](https://core.telegram.org/api/import.md) |\n| `import_id` | `long` | si | Identificador de una sesión de importación de historial, devuelto por [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": ["Mensajes"], "summary": "Obtener información sobre las invitaciones de chat de un chat específico", "description": "Obtener información sobre las invitaciones de chat de un chat específico\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.ExportedChatInvites."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ADMIN_ID_INVALID`: el ID de administrador especificado no es válido.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se deben recuperar invitaciones de chat revocadas"}, "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": "Charla"}, "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": "Si solo se deben obtener invitaciones de chat de este administrador"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "offset_link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "admin_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `revoked` | `true` | No | Si se deben recuperar invitaciones de chat revocadas |\n| `peer` | `InputPeer` | si | Charla |\n| `admin_id` | `InputUser` | si | Si solo se deben obtener invitaciones de chat de este administrador |\n| `offset_date` | `int` | No | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `offset_link` | `string` | No | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Mensajes"], "summary": "Obtener información sobre una invitación de chat", "description": "Obtener información sobre una invitación de chat\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.ExportedChatInvite."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `INVITE_HASH_EXPIRED` — El enlace de invitación ha caducado.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Charla"}, "link": {"type": "string", "x-tl-type": "string", "description": "Enlace de invitación"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Charla |\n| `link` | `string` | si | Enlace de invitación |"}, "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": ["Mensajes"], "summary": "Editar una invitación de chat exportada", "description": "Editar una invitación de chat exportada\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.ExportedChatInvite."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_INVITE_PERMANENT`: no puedes establecer una fecha de vencimiento en los enlaces de invitación permanentes.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 403 · `EDIT_BOT_INVITE_FORBIDDEN` — Los usuarios normales no pueden editar invitaciones creadas por bots.\n- 400 · `INVITE_HASH_EXPIRED` — El enlace de invitación ha caducado.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USAGE_LIMIT_INVALID`: el límite de uso especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe revocar la invitación al 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": "Charla"}, "link": {"type": "string", "x-tl-type": "string", "description": "Enlace de invitación"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Nueva fecha de vencimiento"}, "usage_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Número máximo de usuarios que pueden unirse usando este enlace"}, "request_needed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Si se requiere confirmación del administrador antes de admitir a cada usuario por separado en el chat"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Descripción del enlace de invitación, visible solo para administradores"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `revoked` | `true` | No | Si se debe revocar la invitación al chat |\n| `peer` | `InputPeer` | si | Charla |\n| `link` | `string` | si | Enlace de invitación |\n| `expire_date` | `int` | No | Nueva fecha de vencimiento |\n| `usage_limit` | `int` | No | Número máximo de usuarios que pueden unirse usando este enlace |\n| `request_needed` | `Bool` | No | Si se requiere confirmación del administrador antes de admitir a cada usuario por separado en el chat |\n| `title` | `string` | No | Descripción del enlace de invitación, visible solo para administradores |"}, "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": ["Mensajes"], "summary": "Eliminar todas las invitaciones de chat revocadas", "description": "Eliminar todas las invitaciones de chat revocadas\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ADMIN_ID_INVALID`: el ID de administrador especificado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Charla"}, "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 del administrador que generó originalmente las invitaciones de chat revocadas"}}, "additionalProperties": false, "required": ["peer", "admin_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Charla |\n| `admin_id` | `InputUser` | si | ID del administrador que generó originalmente las invitaciones de chat revocadas |"}, "x-telegram-rpc-errors": ["ADMIN_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1452833749"}}, "/catalog/messages.deleteExportedChatInvite": {"post": {"operationId": "messages.deleteExportedChatInvite", "tags": ["Mensajes"], "summary": "Eliminar una invitación de chat", "description": "Eliminar una invitación de chat\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `INVITE_HASH_EXPIRED` — El enlace de invitación ha caducado.\n- 400 · `INVITE_REVOKED_MISSING`: el enlace de invitación especificado ya fue revocado o no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "link": {"type": "string", "x-tl-type": "string", "description": "Enlace de invitación"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `link` | `string` | si | Enlace de invitación |"}, "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": ["Mensajes"], "summary": "Obtenga información sobre las invitaciones de chat generadas por los administradores.", "description": "Obtenga información sobre las invitaciones de chat generadas por los administradores.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.ChatAdminsWithInvites."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Charla"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Charla |"}, "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": ["Mensajes"], "summary": "Obtenga información sobre los usuarios que se unieron al chat mediante una invitación de chat específica", "description": "Obtenga información sobre los usuarios que se unieron al chat mediante una invitación de chat específica\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces de invitación](https://core.telegram.org/api/invites.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.ChatInviteImporters."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `INVITE_HASH_EXPIRED` — El enlace de invitación ha caducado.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `SEARCH_WITH_LINK_NOT_SUPPORTED`: no puede proporcionar una consulta de búsqueda y un enlace de invitación al mismo tiempo."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, solo devuelve información sobre los usuarios con [solicitudes de unión» pendientes »](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": "Establezca esta bandera si el enlace es un [enlace de suscripción a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions) y solo se deben devolver los miembros cuya suscripción ya haya vencido."}, "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": "Charla"}, "link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Enlace de invitación"}, "q": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Busque un usuario en la lista pendiente [solicitudes de unión »](https://core.telegram.org/api/invites.md#join-requests): solo está disponible cuando el indicador `requested` está configurado, no se puede usar junto con un `link` específico."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](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": "ID de usuario para [paginación](https://core.telegram.org/api/offsets.md): si está configurado, también se debe configurar `offset_date`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_date", "offset_user", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `requested` | `true` | No | Si está configurado, solo devuelve información sobre los usuarios con [solicitudes de unión» pendientes »](https://core.telegram.org/api/invites.md#join-requests) |\n| `subscription_expired` | `true` | No | Establezca esta bandera si el enlace es un [enlace de suscripción a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions) y solo se deben devolver los miembros cuya suscripción ya haya vencido. |\n| `peer` | `InputPeer` | si | Charla |\n| `link` | `string` | No | Enlace de invitación |\n| `q` | `string` | No | Busque un usuario en la lista pendiente [solicitudes de unión »](https://core.telegram.org/api/invites.md#join-requests): solo está disponible cuando el indicador `requested` está configurado, no se puede usar junto con un `link` específico. |\n| `offset_date` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `offset_user` | `InputUser` | si | ID de usuario para [paginación](https://core.telegram.org/api/offsets.md): si está configurado, también se debe configurar `offset_date`. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Mensajes"], "summary": "Establecer el tiempo de vida máximo de todos los mensajes en el chat especificado", "description": "Establecer el tiempo de vida máximo de todos los mensajes en el chat especificado\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `TTL_PERIOD_INVALID`: el período TTL especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El dialogo"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Eliminar automáticamente todos los mensajes enviados en el chat después de tantos segundos"}}, "additionalProperties": false, "required": ["peer", "period"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El dialogo |\n| `period` | `int` | si | Eliminar automáticamente todos los mensajes enviados en el chat después de tantos segundos |"}, "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": ["Mensajes"], "summary": "Compruebe si el historial de chat exportado desde otra aplicación de chat se puede importar a un chat de Telegram específico; haga clic aquí para obtener más información ».", "description": "Compruebe si el historial de chat exportado desde otra aplicación de chat se puede [importar a un chat de Telegram específico, haga clic aquí para obtener más información »](https://core.telegram.org/api/import.md).\n\nSi la verificación tiene éxito y no se devuelven errores RPC, se devolverá un constructor [messages.CheckedHistoryImportPeer](https://core.telegram.org/type/messages.CheckedHistoryImportPeer.md), con un texto de confirmación que se mostrará al usuario, antes de inicializar la importación.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes importados](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": "Resultado de MTProto · `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": "Escribe TL: messages.CheckedHistoryImportPeer."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_NOT_MUTUAL_CONTACT` — El usuario proporcionado no es un contacto mutuo."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat donde queremos [importar historial» ](https://core.telegram.org/api/import.md)."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat donde queremos [importar historial» ](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": ["Mensajes"], "summary": "Cambie el tema del chat de un chat determinado, consulte aquí » para obtener más información.", "description": "Cambie el tema del chat de un determinado chat; consulte [aquí »](https://core.telegram.org/api/themes.md#chat-themes) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas de telegramas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMOJI_INVALID` — El emoji del tema especificado es válido.\n- 400 · `EMOJI_NOT_MODIFIED` — El tema no fue cambiado.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Chat privado donde cambiar de tema"}, "theme": {"type": "object", "x-tl-type": "InputChatTheme", "oneOf": [{"$ref": "#/components/schemas/inputChatThemeEmpty"}, {"$ref": "#/components/schemas/inputChatTheme"}, {"$ref": "#/components/schemas/inputChatThemeUniqueGift"}], "description": "El tema a establecer."}}, "additionalProperties": false, "required": ["peer", "theme"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Chat privado donde cambiar de tema |\n| `theme` | `InputChatTheme` | si | El tema a establecer. |"}, "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": ["Mensajes"], "summary": "Obtenga qué usuarios leen un mensaje específico: solo disponible para grupos y supergrupos con menos de `chat_read_mark_size_threshold` miembros, los recibos de lectura se almacenarán durante `chat_read_mark_expire_period` segundos después de que se envió el mensaje, consulte la configuración del cliente para obtener más información ».", "description": "Obtenga qué usuarios leen un mensaje específico: solo disponible para grupos y supergrupos con menos de [`chat_read_mark_size_threshold` miembros](https://core.telegram.org/api/config.md#chat-read-mark-size-threshold), los recibos de lectura se almacenarán durante [`chat_read_mark_expire_period` segundos después de que se envió el mensaje](https://core.telegram.org/api/config.md#chat-read-mark-expire-period), consulte [configuración del cliente para obtener más información»](https://core.telegram.org/api/config.md#client-configuration).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](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": "Resultado de MTProto · `Vector<ReadParticipantDate>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[LeerFechaParticipante](https://core.telegram.org/type/ReadParticipantDate.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "ReadParticipantDate", "oneOf": [{"$ref": "#/components/schemas/readParticipantDate"}], "description": "Tipo de TL: ReadParticipantDate."}, "x-tl-type": "Vector<ReadParticipantDate>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_TOO_BIG`: este método no está disponible para grupos con más de `chat_read_mark_size_threshold` miembros, [ver configuración del cliente »](https://core.telegram.org/api/config.md#client-configuration).\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `MSG_TOO_OLD` — Han pasado [`chat_read_mark_expire_period` segundos](https://core.telegram.org/api/config.md#chat-read-mark-expire-period) desde que se envió el mensaje, se eliminaron los recibos de lectura.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Diálogo"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Diálogo |\n| `msg_id` | `int` | si | ID de mensaje |"}, "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": ["Mensajes"], "summary": "Devuelve información sobre los próximos mensajes del tipo especificado en el chat divididos por días.", "description": "Devuelve información sobre los próximos mensajes del tipo especificado en el chat divididos por días.\n\nDevuelve los resultados en orden cronológico inverso.\nPuede devolver resultados parciales del último día devuelto.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes guardados](https://core.telegram.org/api/saved-messages.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.SearchResultsCalendar."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILTER_NOT_SUPPORTED`: el filtro especificado no se puede utilizar en este contexto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde buscar"}, "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": "Busque dentro del [diálogo de mensaje guardado »](https://core.telegram.org/api/saved-messages.md) con esta 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": "Este método no admite los filtros de filtro de mensajes, [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md)]."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "filter", "offset_id", "offset_date"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde buscar |\n| `saved_peer_id` | `InputPeer` | No | Busque dentro del [diálogo de mensaje guardado »](https://core.telegram.org/api/saved-messages.md) con esta ID. |\n| `filter` | `MessagesFilter` | si | Este método no admite los filtros de filtro de mensajes, [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md)]. |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `offset_date` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](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": ["Mensajes"], "summary": "Devuelve posiciones dispersas de mensajes del tipo especificado en el chat que se utilizarán para la implementación del desplazamiento de medios compartidos.", "description": "Devuelve posiciones dispersas de mensajes del tipo especificado en el chat que se utilizarán para la implementación del desplazamiento de medios compartidos.\n\nDevuelve los resultados en orden cronológico inverso (i.e., en orden decreciente mensaje\\_id).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes guardados](https://core.telegram.org/api/saved-messages.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.SearchResultsPositions."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde buscar"}, "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": "Busque dentro del [diálogo de mensaje guardado »](https://core.telegram.org/api/saved-messages.md) con esta 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": "Este método no admite los filtros de filtro de mensajes, [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md)]."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "filter", "offset_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde buscar |\n| `saved_peer_id` | `InputPeer` | No | Busque dentro del [diálogo de mensaje guardado »](https://core.telegram.org/api/saved-messages.md) con esta ID. |\n| `filter` | `MessagesFilter` | si | Este método no admite los filtros de filtro de mensajes, [inputMessagesFilterEmpty](https://core.telegram.org/constructor/inputMessagesFilterEmpty.md), [inputMessagesFilterMyMentions](https://core.telegram.org/constructor/inputMessagesFilterMyMentions.md)]. |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Mensajes"], "summary": "Descartar o aprobar una solicitud para unirse al chat relacionada con un chat o canal específico.", "description": "Descartar o aprobar un chat [solicitud de unirse](https://core.telegram.org/api/invites.md#join-requests) relacionado con un chat o canal específico.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces de invitación](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Te has unido a demasiados canales/supergrupos.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `HIDE_REQUESTER_MISSING`: faltaba la solicitud de unión o ya se había gestionado.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_ALREADY_PARTICIPANT` — El usuario ya está en el grupo.\n- 403 · `USER_CHANNELS_TOO_MUCH` — Uno de los usuarios que intentaste agregar ya está en demasiados canales/supergrupos.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para descartar o aprobar el chat [solicitud de unirse »](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": "El chat o canal"}, "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": "El usuario cuya [solicitud de unión »](https://core.telegram.org/api/invites.md#join-requests) debe ser descartada o aprobada"}}, "additionalProperties": false, "required": ["peer", "user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `approved` | `true` | No | Ya sea para descartar o aprobar el chat [solicitud de unirse »](https://core.telegram.org/api/invites.md#join-requests) |\n| `peer` | `InputPeer` | si | El chat o canal |\n| `user_id` | `InputUser` | si | El usuario cuya [solicitud de unión »](https://core.telegram.org/api/invites.md#join-requests) debe ser descartada o aprobada |"}, "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": ["Mensajes"], "summary": "Descarte o apruebe todas las solicitudes de participación relacionadas con un chat o canal específico.", "description": "Descartar o aprobar todas las [solicitudes de participación](https://core.telegram.org/api/invites.md#join-requests) relacionadas con un chat o canal específico.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces de invitación](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Te has unido a demasiados canales/supergrupos.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `HIDE_REQUESTER_MISSING`: faltaba la solicitud de unión o ya se había gestionado.\n- 400 · `INVITE_HASH_EXPIRED` — El enlace de invitación ha caducado.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_CHANNELS_TOO_MUCH`: uno de los usuarios que intentó agregar ya está en demasiados canales/supergrupos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para descartar o aprobar todos los chats [solicitudes de unirse »](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": "El chat o canal"}, "link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Solo descartar o aprobar [solicitudes de unión »](https://core.telegram.org/api/invites.md#join-requests) iniciadas mediante este enlace de invitación"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `approved` | `true` | No | Ya sea para descartar o aprobar todos los chats [solicitudes de unirse »](https://core.telegram.org/api/invites.md#join-requests) |\n| `peer` | `InputPeer` | si | El chat o canal |\n| `link` | `string` | No | Solo descartar o aprobar [solicitudes de unión »](https://core.telegram.org/api/invites.md#join-requests) iniciadas mediante este enlace de invitación |"}, "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": ["Mensajes"], "summary": "Habilite o deshabilite la protección de contenido en un canal, grupo o chat privado.", "description": "Habilite o deshabilite la [protección de contenido](https://core.telegram.org/api/content-protection.md) en un canal, grupo o chat privado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Protección de contenido](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `REQUEST_MSG_EXPIRED` — La solicitud especificada en request_msg_id ya expiró."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat o canal"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Activar o desactivar la protección de contenido"}, "request_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Se usa solo dentro de chats privados para aceptar o rechazar una solicitud para deshabilitar la protección de contenido; consulte [aquí »](https://core.telegram.org/api/content-protection.md#for-users) para obtener más información sobre el flujo completo."}}, "additionalProperties": false, "required": ["peer", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat o canal |\n| `enabled` | `Bool` | si | Activar o desactivar la protección de contenido |\n| `request_msg_id` | `int` | No | Se usa solo dentro de chats privados para aceptar o rechazar una solicitud para deshabilitar la protección de contenido; consulte [aquí »](https://core.telegram.org/api/content-protection.md#for-users) para obtener más información sobre el flujo completo. |"}, "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": ["Mensajes"], "summary": "Cambiar el par predeterminado que se debe usar al enviar mensajes, reacciones y votos de encuestas a un grupo específico", "description": "Cambiar el par predeterminado que se debe usar al enviar mensajes, reacciones y votos de encuestas a un grupo específico\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `SEND_AS_PEER_INVALID`: no puede enviar mensajes como el par especificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "grupo"}, "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": "El par predeterminado que se debe utilizar al enviar mensajes al grupo"}}, "additionalProperties": false, "required": ["peer", "send_as"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | grupo |\n| `send_as` | `InputPeer` | si | El par predeterminado que se debe utilizar al enviar mensajes al grupo |"}, "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": ["Mensajes"], "summary": "Reaccionar al mensaje.", "description": "Reaccionar al mensaje.\n\nA partir de la capa 159, la reacción se enviará desde el par especificado usando [messages.saveDefaultSendAs](https://core.telegram.org/method/messages.saveDefaultSendAs.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](https://core.telegram.org/api/reactions.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `CUSTOM_REACTIONS_TOO_MANY`: se especificaron demasiadas reacciones personalizadas.\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MESSAGE_NOT_MODIFIED` — Los datos del mensaje proporcionados son idénticos a los datos del mensaje anterior, el mensaje no fue modificado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción.\n- 400 · `REACTIONS_TOO_MANY`: el mensaje ya tiene exactamente `reactions_uniq_max` emojis de reacción, no puedes reaccionar con un nuevo emoji, consulta [los documentos para obtener más información »](https://core.telegram.org/api/config.md#client-configuration).\n- 400 · `REACTION_EMPTY` — Se proporciona reacción vacía.\n- 400 · `REACTION_INVALID` — La reacción especificada no es válida.\n- 403 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si debería mostrarse una reacción más grande y más larga"}, "add_to_recent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si se debe agregar esta reacción a la [lista de reacciones recientes »](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": "compañero"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje al que reaccionar"}, "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": "Tipo TL: Reacción."}, "x-tl-type": "Vector<Reaction>", "x-tl-flag": "flags.0?Vector<Reaction>", "description": "Una lista de reacciones (no acepta constructores [reactionPaid](https://core.telegram.org/constructor/reactionPaid.md), use [messages.sendPaidReaction](https://core.telegram.org/method/messages.sendPaidReaction.md) para enviar reacciones pagas, en su lugar)."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `big` | `true` | No | Si debería mostrarse una reacción más grande y más larga |\n| `add_to_recent` | `true` | No | Si se debe agregar esta reacción a la [lista de reacciones recientes »](https://core.telegram.org/api/reactions.md#recent-reactions). |\n| `peer` | `InputPeer` | si | compañero |\n| `msg_id` | `int` | si | ID de mensaje al que reaccionar |\n| `reaction` | `Vector<Reaction>` | No | Una lista de reacciones (no acepta constructores [reactionPaid](https://core.telegram.org/constructor/reactionPaid.md), use [messages.sendPaidReaction](https://core.telegram.org/method/messages.sendPaidReaction.md) para enviar reacciones pagas, en su lugar). |"}, "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": ["Mensajes"], "summary": "Obtener reacciones a los mensajes »", "description": "Recibe [reacciones de mensajes »](https://core.telegram.org/api/reactions.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de mensajes"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `id` | `Vector<int>` | si | ID de mensajes |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID"], "x-browser-schema-id": "2344259814"}}, "/catalog/messages.getMessageReactionsList": {"post": {"operationId": "messages.getMessageReactionsList", "tags": ["Mensajes"], "summary": "Obtenga la lista de reacciones de mensajes, junto con el remitente de cada reacción.", "description": "Obtenga la lista de [reacción del mensaje](https://core.telegram.org/api/reactions.md), junto con el remitente de cada reacción.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Reacciones al mensaje](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": "Resultado de MTProto · `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": "Escribe TL: messages.MessageReactionsList."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `BROADCAST_FORBIDDEN` — Los votantes y las reacciones de las encuestas del canal no se pueden recuperar para evitar la desanonimización.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}, "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": "Obtén solo reacciones de este tipo.", "x-tl-flag": "flags.0?Reaction"}, "offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Desplazamiento para paginación (tomado del campo `next_offset` del [messages.MessageReactionsList](https://core.telegram.org/type/messages.MessageReactionsList.md) devuelto); vacío en la primera solicitud."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `id` | `int` | si | ID de mensaje |\n| `reaction` | `Reaction` | No | Obtén solo reacciones de este tipo. |\n| `offset` | `string` | No | Desplazamiento para paginación (tomado del campo `next_offset` del [messages.MessageReactionsList](https://core.telegram.org/type/messages.MessageReactionsList.md) devuelto); vacío en la primera solicitud. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Mensajes"], "summary": "Cambiar el conjunto de reacciones de mensajes » que se pueden utilizar en un determinado grupo, supergrupo o canal", "description": "Cambiar el conjunto de [reacciones de mensajes» ](https://core.telegram.org/api/reactions.md) que se pueden utilizar en un determinado grupo, supergrupo o canal\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 400 · `LIMIT_PER_POST_INVALID`: el valor reactions_limit especificado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `REACTION_INVALID` — La reacción especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Grupo donde aplicar cambios"}, "available_reactions": {"type": "object", "x-tl-type": "ChatReactions", "oneOf": [{"$ref": "#/components/schemas/chatReactionsNone"}, {"$ref": "#/components/schemas/chatReactionsAll"}, {"$ref": "#/components/schemas/chatReactionsSome"}], "description": "Emojis de reacción permitidos"}, "reactions_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Esta bandera se puede utilizar para imponer un límite personalizado de reacciones únicas (i.e. una versión personalizable de [appConfig.reactions_uniq_max](https://core.telegram.org/api/config.md#reactions-uniq-max)); Este campo y el resto de la información establecida por el método estarán disponibles para los usuarios en [channelFull](https://core.telegram.org/constructor/channelFull.md) y [chatFull](https://core.telegram.org/constructor/chatFull.md)].  Si este indicador no está configurado, el `reactions_limit` configurado previamente no se modificará."}, "paid_enabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool", "description": "Si se establece este indicador y se pasa un [Bool](https://core.telegram.org/type/Bool.md), el método habilitará o deshabilitará [reacciones de mensajes pagados »](https://core.telegram.org/api/reactions.md#paid-reactions). Si este indicador no está configurado, la configuración almacenada previamente no se cambiará."}}, "additionalProperties": false, "required": ["peer", "available_reactions"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Grupo donde aplicar cambios |\n| `available_reactions` | `ChatReactions` | si | Emojis de reacción permitidos |\n| `reactions_limit` | `int` | No | Esta bandera se puede utilizar para imponer un límite personalizado de reacciones únicas (i.e. una versión personalizable de [appConfig.reactions_uniq_max](https://core.telegram.org/api/config.md#reactions-uniq-max)); Este campo y el resto de la información establecida por el método estarán disponibles para los usuarios en [channelFull](https://core.telegram.org/constructor/channelFull.md) y [chatFull](https://core.telegram.org/constructor/chatFull.md)].  Si este indicador no está configurado, el `reactions_limit` configurado previamente no se modificará. |\n| `paid_enabled` | `Bool` | No | Si se establece este indicador y se pasa un [Bool](https://core.telegram.org/type/Bool.md), el método habilitará o deshabilitará [reacciones de mensajes pagados »](https://core.telegram.org/api/reactions.md#paid-reactions). Si este indicador no está configurado, la configuración almacenada previamente no se cambiará. |"}, "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": ["Mensajes"], "summary": "Obtener reacciones de mensajes disponibles »", "description": "Obtener disponible [reacciones de mensajes »](https://core.telegram.org/api/reactions.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Reacciones al mensaje](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": "Resultado de MTProto · `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": "Tipo TL: messages.AvailableReactions."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "417243308"}}, "/catalog/messages.setDefaultReaction": {"post": {"operationId": "messages.setDefaultReaction", "tags": ["Mensajes"], "summary": "Cambie la reacción emoji predeterminada para usar en el menú de reacción rápida: el valor se sincroniza en todos los dispositivos y se puede recuperar usando el campo help.getConfig, `reactions_default`.", "description": "Cambie la reacción emoji predeterminada para usar en el menú de reacción rápida: el valor se sincroniza en todos los dispositivos y se puede recuperar usando [help.getConfig, `reactions_default` campo](https://core.telegram.org/method/help.getConfig.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `REACTION_INVALID` — La reacción especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nueva reacción emoji"}}, "additionalProperties": false, "required": ["reaction"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `reaction` | `Reaction` | si | Nueva reacción emoji |"}, "x-telegram-rpc-errors": ["REACTION_INVALID"], "x-browser-schema-id": "1330094102"}}, "/catalog/messages.translateText": {"post": {"operationId": "messages.translateText", "tags": ["Mensajes"], "summary": "Traducir un texto determinado.", "description": "Traducir un texto determinado.\n\n[Las entidades de texto con estilo](https://core.telegram.org/api/entities.md) solo se conservarán para los usuarios de [Telegram Premium](https://core.telegram.org/api/premium.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Funciones de IA](https://core.telegram.org/api/ai.md)\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Manejo de errores](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": "Resultado de MTProto · `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": "Escribe TL: messages.TranslatedText."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `INPUT_TEXT_EMPTY` — El texto especificado está vacío.\n- 400 · `INPUT_TEXT_TOO_LONG`: el texto especificado es demasiado largo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `TO_LANG_INVALID`: el idioma de destino especificado no es válido.\n- 500 · `TRANSLATE_REQ_FAILED` — Error en la traducción, inténtelo de nuevo más tarde.\n- 400 · `TRANSLATE_REQ_QUOTA_EXCEEDED`: la traducción no está disponible actualmente debido a una falta temporal de recursos del lado del servidor.\n- 406 · `TRANSLATIONS_DISABLED`: las traducciones no están disponibles; se emitirá una descripción detallada y localizada del error a través de una [updateServiceNotification como se especifica aquí »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 500 · `TRANSLATION_TIMEOUT`: se agotó el tiempo de espera al traducir el texto especificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si el texto es un mensaje de chat, el ID del par", "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": "Una lista de ID de mensajes para traducir"}, "text": {"type": "array", "items": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Tipo de TL: TextoConEntidades."}, "x-tl-type": "Vector<TextWithEntities>", "x-tl-flag": "flags.1?Vector<TextWithEntities>", "description": "Una lista de mensajes con estilo para traducir"}, "to_lang": {"type": "string", "x-tl-type": "string", "description": "Código de idioma de dos letras ISO 639-1 del idioma al que se traduce el mensaje"}, "tone": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Si está configurado, reformula la traducción usando el [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado (pase el identificador de tono)"}}, "additionalProperties": false, "required": ["to_lang"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | No | Si el texto es un mensaje de chat, el ID del par |\n| `id` | `Vector<int>` | No | Una lista de ID de mensajes para traducir |\n| `text` | `Vector<TextWithEntities>` | No | Una lista de mensajes con estilo para traducir |\n| `to_lang` | `string` | si | Código de idioma de dos letras ISO 639-1 del idioma al que se traduce el mensaje |\n| `tone` | `string` | No | Si está configurado, reformula la traducción usando el [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado (pase el identificador de tono) |"}, "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": ["Mensajes"], "summary": "Obtenga reacciones no leídas a los mensajes que envió", "description": "Obtenga reacciones no leídas a los mensajes que envió\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](https://core.telegram.org/api/forum.md)\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Si está configurado, considera solo las reacciones a los mensajes dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics) especificado"}, "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": "Si se establece, debe ser igual al ID de un [tema de monoforo](https://core.telegram.org/api/monoforum.md): afectará ese tema en el monoforo pasado en `peer`.", "x-tl-flag": "flags.1?InputPeer"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Solo devolver reacciones para mensajes hasta este ID de mensaje"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Solo devolver reacciones para mensajes que comiencen con este ID de mensaje"}}, "additionalProperties": false, "required": ["peer", "offset_id", "add_offset", "limit", "max_id", "min_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `top_msg_id` | `int` | No | Si está configurado, considera solo las reacciones a los mensajes dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics) especificado |\n| `saved_peer_id` | `InputPeer` | No | Si se establece, debe ser igual al ID de un [tema de monoforo](https://core.telegram.org/api/monoforum.md): afectará ese tema en el monoforo pasado en `peer`. |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | si | Solo devolver reacciones para mensajes hasta este ID de mensaje |\n| `min_id` | `int` | si | Solo devolver reacciones para mensajes que comiencen con este ID de mensaje |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3179253932"}}, "/catalog/messages.readReactions": {"post": {"operationId": "messages.readReactions", "tags": ["Mensajes"], "summary": "Marcar reacciones al mensaje » como leído", "description": "Marcar [reacciones del mensaje »](https://core.telegram.org/api/reactions.md) como leído\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](https://core.telegram.org/api/forum.md)\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Reacciones al mensaje](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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedHistory."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "compañero"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Marcar como reacciones de solo lectura a mensajes dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics) especificado"}, "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": "Si se establece, debe ser igual al ID de un [tema de monoforo](https://core.telegram.org/api/monoforum.md): afectará ese tema en el monoforo pasado en `peer`.", "x-tl-flag": "flags.1?InputPeer"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | compañero |\n| `top_msg_id` | `int` | No | Marcar como reacciones de solo lectura a mensajes dentro del [tema del foro](https://core.telegram.org/api/forum.md#forum-topics) especificado |\n| `saved_peer_id` | `InputPeer` | No | Si se establece, debe ser igual al ID de un [tema de monoforo](https://core.telegram.org/api/monoforum.md): afectará ese tema en el monoforo pasado en `peer`. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2663665555"}}, "/catalog/messages.searchSentMedia": {"post": {"operationId": "messages.searchSentMedia", "tags": ["Mensajes"], "summary": "Ver y buscar medios enviados recientemente.", "description": "Ver y buscar medios enviados recientemente.\nEste método no admite la paginación.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILTER_NOT_SUPPORTED`: el filtro especificado no se puede utilizar en este contexto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Consulta de búsqueda opcional"}, "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": "Filtro de mensajes"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver (máximo 100)."}}, "additionalProperties": false, "required": ["q", "filter", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `q` | `string` | si | Consulta de búsqueda opcional |\n| `filter` | `MessagesFilter` | si | Filtro de mensajes |\n| `limit` | `int` | si | Número máximo de resultados a devolver (máximo 100). |"}, "x-telegram-rpc-errors": ["FILTER_NOT_SUPPORTED"], "x-browser-schema-id": "276705696"}}, "/catalog/messages.getAttachMenuBots": {"post": {"operationId": "messages.getAttachMenuBots", "tags": ["Mensajes"], "summary": "Devuelve las miniaplicaciones del bot del menú adjunto instaladas »", "description": "Devuelve el menú de archivos adjuntos instalados [bot mini apps »](https://core.telegram.org/api/bots/attach.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Menú adjunto del bot y entradas del menú lateral](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": "Resultado de MTProto · `AttachMenuBots`.\n\n[AdjuntarMenuBots](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": "Tipo TL: AdjuntarMenuBots."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "385663691"}}, "/catalog/messages.getAttachMenuBot": {"post": {"operationId": "messages.getAttachMenuBot", "tags": ["Mensajes"], "summary": "Devuelve la entrada del menú de archivos adjuntos para una mini aplicación de bot que se puede iniciar desde el menú de archivos adjuntos »", "description": "Devuelve la entrada del menú de archivos adjuntos para una [miniaplicación de bot que se puede iniciar desde el menú de archivos adjuntos »](https://core.telegram.org/api/bots/attach.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Menú adjunto del bot y entradas del menú lateral](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": "Resultado de MTProto · `AttachMenuBotsBot`.\n\n[AdjuntarMenuBotsBot](https://core.telegram.org/type/AttachMenuBotsBot.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AttachMenuBotsBot", "oneOf": [{"$ref": "#/components/schemas/attachMenuBotsBot"}], "description": "Tipo TL: AdjuntarMenuBotsBot."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID del robot"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | ID del robot |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "1998676370"}}, "/catalog/messages.toggleBotInAttachMenu": {"post": {"operationId": "messages.toggleBotInAttachMenu", "tags": ["Mensajes"], "summary": "Habilitar o deshabilitar el menú de archivos adjuntos del web bot »", "description": "Activar o desactivar [menú de archivos adjuntos del web bot »](https://core.telegram.org/api/bots/attach.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Menú adjunto del bot y entradas del menú lateral](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si el usuario autoriza al bot a escribirle mensajes, si lo solicita [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": "ID del robot"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Alternar"}}, "additionalProperties": false, "required": ["bot", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `write_allowed` | `true` | No | Si el usuario autoriza al bot a escribirle mensajes, si lo solicita [attachMenuBot](https://core.telegram.org/constructor/attachMenuBot.md).`request_write_access` |\n| `bot` | `InputUser` | si | ID del robot |\n| `enabled` | `Bool` | si | Alternar |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "1777704297"}}, "/catalog/messages.requestWebView": {"post": {"operationId": "messages.requestWebView", "tags": ["Mensajes"], "summary": "Abra una mini aplicación de bot y envíe información del usuario después de la confirmación del usuario.", "description": "Abra una [miniaplicación de bot](https://core.telegram.org/bots/webapps.md) y envíe la información del usuario después de la confirmación del usuario.\n\nDespués de llamar a este método, hasta que el usuario cierre la vista web, se debe llamar a [messages.prolongWebView](https://core.telegram.org/method/messages.prolongWebView.md) cada 60 segundos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Botón de menú del robot](https://core.telegram.org/api/bots/menu.md)\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Mini aplicaciones en Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Telegrama 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": "Resultado de MTProto · `WebViewResult`.\n\n[Resultado de WebView](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo de TL: WebViewResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `BOT_WEBVIEW_DISABLED`: una vista web no se puede abrir en las condiciones especificadas: se emite, por ejemplo, si `from_bot_menu` o `url` están configurados y `peer` no es el chat con el bot.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `PRIVACY_PREMIUM_REQUIRED` — Necesitas una [suscripción a Telegram Premium](https://core.telegram.org/api/premium.md) para enviar un mensaje a este usuario.\n- 400 · `SEND_AS_PEER_INVALID`: no puede enviar mensajes como el par especificado.\n- 400 · `THEME_PARAMS_INVALID`: el campo `theme_params` especificado no es válido.\n- 400 · `URL_INVALID` — No válido URL proporcionado.\n- 400 · `YOU_BLOCKED_USER` — Bloqueaste a este usuario."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si la vista web se abrió haciendo clic en el [botón de menú »](https://core.telegram.org/api/bots/menu.md) del bot."}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Si el mensaje en línea que enviará el bot en nombre del usuario una vez [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) la interacción con la aplicación web debe enviarse de forma silenciosa (sin notificaciones para los receptores)."}, "compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Si está configurado, solicita abrir la mini aplicación en modo compacto (a diferencia del modo normal o de pantalla completa). Debe configurarse si el parámetro `mode` del [enlace profundo del menú adjunto](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) es igual a `compact`."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Si está configurado, solicita abrir la mini aplicación en modo de pantalla completa (a diferencia del modo normal o compacto). Debe configurarse si el parámetro `mode` del [enlace profundo del menú adjunto](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) es igual a `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": "Cuadro de diálogo donde se abre la aplicación web y donde se enviará el mensaje resultante (consulte los [documentos para obtener más información »](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 propietario de la [aplicación web](https://core.telegram.org/api/bots/webapps.md)"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "[Aplicación web URL](https://core.telegram.org/api/bots/webapps.md)"}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Si la aplicación web se abrió desde el menú de archivos adjuntos usando un [enlace profundo del menú de archivos adjuntos](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links), `start_param` debe contener el `data` del parámetro `startattach`."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Parámetros del tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.2?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Nombre corto de la aplicación; 0-64 letras, dígitos y guiones bajos en inglés"}, "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": "Si está configurado, indica que el mensaje en línea que enviará el bot en nombre del usuario una vez que la interacción con la aplicación web finalice](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) debe enviarse en respuesta al mensaje o historia especificados.", "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": "Abra la aplicación web como el par especificado y envíe el mensaje resultante como el par especificado.", "x-tl-flag": "flags.13?InputPeer"}}, "additionalProperties": false, "required": ["peer", "bot", "platform"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `from_bot_menu` | `true` | No | Si la vista web se abrió haciendo clic en el [botón de menú »](https://core.telegram.org/api/bots/menu.md) del bot. |\n| `silent` | `true` | No | Si el mensaje en línea que enviará el bot en nombre del usuario una vez [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) la interacción con la aplicación web debe enviarse de forma silenciosa (sin notificaciones para los receptores). |\n| `compact` | `true` | No | Si está configurado, solicita abrir la mini aplicación en modo compacto (a diferencia del modo normal o de pantalla completa). Debe configurarse si el parámetro `mode` del [enlace profundo del menú adjunto](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) es igual a `compact`. |\n| `fullscreen` | `true` | No | Si está configurado, solicita abrir la mini aplicación en modo de pantalla completa (a diferencia del modo normal o compacto). Debe configurarse si el parámetro `mode` del [enlace profundo del menú adjunto](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links) es igual a `fullscreen`. |\n| `peer` | `InputPeer` | si | Cuadro de diálogo donde se abre la aplicación web y donde se enviará el mensaje resultante (consulte los [documentos para obtener más información »](https://core.telegram.org/api/bots/webapps.md)). |\n| `bot` | `InputUser` | si | Bot propietario de la [aplicación web](https://core.telegram.org/api/bots/webapps.md) |\n| `url` | `string` | No | [Aplicación web URL](https://core.telegram.org/api/bots/webapps.md) |\n| `start_param` | `string` | No | Si la aplicación web se abrió desde el menú de archivos adjuntos usando un [enlace profundo del menú de archivos adjuntos](https://core.telegram.org/api/links.md#bot-attachment-or-side-menu-links), `start_param` debe contener el `data` del parámetro `startattach`. |\n| `theme_params` | `DataJSON` | No | [Parámetros del tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | si | Nombre corto de la aplicación; 0-64 letras, dígitos y guiones bajos en inglés |\n| `reply_to` | `InputReplyTo` | No | Si está configurado, indica que el mensaje en línea que enviará el bot en nombre del usuario una vez que la interacción con la aplicación web finalice](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) debe enviarse en respuesta al mensaje o historia especificados. |\n| `send_as` | `InputPeer` | No | Abra la aplicación web como el par especificado y envíe el mensaje resultante como el par especificado. |"}, "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": ["Mensajes"], "summary": "Indique al servidor (desde el lado del usuario) que el usuario todavía está usando una aplicación web.", "description": "Indique al servidor (desde el lado del usuario) que el usuario todavía está usando una aplicación web.\n\nSi el método devuelve un error `QUERY_ID_INVALID`, se debe cerrar la vista web.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en 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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si el mensaje en línea que enviará el bot en nombre del usuario una vez [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) la interacción con la aplicación web debe enviarse de forma silenciosa (sin notificaciones para los receptores)."}, "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": "Diálogo donde se abrió la aplicación web."}, "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 propietario de la [aplicación web](https://core.telegram.org/api/bots/webapps.md)"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de interacción de la aplicación web obtenido de [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": "Si está configurado, indica que el mensaje en línea que enviará el bot en nombre del usuario una vez que la interacción con la aplicación web finalice](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) debe enviarse en respuesta al mensaje o historia especificados.", "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": "Abra la aplicación web como el par especificado", "x-tl-flag": "flags.13?InputPeer"}}, "additionalProperties": false, "required": ["peer", "bot", "query_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `silent` | `true` | No | Si el mensaje en línea que enviará el bot en nombre del usuario una vez [terminada](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) la interacción con la aplicación web debe enviarse de forma silenciosa (sin notificaciones para los receptores). |\n| `peer` | `InputPeer` | si | Diálogo donde se abrió la aplicación web. |\n| `bot` | `InputUser` | si | Bot propietario de la [aplicación web](https://core.telegram.org/api/bots/webapps.md) |\n| `query_id` | `long` | si | ID de interacción de la aplicación web obtenido de [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md) |\n| `reply_to` | `InputReplyTo` | No | Si está configurado, indica que el mensaje en línea que enviará el bot en nombre del usuario una vez que la interacción con la aplicación web finalice](https://core.telegram.org/method/messages.sendWebViewResultMessage.md) debe enviarse en respuesta al mensaje o historia especificados. |\n| `send_as` | `InputPeer` | No | Abra la aplicación web como el par especificado |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2966952579"}}, "/catalog/messages.requestSimpleWebView": {"post": {"operationId": "messages.requestSimpleWebView", "tags": ["Mensajes"], "summary": "Abra una mini aplicación de bot.", "description": "Abra una [miniaplicación bot](https://core.telegram.org/api/bots/webapps.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Menú adjunto del bot y entradas del menú lateral](https://core.telegram.org/api/bots/attach.md)\n- [Mini aplicaciones en 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": "Resultado de MTProto · `WebViewResult`.\n\n[Resultado de WebView](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo de TL: WebViewResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `URL_INVALID` — No válido URL proporcionado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si la aplicación web se abrió haciendo clic en el botón `switch_webview` que se muestra en la parte superior de la lista de resultados en línea devuelta por [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": "Configure esta bandera si abre la Mini aplicación desde la [entrada del menú lateral »](https://core.telegram.org/api/bots/attach.md) instalada."}, "compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "En desuso."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Solicita abrir la aplicación en modo de pantalla completa."}, "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 propietario de la mini aplicación"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Aplicación web URL, si se abre desde un botón del teclado o desde un resultado en línea"}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "En desuso."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Parámetros del tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.0?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Nombre corto de la aplicación; 0-64 letras, dígitos y guiones bajos en inglés"}}, "additionalProperties": false, "required": ["bot", "platform"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `from_switch_webview` | `true` | No | Si la aplicación web se abrió haciendo clic en el botón `switch_webview` que se muestra en la parte superior de la lista de resultados en línea devuelta por [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults.md). |\n| `from_side_menu` | `true` | No | Configure esta bandera si abre la Mini aplicación desde la [entrada del menú lateral »](https://core.telegram.org/api/bots/attach.md) instalada. |\n| `compact` | `true` | No | En desuso. |\n| `fullscreen` | `true` | No | Solicita abrir la aplicación en modo de pantalla completa. |\n| `bot` | `InputUser` | si | Bot propietario de la mini aplicación |\n| `url` | `string` | No | Aplicación web URL, si se abre desde un botón del teclado o desde un resultado en línea |\n| `start_param` | `string` | No | En desuso. |\n| `theme_params` | `DataJSON` | No | [Parámetros del tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | si | Nombre corto de la aplicación; 0-64 letras, dígitos y guiones bajos en inglés |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "URL_INVALID"], "x-browser-schema-id": "1094336115"}}, "/catalog/messages.sendWebViewResultMessage": {"post": {"operationId": "messages.sendWebViewResultMessage", "tags": ["Mensajes"], "summary": "Finalice la interacción de vista web iniciada con messages.requestWebView, enviando el mensaje especificado al chat en nombre del usuario.", "description": "Finalizar la interacción de vista web iniciada con [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md), enviando el mensaje especificado al chat en nombre del usuario.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `WebViewMessageSent`.\n\n[WebViewMensaje enviado](https://core.telegram.org/type/WebViewMessageSent.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewMessageSent", "oneOf": [{"$ref": "#/components/schemas/webViewMessageSent"}], "description": "Tipo de TL: WebViewMessageSent."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `QUERY_ID_INVALID`: el ID de la consulta no es válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de interacción de vista web obtenido de [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": "Mensaje para enviar"}}, "additionalProperties": false, "required": ["bot_query_id", "result"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot_query_id` | `string` | si | ID de interacción de vista web obtenido de [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView.md) |\n| `result` | `InputBotInlineResult` | si | Mensaje para enviar |"}, "x-telegram-rpc-errors": ["QUERY_ID_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "172168437"}}, "/catalog/messages.sendWebViewData": {"post": {"operationId": "messages.sendWebViewData", "tags": ["Mensajes"], "summary": "Utilizado por el usuario para transmitir datos desde una mini aplicación de bot de teclado de respuesta abierta al bot que la posee.", "description": "Utilizado por el usuario para transmitir datos desde una [miniaplicación de bot de teclado de respuesta](https://core.telegram.org/api/bots/webapps.md) abierta al bot que la posee.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [eventos web](https://core.telegram.org/api/web-events.md)\n- [Mini aplicaciones en 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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 propietario de la aplicación web"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de mensaje de cliente único para evitar el envío duplicado del mismo evento. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "button_text": {"type": "string", "x-tl-type": "string", "description": "Texto del [keyboardButtonSimpleWebView](https://core.telegram.org/constructor/keyboardButtonSimpleWebView.md) que se presionó para abrir la aplicación web."}, "data": {"type": "string", "x-tl-type": "string", "description": "Datos para transmitir al bot, obtenidos de un [`web_app_data_send` evento JS](https://core.telegram.org/api/web-events.md#web-app-data-send)."}}, "additionalProperties": false, "required": ["bot", "random_id", "button_text", "data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | Bot propietario de la aplicación web |\n| `random_id` | `long` | si | ID de mensaje de cliente único para evitar el envío duplicado del mismo evento. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `button_text` | `string` | si | Texto del [keyboardButtonSimpleWebView](https://core.telegram.org/constructor/keyboardButtonSimpleWebView.md) que se presionó para abrir la aplicación web. |\n| `data` | `string` | si | Datos para transmitir al bot, obtenidos de un [`web_app_data_send` evento JS](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": ["Mensajes"], "summary": "Transcribir mensaje de voz", "description": "[Transcribir mensaje de voz](https://core.telegram.org/api/transcribe.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Transcripción de mensajes de voz](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": "Resultado de MTProto · `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": "Tipo TL: messages.TranscribedAudio."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `MSG_VOICE_MISSING` — El mensaje especificado no es un mensaje de voz.\n- 400 · `MSG_VOICE_TOO_LONG`: el mensaje de voz especificado es demasiado largo para transcribirlo.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción.\n- 400 · `TRANSCRIPTION_FAILED` — Error en la transcripción de audio."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID del par donde se envió el mensaje de voz"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje de voz"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | ID del par donde se envió el mensaje de voz |\n| `msg_id` | `int` | si | ID de mensaje de voz |"}, "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": ["Mensajes"], "summary": "Calificar mensaje de voz transcrito", "description": "Calificar [mensaje de voz transcrito](https://core.telegram.org/api/transcribe.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Transcripción de mensajes de voz](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se envió el mensaje de voz"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de transcripción", "x-tl-type": "long"}, "good": {"type": "boolean", "x-tl-type": "Bool", "description": "Si la transcripción fue correcta"}}, "additionalProperties": false, "required": ["peer", "msg_id", "transcription_id", "good"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se envió el mensaje de voz |\n| `msg_id` | `int` | si | ID de mensaje |\n| `transcription_id` | `long` | si | ID de transcripción |\n| `good` | `Bool` | si | Si la transcripción fue correcta |"}, "x-browser-schema-id": "2132608815"}}, "/catalog/messages.getCustomEmojiDocuments": {"post": {"operationId": "messages.getCustomEmojiDocuments", "tags": ["Mensajes"], "summary": "Obtener pegatinas emoji personalizadas ».", "description": "Busca [pegatinas emoji personalizadas»](https://core.telegram.org/api/custom-emoji.md).\n\nDevuelve una lista de [documentos](https://core.telegram.org/constructor/document.md) con el emoji personalizado animado en formato TGS y un atributo [documentAttributeCustomEmoji](https://core.telegram.org/constructor/documentAttributeCustomEmoji.md) con el emoji original e información sobre el conjunto de pegatinas de emoji al que pertenece este emoji personalizado.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](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": "Resultado de MTProto · `Vector<Document>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Documento](https://core.telegram.org/type/Document.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "oneOf": [{"$ref": "#/components/schemas/documentEmpty"}, {"$ref": "#/components/schemas/document"}], "description": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "[Emoji personalizado](https://core.telegram.org/api/custom-emoji.md) ID de un [messageEntityCustomEmoji](https://core.telegram.org/constructor/messageEntityCustomEmoji.md)."}}, "additionalProperties": false, "required": ["document_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `document_id` | `Vector<long>` | si | [Emoji personalizado](https://core.telegram.org/api/custom-emoji.md) ID de un [messageEntityCustomEmoji](https://core.telegram.org/constructor/messageEntityCustomEmoji.md). |"}, "x-browser-schema-id": "3651866452"}}, "/catalog/messages.getEmojiStickers": {"post": {"operationId": "messages.getEmojiStickers", "tags": ["Mensajes"], "summary": "Obtiene la lista de conjuntos de stickers emoji personalizados instalados actualmente.", "description": "Obtiene la lista de [conjuntos de stickers emoji personalizados](https://core.telegram.org/api/custom-emoji.md)] instalados actualmente.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [emojis personalizados](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": "Resultado de MTProto · `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": "Tipo TL: messages.AllStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "4227637647"}}, "/catalog/messages.getFeaturedEmojiStickers": {"post": {"operationId": "messages.getFeaturedEmojiStickers", "tags": ["Mensajes"], "summary": "Obtiene conjuntos de pegatinas emoji personalizados destacados.", "description": "Obtiene conjuntos de pegatinas emoji personalizados destacados.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.FeaturedStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "248473398"}}, "/catalog/messages.reportReaction": {"post": {"operationId": "messages.reportReaction", "tags": ["Mensajes"], "summary": "Informar una reacción a un mensaje", "description": "Informar una [reacción al mensaje](https://core.telegram.org/api/reactions.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se envió el mensaje"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}, "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": "Compañero que envió la reacción"}}, "additionalProperties": false, "required": ["peer", "id", "reaction_peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se envió el mensaje |\n| `id` | `int` | si | ID de mensaje |\n| `reaction_peer` | `InputPeer` | si | Compañero que envió la reacción |"}, "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": ["Mensajes"], "summary": "Obtuve reacciones de mensajes populares", "description": "Se volvió popular [reacciones de mensajes](https://core.telegram.org/api/reactions.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Reacciones al mensaje](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": "Resultado de MTProto · `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": "Tipo TL: messages.Reactions."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3145803194"}}, "/catalog/messages.getRecentReactions": {"post": {"operationId": "messages.getRecentReactions", "tags": ["Mensajes"], "summary": "Obtener reacciones a mensajes usados recientemente", "description": "Consiga utilizado recientemente [reacciones del mensaje](https://core.telegram.org/api/reactions.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Reacciones al mensaje](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": "Resultado de MTProto · `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": "Tipo TL: messages.Reactions."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "960896434"}}, "/catalog/messages.clearRecentReactions": {"post": {"operationId": "messages.clearRecentReactions", "tags": ["Mensajes"], "summary": "Borrar reacciones de mensajes usados recientemente", "description": "Borrar usado recientemente [reacciones de mensajes](https://core.telegram.org/api/reactions.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.clearRecentReactions"}, "x-browser-schema-id": "2650730420"}}, "/catalog/messages.getExtendedMedia": {"post": {"operationId": "messages.getExtendedMedia", "tags": ["Mensajes"], "summary": "Obtenga información actualizada sobre medios pagos, consulte aquí » para obtener el flujo completo.", "description": "Obtenga información actualizada sobre [medios pagos, consulte aquí »](https://core.telegram.org/api/paid-media.md) para ver el flujo completo.\n\nEste método devolverá una serie de actualizaciones [updateMessageExtendedMedia](https://core.telegram.org/constructor/updateMessageExtendedMedia.md), solo para mensajes que contengan medios pagos **ya comprados**.\nNo se devolverá información sobre mensajes que contengan medios pagos que aún no se hayan comprado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Medios pagados](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Compañero con mensajes de medios pagos visibles."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de mensajes actualmente visibles que contienen medios pagos."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Compañero con mensajes de medios pagos visibles. |\n| `id` | `Vector<int>` | si | ID de mensajes actualmente visibles que contienen medios pagos. |"}, "x-browser-schema-id": "2230847508"}}, "/catalog/messages.setDefaultHistoryTTL": {"post": {"operationId": "messages.setDefaultHistoryTTL", "tags": ["Mensajes"], "summary": "Cambia el valor predeterminado de la configuración de tiempo de vida, que se aplica a todos los chats nuevos.", "description": "Cambia el valor predeterminado de la configuración de tiempo de vida, que se aplica a todos los chats nuevos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `TTL_PERIOD_INVALID`: el período TTL especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El nuevo tiempo de vida predeterminado de todos los mensajes enviados en chats nuevos, en segundos."}}, "additionalProperties": false, "required": ["period"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `period` | `int` | si | El nuevo tiempo de vida predeterminado de todos los mensajes enviados en chats nuevos, en segundos. |"}, "x-telegram-rpc-errors": ["TTL_PERIOD_INVALID"], "x-browser-schema-id": "2662667333"}}, "/catalog/messages.getDefaultHistoryTTL": {"post": {"operationId": "messages.getDefaultHistoryTTL", "tags": ["Mensajes"], "summary": "Obtiene el valor predeterminado de la configuración de tiempo de vida, que se aplica a todos los chats nuevos.", "description": "Obtiene el valor predeterminado de la configuración de tiempo de vida, que se aplica a todos los chats nuevos.", "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": "Resultado de MTProto · `DefaultHistoryTTL`.\n\n[Historial predeterminadoTTL](https://core.telegram.org/type/DefaultHistoryTTL.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DefaultHistoryTTL", "oneOf": [{"$ref": "#/components/schemas/defaultHistoryTTL"}], "description": "Tipo de TL: DefaultHistoryTTL."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.getDefaultHistoryTTL"}, "x-browser-schema-id": "1703637384"}}, "/catalog/messages.sendBotRequestedPeer": {"post": {"operationId": "messages.sendBotRequestedPeer", "tags": ["Mensajes"], "summary": "Envíe uno o más pares elegidos, según lo solicite un botón KeyboardButtonRequestPeer.", "description": "Envíe uno o más pares elegidos, según lo solicite un botón [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Botones de robots](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot que envió el botón [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md)."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "ID del mensaje que contenía el teclado de respuesta con el botón [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md)."}, "webapp_req_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Si el botón estaba preparado para una [Mini Aplicación »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps), el ID de solicitud de la Mini Aplicación devuelto por [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md)."}, "button_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El campo `button_id` del constructor [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md)."}, "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Los compañeros elegidos."}}, "additionalProperties": false, "required": ["peer", "button_id", "requested_peers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El bot que envió el botón [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md). |\n| `msg_id` | `int` | No | ID del mensaje que contenía el teclado de respuesta con el botón [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md). |\n| `webapp_req_id` | `string` | No | Si el botón estaba preparado para una [Mini Aplicación »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps), el ID de solicitud de la Mini Aplicación devuelto por [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md). |\n| `button_id` | `int` | si | El campo `button_id` del constructor [keyboardButtonRequestPeer](https://core.telegram.org/constructor/keyboardButtonRequestPeer.md). |\n| `requested_peers` | `Vector<InputPeer>` | si | Los compañeros elegidos. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "1818030759"}}, "/catalog/messages.getEmojiGroups": {"post": {"operationId": "messages.getEmojiGroups", "tags": ["Mensajes"], "summary": "Representa una lista de categorías de emoji.", "description": "Representa una lista de [categorías de emoji](https://core.telegram.org/api/emoji-categories.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Categorías de emojis](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": "Resultado de MTProto · `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": "Tipo TL: messages.EmojiGroups."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1955122779"}}, "/catalog/messages.getEmojiStatusGroups": {"post": {"operationId": "messages.getEmojiStatusGroups", "tags": ["Mensajes"], "summary": "Representa una lista de categorías de emoji, que se utilizarán al seleccionar emojis personalizados para establecerlos como estado de emoji personalizado.", "description": "Representa una lista de [categorías de emoji](https://core.telegram.org/api/emoji-categories.md), que se usarán al seleccionar emojis personalizados para establecerlos como [estado de emoji personalizado](https://core.telegram.org/api.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Categorías de emojis](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": "Resultado de MTProto · `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": "Tipo TL: messages.EmojiGroups."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "785209037"}}, "/catalog/messages.getEmojiProfilePhotoGroups": {"post": {"operationId": "messages.getEmojiProfilePhotoGroups", "tags": ["Mensajes"], "summary": "Representa una lista de categorías de emoji, que se utilizarán al seleccionar emojis personalizados para establecerlos como imagen de perfil.", "description": "Representa una lista de [categorías de emoji](https://core.telegram.org/api/emoji-categories.md), que se usarán al seleccionar emojis personalizados para establecer como [imagen de perfil](https://core.telegram.org/api/files.md#sticker-profile-pictures).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Categorías de emojis](https://core.telegram.org/api/emoji-categories.md)\n- [Carga y descarga de archivos](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": "Resultado de MTProto · `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": "Tipo TL: messages.EmojiGroups."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "564480243"}}, "/catalog/messages.searchCustomEmoji": {"post": {"operationId": "messages.searchCustomEmoji", "tags": ["Mensajes"], "summary": "Busque emojis personalizados asociados a un emoji UTF8", "description": "Busque [emojis personalizados](https://core.telegram.org/api/custom-emoji.md) asociados a un emoji UTF8\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [emojis personalizados](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": "Resultado de MTProto · `EmojiList`.\n\n[ListaEmoji](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": "Tipo TL: Lista de emojis."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `EMOTICON_EMPTY` — El emoji está vacío."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "los emojis"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["emoticon", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `emoticon` | `string` | si | los emojis |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](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": ["Mensajes"], "summary": "Mostrar u ocultar la ventana emergente de traducción de chat en tiempo real para un chat determinado", "description": "Mostrar u ocultar la [ventana emergente de traducción de chat en tiempo real](https://core.telegram.org/api/translation.md) para un chat determinado\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Traducción de mensajes](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe deshabilitar o habilitar la ventana emergente de traducción del chat en tiempo real"}, "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": "el par"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `disabled` | `true` | No | Si se debe deshabilitar o habilitar la ventana emergente de traducción del chat en tiempo real |\n| `peer` | `InputPeer` | si | el par |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3833378169"}}, "/catalog/messages.getBotApp": {"post": {"operationId": "messages.getBotApp", "tags": ["Mensajes"], "summary": "Obtener información sobre una Mini App de enlace directo", "description": "Obtener información sobre una [Mini App de enlace directo](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Mini aplicaciones en 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": "Resultado de MTProto · `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": "Tipo TL: messages.BotApp."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_APP_BOT_INVALID`: el bot_id pasado en el constructor inputBotAppShortName no es válido.\n- 400 · `BOT_APP_INVALID`: la aplicación de bot especificada no es válida.\n- 400 · `BOT_APP_SHORTNAME_INVALID`: el nombre corto de la aplicación de bot especificada no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Información de la aplicación de bot obtenida de un [enlace profundo de la mini aplicación directa» ](https://core.telegram.org/api/links.md#direct-mini-app-links)."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["app", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `app` | `InputBotApp` | si | Información de la aplicación de bot obtenida de un [enlace profundo de la mini aplicación directa» ](https://core.telegram.org/api/links.md#direct-mini-app-links). |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": ["Mensajes"], "summary": "Abra una mini aplicación de bot desde un enlace profundo directo de la mini aplicación y envíe información del usuario después de la confirmación del usuario.", "description": "Abra una [miniaplicación de bot](https://core.telegram.org/bots/webapps.md) desde un [enlace profundo directo de la miniaplicación](https://core.telegram.org/api/links.md#direct-mini-app-links) y envíe la información del usuario después de la confirmación del usuario.\n\nDespués de llamar a este método, hasta que el usuario cierre la vista web, se debe llamar a [messages.prolongWebView](https://core.telegram.org/method/messages.prolongWebView.md) cada 60 segundos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Mini aplicaciones en 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": "Resultado de MTProto · `WebViewResult`.\n\n[Resultado de WebView](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo de TL: WebViewResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_APP_BOT_INVALID`: el bot_id pasado en el constructor inputBotAppShortName no es válido.\n- 400 · `BOT_APP_INVALID`: la aplicación de bot especificada no es válida.\n- 400 · `BOT_APP_SHORTNAME_INVALID`: el nombre corto de la aplicación de bot especificada no es válido.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `THEME_PARAMS_INVALID`: el campo `theme_params` especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Establezca esta marca si el bot solicita permiso para enviar mensajes al usuario como se especifica en los documentos [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links)] y el usuario aceptó."}, "compact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Si está configurado, solicita abrir la mini aplicación en modo compacto (a diferencia del modo normal o de pantalla completa). Se debe configurar si el parámetro `mode` del [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links) es igual a `compact`."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Si está configurado, solicita abrir la mini aplicación en modo de pantalla completa (a diferencia del modo compacto o normal). Se debe configurar si el parámetro `mode` del [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links) es igual a `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": "Si el cliente ha hecho clic en el enlace en un chat de Telegram, pase la información del compañero del chat; de lo contrario, pase la información de pares del bot."}, "app": {"type": "object", "x-tl-type": "InputBotApp", "oneOf": [{"$ref": "#/components/schemas/inputBotAppID"}, {"$ref": "#/components/schemas/inputBotAppShortName"}], "description": "La aplicación se obtiene al invocar [messages.getBotApp](https://core.telegram.org/method/messages.getBotApp.md) como se especifica en los documentos [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links)."}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Si el parámetro de cadena de consulta `startapp` está presente en el [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links), páselo a `start_param`."}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Parámetros del tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.2?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Nombre corto de la aplicación; 0-64 letras, dígitos y guiones bajos en inglés"}}, "additionalProperties": false, "required": ["peer", "app", "platform"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `write_allowed` | `true` | No | Establezca esta marca si el bot solicita permiso para enviar mensajes al usuario como se especifica en los documentos [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links)] y el usuario aceptó. |\n| `compact` | `true` | No | Si está configurado, solicita abrir la mini aplicación en modo compacto (a diferencia del modo normal o de pantalla completa). Se debe configurar si el parámetro `mode` del [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links) es igual a `compact`. |\n| `fullscreen` | `true` | No | Si está configurado, solicita abrir la mini aplicación en modo de pantalla completa (a diferencia del modo compacto o normal). Se debe configurar si el parámetro `mode` del [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links) es igual a `fullscreen`. |\n| `peer` | `InputPeer` | si | Si el cliente ha hecho clic en el enlace en un chat de Telegram, pase la información del compañero del chat; de lo contrario, pase la información de pares del bot. |\n| `app` | `InputBotApp` | si | La aplicación se obtiene al invocar [messages.getBotApp](https://core.telegram.org/method/messages.getBotApp.md) como se especifica en los documentos [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links). |\n| `start_param` | `string` | No | Si el parámetro de cadena de consulta `startapp` está presente en el [enlace profundo directo de la mini aplicación](https://core.telegram.org/api/links.md#direct-mini-app-links), páselo a `start_param`. |\n| `theme_params` | `DataJSON` | No | [Parámetros del tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | si | Nombre corto de la aplicación; 0-64 letras, dígitos y guiones bajos en inglés |"}, "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": ["Mensajes"], "summary": "Establecer un fondo de pantalla personalizado» en un chat privado específico con otro usuario.", "description": "Establece un [fondo de pantalla»](https://core.telegram.org/api/wallpapers.md) personalizado en un chat privado específico con otro usuario.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Fondos de pantalla de chat](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `WALLPAPER_INVALID`: el fondo de pantalla especificado no es válido.\n- 400 · `WALLPAPER_NOT_FOUND`: no se pudo encontrar el fondo de pantalla especificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Solo para usuarios [Premium](https://core.telegram.org/api/premium.md), establece el fondo de pantalla especificado para ambos usuarios del chat, sin requerir confirmación del otro usuario."}, "revert": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Si no nos gusta el nuevo fondo de pantalla que el otro usuario del chat ha elegido para nosotros usando la bandera `for_both`, podemos restablecer nuestro fondo de pantalla anterior justo en nuestro lado usando esta bandera."}, "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": "El chat privado donde se establecerá el fondo de pantalla."}, "wallpaper": {"type": "object", "x-tl-type": "InputWallPaper", "oneOf": [{"$ref": "#/components/schemas/inputWallPaper"}, {"$ref": "#/components/schemas/inputWallPaperSlug"}, {"$ref": "#/components/schemas/inputWallPaperNoFile"}], "description": "El [fondo de pantalla »](https://core.telegram.org/api/wallpapers.md), obtenido como se describe en la [documentación del fondo de pantalla »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers); **no** se debe proporcionar al instalar un fondo de pantalla obtenido de un mensaje de servicio [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md) (en su lugar, se debe proporcionar `id`).", "x-tl-flag": "flags.0?InputWallPaper"}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "oneOf": [{"$ref": "#/components/schemas/wallPaperSettings"}], "description": "Configuración del fondo de pantalla, obtenida como se describe en la [documentación del fondo de pantalla »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers) o desde [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": "Si el fondo de pantalla se obtuvo de un mensaje de servicio [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md), debe contener el ID de ese mensaje."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `for_both` | `true` | No | Solo para usuarios [Premium](https://core.telegram.org/api/premium.md), establece el fondo de pantalla especificado para ambos usuarios del chat, sin requerir confirmación del otro usuario. |\n| `revert` | `true` | No | Si no nos gusta el nuevo fondo de pantalla que el otro usuario del chat ha elegido para nosotros usando la bandera `for_both`, podemos restablecer nuestro fondo de pantalla anterior justo en nuestro lado usando esta bandera. |\n| `peer` | `InputPeer` | si | El chat privado donde se establecerá el fondo de pantalla. |\n| `wallpaper` | `InputWallPaper` | No | El [fondo de pantalla »](https://core.telegram.org/api/wallpapers.md), obtenido como se describe en la [documentación del fondo de pantalla »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers); **no** se debe proporcionar al instalar un fondo de pantalla obtenido de un mensaje de servicio [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md) (en su lugar, se debe proporcionar `id`). |\n| `settings` | `WallPaperSettings` | No | Configuración del fondo de pantalla, obtenida como se describe en la [documentación del fondo de pantalla »](https://core.telegram.org/api/wallpapers.md#uploading-wallpapers) o desde [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md).`wallpaper`.`settings`. |\n| `id` | `int` | No | Si el fondo de pantalla se obtuvo de un mensaje de servicio [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper.md), debe contener el ID de ese mensaje. |"}, "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": ["Mensajes"], "summary": "Buscar conjuntos de stickers emoji personalizados »", "description": "Busque [conjuntos de pegatinas emoji personalizados »](https://core.telegram.org/api/custom-emoji.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [emojis personalizados](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": "Resultado de MTProto · `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": "Tipo TL: messages.FoundStickerSets."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Excluir conjuntos de stickers destacados de los resultados"}, "q": {"type": "string", "x-tl-type": "string", "description": "cadena de consulta"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["q", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `exclude_featured` | `true` | No | Excluir conjuntos de stickers destacados de los resultados |\n| `q` | `string` | si | cadena de consulta |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2461288780"}}, "/catalog/messages.getSavedDialogs": {"post": {"operationId": "messages.getSavedDialogs", "tags": ["Mensajes"], "summary": "Devuelve la lista de diálogos guardados actualmente » o la lista de temas de monoforum ».", "description": "Devuelve la actual [lista de diálogos guardados »](https://core.telegram.org/api/saved-messages.md) o [lista de temas de monoforo »](https://core.telegram.org/api/monoforum.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Mensajes guardados](https://core.telegram.org/api/saved-messages.md)\n- [Mensajes directos a canales.](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": "Resultado de MTProto · `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": "Tipo TL: messages.SavedDialogs."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Excluir cuadros de diálogo anclados"}, "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": "Si está configurado, recupera la lista de temas del monoforo pasado; de lo contrario, recupera la lista de diálogos guardados.", "x-tl-flag": "flags.1?InputPeer"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) (`top_message` ID utilizado para paginación)"}, "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": "[Comparación de pares para paginación](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de elementos de la lista que se devolverán"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `exclude_pinned` | `true` | No | Excluir cuadros de diálogo anclados |\n| `parent_peer` | `InputPeer` | No | Si está configurado, recupera la lista de temas del monoforo pasado; de lo contrario, recupera la lista de diálogos guardados. |\n| `offset_date` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) (`top_message` ID utilizado para paginación) |\n| `offset_peer` | `InputPeer` | si | [Comparación de pares para paginación](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número de elementos de la lista que se devolverán |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation) |"}, "x-browser-schema-id": "512883865"}}, "/catalog/messages.getSavedHistory": {"post": {"operationId": "messages.getSavedHistory", "tags": ["Mensajes"], "summary": "Recuperar mensajes guardados » reenviados desde un par específico, o recuperar mensajes de un tema de monoforo ».", "description": "Recuperar [mensajes guardados »](https://core.telegram.org/api/saved-messages.md) reenviados desde un par específico, o recuperar mensajes de un [tema monoforo »](https://core.telegram.org/api/monoforum.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Mensajes guardados](https://core.telegram.org/api/saved-messages.md)\n- [Mensajes directos a canales.](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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PARENT_PEER_INVALID`: el `parent_peer` especificado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, recupera mensajes del monoforo especificado; de lo contrario, recupera mensajes de mensajes guardados.", "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": "Par objetivo (o tema)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Solo devolver mensajes a partir del ID de mensaje especificado"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Sólo devolver mensajes enviados antes de la fecha especificada"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de elementos de la lista que se van a omitir; también se aceptan valores negativos."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de resultados a devolver"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se transfirió un valor positivo, el método devolverá solo mensajes con ID inferiores a **max_id**"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se transfirió un valor positivo, el método devolverá solo mensajes con ID superiores a **min_id**"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Resultado 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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | No | Si está configurado, recupera mensajes del monoforo especificado; de lo contrario, recupera mensajes de mensajes guardados. |\n| `peer` | `InputPeer` | si | Par objetivo (o tema) |\n| `offset_id` | `int` | si | Solo devolver mensajes a partir del ID de mensaje especificado |\n| `offset_date` | `int` | si | Sólo devolver mensajes enviados antes de la fecha especificada |\n| `add_offset` | `int` | si | Número de elementos de la lista que se van a omitir; también se aceptan valores negativos. |\n| `limit` | `int` | si | Número de resultados a devolver |\n| `max_id` | `int` | si | Si se transfirió un valor positivo, el método devolverá solo mensajes con ID inferiores a **max_id** |\n| `min_id` | `int` | si | Si se transfirió un valor positivo, el método devolverá solo mensajes con ID superiores a **min_id** |\n| `hash` | `long` | si | [Resultado 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": ["Mensajes"], "summary": "Elimina mensajes de un tema de monoforo», o elimina mensajes reenviados desde un par específico a mensajes guardados».", "description": "Elimina mensajes de un [tema de monoforo »](https://core.telegram.org/api/monoforum.md), o elimina mensajes reenviados desde un par específico a [mensajes guardados »](https://core.telegram.org/api/saved-messages.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Mensajes guardados](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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedHistory."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se establece, afecta los mensajes del [tema monoforum »](https://core.telegram.org/api/monoforum.md) pasado, de lo contrario afecta a [mensajes guardados »](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, cuyos mensajes se eliminarán de [mensajes guardados »](https://core.telegram.org/api/saved-messages.md), o el ID del tema."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID máximo del mensaje a eliminar"}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "Eliminar todos los mensajes más recientes que esta UNIX marca de tiempo"}, "max_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int", "description": "Eliminar todos los mensajes anteriores a esta UNIX marca de tiempo"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | No | Si se establece, afecta los mensajes del [tema monoforum »](https://core.telegram.org/api/monoforum.md) pasado, de lo contrario afecta a [mensajes guardados »](https://core.telegram.org/api/saved-messages.md). |\n| `peer` | `InputPeer` | si | Peer, cuyos mensajes se eliminarán de [mensajes guardados »](https://core.telegram.org/api/saved-messages.md), o el ID del tema. |\n| `max_id` | `int` | si | ID máximo del mensaje a eliminar |\n| `min_date` | `int` | No | Eliminar todos los mensajes más recientes que esta UNIX marca de tiempo |\n| `max_date` | `int` | No | Eliminar todos los mensajes anteriores a esta UNIX marca de tiempo |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1304758367"}}, "/catalog/messages.getPinnedSavedDialogs": {"post": {"operationId": "messages.getPinnedSavedDialogs", "tags": ["Mensajes"], "summary": "Obtenga cuadros de diálogo guardados anclados, consulte aquí » para obtener más información.", "description": "Fije [diálogos guardados, consulte aquí »](https://core.telegram.org/api/saved-messages.md) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes guardados](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": "Resultado de MTProto · `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": "Tipo TL: messages.SavedDialogs."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.getPinnedSavedDialogs"}, "x-browser-schema-id": "3594360032"}}, "/catalog/messages.toggleSavedDialogPin": {"post": {"operationId": "messages.toggleSavedDialogPin", "tags": ["Mensajes"], "summary": "Fijar o desanclar un cuadro de diálogo de mensaje guardado ».", "description": "Anclar o desanclar un [cuadro de diálogo de mensaje guardado »](https://core.telegram.org/api/saved-messages.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes guardados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si anclar o desanclar el diálogo"}, "peer": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "El diálogo para anclar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `pinned` | `true` | No | Si anclar o desanclar el diálogo |\n| `peer` | `InputDialogPeer` | si | El diálogo para anclar |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2894183390"}}, "/catalog/messages.reorderPinnedSavedDialogs": {"post": {"operationId": "messages.reorderPinnedSavedDialogs", "tags": ["Mensajes"], "summary": "Reordenar los cuadros de diálogo de mensajes guardados anclados».", "description": "Reordenar los [diálogos de mensajes guardados fijados »](https://core.telegram.org/api/saved-messages.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes guardados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, los cuadros de diálogo fijados en el lado del servidor pero que no están presentes en el campo `order` se desanclarán."}, "order": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDialogPeer", "oneOf": [{"$ref": "#/components/schemas/inputDialogPeer"}, {"$ref": "#/components/schemas/inputDialogPeerFolder"}, {"$ref": "#/components/schemas/inputDialogPeerCommunity"}], "description": "Tipo de TL: InputDialogPeer."}, "x-tl-type": "Vector<InputDialogPeer>", "description": "Nuevo orden de diálogo"}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `force` | `true` | No | Si está configurado, los cuadros de diálogo fijados en el lado del servidor pero que no están presentes en el campo `order` se desanclarán. |\n| `order` | `Vector<InputDialogPeer>` | si | Nuevo orden de diálogo |"}, "x-browser-schema-id": "2339464583"}}, "/catalog/messages.getSavedReactionTags": {"post": {"operationId": "messages.getSavedReactionTags", "tags": ["Mensajes"], "summary": "Obtenga la lista completa de etiquetas de mensajes guardados creadas por el usuario.", "description": "Obtenga la lista completa de [etiquetas de mensajes guardados](https://core.telegram.org/api/saved-messages.md#tags) creadas por el usuario.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes guardados](https://core.telegram.org/api/saved-messages.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.SavedReactionTags."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se establece, devuelve etiquetas que solo se usan en el [diálogo de mensaje guardado](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs)] especificado.", "x-tl-flag": "flags.0?InputPeer"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | No | Si se establece, devuelve etiquetas que solo se usan en el [diálogo de mensaje guardado](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs)] especificado. |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](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": ["Mensajes"], "summary": "Actualizar la descripción de una etiqueta de mensaje guardado ».", "description": "Actualice la [descripción de una etiqueta de mensaje guardado »](https://core.telegram.org/api/saved-messages.md#tags).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](https://core.telegram.org/api/reactions.md)\n- [Mensajes guardados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción.\n- 400 · `REACTION_INVALID` — La reacción especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Reacción](https://core.telegram.org/api/reactions.md) asociada a la etiqueta"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Descripción de la etiqueta, máximo 12 UTF-8 caracteres; para eliminar la descripción, llame al método sin configurar este indicador."}}, "additionalProperties": false, "required": ["reaction"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `reaction` | `Reaction` | si | [Reacción](https://core.telegram.org/api/reactions.md) asociada a la etiqueta |\n| `title` | `string` | No | Descripción de la etiqueta, máximo 12 UTF-8 caracteres; para eliminar la descripción, llame al método sin configurar este indicador. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED", "REACTION_INVALID"], "x-browser-schema-id": "1613331948"}}, "/catalog/messages.getDefaultTagReactions": {"post": {"operationId": "messages.getDefaultTagReactions", "tags": ["Mensajes"], "summary": "Obtenga una lista recomendada predeterminada de reacciones de etiquetas de mensajes guardados.", "description": "Obtenga una lista recomendada predeterminada de [reacciones de etiquetas de mensajes guardados](https://core.telegram.org/api/saved-messages.md#tags).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Mensajes guardados](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": "Resultado de MTProto · `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": "Tipo TL: messages.Reactions."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3187225640"}}, "/catalog/messages.getOutboxReadDate": {"post": {"operationId": "messages.getOutboxReadDate", "tags": ["Mensajes"], "summary": "Obtén la fecha exacta de lectura de uno de nuestros mensajes, enviado a un chat privado con otro usuario.", "description": "Obtén la fecha exacta de lectura de uno de nuestros mensajes, enviado a un chat privado con otro usuario.\n\nSolo se puede hacer para mensajes salientes privados que no tengan más de [appConfig.pm\\_read\\_date\\_expire\\_period »](https://core.telegram.org/api/config.md#pm-read-date-expire-period).\n\nSi el indicador [userFull](https://core.telegram.org/constructor/userFull.md).`read_dates_private` de `peer` está configurado, no podremos recuperar la fecha de lectura exacta de los mensajes que les enviamos y se emitirá un error `USER_PRIVACY_RESTRICTED` RPC.\nEs posible que la fecha exacta de lectura de los mensajes aún no esté disponible por otros motivos; consulte [aquí »](https://core.telegram.org/constructor/globalPrivacySettings.md) para obtener más información.\nPara configurar [userFull](https://core.telegram.org/constructor/userFull.md).`read_dates_private` para nosotros mismos, invocamos [account.setGlobalPrivacySettings](https://core.telegram.org/method/account.setGlobalPrivacySettings.md), configurando el indicador `settings.hide_read_marks`.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Telegrama 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": "Resultado de MTProto · `OutboxReadDate`.\n\n[Fecha de lectura de la bandeja de salida](https://core.telegram.org/type/OutboxReadDate.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "OutboxReadDate", "oneOf": [{"$ref": "#/components/schemas/outboxReadDate"}], "description": "Tipo de TL: OutboxReadDate."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MESSAGE_NOT_READ_YET`: el mensaje especificado aún no se ha leído.\n- 400 · `MESSAGE_TOO_OLD` — El mensaje es demasiado antiguo, la información solicitada no está disponible.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario no le permite hacer esto.\n- 403 · `YOUR_PRIVACY_RESTRICTED` — No puedes recuperar la fecha de lectura de este mensaje porque no has permitido que otros usuarios lo hagan para *tus* mensajes; Para solucionarlo, permita que otros usuarios vean *su* última fecha exacta en línea O compre una suscripción [Telegram Premium](https://core.telegram.org/api/premium.md)."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El usuario al que le enviamos el mensaje."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El identificador del mensaje."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El usuario al que le enviamos el mensaje. |\n| `msg_id` | `int` | si | El identificador del mensaje. |"}, "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": ["Mensajes"], "summary": "Obtenga información básica sobre todos los atajos de respuesta rápida existentes.", "description": "Obtenga información básica sobre todos los [atajos de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts)] existentes.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: messages.QuickReplies."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 para paginación, generado como se especifica [aquí »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (no es el algoritmo habitual utilizado para la generación de hash).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | Hash para paginación, generado como se especifica [aquí »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (no es el algoritmo habitual utilizado para la generación de hash). |"}, "x-browser-schema-id": "3565417128"}}, "/catalog/messages.reorderQuickReplies": {"post": {"operationId": "messages.reorderQuickReplies", "tags": ["Mensajes"], "summary": "Reordenar los atajos de respuesta rápida.", "description": "Reordenar [atajos de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\nEsto emitirá una actualización [updateQuickReplies](https://core.telegram.org/constructor/updateQuickReplies.md) para otras sesiones iniciadas.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de todos los [atajos de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts)] creados, en el orden deseado."}}, "additionalProperties": false, "required": ["order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `order` | `Vector<int>` | si | ID de todos los [atajos de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts)] creados, en el orden deseado. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1613961479"}}, "/catalog/messages.checkQuickReplyShortcut": {"post": {"operationId": "messages.checkQuickReplyShortcut", "tags": ["Mensajes"], "summary": "Antes de ofrecer al usuario la opción de agregar un mensaje a un acceso directo de respuesta rápida, asegúrese de que no se haya alcanzado ninguno de los límites aquí especificados.", "description": "Antes de ofrecer al usuario la opción de agregar un mensaje a un [atajo de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts), para asegurarse de que no se haya alcanzado ninguno de los límites especificados [aquí »](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nombre del acceso directo (¡no ID!)."}}, "additionalProperties": false, "required": ["shortcut"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `shortcut` | `string` | si | Nombre del acceso directo (¡no ID!). |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4057005011"}}, "/catalog/messages.editQuickReplyShortcut": {"post": {"operationId": "messages.editQuickReplyShortcut", "tags": ["Mensajes"], "summary": "Cambie el nombre de un acceso directo de respuesta rápida.", "description": "Cambie el nombre de un [atajo de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\nEsto emitirá una actualización [updateQuickReplies](https://core.telegram.org/constructor/updateQuickReplies.md) para otras sesiones iniciadas.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción.\n- 400 · `SHORTCUT_INVALID`: el acceso directo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[ID de acceso directo](https://core.telegram.org/api/business.md#quick-reply-shortcuts)."}, "shortcut": {"type": "string", "x-tl-type": "string", "description": "Nuevo nombre de acceso directo."}}, "additionalProperties": false, "required": ["shortcut_id", "shortcut"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | si | [ID de acceso directo](https://core.telegram.org/api/business.md#quick-reply-shortcuts). |\n| `shortcut` | `string` | si | Nuevo nombre de acceso directo. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED", "SHORTCUT_INVALID"], "x-browser-schema-id": "1543519471"}}, "/catalog/messages.deleteQuickReplyShortcut": {"post": {"operationId": "messages.deleteQuickReplyShortcut", "tags": ["Mensajes"], "summary": "Elimina por completo un acceso directo de respuesta rápida.", "description": "Elimine por completo un [atajo de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\nEsto también emitirá una actualización [updateDeleteQuickReply](https://core.telegram.org/constructor/updateDeleteQuickReply.md) para otras sesiones iniciadas (y *no* [updateDeleteQuickReplyMessages](https://core.telegram.org/constructor/updateDeleteQuickReplyMessages.md) actualizaciones, incluso si todos los mensajes en los accesos directos también se eliminan con este método).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SHORTCUT_INVALID`: el acceso directo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[ID de acceso directo](https://core.telegram.org/api/business.md#quick-reply-shortcuts)"}}, "additionalProperties": false, "required": ["shortcut_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | si | [ID de acceso directo](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": ["Mensajes"], "summary": "Recupera (un subconjunto o todos) los mensajes en un atajo de respuesta rápida ».", "description": "Recupera (un subconjunto o todos) los mensajes en un [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SHORTCUT_INVALID`: el acceso directo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de acceso directo de respuesta rápida."}, "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": "ID de los mensajes a recuperar; si está vacío, los recupera todos."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash para paginación, generado como se especifica [aquí »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (no es el algoritmo habitual utilizado para la generación de hash).", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["shortcut_id", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | si | ID de acceso directo de respuesta rápida. |\n| `id` | `Vector<int>` | No | ID de los mensajes a recuperar; si está vacío, los recupera todos. |\n| `hash` | `long` | si | Hash para paginación, generado como se especifica [aquí »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) (no es el algoritmo habitual utilizado para la generación de hash). |"}, "x-telegram-rpc-errors": ["SHORTCUT_INVALID"], "x-browser-schema-id": "2493814211"}}, "/catalog/messages.sendQuickReplyMessages": {"post": {"operationId": "messages.sendQuickReplyMessages", "tags": ["Mensajes"], "summary": "Enviar un atajo de respuesta rápida ».", "description": "Envíe un [atajo de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par al que enviar el acceso directo (solo usuarios, por ahora)."}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El ID del acceso directo de respuesta rápida para enviar."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Especifique un subconjunto de mensajes del acceso directo para enviar; si está vacío, el valor predeterminado son todos."}, "random_id": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Los ID de cliente únicos necesarios para evitar el reenvío de mensajes, uno para cada mensaje que enviamos, pueden estar vacíos (pero no se recomiendan). Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID."}}, "additionalProperties": false, "required": ["peer", "shortcut_id", "id", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par al que enviar el acceso directo (solo usuarios, por ahora). |\n| `shortcut_id` | `int` | si | El ID del acceso directo de respuesta rápida para enviar. |\n| `id` | `Vector<int>` | si | Especifique un subconjunto de mensajes del acceso directo para enviar; si está vacío, el valor predeterminado son todos. |\n| `random_id` | `Vector<long>` | si | Los ID de cliente únicos necesarios para evitar el reenvío de mensajes, uno para cada mensaje que enviamos, pueden estar vacíos (pero no se recomiendan). Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "1819610593"}}, "/catalog/messages.deleteQuickReplyMessages": {"post": {"operationId": "messages.deleteQuickReplyMessages", "tags": ["Mensajes"], "summary": "Elimina uno o más mensajes desde un acceso directo de respuesta rápida. Esto también emitirá una actualización updateDeleteQuickReplyMessages.", "description": "Elimina uno o más mensajes de un [atajo de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts). Esto también emitirá una actualización [updateDeleteQuickReplyMessages](https://core.telegram.org/constructor/updateDeleteQuickReplyMessages.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Negocio de telegramas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SHORTCUT_INVALID`: el acceso directo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[ID de acceso directo](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": "ID de mensajes de acceso directo para eliminar."}}, "additionalProperties": false, "required": ["shortcut_id", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `shortcut_id` | `int` | si | [ID de acceso directo](https://core.telegram.org/api/business.md#quick-reply-shortcuts). |\n| `id` | `Vector<int>` | si | ID de mensajes de acceso directo para eliminar. |"}, "x-telegram-rpc-errors": ["SHORTCUT_INVALID"], "x-browser-schema-id": "3775260944"}}, "/catalog/messages.toggleDialogFilterTags": {"post": {"operationId": "messages.toggleDialogFilterTags", "tags": ["Mensajes"], "summary": "Activar o desactivar etiquetas de carpeta».", "description": "Habilite o deshabilite [etiquetas de carpeta »](https://core.telegram.org/api/folders.md#folder-tags).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Habilite o deshabilite las etiquetas de carpeta."}}, "additionalProperties": false, "required": ["enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `enabled` | `Bool` | si | Habilite o deshabilite las etiquetas de carpeta. |"}, "x-telegram-rpc-errors": ["PREMIUM_ACCOUNT_REQUIRED"], "x-browser-schema-id": "4247640649"}}, "/catalog/messages.getMyStickers": {"post": {"operationId": "messages.getMyStickers", "tags": ["Mensajes"], "summary": "Recupera todos los conjuntos de stickers » propiedad del usuario actual.", "description": "Recupera todos los [conjuntos de pegatinas »](https://core.telegram.org/api/stickers.md) propiedad del usuario actual.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Pegatinas y máscaras](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": "Resultado de MTProto · `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": "Escriba TL: messages.MyStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offset_id` | `long` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "3501580796"}}, "/catalog/messages.getEmojiStickerGroups": {"post": {"operationId": "messages.getEmojiStickerGroups", "tags": ["Mensajes"], "summary": "Representa una lista de categorías de emoji que se utilizarán al elegir una pegatina.", "description": "Representa una lista de [categorías de emoji](https://core.telegram.org/api/emoji-categories.md), que se utilizarán al elegir una pegatina.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Categorías de emojis](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": "Resultado de MTProto · `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": "Tipo TL: messages.EmojiGroups."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "500711669"}}, "/catalog/messages.getAvailableEffects": {"post": {"operationId": "messages.getAvailableEffects", "tags": ["Mensajes"], "summary": "Obtenga la lista completa de efectos de mensajes animados utilizables ».", "description": "Obtenga la lista completa de [efectos de mensajes animados» utilizables »](https://core.telegram.org/api/effects.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Efectos de mensajes animados](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": "Resultado de MTProto · `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": "Tipo TL: messages.AvailableEffects."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3735161401"}}, "/catalog/messages.editFactCheck": {"post": {"operationId": "messages.editFactCheck", "tags": ["Mensajes"], "summary": "Editar/crear una verificación de datos en un mensaje.", "description": "Editar/crear una [verificación de hechos](https://core.telegram.org/api/factcheck.md) en un mensaje.\n\nSolo puede ser utilizado por verificadores de datos independientes según lo especificado en el indicador de configuración [appConfig.can\\_edit\\_factcheck](https://core.telegram.org/api/config.md#can-edit-factcheck)].\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Verificaciones de hechos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `CHAT_ACTION_FORBIDDEN` — No puedes ejecutar esta acción.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se envió el mensaje"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Verificación de hechos (longitud máxima UTF-8 especificada en [appConfig.factcheck_length_limit](https://core.telegram.org/api/config.md#factcheck-length-limit))."}}, "additionalProperties": false, "required": ["peer", "msg_id", "text"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se envió el mensaje |\n| `msg_id` | `int` | si | ID de mensaje |\n| `text` | `TextWithEntities` | si | Verificación de hechos (longitud máxima UTF-8 especificada en [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": ["Mensajes"], "summary": "Eliminar una verificación de datos de un mensaje.", "description": "Eliminar una [verificación de hechos](https://core.telegram.org/api/factcheck.md) de un mensaje.\n\nSolo puede ser utilizado por verificadores de datos independientes según lo especificado en el indicador de configuración [appConfig.can\\_edit\\_factcheck](https://core.telegram.org/api/config.md#can-edit-factcheck)].\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Verificaciones de hechos](https://core.telegram.org/api/factcheck.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `CHAT_ACTION_FORBIDDEN` — No puedes ejecutar esta acción.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se envió el mensaje."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se envió el mensaje. |\n| `msg_id` | `int` | si | ID de mensaje |"}, "x-telegram-rpc-errors": ["CHAT_ACTION_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "3520762892"}}, "/catalog/messages.getFactCheck": {"post": {"operationId": "messages.getFactCheck", "tags": ["Mensajes"], "summary": "Obtenga una o más verificaciones de datos, consulte aquí » para ver el flujo completo.", "description": "Obtenga una o más [verificaciones de datos, consulte aquí »](https://core.telegram.org/api/factcheck.md) para ver el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Verificaciones de hechos](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": "Resultado de MTProto · `Vector<FactCheck>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Verificación de hechos](https://core.telegram.org/type/FactCheck.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "FactCheck", "oneOf": [{"$ref": "#/components/schemas/factCheck"}], "description": "Tipo de TL: Verificación de hechos."}, "x-tl-type": "Vector<FactCheck>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se enviaron los mensajes."}, "msg_id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Mensajes que han asociado constructores [factCheck](https://core.telegram.org/constructor/factCheck.md) con el indicador `need_check` establecido."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se enviaron los mensajes. |\n| `msg_id` | `Vector<int>` | si | Mensajes que han asociado constructores [factCheck](https://core.telegram.org/constructor/factCheck.md) con el indicador `need_check` establecido. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3117270510"}}, "/catalog/messages.requestMainWebView": {"post": {"operationId": "messages.requestMainWebView", "tags": ["Mensajes"], "summary": "Abra una mini aplicación principal.", "description": "Abra una [Miniaplicación principal](https://core.telegram.org/api/bots/webapps.md#main-mini-apps).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Mini aplicaciones en 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": "Resultado de MTProto · `WebViewResult`.\n\n[Resultado de WebView](https://core.telegram.org/type/WebViewResult.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo de TL: WebViewResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, solicita abrir la mini aplicación en modo compacto (a diferencia del modo normal o de pantalla completa). Debe configurarse si el parámetro `mode` del [enlace de la mini aplicación principal](https://core.telegram.org/api/links.md#main-mini-app-links) es igual a `compact`."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.8?true", "description": "Si está configurado, solicita abrir la mini aplicación en modo de pantalla completa (a diferencia del modo compacto o normal). Debe configurarse si el parámetro `mode` del [enlace de la mini aplicación principal](https://core.telegram.org/api/links.md#main-mini-app-links) es igual a `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": "El chat actualmente abierto puede ser [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) si no hay ningún chat abierto actualmente."}, "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 propietario de la mini aplicación principal."}, "start_param": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Parámetro de inicio, si se abre desde un [Enlace de mini aplicación principal »](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": "[Parámetros del tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.0?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Nombre corto de la aplicación; 0-64 letras, dígitos y guiones bajos en inglés"}}, "additionalProperties": false, "required": ["peer", "bot", "platform"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `compact` | `true` | No | Si está configurado, solicita abrir la mini aplicación en modo compacto (a diferencia del modo normal o de pantalla completa). Debe configurarse si el parámetro `mode` del [enlace de la mini aplicación principal](https://core.telegram.org/api/links.md#main-mini-app-links) es igual a `compact`. |\n| `fullscreen` | `true` | No | Si está configurado, solicita abrir la mini aplicación en modo de pantalla completa (a diferencia del modo compacto o normal). Debe configurarse si el parámetro `mode` del [enlace de la mini aplicación principal](https://core.telegram.org/api/links.md#main-mini-app-links) es igual a `fullscreen`. |\n| `peer` | `InputPeer` | si | El chat actualmente abierto puede ser [inputPeerEmpty](https://core.telegram.org/constructor/inputPeerEmpty.md) si no hay ningún chat abierto actualmente. |\n| `bot` | `InputUser` | si | Bot propietario de la mini aplicación principal. |\n| `start_param` | `string` | No | Parámetro de inicio, si se abre desde un [Enlace de mini aplicación principal »](https://core.telegram.org/api/links.md#main-mini-app-links). |\n| `theme_params` | `DataJSON` | No | [Parámetros del tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters) |\n| `platform` | `string` | si | Nombre corto de la aplicación; 0-64 letras, dígitos y guiones bajos en inglés |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "3386908283"}}, "/catalog/messages.sendPaidReaction": {"post": {"operationId": "messages.sendPaidReaction", "tags": ["Mensajes"], "summary": "Envía una o más reacciones pagas de Telegram Stars», transfiriendo Telegram Stars» al saldo de un canal.", "description": "Envía una o más [reacciones pagadas de Telegram Star »](https://core.telegram.org/api/reactions.md#paid-reactions), transfiriendo [Telegram Stars »](https://core.telegram.org/api/stars.md) al saldo de un canal.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BALANCE_TOO_LOW`: la transacción no se puede completar porque el [saldo de Telegram Stars](https://core.telegram.org/api/stars.md) actual es demasiado bajo.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `RANDOM_ID_EMPTY` — ID aleatorio vacío.\n- 400 · `RANDOM_ID_EXPIRED`: el `random_id` especificado expiró (lo más probable es que no siguió el formato `uint64_t random_id = (time() << 32) | ((uint64_t)random_uint32_t())` requerido o que el tiempo especificado ya pasó).\n- 400 · `REACTIONS_COUNT_INVALID` — El número especificado de reacciones no es válido.\n- 400 · `SEND_AS_PEER_INVALID`: no puede enviar mensajes como el par especificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el canal"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El mensaje al que reaccionar"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El número de [estrellas](https://core.telegram.org/api/stars.md) a enviar (cada una incrementará el contador de reacciones en uno)."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Se requiere un ID de mensaje de cliente único para evitar el reenvío de mensajes. **Nota**: este argumento **debe** estar compuesto por un entero de 64 bits donde los 32 bits inferiores son aleatorios y los 32 bits superiores **son iguales al tiempo Unix actual**, i.e. `uint64_t random_id = (tiempo() << 32). Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "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": "Cada publicación con reacciones de estrellas tiene una tabla de clasificación con los principales remitentes, pero los usuarios pueden optar por no aparecer allí si prefieren más privacidad. Si no se completa este campo, se utilizará la privacidad de reacción predeterminada, almacenada en el servidor y sincronizada con los clientes mediante [updatePaidReactionPrivacy](https://core.telegram.org/constructor/updatePaidReactionPrivacy.md) (consulte [aquí](https://core.telegram.org/api/reactions.md#paid-reaction-privacy) para obtener más información).", "x-tl-flag": "flags.0?PaidReactionPrivacy"}}, "additionalProperties": false, "required": ["peer", "msg_id", "count", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | el canal |\n| `msg_id` | `int` | si | El mensaje al que reaccionar |\n| `count` | `int` | si | El número de [estrellas](https://core.telegram.org/api/stars.md) a enviar (cada una incrementará el contador de reacciones en uno). |\n| `random_id` | `long` | si | Se requiere un ID de mensaje de cliente único para evitar el reenvío de mensajes. **Nota**: este argumento **debe** estar compuesto por un entero de 64 bits donde los 32 bits inferiores son aleatorios y los 32 bits superiores **son iguales al tiempo Unix actual**, i.e. `uint64_t random_id = (tiempo() << 32). Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `private` | `PaidReactionPrivacy` | No | Cada publicación con reacciones de estrellas tiene una tabla de clasificación con los principales remitentes, pero los usuarios pueden optar por no aparecer allí si prefieren más privacidad. Si no se completa este campo, se utilizará la privacidad de reacción predeterminada, almacenada en el servidor y sincronizada con los clientes mediante [updatePaidReactionPrivacy](https://core.telegram.org/constructor/updatePaidReactionPrivacy.md) (consulte [aquí](https://core.telegram.org/api/reactions.md#paid-reaction-privacy) para obtener más información). |"}, "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": ["Mensajes"], "summary": "Cambia la privacidad de las reacciones pagas ya enviadas en un mensaje específico.", "description": "Cambia la privacidad de las [reacciones pagadas](https://core.telegram.org/api/reactions.md#paid-reactions) ya enviadas en un mensaje específico.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `REACTION_EMPTY` — Se proporciona reacción vacía."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el canal"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El ID del mensaje al que enviamos las reacciones pagas."}, "private": {"type": "object", "x-tl-type": "PaidReactionPrivacy", "oneOf": [{"$ref": "#/components/schemas/paidReactionPrivacyDefault"}, {"$ref": "#/components/schemas/paidReactionPrivacyAnonymous"}, {"$ref": "#/components/schemas/paidReactionPrivacyPeer"}], "description": "Si es verdadero, convierte al actual en anónimo en la clasificación de remitentes principales de este mensaje; en caso contrario, hace lo contrario."}}, "additionalProperties": false, "required": ["peer", "msg_id", "private"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | el canal |\n| `msg_id` | `int` | si | El ID del mensaje al que enviamos las reacciones pagas. |\n| `private` | `PaidReactionPrivacy` | si | Si es verdadero, convierte al actual en anónimo en la clasificación de remitentes principales de este mensaje; en caso contrario, hace lo contrario. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "REACTION_EMPTY"], "x-browser-schema-id": "1129874869"}}, "/catalog/messages.getPaidReactionPrivacy": {"post": {"operationId": "messages.getPaidReactionPrivacy", "tags": ["Mensajes"], "summary": "Obtiene una actualización de UpdatePaidReactionPrivacy con la privacidad de reacción paga predeterminada actual; consulte aquí » para obtener más información.", "description": "Obtiene una actualización de [updatePaidReactionPrivacy](https://core.telegram.org/constructor/updatePaidReactionPrivacy.md) con la [privacidad de reacción paga predeterminada] actual, consulta aquí »](https://core.telegram.org/api/reactions.md#paid-reactions) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.getPaidReactionPrivacy"}, "x-browser-schema-id": "1193563562"}}, "/catalog/messages.viewSponsoredMessage": {"post": {"operationId": "messages.viewSponsoredMessage", "tags": ["Mensajes"], "summary": "Marcar un mensaje patrocinado específico » como leído", "description": "Marcar un [mensaje patrocinado »](https://core.telegram.org/api/sponsored-messages.md) específico como leído\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Mensajes patrocinados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El ID único del anuncio. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID."}}, "additionalProperties": false, "required": ["random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `random_id` | `bytes` | si | El ID único del anuncio. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |"}, "x-browser-schema-id": "647902787"}}, "/catalog/messages.clickSponsoredMessage": {"post": {"operationId": "messages.clickSponsoredMessage", "tags": ["Mensajes"], "summary": "Informa al servidor que el usuario ha interactuado con un mensaje patrocinado de una de las formas aquí enumeradas».", "description": "Informa al servidor que el usuario ha interactuado con un mensaje patrocinado en [una de las formas enumeradas aquí »](https://core.telegram.org/api/sponsored-messages.md#clicking-on-sponsored-messages).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Mensajes patrocinados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El usuario hizo clic en el medio."}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "El usuario amplió el vídeo a pantalla completa y luego hizo clic en él."}, "random_id": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "El ID único del anuncio. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID."}}, "additionalProperties": false, "required": ["random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `media` | `true` | No | El usuario hizo clic en el medio. |\n| `fullscreen` | `true` | No | El usuario amplió el vídeo a pantalla completa y luego hizo clic en él. |\n| `random_id` | `bytes` | si | El ID único del anuncio. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |"}, "x-browser-schema-id": "2184512894"}}, "/catalog/messages.reportSponsoredMessage": {"post": {"operationId": "messages.reportSponsoredMessage", "tags": ["Mensajes"], "summary": "Informar un mensaje patrocinado », consulte aquí » para obtener más información sobre el flujo completo.", "description": "Informar un [mensaje patrocinado »](https://core.telegram.org/api/sponsored-messages.md), consulte [aquí »](https://core.telegram.org/api/sponsored-messages.md#reporting-sponsored-messages) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Mensajes patrocinados](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": "Resultado de MTProto · `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": "Tipo TL: channels.SponsoredMessageReportResult."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El ID único del anuncio. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Opción de informe elegida, inicialmente una cadena vacía, consulte [aquí »](https://core.telegram.org/api/sponsored-messages.md#reporting-sponsored-messages) para obtener más información sobre el flujo completo."}}, "additionalProperties": false, "required": ["random_id", "option"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `random_id` | `bytes` | si | El ID único del anuncio. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `option` | `bytes` | si | Opción de informe elegida, inicialmente una cadena vacía, consulte [aquí »](https://core.telegram.org/api/sponsored-messages.md#reporting-sponsored-messages) para obtener más información sobre el flujo completo. |"}, "x-browser-schema-id": "315355332"}}, "/catalog/messages.getSponsoredMessages": {"post": {"operationId": "messages.getSponsoredMessages", "tags": ["Mensajes"], "summary": "Obtenga una lista de mensajes patrocinados para un compañero, consulte aquí » para obtener más información.", "description": "Obtenga una lista de [mensajes patrocinados para un compañero, consulte aquí »](https://core.telegram.org/api/sponsored-messages.md) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes patrocinados](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": "Resultado de MTProto · `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": "Escribe TL: messages.SponsoredMessages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El canal/bot actualmente abierto."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Se debe configurar al buscar [mensajes patrocinados para mostrar en los videos del canal »](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements)."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El canal/bot actualmente abierto. |\n| `msg_id` | `int` | No | Se debe configurar al buscar [mensajes patrocinados para mostrar en los videos del canal »](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": ["Mensajes"], "summary": "Guarde un mensaje en línea preparado para que lo comparta el usuario de la mini aplicación mediante un evento web\\_app\\_send\\_prepared\\_message", "description": "Guarde un [mensaje en línea preparado](https://core.telegram.org/api/bots/inline.md#21-using-a-prepared-inline-message), para que lo comparta el usuario de la mini aplicación mediante un [evento web\\_app\\_send\\_prepared\\_message](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [eventos web](https://core.telegram.org/api/web-events.md)\n- [consultas en línea](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": "Resultado de MTProto · `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": "Tipo TL: messages.BotPreparedInlineMessage."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `RESULT_ID_INVALID`: uno de los ID de resultados especificados no es válido.\n- 400 · `SEND_MESSAGE_GAME_INVALID` — Un inputBotInlineMessageGame solo puede estar contenido en un inputBotInlineResultGame, no en un inputBotInlineResult/inputBotInlineResultPhoto/etc.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el mensaje"}, "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": "El usuario al que se enviará el evento [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)"}, "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": "Tipo de TL: InlineQueryPeerType."}, "x-tl-type": "Vector<InlineQueryPeerType>", "x-tl-flag": "flags.0?Vector<InlineQueryPeerType>", "description": "Tipos de chats donde se puede enviar este mensaje"}}, "additionalProperties": false, "required": ["result", "user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `result` | `InputBotInlineResult` | si | el mensaje |\n| `user_id` | `InputUser` | si | El usuario al que se enviará el evento [web_app_send_prepared_message event](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message) |\n| `peer_types` | `Vector<InlineQueryPeerType>` | No | Tipos de chats donde se puede enviar este mensaje |"}, "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": ["Mensajes"], "summary": "Obtenga un mensaje en línea preparado generado por una mini aplicación: invocado cuando se manejan eventos web\\_app\\_send\\_prepared\\_message", "description": "Obtenga un [mensaje en línea preparado](https://core.telegram.org/api/bots/inline.md#21-using-a-prepared-inline-message) generado por una [miniaplicación](https://core.telegram.org/api/bots/webapps.md): invocada al manejar [eventos web\\_app\\_send\\_prepared\\_message](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [eventos web](https://core.telegram.org/api/web-events.md)\n- [consultas en línea](https://core.telegram.org/api/bots/inline.md)\n- [Mini aplicaciones en 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": "Resultado de MTProto · `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": "Tipo TL: messages.PreparedInlineMessage."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ID_EXPIRED`: el ID del mensaje en línea preparado pasado ha caducado.\n- 400 · `ID_INVALID` — La identificación pasada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot propietario de la mini aplicación que emitió el [web_app_send_prepared_message evento](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)"}, "id": {"type": "string", "x-tl-type": "string", "description": "El `id` del [web_app_send_prepared_message evento](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message)"}}, "additionalProperties": false, "required": ["bot", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot propietario de la mini aplicación que emitió el [web_app_send_prepared_message evento](https://core.telegram.org/api/web-events.md#web-app-send-prepared-message) |\n| `id` | `string` | si | El `id` del [web_app_send_prepared_message evento](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": ["Mensajes"], "summary": "Busque pegatinas mediante la búsqueda de palabras clave impulsada por IA", "description": "Busque pegatinas mediante la búsqueda de palabras clave impulsada por IA\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: messages.FoundStickers."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, devuelve [pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md)"}, "q": {"type": "string", "x-tl-type": "string", "description": "El término de búsqueda"}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Lista de emojis separados por espacios para buscar"}, "lang_code": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Lista de posibles IETF etiquetas de idioma del idioma de entrada del usuario; puede estar vacío si se desconoce"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensación para paginación](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).  El hash se puede generar localmente utilizando los `id` de la etiqueta adhesiva devuelta o almacenada [document](https://core.telegram.org/constructor/document.md)s.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["q", "emoticon", "lang_code", "offset", "limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `emojis` | `true` | No | Si está configurado, devuelve [pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md) |\n| `q` | `string` | si | El término de búsqueda |\n| `emoticon` | `string` | si | Lista de emojis separados por espacios para buscar |\n| `lang_code` | `Vector<string>` | si | Lista de posibles IETF etiquetas de idioma del idioma de entrada del usuario; puede estar vacío si se desconoce |\n| `offset` | `int` | si | [Compensación para paginación](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | si | [Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation).  El hash se puede generar localmente utilizando los `id` de la etiqueta adhesiva devuelta o almacenada [document](https://core.telegram.org/constructor/document.md)s. |"}, "x-browser-schema-id": "699516522"}}, "/catalog/messages.reportMessagesDelivery": {"post": {"operationId": "messages.reportMessagesDelivery", "tags": ["Mensajes"], "summary": "Se utiliza para mensajes de verificación de Telegram Gateway »: indica al servidor que uno o más mensajes fueron recibidos por el cliente, si así lo solicita el mensaje.**report\\_delivery\\_until\\_date** flag o el flag equivalente en notificaciones push.", "description": "Se utiliza para [mensajes de verificación de Telegram Gateway »](https://telegram.org/blog/star-messages-gateway-2-0-and-more#save-even-more-on-user-verification): indica al servidor que uno o más [mensajes](https://core.telegram.org/constructor/message.md) fueron recibidos por el cliente, si lo solicita el indicador [mensaje](https://core.telegram.org/constructor/message.md).**report\\_delivery\\_until\\_date** o el indicador equivalente en [notificaciones push](https://core.telegram.org/api/push-updates.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Manejo de notificaciones PUSH](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Debe configurarse si los mensajes se recibieron de una [notificación push](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": "El par donde se recibieron los mensajes."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Los ID de los mensajes recibidos."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `push` | `true` | No | Debe configurarse si los mensajes se recibieron de una [notificación push](https://core.telegram.org/api/push-updates.md). |\n| `peer` | `InputPeer` | si | El par donde se recibieron los mensajes. |\n| `id` | `Vector<int>` | si | Los ID de los mensajes recibidos. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1517122453"}}, "/catalog/messages.getSavedDialogsByID": {"post": {"operationId": "messages.getSavedDialogsByID", "tags": ["Mensajes"], "summary": "Obtener información sobre diálogos de mensajes guardados específicos » o temas de monoforo ».", "description": "Obtenga información sobre [diálogos de mensajes guardados »](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs) específicos o [temas del monoforo »](https://core.telegram.org/api/monoforum.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Mensajes guardados](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": "Resultado de MTProto · `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": "Tipo TL: messages.SavedDialogs."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, recupera [temas de monoforo »](https://core.telegram.org/api/monoforum.md); de lo contrario, recupera [diálogos de mensajes guardados »](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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "ID de cuadros de diálogo (temas) para recuperar."}}, "additionalProperties": false, "required": ["ids"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | No | Si está configurado, recupera [temas de monoforo »](https://core.telegram.org/api/monoforum.md); de lo contrario, recupera [diálogos de mensajes guardados »](https://core.telegram.org/api/saved-messages.md#saved-message-dialogs). |\n| `ids` | `Vector<InputPeer>` | si | ID de cuadros de diálogo (temas) para recuperar. |"}, "x-browser-schema-id": "1869585558"}}, "/catalog/messages.readSavedHistory": {"post": {"operationId": "messages.readSavedHistory", "tags": ["Mensajes"], "summary": "Marcar mensajes como leídos en un tema de monoforo».", "description": "Marcar mensajes como leídos en un [tema monoforo»](https://core.telegram.org/api/monoforum.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes directos a canales.](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PARENT_PEER_INVALID`: el `parent_peer` especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 del grupo monoforum."}, "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 del tema."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se pasa un valor positivo, solo se leerán los mensajes con identificadores menores o iguales al dado."}}, "additionalProperties": false, "required": ["parent_peer", "peer", "max_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `parent_peer` | `InputPeer` | si | ID del grupo monoforum. |\n| `peer` | `InputPeer` | si | ID del tema. |\n| `max_id` | `int` | si | Si se pasa un valor positivo, solo se leerán los mensajes con identificadores menores o iguales al dado. |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PARENT_PEER_INVALID"], "x-browser-schema-id": "3125427035"}}, "/catalog/messages.toggleTodoCompleted": {"post": {"operationId": "messages.toggleTodoCompleted", "tags": ["Mensajes"], "summary": "Marcar uno o más elementos de una lista de tareas » como completados o no completados.", "description": "Marque uno o más elementos de una [lista de tareas pendientes »](https://core.telegram.org/api/todo.md) como completados o no completados.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Listas de verificación y listas de tareas pendientes](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Busque dónde se publicó la lista de tareas pendientes."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje con la lista de tareas pendientes."}, "completed": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Elementos para marcar como completados."}, "incompleted": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Elementos para marcar como no completados."}}, "additionalProperties": false, "required": ["peer", "msg_id", "completed", "incompleted"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Busque dónde se publicó la lista de tareas pendientes. |\n| `msg_id` | `int` | si | ID del mensaje con la lista de tareas pendientes. |\n| `completed` | `Vector<int>` | si | Elementos para marcar como completados. |\n| `incompleted` | `Vector<int>` | si | Elementos para marcar como no completados. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3554685220"}}, "/catalog/messages.appendTodoList": {"post": {"operationId": "messages.appendTodoList", "tags": ["Mensajes"], "summary": "Agrega uno o más elementos a una lista de tareas pendientes ».", "description": "Agrega uno o más elementos a una [lista de tareas pendientes »](https://core.telegram.org/api/todo.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Listas de verificación y listas de tareas pendientes](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `TODO_ITEM_DUPLICATE` — Duplicados [elementos de la lista de verificación](https://core.telegram.org/api/todo.md) detectados.\n- 400 · `TODO_NOT_MODIFIED` — No se especificaron elementos de tareas pendientes, por lo que no se realizaron cambios en la lista de tareas pendientes."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Busque dónde se publicó la lista de tareas pendientes."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje con la lista de tareas pendientes."}, "list": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoItem", "oneOf": [{"$ref": "#/components/schemas/todoItem"}], "description": "Tipo de TL: TodoItem."}, "x-tl-type": "Vector<TodoItem>", "description": "Elementos para anexar."}}, "additionalProperties": false, "required": ["peer", "msg_id", "list"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Busque dónde se publicó la lista de tareas pendientes. |\n| `msg_id` | `int` | si | ID del mensaje con la lista de tareas pendientes. |\n| `list` | `Vector<TodoItem>` | si | Elementos para anexar. |"}, "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": ["Mensajes"], "summary": "Aprobar o rechazar una publicación sugerida».", "description": "Aprobar o rechazar una [publicación sugerida» ](https://core.telegram.org/api/suggested-posts.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Publicaciones sugeridas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Rechazar la publicación sugerida."}, "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": "Tanto para usuarios como para canales, debe contener el ID del [monoforo de mensajes directos »](https://core.telegram.org/api/monoforum.md) (para canales, el ID del tema se extrae automáticamente del `msg_id`)."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje de sugerencia."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Fecha de programación personalizada."}, "reject_comment": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Comentario opcional para rechazos (solo se puede usar si está configurado `reject`)."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `reject` | `true` | No | Rechazar la publicación sugerida. |\n| `peer` | `InputPeer` | si | Tanto para usuarios como para canales, debe contener el ID del [monoforo de mensajes directos »](https://core.telegram.org/api/monoforum.md) (para canales, el ID del tema se extrae automáticamente del `msg_id`). |\n| `msg_id` | `int` | si | ID del mensaje de sugerencia. |\n| `schedule_date` | `int` | No | Fecha de programación personalizada. |\n| `reject_comment` | `string` | No | Comentario opcional para rechazos (solo se puede usar si está configurado `reject`). |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2164737372"}}, "/catalog/messages.getForumTopics": {"post": {"operationId": "messages.getForumTopics", "tags": ["Mensajes"], "summary": "Obtener temas de un foro", "description": "Obtener [temas de un foro](https://core.telegram.org/api/forum.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Temas del foro](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": "Resultado de MTProto · `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": "Tipo TL: messages.ForumTopics."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_FORUM_MISSING` — Este supergrupo no es un foro.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema."}, "q": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Consulta de búsqueda"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Valor del tipo TL `Bool`."}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md), fecha del último mensaje del último tema encontrado. Utilice 0 o cualquier fecha futura para obtener resultados del último tema."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md), ID del último mensaje del último tema encontrado (o inicialmente `0`)."}, "offset_topic": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md), ID del último tema encontrado (o inicialmente `0`)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md). Para un rendimiento óptimo, el servidor elige la cantidad de temas devueltos y puede ser menor que el límite especificado."}}, "additionalProperties": false, "required": ["peer", "offset_date", "offset_id", "offset_topic", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema. |\n| `q` | `string` | No | Consulta de búsqueda |\n| `icon_emoji_id` | `long` | No | 64 bits de velocidad en десятичной записи. |\n| `closed` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `offset_date` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md), fecha del último mensaje del último tema encontrado. Utilice 0 o cualquier fecha futura para obtener resultados del último tema. |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md), ID del último mensaje del último tema encontrado (o inicialmente `0`). |\n| `offset_topic` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md), ID del último tema encontrado (o inicialmente `0`). |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md). Para un rendimiento óptimo, el servidor elige la cantidad de temas devueltos y puede ser menor que el límite especificado. |"}, "x-telegram-rpc-errors": ["CHANNEL_FORUM_MISSING", "CHANNEL_INVALID"], "x-browser-schema-id": "3331072410"}}, "/catalog/messages.getForumTopicsByID": {"post": {"operationId": "messages.getForumTopicsByID", "tags": ["Mensajes"], "summary": "Obtener temas del foro por su ID", "description": "Obtener temas del foro por su ID\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.ForumTopics."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `TOPICS_EMPTY`: no especificaste ningún ID de tema."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema."}, "topics": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de tema"}}, "additionalProperties": false, "required": ["peer", "topics"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema. |\n| `topics` | `Vector<int>` | si | ID de tema |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "TOPICS_EMPTY"], "x-browser-schema-id": "2936687112"}}, "/catalog/messages.editForumTopic": {"post": {"operationId": "messages.editForumTopic", "tags": ["Mensajes"], "summary": "Editar tema del foro.", "description": "Edite [tema del foro](https://core.telegram.org/api/forum.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Temas del foro](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `TOPIC_CLOSE_SEPARATELY` — El indicador `close` no se puede proporcionar junto con ninguno de los otros indicadores.\n- 400 · `TOPIC_NOT_MODIFIED`: la información del tema actualizada es igual a la información del tema actual, no se cambió nada."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema."}, "topic_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de tema"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Si está presente, actualizará el título del tema (longitud máxima de UTF-8: 128)."}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Si está presente, actualiza el [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) usado como ícono de tema. [Los usuarios de Telegram Premium](https://core.telegram.org/api/premium.md) pueden usar cualquier emoji personalizado, otros usuarios solo pueden usar los emojis personalizados contenidos en el paquete de emoji [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md). Pase 0 para cambiar al ícono de tema alternativo.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "closed": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Si está presente, actualizará el estado abierto/cerrado del tema."}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Si está presente, ocultará o mostrará el tema (solo válido para el tema \"General\", `id=1`)."}}, "additionalProperties": false, "required": ["peer", "topic_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema. |\n| `topic_id` | `int` | si | ID de tema |\n| `title` | `string` | No | Si está presente, actualizará el título del tema (longitud máxima de UTF-8: 128). |\n| `icon_emoji_id` | `long` | No | Si está presente, actualiza el [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) usado como ícono de tema. [Los usuarios de Telegram Premium](https://core.telegram.org/api/premium.md) pueden usar cualquier emoji personalizado, otros usuarios solo pueden usar los emojis personalizados contenidos en el paquete de emoji [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md). Pase 0 para cambiar al ícono de tema alternativo. |\n| `closed` | `Bool` | No | Si está presente, actualizará el estado abierto/cerrado del tema. |\n| `hidden` | `Bool` | No | Si está presente, ocultará o mostrará el tema (solo válido para el tema \"General\", `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": ["Mensajes"], "summary": "Anclar o desanclar temas del foro", "description": "Fijar o desanclar [temas del foro](https://core.telegram.org/api/forum.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema."}, "topic_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID del tema del foro](https://core.telegram.org/api/forum.md)"}, "pinned": {"type": "boolean", "x-tl-type": "Bool", "description": "Si fijar o desanclar el tema"}}, "additionalProperties": false, "required": ["peer", "topic_id", "pinned"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema. |\n| `topic_id` | `int` | si | [ID del tema del foro](https://core.telegram.org/api/forum.md) |\n| `pinned` | `Bool` | si | Si fijar o desanclar el tema |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "392032849"}}, "/catalog/messages.reorderPinnedForumTopics": {"post": {"operationId": "messages.reorderPinnedForumTopics", "tags": ["Mensajes"], "summary": "Reordenar los temas del foro fijados", "description": "Reordenar los temas del foro fijados\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si no se establece, se cambiará el orden de solo los temas presentes tanto en el lado del servidor como en `order` (i.e. mencionar temas que no están fijados en el lado del servidor en `order` no los fijará, y no mencionar temas fijados en el lado del servidor no los desanclará).   Si se configura, toda la lista de temas fijados en el lado del servidor se reemplazará con `order` (i.e. mencionar temas no fijados en el lado del servidor en `order` los fijará, y no mencionar temas fijados en el lado del servidor los desanclará)"}, "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": "El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "[ID de tema »](https://core.telegram.org/api/forum.md)"}}, "additionalProperties": false, "required": ["peer", "order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `force` | `true` | No | Si no se establece, se cambiará el orden de solo los temas presentes tanto en el lado del servidor como en `order` (i.e. mencionar temas que no están fijados en el lado del servidor en `order` no los fijará, y no mencionar temas fijados en el lado del servidor no los desanclará).   Si se configura, toda la lista de temas fijados en el lado del servidor se reemplazará con `order` (i.e. mencionar temas no fijados en el lado del servidor en `order` los fijará, y no mencionar temas fijados en el lado del servidor los desanclará) |\n| `peer` | `InputPeer` | si | El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema. |\n| `order` | `Vector<int>` | si | [ID de tema »](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": ["Mensajes"], "summary": "Crea un tema en el foro.", "description": "Crea un [tema del foro](https://core.telegram.org/api/forum.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](https://core.telegram.org/api/forum.md)\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Trabajar con actualizaciones](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `BOT_FORUM_CREATE_FORBIDDEN`: dado que el indicador user.bot_forum_can_manage_topics del bot **no** está configurado, el usuario no puede crear ni modificar temas del foro del bot.\n- 400 · `CHANNEL_FORUM_MISSING` — Este supergrupo no es un foro.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se configura, el tema no tiene un título definido por el usuario, solo se puede configurar para los temas por usuario de [bot forums](https://core.telegram.org/api/forum.md#bot-forums); Si se establece este campo, es probable que el bot deba cambiar el título del tema."}, "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": "El supergrupo, chat privado (para bots habilitados para foro) o bot de foro (para usuarios) donde crear el tema."}, "title": {"type": "string", "x-tl-type": "string", "description": "Título del tema (longitud máxima de UTF-8: 128)"}, "icon_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Si no se especifica ningún icono de emoji personalizado, especifica el color del icono del tema alternativo (RGB), uno de `0x6FB9F0`, `0xFFD67E`, `0xCB86DB`, `0x8EEE98`, `0xFF93B2` o `0xFB6F5F`."}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) utilizado como ícono de tema. [Los usuarios de Telegram Premium](https://core.telegram.org/api/premium.md) pueden usar cualquier emoji personalizado, otros usuarios solo pueden usar los emojis personalizados contenidos en el paquete de emoji [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md).", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de mensaje de cliente único para evitar el envío duplicado del mismo evento. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "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": "Crear el tema como el par especificado", "x-tl-flag": "flags.2?InputPeer"}}, "additionalProperties": false, "required": ["peer", "title", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `title_missing` | `true` | No | Si se configura, el tema no tiene un título definido por el usuario, solo se puede configurar para los temas por usuario de [bot forums](https://core.telegram.org/api/forum.md#bot-forums); Si se establece este campo, es probable que el bot deba cambiar el título del tema. |\n| `peer` | `InputPeer` | si | El supergrupo, chat privado (para bots habilitados para foro) o bot de foro (para usuarios) donde crear el tema. |\n| `title` | `string` | si | Título del tema (longitud máxima de UTF-8: 128) |\n| `icon_color` | `int` | No | Si no se especifica ningún icono de emoji personalizado, especifica el color del icono del tema alternativo (RGB), uno de `0x6FB9F0`, `0xFFD67E`, `0xCB86DB`, `0x8EEE98`, `0xFF93B2` o `0xFB6F5F`. |\n| `icon_emoji_id` | `long` | No | ID del [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) utilizado como ícono de tema. [Los usuarios de Telegram Premium](https://core.telegram.org/api/premium.md) pueden usar cualquier emoji personalizado, otros usuarios solo pueden usar los emojis personalizados contenidos en el paquete de emoji [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md). |\n| `random_id` | `long` | si | ID de mensaje de cliente único para evitar el envío duplicado del mismo evento. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `send_as` | `InputPeer` | No | Crear el tema como el par especificado |"}, "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": ["Mensajes"], "summary": "Eliminar el historial de mensajes de un tema del foro", "description": "Eliminar el historial de mensajes de un [tema del foro](https://core.telegram.org/api/forum.md)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedHistory."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de tema"}}, "additionalProperties": false, "required": ["peer", "top_msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El foro del supergrupo, chat privado (para bots habilitados para foro) o foro de bot (para usuarios) donde se encuentra el tema. |\n| `top_msg_id` | `int` | si | ID de tema |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "3531697936"}}, "/catalog/messages.getEmojiGameInfo": {"post": {"operationId": "messages.getEmojiGameInfo", "tags": ["Mensajes"], "summary": "Busca información sobre juegos de dados.", "description": "Busca información sobre juegos de dados.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.EmojiGameInfo."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/messages.getEmojiGameInfo"}, "x-browser-schema-id": "4219374759"}}, "/catalog/messages.summarizeText": {"post": {"operationId": "messages.summarizeText", "tags": ["Mensajes"], "summary": "Resuma el contenido de un mensaje con IA, consulte aquí » para obtener más información.", "description": "Resuma el contenido de un mensaje con IA; consulte [aquí »](https://core.telegram.org/api/ai.md#summarize-messages) para obtener más información.\n\nLos clientes deben usar [mensaje](https://core.telegram.org/constructor/message.md).`summary_from_language` como sugerencia para mostrar un botón de resumen; su ausencia no impide recurrir a este método.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Funciones de IA](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": "Resultado de MTProto · `TextWithEntities`.\n\n[TextoConEntidades](https://core.telegram.org/type/TextWithEntities.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Tipo de TL: TextoConEntidades."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `INPUT_TEXT_TOO_LONG`: el texto especificado es demasiado largo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par donde se encuentra el mensaje."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificación del mensaje."}, "to_lang": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Si se establece, genera el resumen en el idioma de destino especificado (código de idioma de dos letras ISO 639-1) en lugar del idioma del mensaje."}, "tone": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Si está configurado, reformula el resumen usando el [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado (pase el identificador de tono)"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par donde se encuentra el mensaje. |\n| `id` | `int` | si | Identificación del mensaje. |\n| `to_lang` | `string` | No | Si se establece, genera el resumen en el idioma de destino especificado (código de idioma de dos letras ISO 639-1) en lugar del idioma del mensaje. |\n| `tone` | `string` | No | Si está configurado, reformula el resumen usando el [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado (pase el identificador de tono) |"}, "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": ["Mensajes"], "summary": "Transfiere la propiedad de un grupo básico, supergrupo o canal a otro usuario, consulta aquí » para conocer el flujo completo.", "description": "Transfiera la propiedad de un grupo básico, supergrupo o canal a otro usuario; consulte [aquí »](https://core.telegram.org/api/channel.md#transferring-ownership-of-a-group-channel) para conocer el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](https://core.telegram.org/api/srp.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` — Eres administrador de demasiados canales públicos, haz que algunos canales sean privados para cambiar el nombre de usuario de este canal.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_MEMBER_ADD_FAILED` — No se pudieron agregar participantes.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `PASSWORD_HASH_INVALID`: el hash de contraseña proporcionado no es válido.\n- 400 · `PASSWORD_MISSING` — Debes [habilitar 2FA](https://core.telegram.org/api/srp.md) antes de ejecutar esta operación.\n- 400 · `PASSWORD_TOO_FRESH_%d` — La contraseña se modificó hace menos de 24 horas, inténtelo nuevamente en %d segundos.\n- 400 · `SESSION_TOO_FRESH_%d`: esta sesión se creó hace menos de 24 horas, inténtelo nuevamente en %d segundos.\n- 400 · `SRP_ID_INVALID` — SRP ID proporcionada no válida.\n- 400 · `USERS_TOO_MUCH` — Se ha superado el número máximo de usuarios (para crear un chat, por ejemplo).\n- 403 · `USER_CHANNELS_TOO_MUCH` — Uno de los usuarios que intentaste agregar ya está en demasiados canales/supergrupos.\n- 400 · `USER_NOT_MUTUAL_CONTACT` — El usuario proporcionado no es un contacto mutuo.\n- 403 · `USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario no le permite hacer esto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Grupo/supergrupo/canal de propiedad."}, "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": "DNI del nuevo propietario."}, "password": {"type": "object", "x-tl-type": "InputCheckPasswordSRP", "oneOf": [{"$ref": "#/components/schemas/inputCheckPasswordEmpty"}, {"$ref": "#/components/schemas/inputCheckPasswordSRP"}], "description": "La [contraseña 2FA](https://core.telegram.org/api/srp.md)] de la cuenta actual."}}, "additionalProperties": false, "required": ["peer", "user_id", "password"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Grupo/supergrupo/canal de propiedad. |\n| `user_id` | `InputUser` | si | DNI del nuevo propietario. |\n| `password` | `InputCheckPasswordSRP` | si | La [contraseña 2FA](https://core.telegram.org/api/srp.md)] de la cuenta actual. |"}, "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": ["Mensajes"], "summary": "Solo propietarios de grupo/canal: devuelve el ID del usuario que se convertirá en el nuevo propietario del grupo si decidimos abandonar el grupo, consulte aquí » para obtener más información sobre el flujo completo.", "description": "Solo propietarios de grupo/canal: devuelve el ID del usuario que se convertirá en el nuevo propietario del grupo si decidimos abandonar el grupo; consulte [aquí »](https://core.telegram.org/api/channel.md#leaving-groups-channels) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `User`.\n\n[Usuario](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": "Tipo TL: Usuario."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_ID_INVALID`: el ID del supergrupo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El grupo/supergrupo/canal básico que estamos a punto de abandonar."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El grupo/supergrupo/canal básico que estamos a punto de abandonar. |"}, "x-telegram-rpc-errors": ["CHANNEL_ID_INVALID"], "x-browser-schema-id": "998051494"}}, "/catalog/messages.editChatParticipantRank": {"post": {"operationId": "messages.editChatParticipantRank", "tags": ["Mensajes"], "summary": "Editar la etiqueta de un participante del grupo».", "description": "Edite la [etiqueta »](https://core.telegram.org/api/rank.md) de un participante del grupo.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Etiquetas de participantes del grupo](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El grupo básico/supergrupo."}, "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": "El participante."}, "rank": {"type": "string", "x-tl-type": "string", "description": "La nueva etiqueta."}}, "additionalProperties": false, "required": ["peer", "participant", "rank"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El grupo básico/supergrupo. |\n| `participant` | `InputPeer` | si | El participante. |\n| `rank` | `string` | si | La nueva etiqueta. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2685350576"}}, "/catalog/messages.declineUrlAuth": {"post": {"operationId": "messages.declineUrlAuth", "tags": ["Mensajes"], "summary": "Rechazar una solicitud de autorización OAuth entrante», notificando al servidor que el usuario rechazó la solicitud de inicio de sesión.", "description": "Rechazar una [solicitud de autorización OAuth »](https://core.telegram.org/api/url-authorization.md#oauth-authorization) entrante, notificando al servidor que el usuario rechazó la solicitud de inicio de sesión.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Manejo de notificaciones PUSH](https://core.telegram.org/api/push-updates.md)\n- [eventos web](https://core.telegram.org/api/web-events.md)\n- [Inicio de sesión de Telegram sin problemas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `URL_INVALID` — No válido URL proporcionado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El enlace profundo de OAuth desde la [OAUTH_REQUEST notificación push](https://core.telegram.org/api/push-updates.md#oauth-request) o el [`oauth_request` evento web](https://core.telegram.org/api/web-events.md#oauth-request)"}}, "additionalProperties": false, "required": ["url"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `url` | `string` | si | El enlace profundo de OAuth desde la [OAUTH_REQUEST notificación push](https://core.telegram.org/api/push-updates.md#oauth-request) o el [`oauth_request` evento web](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": ["Mensajes"], "summary": "Validar el código de coincidencia seleccionado por el usuario con el código que se muestra en la página de inicio de sesión, como parte del flujo de autorización de OAuth ».", "description": "Valide el código de coincidencia seleccionado por el usuario con el código que se muestra en la página de inicio de sesión, como parte del [flujo de autorización de OAuth »](https://core.telegram.org/api/url-authorization.md#oauth-authorization).\n\nSolo se puede utilizar cuando `match_codes` y `match_codes_first` están configurados en [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md) devuelto por [messages.requestUrlAuth](https://core.telegram.org/method/messages.requestUrlAuth.md).\nSi se devuelve [boolTrue](https://core.telegram.org/constructor/boolTrue.md), continúe con el flujo de inicio de sesión y pase el código verificado a [messages.acceptUrlAuth](https://core.telegram.org/method/messages.acceptUrlAuth.md).`match_code`.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Inicio de sesión de Telegram sin problemas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `URL_INVALID` — No válido URL proporcionado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El enlace profundo de OAuth"}, "match_code": {"type": "string", "x-tl-type": "string", "description": "El emoji o código seleccionado por el usuario de la lista en [urlAuthResultRequest](https://core.telegram.org/constructor/urlAuthResultRequest.md).`match_codes`"}}, "additionalProperties": false, "required": ["url", "match_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `url` | `string` | si | El enlace profundo de OAuth |\n| `match_code` | `string` | si | El emoji o código seleccionado por el usuario de la lista en [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": ["Mensajes"], "summary": "Invoca el editor AI de Telegram que puede traducir, transformar, arreglar y/o emojitizar su mensaje de diferentes maneras, con tecnología privada de Cocoon, consulte aquí » para obtener más información.", "description": "Invoca el editor de inteligencia artificial de Telegram que puede traducir, transformar, arreglar y/o emojitizar tu mensaje de diferentes maneras, con tecnología privada de [Cocoon](https://cocoon.org); consulta [aquí »](https://core.telegram.org/api/ai.md#compose-messages) para obtener más información.\n\nTodos los modos especificados a continuación se pueden combinar.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Funciones de IA](https://core.telegram.org/api/ai.md)\n- [Telegrama 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": "Resultado de MTProto · `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": "Tipo TL: messages.ComposedMessageWithAI."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AICOMPOSE_FLOOD_PREMIUM`: has alcanzado el límite diario de transformaciones de texto con IA, actualiza a [Telegram Premium](https://core.telegram.org/api/premium.md) para obtener **50 veces** más transformaciones de texto con IA por día.\n- 500 · `AICOMPOSE_TIMEOUT`: se agotó el tiempo de espera mientras se redactaba el mensaje.\n- 400 · `AI_COMPOSE_TASK_MISSING`: no se especificó ninguna tarea de IA. La persona que llama debe proporcionar al menos uno de los siguientes: corregir, traducir (con un idioma de destino), tono o emoji.\n- 400 · `MESSAGE_EMPTY` — El mensaje proporcionado está vacío."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, corrige y corrige errores en el mensaje."}, "emojify": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Si está configurado, agrega emojis al mensaje."}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "el mensaje"}, "translate_to_lang": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Si está configurado, traduce el mensaje al idioma especificado."}, "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": "Si está configurado, reformula el mensaje usando el [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado", "x-tl-flag": "flags.2?InputAiComposeTone"}}, "additionalProperties": false, "required": ["text"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `proofread` | `true` | No | Si está configurado, corrige y corrige errores en el mensaje. |\n| `emojify` | `true` | No | Si está configurado, agrega emojis al mensaje. |\n| `text` | `TextWithEntities` | si | el mensaje |\n| `translate_to_lang` | `string` | No | Si está configurado, traduce el mensaje al idioma especificado. |\n| `tone` | `InputAiComposeTone` | No | Si está configurado, reformula el mensaje usando el [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) especificado |"}, "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": ["Mensajes"], "summary": "Informe las métricas de lectura de la ventana gráfica para los mensajes visibles, indicando cuánto tiempo permaneció cada mensaje en la ventana gráfica del chat; consulte aquí » para obtener más información sobre el flujo completo.", "description": "Informe las métricas de lectura de la ventana gráfica para los mensajes visibles, indicando cuánto tiempo permaneció cada mensaje en la ventana gráfica del chat; consulte [aquí »](https://core.telegram.org/api/views.md#read-metrics) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Vistas y lectura de métricas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se encuentran los mensajes"}, "metrics": {"type": "array", "items": {"type": "object", "x-tl-type": "InputMessageReadMetric", "oneOf": [{"$ref": "#/components/schemas/inputMessageReadMetric"}], "description": "Tipo de TL: InputMessageReadMetric."}, "x-tl-type": "Vector<InputMessageReadMetric>", "description": "Lista de métricas de lectura para mensajes individuales"}}, "additionalProperties": false, "required": ["peer", "metrics"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se encuentran los mensajes |\n| `metrics` | `Vector<InputMessageReadMetric>` | si | Lista de métricas de lectura para mensajes individuales |"}, "x-browser-schema-id": "1080542694"}}, "/catalog/messages.reportMusicListen": {"post": {"operationId": "messages.reportMusicListen", "tags": ["Mensajes"], "summary": "Informe la duración de escucha de una pista de música (documento de audio sin la bandera `voice`), consulte aquí » para obtener más información sobre el flujo completo.", "description": "Informe la duración de la escucha de una pista de música (documento de audio sin la bandera `voice`), consulte [aquí »](https://core.telegram.org/api/views.md#music-listens) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Vistas y lectura de métricas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El [InputDocument](https://core.telegram.org/type/InputDocument.md) de la canción escuchada"}, "listened_duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo de juego acumulado en segundos completos"}}, "additionalProperties": false, "required": ["id", "listened_duration"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputDocument` | si | El [InputDocument](https://core.telegram.org/type/InputDocument.md) de la canción escuchada |\n| `listened_duration` | `int` | si | Tiempo de juego acumulado en segundos completos |"}, "x-browser-schema-id": "3720140825"}}, "/catalog/messages.addPollAnswer": {"post": {"operationId": "messages.addPollAnswer", "tags": ["Mensajes"], "summary": "Agregue una opción de respuesta a una encuesta de respuesta abierta »", "description": "Agregue una opción de respuesta a una [encuesta de respuesta abierta »](https://core.telegram.org/api/poll.md#open-answer-polls)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Encuestas y cuestionarios](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se encuentra la encuesta"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje de la encuesta"}, "answer": {"type": "object", "x-tl-type": "PollAnswer", "oneOf": [{"$ref": "#/components/schemas/pollAnswer"}, {"$ref": "#/components/schemas/inputPollAnswer"}], "description": "La nueva opción de respuesta para agregar, use [inputPollAnswer](https://core.telegram.org/constructor/inputPollAnswer.md)"}}, "additionalProperties": false, "required": ["peer", "msg_id", "answer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se encuentra la encuesta |\n| `msg_id` | `int` | si | ID de mensaje de la encuesta |\n| `answer` | `PollAnswer` | si | La nueva opción de respuesta para agregar, 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": ["Mensajes"], "summary": "Eliminar una opción de respuesta de una encuesta de respuesta abierta »", "description": "Eliminar una opción de respuesta de una [encuesta de respuesta abierta »](https://core.telegram.org/api/poll.md#open-answer-polls)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Encuestas y cuestionarios](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 donde se encuentra la encuesta"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje de la encuesta"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "El identificador `option` de la respuesta a eliminar"}}, "additionalProperties": false, "required": ["peer", "msg_id", "option"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Peer donde se encuentra la encuesta |\n| `msg_id` | `int` | si | ID de mensaje de la encuesta |\n| `option` | `bytes` | si | El identificador `option` de la respuesta a eliminar |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2894398885"}}, "/catalog/messages.getUnreadPollVotes": {"post": {"operationId": "messages.getUnreadPollVotes", "tags": ["Mensajes"], "summary": "Recibe mensajes que contengan encuestas con votos no leídos »", "description": "Recibe mensajes que contengan encuestas con [votos no leídos »](https://core.telegram.org/api/poll.md#unread-poll-votes)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Encuestas y cuestionarios](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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat para recuperar votos de encuestas no leídos"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Si el chat es un foro, restringir los resultados a este tema."}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "add_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Solo devolver mensajes con ID menores o iguales a este valor"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Solo devolver mensajes con ID mayores o iguales a este valor"}}, "additionalProperties": false, "required": ["peer", "offset_id", "add_offset", "limit", "max_id", "min_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat para recuperar votos de encuestas no leídos |\n| `top_msg_id` | `int` | No | Si el chat es un foro, restringir los resultados a este tema. |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `add_offset` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | si | Solo devolver mensajes con ID menores o iguales a este valor |\n| `min_id` | `int` | si | Solo devolver mensajes con ID mayores o iguales a este valor |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1126722802"}}, "/catalog/messages.readPollVotes": {"post": {"operationId": "messages.readPollVotes", "tags": ["Mensajes"], "summary": "Marcar todos los votos de la encuesta no leídos » en un chat como leídos", "description": "Marcar todos los [votos de encuesta no leídos »](https://core.telegram.org/api/poll.md#unread-poll-votes) en un chat como leídos\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Encuestas y cuestionarios](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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedHistory."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El chat para marcar los votos de las encuestas como leídos."}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Si el chat es un foro, restringir a este tema."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El chat para marcar los votos de las encuestas como leídos. |\n| `top_msg_id` | `int` | No | Si el chat es un foro, restringir a este tema. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "388019416"}}, "/catalog/messages.setBotGuestChatResult": {"post": {"operationId": "messages.setBotGuestChatResult", "tags": ["Mensajes"], "summary": "Los bots pueden usar este método para responder una consulta en modo invitado recibida a través de una actualización de updateBotGuestChatQuery, proporcionando el mensaje para publicar en el chat como invitado; consulte aquí » para obtener más información.", "description": "Los bots pueden usar este método para responder una consulta en [modo invitado »](https://core.telegram.org/api/bots/guest-mode.md) recibida a través de una actualización [updateBotGuestChatQuery](https://core.telegram.org/constructor/updateBotGuestChatQuery.md), proporcionando el mensaje para publicar en el chat como invitado; consulte [aquí »](https://core.telegram.org/api/bots/guest-mode.md#handling-guest-queries-bot-side) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Modo invitado para 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": "Resultado de MTProto · `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": "Tipo de TL: InputBotInlineMessageID."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `USER_BOT_INVALID`: las cuentas de usuario deben proporcionar el parámetro del método `bot` al llamar a este método. Si no existe tal parámetro de método, este método solo puede ser invocado por cuentas de bot.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de consulta del campo [updateBotGuestChatQuery](https://core.telegram.org/constructor/updateBotGuestChatQuery.md).`query_id`", "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": "El resultado a enviar como respuesta a la consulta."}}, "additionalProperties": false, "required": ["query_id", "result"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `query_id` | `long` | si | Identificador de consulta del campo [updateBotGuestChatQuery](https://core.telegram.org/constructor/updateBotGuestChatQuery.md).`query_id` |\n| `result` | `InputBotInlineResult` | si | El resultado a enviar como respuesta a la consulta. |"}, "x-telegram-rpc-errors": ["USER_BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3102803683"}}, "/catalog/messages.deleteParticipantReactions": {"post": {"operationId": "messages.deleteParticipantReactions", "tags": ["Mensajes"], "summary": "Como administrador, elimine todas las reacciones de un participante específico de cada mensaje en un grupo o canal.", "description": "Como administrador, elimine todas las [reacciones](https://core.telegram.org/api/reactions.md)] de un participante específico de cada mensaje en un grupo o canal.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El grupo o canal donde se deben eliminar las reacciones del participante"}, "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": "El participante cuyas reacciones deben eliminarse."}}, "additionalProperties": false, "required": ["peer", "participant"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El grupo o canal donde se deben eliminar las reacciones del participante |\n| `participant` | `InputPeer` | si | El participante cuyas reacciones deben eliminarse. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2696416504"}}, "/catalog/messages.deleteParticipantReaction": {"post": {"operationId": "messages.deleteParticipantReaction", "tags": ["Mensajes"], "summary": "Como administrador, elimine todas las reacciones de un participante específico de un solo mensaje.", "description": "Como administrador, elimine todas las [reacciones](https://core.telegram.org/api/reactions.md) de un participante específico de un solo mensaje.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El grupo o canal donde se encuentra el mensaje"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje cuyas reacciones deben eliminarse"}, "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": "El participante cuyas reacciones deben eliminarse del mensaje."}}, "additionalProperties": false, "required": ["peer", "msg_id", "participant"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El grupo o canal donde se encuentra el mensaje |\n| `msg_id` | `int` | si | ID del mensaje cuyas reacciones deben eliminarse |\n| `participant` | `InputPeer` | si | El participante cuyas reacciones deben eliminarse del mensaje. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3820484652"}}, "/catalog/messages.getPersonalChannelHistory": {"post": {"operationId": "messages.getPersonalChannelHistory", "tags": ["Mensajes"], "summary": "Obtener el historial de mensajes del canal personal de un usuario ».", "description": "Obtenga el historial de mensajes del [canal personal »](https://core.telegram.org/api/profile.md#personal-channel) de un usuario.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Perfiles de usuario](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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El usuario cuyo historial de canal personal desea recuperar"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se transfirió un valor positivo, el método devolverá solo mensajes con ID inferiores a **max_id**"}, "min_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se transfirió un valor positivo, el método devolverá solo mensajes con ID superiores a **min_id**"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Resultado hash](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["user_id", "limit", "max_id", "min_id", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | El usuario cuyo historial de canal personal desea recuperar |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `max_id` | `int` | si | Si se transfirió un valor positivo, el método devolverá solo mensajes con ID inferiores a **max_id** |\n| `min_id` | `int` | si | Si se transfirió un valor positivo, el método devolverá solo mensajes con ID superiores a **min_id** |\n| `hash` | `long` | si | [Resultado 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": ["Mensajes"], "summary": "messages.getRichMessage", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Escribe 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": "Tipo de TL: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `id` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1343580623"}}, "/catalog/messages.translateRichMessage": {"post": {"operationId": "messages.translateRichMessage", "tags": ["Mensajes"], "summary": "messages.translateRichMessage", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Tipo de TL: 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": "Valor del tipo TL `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": "Valor del tipo TL `Vector<InputRichMessage>`."}, "to_lang": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "tone": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["to_lang"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | No | Tipo de TL: InputPeer. |\n| `id` | `Vector<int>` | No | Valor del tipo TL `Vector<int>`. |\n| `text` | `Vector<InputRichMessage>` | No | Valor del tipo TL `Vector<InputRichMessage>`. |\n| `to_lang` | `string` | si | Valor del tipo TL `string`. |\n| `tone` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "441720836"}}, "/catalog/messages.composeRichMessageWithAI": {"post": {"operationId": "messages.composeRichMessageWithAI", "tags": ["Mensajes"], "summary": "messages.composeRichMessageWithAI", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "emojify": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Valor del tipo TL `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": "Valor del tipo TL `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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `proofread` | `true` | No | Valor del tipo TL `true`. |\n| `emojify` | `true` | No | Valor del tipo TL `true`. |\n| `text` | `InputRichMessage` | No | Тип TL: InputRichMessage. |\n| `translate_to_lang` | `string` | No | Valor del tipo TL `string`. |\n| `tone` | `InputAiComposeTone` | No | Тип TL: InputAiComposeTone. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2373641903"}}, "/catalog/messages.requestChatJoinWebView": {"post": {"operationId": "messages.requestChatJoinWebView", "tags": ["Mensajes"], "summary": "messages.requestChatJoinWebView", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `WebViewResult`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "WebViewResult", "oneOf": [{"$ref": "#/components/schemas/webViewResultUrl"}], "description": "Tipo de TL: WebViewResult."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Tipo de TL: DataJSON.", "x-tl-flag": "flags.0?DataJSON"}, "platform": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["query_id", "platform"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `query_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `theme_params` | `DataJSON` | No | Tipo de TL: DataJSON. |\n| `platform` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3130975865"}}, "/catalog/messages.setShareTheme": {"post": {"operationId": "messages.setShareTheme", "tags": ["Mensajes"], "summary": "messages.setShareTheme", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: 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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `theme` | `ShareTheme` | si | Тип TL: ShareTheme. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1770691354"}}, "/catalog/messages.getShareThemeBackdrops": {"post": {"operationId": "messages.getShareThemeBackdrops", "tags": ["Mensajes"], "summary": "messages.getShareThemeBackdrops", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "4099514098"}}, "/catalog/messages.getBotWidgetQueryAnswer": {"post": {"operationId": "messages.getBotWidgetQueryAnswer", "tags": ["Mensajes"], "summary": "messages.getBotWidgetQueryAnswer", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Tipo de TL: InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `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": "Valor del tipo TL `bytes`."}}, "additionalProperties": false, "required": ["peer", "msg_id", "query_type", "data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `msg_id` | `int` | si | Valor del tipo TL `int`. |\n| `query_type` | `WidgetQueryType` | si | Тип TL: WidgetQueryType. |\n| `data` | `bytes` | si | Valor del tipo TL `bytes`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1549075833"}}, "/catalog/messages.setBotWidgetQueryAnswer": {"post": {"operationId": "messages.setBotWidgetQueryAnswer", "tags": ["Mensajes"], "summary": "messages.setBotWidgetQueryAnswer", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "result": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["query_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `query_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `result` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "4174244970"}}, "/catalog/messages.editMessageWidgetData": {"post": {"operationId": "messages.editMessageWidgetData", "tags": ["Mensajes"], "summary": "messages.editMessageWidgetData", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "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": "Tipo de TL: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `id` | `int` | si | Valor del tipo TL `int`. |\n| `public_data` | `string` | No | Valor del tipo TL `string`. |\n| `chat_data` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "4129602590"}}, "/catalog/messages.editInlineBotMessageWidgetData": {"post": {"operationId": "messages.editInlineBotMessageWidgetData", "tags": ["Mensajes"], "summary": "messages.editInlineBotMessageWidgetData", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: InputBotInlineMessageID."}, "public_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}, "chat_data": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `InputBotInlineMessageID` | si | Tipo de TL: InputBotInlineMessageID. |\n| `public_data` | `string` | No | Valor del tipo TL `string`. |\n| `chat_data` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1670827563"}}, "/catalog/messages.editWidgetData": {"post": {"operationId": "messages.editWidgetData", "tags": ["Mensajes"], "summary": "messages.editWidgetData", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "public_data": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["widget_id", "public_data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `widget_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `public_data` | `string` | si | Valor del tipo TL `string`. |\n| `cache_time` | `int` | No | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3938665408"}}, "/catalog/messages.getWidgetPublicData": {"post": {"operationId": "messages.getWidgetPublicData", "tags": ["Mensajes"], "summary": "messages.getWidgetPublicData", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Tipo de TL: InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "msg_id", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `msg_id` | `int` | si | Valor del tipo TL `int`. |\n| `hash` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1875194241"}}, "/catalog/messages.transcribeAudioFile": {"post": {"operationId": "messages.transcribeAudioFile", "tags": ["Mensajes"], "summary": "messages.transcribeAudioFile", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `messages.TranscribedAudio`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.TranscribedAudio", "oneOf": [{"$ref": "#/components/schemas/messages.transcribedAudio"}], "description": "Tipo 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": "Tipo TL: Archivo de entrada."}}, "additionalProperties": false, "required": ["file"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `file` | `InputFile` | si | Tipo TL: Archivo de entrada. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "120401655"}}, "/catalog/messages.getTranscriptionLangs": {"post": {"operationId": "messages.getTranscriptionLangs", "tags": ["Mensajes"], "summary": "messages.getTranscriptionLangs", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Tipo de TL: InputPeer.", "x-tl-flag": "flags.0?InputPeer"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | No | Tipo de TL: InputPeer. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3127695786"}}, "/catalog/messages.inviteUsersToBot": {"post": {"operationId": "messages.inviteUsersToBot", "tags": ["Mensajes"], "summary": "messages.inviteUsersToBot", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: Usuario de entrada."}, "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Valor del tipo TL `Vector<InputUser>`."}}, "additionalProperties": false, "required": ["bot", "users"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `users` | `Vector<InputUser>` | si | Valor del tipo TL `Vector<InputUser>`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "498593787"}}, "/catalog/messages.getTranscriptionModels": {"post": {"operationId": "messages.getTranscriptionModels", "tags": ["Mensajes"], "summary": "messages.getTranscriptionModels", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["version"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `version` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "136274721"}}, "/catalog/messages.reportFeedEvents": {"post": {"operationId": "messages.reportFeedEvents", "tags": ["Mensajes"], "summary": "messages.reportFeedEvents", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `Vector<InputFeedEvent>`."}}, "additionalProperties": false, "required": ["events"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `events` | `Vector<InputFeedEvent>` | si | Valor del tipo TL `Vector<InputFeedEvent>`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3835876816"}}, "/catalog/messages.reportNotSpam": {"post": {"operationId": "messages.reportNotSpam", "tags": ["Mensajes"], "summary": "messages.reportNotSpam", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: InputPeer."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3418396603"}}, "/catalog/messages.getVoipModels": {"post": {"operationId": "messages.getVoipModels", "tags": ["Mensajes"], "summary": "messages.getVoipModels", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["version"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `version` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "546169867"}}, "/catalog/updates.getState": {"post": {"operationId": "updates.getState", "tags": ["Actualizaciones"], "summary": "Devuelve un estado actual de las actualizaciones.", "description": "Devuelve un estado actual de las actualizaciones.", "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": "Resultado de MTProto · `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": "Tipo TL: updates.State."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/updates.getState"}, "x-browser-schema-id": "3990128682"}}, "/catalog/updates.getDifference": {"post": {"operationId": "updates.getDifference", "tags": ["Actualizaciones"], "summary": "Recibe nuevas actualizaciones.", "description": "Obtenga nuevas [actualizaciones](https://core.telegram.org/api/updates.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](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": "Resultado de MTProto · `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": "Tipo TL: updates.Difference."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CDN_METHOD_INVALID`: no puedes llamar a este método en un CDN DC.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `DATE_EMPTY` — Fecha vacía.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PERSISTENT_TIMESTAMP_EMPTY` — Marca de tiempo persistente vacía.\n- 400 · `PERSISTENT_TIMESTAMP_INVALID`: la marca de tiempo persistente no es válida.\n- 500 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada.\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USER_NOT_PARTICIPANT` — No eres miembro de este supergrupo/canal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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, consulte [actualizaciones](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 límite"}, "pts_total_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Para una actualización rápida: si se proporciona y `pts + pts_total_limit < remote pts`, se devolverá [updates.differenceTooLong](https://core.telegram.org/constructor/updates.differenceTooLong.md). Simplemente le dice al servidor que no devuelva la diferencia si es mayor que `pts_total_limit` Si los puntos remotos son demasiado grandes (> ~4000000), este campo se establecerá de manera predeterminada en 1000000."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "fecha, consulte [actualizaciones](https://core.telegram.org/api/updates.md)."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "QTS, consulte [actualizaciones](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 límite"}}, "additionalProperties": false, "required": ["pts", "date", "qts"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `pts` | `int` | si | PTS, consulte [actualizaciones](https://core.telegram.org/api/updates.md). |\n| `pts_limit` | `int` | No | PTS límite |\n| `pts_total_limit` | `int` | No | Para una actualización rápida: si se proporciona y `pts + pts_total_limit < remote pts`, se devolverá [updates.differenceTooLong](https://core.telegram.org/constructor/updates.differenceTooLong.md). Simplemente le dice al servidor que no devuelva la diferencia si es mayor que `pts_total_limit` Si los puntos remotos son demasiado grandes (> ~4000000), este campo se establecerá de manera predeterminada en 1000000. |\n| `date` | `int` | si | fecha, consulte [actualizaciones](https://core.telegram.org/api/updates.md). |\n| `qts` | `int` | si | QTS, consulte [actualizaciones](https://core.telegram.org/api/updates.md). |\n| `qts_limit` | `int` | No | QTS límite |"}, "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": ["Actualizaciones"], "summary": "Devuelve la diferencia entre el estado actual de actualizaciones de un determinado canal y el transmitido.", "description": "Devuelve la diferencia entre el estado actual de actualizaciones de un determinado canal y el transmitido.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Autorización de usuario](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": "Resultado de MTProto · `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": "Escribe TL: updates.ChannelDifference."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHANNEL_PUBLIC_GROUP_NA` — canal/supergrupo no disponible.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `FROM_MESSAGE_BOT_DISABLED` — Los bots no pueden usar constructores fromMessage min.\n- 400 · `FROZEN_PARTICIPANT_MISSING`: la cuenta actual está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) y no puede acceder al par especificado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PERSISTENT_TIMESTAMP_EMPTY` — Marca de tiempo persistente vacía.\n- 400 · `PERSISTENT_TIMESTAMP_INVALID`: la marca de tiempo persistente no es válida.\n- 500 · `PERSISTENT_TIMESTAMP_OUTDATED`: problemas de replicación interna del canal, inténtalo de nuevo más tarde (trata esto como un RPC_CALL_FAIL).\n- 400 · `PINNED_DIALOGS_TOO_MUCH`: demasiados cuadros de diálogo anclados.\n- 400 · `RANGES_INVALID` — Se proporcionó un rango no válido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Configúrelo en verdadero para omitir algunas actualizaciones posiblemente innecesarias y reducir la carga del lado del servidor"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "el canal"}, "filter": {"type": "object", "x-tl-type": "ChannelMessagesFilter", "oneOf": [{"$ref": "#/components/schemas/channelMessagesFilterEmpty"}, {"$ref": "#/components/schemas/channelMessagesFilter"}], "description": "Filtro de mensajes"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Marca de tiempo persistente (ver [actualizaciones](https://core.telegram.org/api/updates.md))"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cuántas actualizaciones recuperar, máximo `100000` Se supone que los usuarios normales (no bots) deben pasar `10-100`"}}, "additionalProperties": false, "required": ["channel", "filter", "pts", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `force` | `true` | No | Configúrelo en verdadero para omitir algunas actualizaciones posiblemente innecesarias y reducir la carga del lado del servidor |\n| `channel` | `InputChannel` | si | el canal |\n| `filter` | `ChannelMessagesFilter` | si | Filtro de mensajes |\n| `pts` | `int` | si | Marca de tiempo persistente (ver [actualizaciones](https://core.telegram.org/api/updates.md)) |\n| `limit` | `int` | si | Cuántas actualizaciones recuperar, máximo `100000` Se supone que los usuarios normales (no bots) deben pasar `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": ["Fotos"], "summary": "Instala una foto cargada previamente como foto de perfil.", "description": "Instala una foto cargada previamente como foto de perfil.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: photos.Photo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ALBUM_PHOTOS_TOO_MANY` — Has subido demasiadas fotos de perfil, elimina algunas antes de volver a intentarlo.\n- 400 · `BOT_FALLBACK_UNSUPPORTED` — La bandera de reserva no se puede configurar para bots.\n- 400 · `FILE_PARTS_INVALID`: el número de partes del archivo no es válido.\n- 400 · `IMAGE_PROCESS_FAILED` — Fallo al procesar la imagen.\n- 400 · `LOCATION_INVALID`: la ubicación proporcionada no es válida.\n- 400 · `PHOTO_CROP_SIZE_SMALL` — La foto es demasiado pequeña.\n- 400 · `PHOTO_EXT_INVALID` — La extensión de la foto no es válida.\n- 400 · `PHOTO_ID_INVALID` — Identificación con foto no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se configura, la foto de perfil elegida se mostrará a los usuarios que no pueden mostrar su foto de perfil principal debido a su configuración de privacidad."}, "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": "Puede contener información de un bot de nuestra propiedad, para cambiar la foto de perfil de ese bot, en lugar de la del usuario actual.", "x-tl-flag": "flags.1?InputUser"}, "id": {"type": "object", "x-tl-type": "InputPhoto", "oneOf": [{"$ref": "#/components/schemas/inputPhotoEmpty"}, {"$ref": "#/components/schemas/inputPhoto"}], "description": "Foto de entrada"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `fallback` | `true` | No | Si se configura, la foto de perfil elegida se mostrará a los usuarios que no pueden mostrar su foto de perfil principal debido a su configuración de privacidad. |\n| `bot` | `InputUser` | No | Puede contener información de un bot de nuestra propiedad, para cambiar la foto de perfil de ese bot, en lugar de la del usuario actual. |\n| `id` | `InputPhoto` | si | Foto de entrada |"}, "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": ["Fotos"], "summary": "Actualiza la foto de perfil del usuario actual.", "description": "Actualiza la foto de perfil del usuario actual.\n\nLas banderas `file`, `video` y `video_emoji_markup` son mutuamente excluyentes.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Carga y descarga de archivos](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": "Resultado de MTProto · `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": "Tipo TL: photos.Photo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ALBUM_PHOTOS_TOO_MANY` — Has subido demasiadas fotos de perfil, elimina algunas antes de volver a intentarlo.\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `EMOJI_MARKUP_INVALID`: el `video_emoji_markup` especificado no era válido.\n- 400 · `FILE_PARTS_INVALID`: el número de partes del archivo no es válido.\n- 400 · `IMAGE_PROCESS_FAILED` — Fallo al procesar la imagen.\n- 400 · `PHOTO_CROP_FILE_MISSING` — Falta el archivo de recorte de fotografía.\n- 400 · `PHOTO_CROP_SIZE_SMALL` — La foto es demasiado pequeña.\n- 400 · `PHOTO_EXT_INVALID` — La extensión de la foto no es válida.\n- 400 · `PHOTO_FILE_MISSING` — Falta el archivo de foto de perfil.\n- 400 · `PHOTO_INVALID` — Foto no válida.\n- 400 · `STICKER_MIME_INVALID`: el tipo de etiqueta especificada MIME no es válido.\n- 400 · `VIDEO_FILE_INVALID`: el archivo de vídeo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se configura, la foto de perfil elegida se mostrará a los usuarios que no pueden mostrar su foto de perfil principal debido a su configuración de privacidad."}, "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": "Puede contener información de un bot de nuestra propiedad, para cambiar la foto de perfil de ese bot, en lugar de la del usuario actual.", "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": "Foto de perfil", "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": "[Imagen de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) vídeo", "x-tl-flag": "flags.1?InputFile"}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "x-tl-flag": "flags.2?double", "description": "Punto flotante UNIX marca de tiempo en segundos, que indica el fotograma del vídeo/pegatina que debe usarse como vista previa estática; solo se puede utilizar si está configurado `video` o `video_emoji_markup`."}, "video_emoji_markup": {"type": "object", "x-tl-type": "VideoSize", "oneOf": [{"$ref": "#/components/schemas/videoSize"}, {"$ref": "#/components/schemas/videoSizeEmojiMarkup"}, {"$ref": "#/components/schemas/videoSizeStickerMarkup"}], "description": "La imagen de perfil de la etiqueta animada debe contener un constructor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) o [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)].", "x-tl-flag": "flags.4?VideoSize"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `fallback` | `true` | No | Si se configura, la foto de perfil elegida se mostrará a los usuarios que no pueden mostrar su foto de perfil principal debido a su configuración de privacidad. |\n| `bot` | `InputUser` | No | Puede contener información de un bot de nuestra propiedad, para cambiar la foto de perfil de ese bot, en lugar de la del usuario actual. |\n| `file` | `InputFile` | No | Foto de perfil |\n| `video` | `InputFile` | No | [Imagen de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) vídeo |\n| `video_start_ts` | `double` | No | Punto flotante UNIX marca de tiempo en segundos, que indica el fotograma del vídeo/pegatina que debe usarse como vista previa estática; solo se puede utilizar si está configurado `video` o `video_emoji_markup`. |\n| `video_emoji_markup` | `VideoSize` | No | La imagen de perfil de la etiqueta animada debe contener un constructor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) o [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)]. |"}, "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": ["Fotos"], "summary": "Elimina fotos de perfil. El método devuelve una lista de identificaciones con fotografía eliminadas correctamente.", "description": "Elimina fotos de perfil. El método devuelve una lista de identificaciones con fotografía eliminadas correctamente.", "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": "Resultado de MTProto · `Vector<long>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[largo](https://core.telegram.org/type/long.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo TL: EntradaFoto."}, "x-tl-type": "Vector<InputPhoto>", "description": "Ingrese fotos para eliminar"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputPhoto>` | si | Ingrese fotos para eliminar |"}, "x-browser-schema-id": "2278522671"}}, "/catalog/photos.getUserPhotos": {"post": {"operationId": "photos.getUserPhotos", "tags": ["Fotos"], "summary": "Devuelve la lista de fotos de usuarios.", "description": "Devuelve la lista de fotos de usuarios.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Referencias de archivos](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": "Resultado de MTProto · `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": "Tipo TL: photos.Photos."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MAX_ID_INVALID`: el ID máximo proporcionado no es válido.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de usuario"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de elementos de la lista que se omitirán"}, "max_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Si se transfirió un valor positivo, el método devolverá solo fotos con ID menores que el establecido. Este parámetro suele ser útil cuando [se recuperan referencias de archivos »](https://core.telegram.org/api/file-references.md), como en conjunto con `limit=1` y `offset=-1`, se puede recuperar el objeto [foto](https://core.telegram.org/constructor/photo.md) con el `id` especificado en `max_id`.", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de elementos de la lista que se devolverán"}}, "additionalProperties": false, "required": ["user_id", "offset", "max_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | ID de usuario |\n| `offset` | `int` | si | Número de elementos de la lista que se omitirán |\n| `max_id` | `long` | si | Si se transfirió un valor positivo, el método devolverá solo fotos con ID menores que el establecido. Este parámetro suele ser útil cuando [se recuperan referencias de archivos »](https://core.telegram.org/api/file-references.md), como en conjunto con `limit=1` y `offset=-1`, se puede recuperar el objeto [foto](https://core.telegram.org/constructor/photo.md) con el `id` especificado en `max_id`. |\n| `limit` | `int` | si | Número de elementos de la lista que se devolverán |"}, "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": ["Fotos"], "summary": "Cargue una imagen de perfil personalizada para un contacto o sugiera una nueva imagen de perfil a un contacto.", "description": "Cargue una imagen de perfil personalizada para un contacto o sugiera una nueva imagen de perfil a un contacto.\n\nLas banderas `file`, `video` y `video_emoji_markup` son mutuamente excluyentes.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carga y descarga de archivos](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": "Resultado de MTProto · `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": "Tipo TL: photos.Photo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CONTACT_MISSING` — El usuario especificado no es un contacto.\n- 400 · `NEED_ACTION_MISSING`: la persona que llama no especificó una acción válida (guardar o sugerir) para cargar la foto de perfil del contacto.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, enviará un mensaje de servicio [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) a `user_id`, sugiriéndoles que utilicen la imagen de perfil especificada; de lo contrario, establecerá una imagen de perfil personal para el usuario (solo visible para el usuario actual)."}, "save": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Si se configura, elimina una imagen de perfil personal previamente configurada (no afecta las imágenes de perfil sugeridas; para eliminarlas, simplemente elimine el mensaje de servicio [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) con [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": "el contacto"}, "file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Foto de perfil", "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": "[Imagen de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) vídeo", "x-tl-flag": "flags.1?InputFile"}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "x-tl-flag": "flags.2?double", "description": "Punto flotante UNIX marca de tiempo en segundos, que indica el fotograma del vídeo/pegatina que debe usarse como vista previa estática; solo se puede utilizar si está configurado `video` o `video_emoji_markup`."}, "video_emoji_markup": {"type": "object", "x-tl-type": "VideoSize", "oneOf": [{"$ref": "#/components/schemas/videoSize"}, {"$ref": "#/components/schemas/videoSizeEmojiMarkup"}, {"$ref": "#/components/schemas/videoSizeStickerMarkup"}], "description": "La imagen de perfil de la etiqueta animada debe contener un constructor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) o [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)].", "x-tl-flag": "flags.5?VideoSize"}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `suggest` | `true` | No | Si está configurado, enviará un mensaje de servicio [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) a `user_id`, sugiriéndoles que utilicen la imagen de perfil especificada; de lo contrario, establecerá una imagen de perfil personal para el usuario (solo visible para el usuario actual). |\n| `save` | `true` | No | Si se configura, elimina una imagen de perfil personal previamente configurada (no afecta las imágenes de perfil sugeridas; para eliminarlas, simplemente elimine el mensaje de servicio [messageActionSuggestProfilePhoto](https://core.telegram.org/constructor/messageActionSuggestProfilePhoto.md) con [messages.deleteMessages](https://core.telegram.org/method/messages.deleteMessages.md)). |\n| `user_id` | `InputUser` | si | el contacto |\n| `file` | `InputFile` | No | Foto de perfil |\n| `video` | `InputFile` | No | [Imagen de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) vídeo |\n| `video_start_ts` | `double` | No | Punto flotante UNIX marca de tiempo en segundos, que indica el fotograma del vídeo/pegatina que debe usarse como vista previa estática; solo se puede utilizar si está configurado `video` o `video_emoji_markup`. |\n| `video_emoji_markup` | `VideoSize` | No | La imagen de perfil de la etiqueta animada debe contener un constructor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) o [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)]. |"}, "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": ["Archivos"], "summary": "Guarda una parte del archivo para enviarlo posteriormente a uno de los métodos.", "description": "Guarda una parte del archivo para enviarlo posteriormente a uno de los métodos.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILE_PART_EMPTY` — La parte del archivo proporcionada está vacía.\n- 400 · `FILE_PART_INVALID`: el número de pieza del archivo no es válido.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de archivo aleatorio creado por el cliente", "x-tl-type": "long"}, "file_part": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Orden numérico de una parte."}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datos binarios, contenido de una parte."}}, "additionalProperties": false, "required": ["file_id", "file_part", "bytes"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `file_id` | `long` | si | Identificador de archivo aleatorio creado por el cliente |\n| `file_part` | `int` | si | Orden numérico de una parte. |\n| `bytes` | `bytes` | si | Datos binarios, contenido de una parte. |"}, "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": ["Archivos"], "summary": "Devuelve el contenido de un archivo completo o parte de él.", "description": "Devuelve el contenido de un archivo completo o parte de él.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Referencias de archivos](https://core.telegram.org/api/file-references.md)\n- [Telegrama 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": "Resultado de MTProto · `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": "Escriba TL: upload.File."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CDN_METHOD_INVALID`: no puedes llamar a este método en un CDN DC.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 406 · `FILEREF_UPGRADE_NEEDED` — El cliente debe actualizarse para admitir [referencias de archivos](https://core.telegram.org/api/file-references.md).\n- 400 · `FILE_ID_INVALID`: la identificación del archivo proporcionada no es válida.\n- 400 · `FILE_REFERENCE_EMPTY`: se especificó una [referencia de archivo](https://core.telegram.org/api/file-references.md)] vacía.\n- 400 · `FILE_REFERENCE_EXPIRED` — La referencia del archivo expiró, debe recuperarse como se describe en [la documentación](https://core.telegram.org/api/file-references.md).\n- 400 · `FILE_REFERENCE_INVALID`: la [referencia de archivo](https://core.telegram.org/api/file-references.md) especificada no es válida.\n- 420 · `FLOOD_PREMIUM_WAIT_%d`: espere %d segundos antes de repetir la acción o compre una [suscripción Telegram Premium](https://core.telegram.org/api/premium.md) para eliminar este límite de tarifa.\n- 400 · `LIMIT_INVALID` — El límite proporcionado no es válido.\n- 400 · `LOCATION_INVALID`: la ubicación proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `OFFSET_INVALID`: el desplazamiento proporcionado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Deshabilite algunas comprobaciones de valores límite y de compensación, útiles, por ejemplo, para transmitir vídeos por fotogramas clave."}, "cdn_supported": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si el cliente actual admite [CDN descargas](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": "Ubicación del archivo"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Número de bytes a omitir", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de bytes a devolver"}}, "additionalProperties": false, "required": ["location", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `precise` | `true` | No | Deshabilite algunas comprobaciones de valores límite y de compensación, útiles, por ejemplo, para transmitir vídeos por fotogramas clave. |\n| `cdn_supported` | `true` | No | Si el cliente actual admite [CDN descargas](https://core.telegram.org/cdn.md) |\n| `location` | `InputFileLocation` | si | Ubicación del archivo |\n| `offset` | `long` | si | Número de bytes a omitir |\n| `limit` | `int` | si | Número de bytes a devolver |"}, "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": ["Archivos"], "summary": "Guarda una parte de un archivo grande (de más de 10 MB de tamaño) para luego pasarlo a uno de los métodos.", "description": "Guarda una parte de un archivo grande (de más de 10 MB de tamaño) para luego pasarlo a uno de los métodos.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILE_PARTS_INVALID`: el número de partes del archivo no es válido.\n- 400 · `FILE_PART_EMPTY` — La parte del archivo proporcionada está vacía.\n- 400 · `FILE_PART_INVALID`: el número de pieza del archivo no es válido.\n- 400 · `FILE_PART_SIZE_CHANGED`: el tamaño de la parte del archivo proporcionado ha cambiado.\n- 400 · `FILE_PART_SIZE_INVALID`: el tamaño de la parte del archivo proporcionado no es válido.\n- 400 · `FILE_PART_TOO_BIG` — La parte del archivo cargado es demasiado grande.\n- 400 · `FILE_PART_TOO_SMALL`: el tamaño de la parte del archivo cargado es demasiado pequeño; consulte la documentación para conocer los tamaños permitidos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de archivo aleatorio, creado por el cliente", "x-tl-type": "long"}, "file_part": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de secuencia de la pieza"}, "file_total_parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de piezas"}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datos binarios, contenido parcial."}}, "additionalProperties": false, "required": ["file_id", "file_part", "file_total_parts", "bytes"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `file_id` | `long` | si | ID de archivo aleatorio, creado por el cliente |\n| `file_part` | `int` | si | Número de secuencia de la pieza |\n| `file_total_parts` | `int` | si | Número total de piezas |\n| `bytes` | `bytes` | si | Datos binarios, contenido parcial. |"}, "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": ["Archivos"], "summary": "Devuelve el contenido de un archivo web, al enviar la solicitud a través de Telegram; consulte los documentos del archivo web para obtener más información.", "description": "Devuelve el contenido de un archivo web, al enviar la solicitud a través de Telegram, consulte los [documentos del archivo web para obtener más información](https://core.telegram.org/api/files.md#downloading-webfiles).\n\n**Nota**: la consulta debe enviarse al DC especificado en el `webfile_dc_id` [campo de configuración MTProto](https://core.telegram.org/api/config.md#mtproto-configuration).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carga y descarga de archivos](https://core.telegram.org/api/files.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `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": "Tipo TL: upload.WebFile."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `DOCUMENT_INVALID` — El documento especificado no es válido.\n- 400 · `LOCATION_INVALID`: la ubicación proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El archivo para descargar"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de bytes a omitir"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de bytes a devolver"}}, "additionalProperties": false, "required": ["location", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `location` | `InputWebFileLocation` | si | El archivo para descargar |\n| `offset` | `int` | si | Número de bytes a omitir |\n| `limit` | `int` | si | Número de bytes a devolver |"}, "x-telegram-rpc-errors": ["DOCUMENT_INVALID", "LOCATION_INVALID"], "x-browser-schema-id": "619086221"}}, "/catalog/upload.getCdnFile": {"post": {"operationId": "upload.getCdnFile", "tags": ["Archivos"], "summary": "Descargue un archivo CDN.", "description": "Descargue un archivo [CDN](https://core.telegram.org/cdn.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: upload.CdnFile."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILE_TOKEN_INVALID`: el DC maestro no aceptó el `file_token` (e.g., el token ha caducado). Continúe descargando el archivo desde el DC maestro usando upload.getFile.\n- 404 · `METHOD_INVALID` — El método especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "token de archivo"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Desplazamiento del fragmento a descargar", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud del fragmento a descargar"}}, "additionalProperties": false, "required": ["file_token", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `file_token` | `bytes` | si | token de archivo |\n| `offset` | `long` | si | Desplazamiento del fragmento a descargar |\n| `limit` | `int` | si | Longitud del fragmento a descargar |"}, "x-telegram-rpc-errors": ["FILE_TOKEN_INVALID", "METHOD_INVALID"], "x-browser-schema-id": "962554330"}}, "/catalog/upload.reuploadCdnFile": {"post": {"operationId": "upload.reuploadCdnFile", "tags": ["Archivos"], "summary": "Solicite una recarga de un determinado archivo en un CDN DC.", "description": "Solicite volver a cargar un determinado archivo en un archivo [CDN DC](https://core.telegram.org/cdn.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Vector<FileHash>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[FileHash](https://core.telegram.org/type/FileHash.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "FileHash", "oneOf": [{"$ref": "#/components/schemas/fileHash"}], "description": "Tipo de TL: FileHash."}, "x-tl-type": "Vector<FileHash>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CDN_METHOD_INVALID`: no puedes llamar a este método en un CDN DC.\n- 500 · `CDN_UPLOAD_TIMEOUT`: se produjo un tiempo de espera del lado del servidor al volver a cargar el archivo en el CDN DC.\n- 400 · `FILE_TOKEN_INVALID`: el DC maestro no aceptó el `file_token` (e.g., el token ha caducado). Continúe descargando el archivo desde el DC maestro usando upload.getFile.\n- 400 · `LOCATION_INVALID`: la ubicación proporcionada no es válida.\n- 400 · `REQUEST_TOKEN_INVALID`: el DC maestro no aceptó el `request_token` del CDN DC. Continúe descargando el archivo desde el DC maestro usando upload.getFile.\n- 400 · `RSA_DECRYPT_FAILED` — Error de descifrado interno RSA."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "token de archivo"}, "request_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Solicitar token"}}, "additionalProperties": false, "required": ["file_token", "request_token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `file_token` | `bytes` | si | token de archivo |\n| `request_token` | `bytes` | si | Solicitar 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": ["Archivos"], "summary": "Obtenga SHA256 hashes para verificar los archivos CDN descargados", "description": "Obtenga SHA256 hashes para verificar los archivos [CDN](https://core.telegram.org/cdn.md)] descargados\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Vector<FileHash>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[FileHash](https://core.telegram.org/type/FileHash.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "FileHash", "oneOf": [{"$ref": "#/components/schemas/fileHash"}], "description": "Tipo de TL: FileHash."}, "x-tl-type": "Vector<FileHash>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CDN_METHOD_INVALID`: no puedes llamar a este método en un CDN DC.\n- 400 · `FILE_TOKEN_INVALID`: el DC maestro no aceptó el `file_token` (e.g., el token ha caducado). Continúe descargando el archivo desde el DC maestro usando upload.getFile.\n- 400 · `RSA_DECRYPT_FAILED` — Error de descifrado interno RSA."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Archivo"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Compensación a partir de la cual empezar a obtener hashes", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["file_token", "offset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `file_token` | `bytes` | si | Archivo |\n| `offset` | `long` | si | Compensación a partir de la cual empezar a obtener 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": ["Archivos"], "summary": "Obtenga SHA256 hashes para verificar los archivos descargados", "description": "Obtenga SHA256 hashes para verificar los archivos descargados\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Vector<FileHash>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[FileHash](https://core.telegram.org/type/FileHash.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "FileHash", "oneOf": [{"$ref": "#/components/schemas/fileHash"}], "description": "Tipo de TL: FileHash."}, "x-tl-type": "Vector<FileHash>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `LOCATION_INVALID`: la ubicación proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Archivo"}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Desplazamiento desde el cual obtener hashes de archivos", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["location", "offset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `location` | `InputFileLocation` | si | Archivo |\n| `offset` | `long` | si | Desplazamiento desde el cual obtener hashes de archivos |"}, "x-telegram-rpc-errors": ["LOCATION_INVALID"], "x-browser-schema-id": "2438371370"}}, "/catalog/help.getConfig": {"post": {"operationId": "help.getConfig", "tags": ["Configuración y ayuda"], "summary": "Devuelve la configuración actual, incluida la configuración del centro de datos.", "description": "Devuelve la configuración actual, incluida la configuración del centro de datos.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Config`.\n\n[Configuración](https://core.telegram.org/type/Config.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "Config", "oneOf": [{"$ref": "#/components/schemas/config"}], "description": "Tipo TL: Config."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CONNECTION_API_ID_INVALID`: la identificación API proporcionada no es válida.\n- 400 · `CONNECTION_APP_VERSION_EMPTY` — La versión de la aplicación está vacía.\n- 400 · `CONNECTION_LAYER_INVALID` — Capa no válida.\n- 400 · `DATA_INVALID`: datos cifrados no válidos.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 403 · `USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario no le permite hacer esto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["Configuración y ayuda"], "summary": "Devuelve información sobre el centro de datos más cercano al usuario.", "description": "Devuelve información sobre el centro de datos más cercano al usuario.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `NearestDc`.\n\n[Dc más cercano](https://core.telegram.org/type/NearestDc.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "NearestDc", "oneOf": [{"$ref": "#/components/schemas/nearestDc"}], "description": "Tipo TL: NearestDc."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/help.getNearestDc"}, "x-browser-schema-id": "531836966"}}, "/catalog/help.getAppUpdate": {"post": {"operationId": "help.getAppUpdate", "tags": ["Configuración y ayuda"], "summary": "Devuelve información sobre la disponibilidad de actualizaciones para la aplicación actual.", "description": "Devuelve información sobre la disponibilidad de actualizaciones para la aplicación actual.", "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": "Resultado de MTProto · `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": "Escribe TL: help.AppUpdate."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Fuente"}}, "additionalProperties": false, "required": ["source"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `source` | `string` | si | Fuente |"}, "x-browser-schema-id": "1378703997"}}, "/catalog/help.getInviteText": {"post": {"operationId": "help.getInviteText", "tags": ["Configuración y ayuda"], "summary": "Devuelve el texto localizado de un mensaje de texto con una invitación.", "description": "Devuelve el texto localizado de un mensaje de texto con una invitación.", "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": "Resultado de MTProto · `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": "Tipo TL: help.InviteText."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/help.getInviteText"}, "x-browser-schema-id": "1295590211"}}, "/catalog/help.getSupport": {"post": {"operationId": "help.getSupport", "tags": ["Configuración y ayuda"], "summary": "Devuelve el usuario de soporte para la función \"hacer una pregunta\".", "description": "Devuelve el usuario de soporte para la función \"hacer una pregunta\".", "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": "Resultado de MTProto · `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": "Tipo TL: help.Support."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/help.getSupport"}, "x-browser-schema-id": "2631862477"}}, "/catalog/help.setBotUpdatesStatus": {"post": {"operationId": "help.setBotUpdatesStatus", "tags": ["Configuración y ayuda"], "summary": "Informa al servidor sobre la cantidad de actualizaciones de bot pendientes si no se han procesado durante mucho tiempo; solo para robots", "description": "Informa al servidor sobre la cantidad de actualizaciones de bot pendientes si no se han procesado durante mucho tiempo; solo para robots\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Número de actualizaciones pendientes"}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error, si está presente"}}, "additionalProperties": false, "required": ["pending_updates_count", "message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `pending_updates_count` | `int` | si | Número de actualizaciones pendientes |\n| `message` | `string` | si | Mensaje de error, si está presente |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED"], "x-browser-schema-id": "3961704397"}}, "/catalog/help.getCdnConfig": {"post": {"operationId": "help.getCdnConfig", "tags": ["Configuración y ayuda"], "summary": "Obtenga configuración para descargas de archivos CDN.", "description": "Obtenga configuración para descargas de archivos [CDN](https://core.telegram.org/cdn.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: CdnConfig."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/help.getCdnConfig"}, "x-browser-schema-id": "1375900482"}}, "/catalog/help.getRecentMeUrls": {"post": {"operationId": "help.getRecentMeUrls", "tags": ["Configuración y ayuda"], "summary": "Obtenga enlaces `t.me` usados recientemente.", "description": "Obtenga enlaces `t.me` usados recientemente.\n\nAl instalar aplicaciones oficiales desde los botones \"Descargar Telegram\" presentes en [t.me](https://t.me) páginas, se pasa un parámetro de referencia a las aplicaciones después de la instalación.\nSi, después de descargar la aplicación, el usuario crea una nueva cuenta (en lugar de iniciar sesión en una existente), el parámetro de referencia debe importarse utilizando este método, que devuelve las [t.me](https://t.me) páginas que el usuario abrió recientemente, antes de instalar 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": "Resultado de MTProto · `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": "Escriba TL: help.RecentMeUrls."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "referente"}}, "additionalProperties": false, "required": ["referer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `referer` | `string` | si | referente |"}, "x-browser-schema-id": "1036054804"}}, "/catalog/help.getTermsOfServiceUpdate": {"post": {"operationId": "help.getTermsOfServiceUpdate", "tags": ["Configuración y ayuda"], "summary": "Busque actualizaciones de los términos de servicio de Telegram", "description": "Busque actualizaciones de los términos de servicio de Telegram", "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": "Resultado de MTProto · `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": "Escribe TL: help.TermsOfServiceUpdate."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/help.getTermsOfServiceUpdate"}, "x-browser-schema-id": "749019089"}}, "/catalog/help.acceptTermsOfService": {"post": {"operationId": "help.acceptTermsOfService", "tags": ["Configuración y ayuda"], "summary": "Acepta los nuevos términos de servicio.", "description": "Acepta los nuevos términos de servicio.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `DATA_JSON_INVALID` — Los datos JSON proporcionados no son válidos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 de términos de servicio"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `DataJSON` | si | ID de términos de servicio |"}, "x-telegram-rpc-errors": ["DATA_JSON_INVALID"], "x-browser-schema-id": "4000511898"}}, "/catalog/help.getDeepLinkInfo": {"post": {"operationId": "help.getDeepLinkInfo", "tags": ["Configuración y ayuda"], "summary": "Obtenga información sobre un enlace profundo no admitido; consulte aquí para obtener más información ».", "description": "Obtenga información sobre un enlace profundo no admitido; consulte [aquí para obtener más información »](https://core.telegram.org/api/links.md#unsupported-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `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": "Tipo TL: help.DeepLinkInfo."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Componente de ruta de un enlace `tg:`"}}, "additionalProperties": false, "required": ["path"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `path` | `string` | si | Componente de ruta de un enlace `tg:` |"}, "x-browser-schema-id": "1072547679"}}, "/catalog/help.getAppConfig": {"post": {"operationId": "help.getAppConfig", "tags": ["Configuración y ayuda"], "summary": "Obtenga la configuración específica de la aplicación; consulte la configuración del cliente para obtener más información sobre el resultado.", "description": "Obtenga la configuración específica de la aplicación; consulte [configuración del cliente](https://core.telegram.org/api/config.md#client-configuration) para obtener más información sobre el resultado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `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": "Tipo TL: help.AppConfig."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1642330196"}}, "/catalog/help.saveAppLog": {"post": {"operationId": "help.saveAppLog", "tags": ["Configuración y ayuda"], "summary": "Guarda registros de aplicaciones en el servidor.", "description": "Guarda registros de aplicaciones en el servidor.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: InputAppEvent."}, "x-tl-type": "Vector<InputAppEvent>", "description": "Lista de eventos de entrada"}}, "additionalProperties": false, "required": ["events"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `events` | `Vector<InputAppEvent>` | si | Lista de eventos de entrada |"}, "x-browser-schema-id": "1862465352"}}, "/catalog/help.getPassportConfig": {"post": {"operationId": "help.getPassportConfig", "tags": ["Configuración y ayuda"], "summary": "Obtener configuración de pasaporte", "description": "Obtener configuración de [pasaporte](https://core.telegram.org/passport.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escriba TL: help.PassportConfig."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3328290056"}}, "/catalog/help.getSupportName": {"post": {"operationId": "help.getSupportName", "tags": ["Configuración y ayuda"], "summary": "Obtenga el nombre localizado del usuario de soporte de Telegram", "description": "Obtenga el nombre localizado del usuario de soporte de Telegram\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: help.SupportName."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `USER_INVALID` — Se proporcionó un usuario no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": ["Configuración y ayuda"], "summary": "Solo puede ser utilizado por miembros de TSF para obtener información interna.", "description": "Solo puede ser utilizado por miembros de TSF para obtener información interna.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: help.UserInfo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `USER_INVALID` — Se proporcionó un usuario no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de usuario"}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | ID de usuario |"}, "x-telegram-rpc-errors": ["USER_INVALID"], "x-browser-schema-id": "59377875"}}, "/catalog/help.editUserInfo": {"post": {"operationId": "help.editUserInfo", "tags": ["Configuración y ayuda"], "summary": "Uso interno", "description": "Uso interno\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Texto con estilo con entidades de mensaje.](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": "Resultado de MTProto · `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": "Escribe TL: help.UserInfo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ENTITY_BOUNDS_INVALID`: un [desplazamiento o longitud de entidad](https://core.telegram.org/api/entities.md#entity-length) especificado no es válido; consulte [aquí »](https://core.telegram.org/api/entities.md#entity-length) para obtener información sobre cómo calcular correctamente el desplazamiento/longitud de la entidad.\n- 403 · `USER_INVALID` — Se proporcionó un usuario no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Usuario"}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensaje"}, "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](https://core.telegram.org/api/entities.md)"}}, "additionalProperties": false, "required": ["user_id", "message", "entities"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | Usuario |\n| `message` | `string` | si | Mensaje |\n| `entities` | `Vector<MessageEntity>` | si | [Entidades de mensaje para texto con estilo](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": ["Configuración y ayuda"], "summary": "Devuelve un conjunto de sugerencias útiles y pares patrocinados por PSA/MTProxy; consulte aquí » para obtener más información.", "description": "Devuelve un conjunto de sugerencias útiles y pares patrocinados por PSA/MTProxy; consulte [aquí »](https://core.telegram.org/api/config.md#suggestions) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](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": "Resultado de MTProto · `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": "Tipo TL: help.PromoData."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/help.getPromoData"}, "x-browser-schema-id": "3231151137"}}, "/catalog/help.hidePromoData": {"post": {"operationId": "help.hidePromoData", "tags": ["Configuración y ayuda"], "summary": "Ocultar información de anuncios de servicio público/MTProxy", "description": "Ocultar información de anuncios de servicio público/MTProxy", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mirar para esconderse"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mirar para esconderse |"}, "x-browser-schema-id": "505748629"}}, "/catalog/help.dismissSuggestion": {"post": {"operationId": "help.dismissSuggestion", "tags": ["Configuración y ayuda"], "summary": "Descartar una sugerencia, consulte aquí para obtener más información ».", "description": "Descartar una [sugerencia, consulte aquí para obtener más información »](https://core.telegram.org/api/config.md#suggestions).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "En el caso de sugerencias pendientes en [canales](https://core.telegram.org/constructor/channelFull.md), el ID del canal."}, "suggestion": {"type": "string", "x-tl-type": "string", "description": "[Sugerencia, consulte aquí para obtener más información »](https://core.telegram.org/api/config.md#suggestions)."}}, "additionalProperties": false, "required": ["peer", "suggestion"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | En el caso de sugerencias pendientes en [canales](https://core.telegram.org/constructor/channelFull.md), el ID del canal. |\n| `suggestion` | `string` | si | [Sugerencia, consulte aquí para obtener más información »](https://core.telegram.org/api/config.md#suggestions). |"}, "x-browser-schema-id": "4111317665"}}, "/catalog/help.getCountriesList": {"post": {"operationId": "help.getCountriesList", "tags": ["Configuración y ayuda"], "summary": "Obtenga nombre, código ISO, nombre localizado y códigos/patrones telefónicos de todos los países disponibles", "description": "Obtenga nombre, código ISO, nombre localizado y códigos/patrones telefónicos de todos los países disponibles\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escriba TL: help.CountriesList."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Código de idioma del usuario actual"}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["lang_code", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_code` | `string` | si | Código de idioma del usuario actual |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1935116200"}}, "/catalog/help.getPremiumPromo": {"post": {"operationId": "help.getPremiumPromo", "tags": ["Configuración y ayuda"], "summary": "Obtenga información sobre la promoción Telegram Premium", "description": "Obtenga información sobre la promoción Telegram Premium", "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": "Resultado de MTProto · `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": "Escribe TL: help.PremiumPromo."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/help.getPremiumPromo"}, "x-browser-schema-id": "3088815060"}}, "/catalog/help.getPeerColors": {"post": {"operationId": "help.getPeerColors", "tags": ["Configuración y ayuda"], "summary": "Obtenga el conjunto de paletas de colores de acento » que se pueden utilizar para realzar mensajes.", "description": "Obtenga el conjunto de [paletas de colores de acento »](https://core.telegram.org/api/colors.md) que se pueden usar para resaltar mensajes.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Colores de acento](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": "Resultado de MTProto · `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": "Tipo TL: help.PeerColors."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "3665884207"}}, "/catalog/help.getPeerProfileColors": {"post": {"operationId": "help.getPeerProfileColors", "tags": ["Configuración y ayuda"], "summary": "Obtenga el conjunto de paletas de colores destacados » que se pueden utilizar en los fondos de las páginas de perfil.", "description": "Obtenga el conjunto de [paletas de colores de acento »](https://core.telegram.org/api/colors.md) que se pueden usar en los fondos de la página de perfil.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Colores de acento](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": "Resultado de MTProto · `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": "Tipo TL: help.PeerColors."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "2882513405"}}, "/catalog/help.getTimezonesList": {"post": {"operationId": "help.getTimezonesList", "tags": ["Configuración y ayuda"], "summary": "Devuelve información de zona horaria que puede usarse en otros lugares del API, como para establecer el horario de apertura de Telegram Business ».", "description": "Devuelve información de zona horaria que se puede utilizar en otros lugares del API, como para establecer el [horario de apertura de Telegram Business »](https://core.telegram.org/api/business.md#opening-hours).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: help.TimezonesList."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). |"}, "x-browser-schema-id": "1236468288"}}, "/catalog/channels.readHistory": {"post": {"operationId": "channels.readHistory", "tags": ["Canales y supergrupos"], "summary": "Marcar el historial del canal/supergrupo como leído", "description": "Marcar el historial de [canal/supergrupo](https://core.telegram.org/api/channel.md) como leído\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Canal/supergrupo](https://core.telegram.org/api/channel.md)"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje hasta el cual los mensajes deben marcarse como leídos"}}, "additionalProperties": false, "required": ["channel", "max_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | [Canal/supergrupo](https://core.telegram.org/api/channel.md) |\n| `max_id` | `int` | si | ID del mensaje hasta el cual los mensajes deben marcarse como leídos |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID"], "x-browser-schema-id": "3423619383"}}, "/catalog/channels.deleteMessages": {"post": {"operationId": "channels.deleteMessages", "tags": ["Canales y supergrupos"], "summary": "Eliminar mensajes en un canal/supergrupo", "description": "Eliminar mensajes en un [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Autorización de usuario](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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedMessages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 420 · `FROZEN_METHOD_INVALID` — La cuenta actual está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) y, por lo tanto, no puede ejecutar la acción especificada.\n- 403 · `MESSAGE_DELETE_FORBIDDEN` — No puedes eliminar uno de los mensajes que intentaste eliminar, probablemente porque es un mensaje de servicio.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Canal/supergrupo](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": "ID de mensajes para eliminar"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | [Canal/supergrupo](https://core.telegram.org/api/channel.md) |\n| `id` | `Vector<int>` | si | ID de mensajes para eliminar |"}, "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": ["Canales y supergrupos"], "summary": "Informa algunos mensajes de un usuario de un supergrupo como spam; requiere derechos de administrador en el supergrupo", "description": "Informa algunos mensajes de un usuario de un supergrupo como spam; requiere derechos de administrador en el supergrupo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Supergrupo"}, "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": "Participante cuyos mensajes deben ser reportados"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de mensajes spam"}}, "additionalProperties": false, "required": ["channel", "participant", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Supergrupo |\n| `participant` | `InputPeer` | si | Participante cuyos mensajes deben ser reportados |\n| `id` | `Vector<int>` | si | ID de mensajes spam |"}, "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": ["Canales y supergrupos"], "summary": "Obtener mensajes de canal/supergrupo", "description": "Recibir mensajes de [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Autorización de usuario](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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `FROZEN_PARTICIPANT_MISSING`: la cuenta actual está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) y no puede acceder al par especificado.\n- 400 · `MESSAGE_IDS_EMPTY`: no se proporcionaron identificadores de mensajes.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Canal/supergrupo"}, "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": "Tipo de TL: mensaje de entrada."}, "x-tl-type": "Vector<InputMessage>", "description": "ID de mensajes para obtener"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Canal/supergrupo |\n| `id` | `Vector<InputMessage>` | si | ID de mensajes para obtener |"}, "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": ["Canales y supergrupos"], "summary": "Obtener los participantes de un supergrupo/canal", "description": "Obtener los participantes de un [supergrupo/canal](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Tipo TL: channels.ChannelParticipants."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "canal"}, "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": "Qué tipos de participantes buscar"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensación](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Límite](https://core.telegram.org/api/offsets.md)"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[picadillo](https://core.telegram.org/api/offsets.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["channel", "filter", "offset", "limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | canal |\n| `filter` | `ChannelParticipantsFilter` | si | Qué tipos de participantes buscar |\n| `offset` | `int` | si | [Compensación](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | [Límite](https://core.telegram.org/api/offsets.md) |\n| `hash` | `long` | si | [picadillo](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": ["Canales y supergrupos"], "summary": "Obtener información sobre un participante de canal/supergrupo", "description": "Obtener información sobre un participante de [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Tipo TL: channels.ChannelParticipant."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PARTICIPANT_ID_INVALID`: el ID de participante especificado no es válido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 400 · `USER_NOT_PARTICIPANT` — No eres miembro de este supergrupo/canal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Canal/supergrupo"}, "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": "Participante para obtener información sobre"}}, "additionalProperties": false, "required": ["channel", "participant"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Canal/supergrupo |\n| `participant` | `InputPeer` | si | Participante para obtener información sobre |"}, "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": ["Canales y supergrupos"], "summary": "Obtener información sobre canales/supergrupos", "description": "Obtén información sobre [canales/supergrupos](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Tipo TL: messages.Chats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo TL: Canal de entrada."}, "x-tl-type": "Vector<InputChannel>", "description": "ID de canales/supergrupos sobre los que obtener información"}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputChannel>` | si | ID de canales/supergrupos sobre los que obtener información |"}, "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": ["Canales y supergrupos"], "summary": "Obtener detalles del canal", "description": "Devuelve datos extendidos para un canal, supergrupo o gigagrupo.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Tipo TL: messages.ChatFull."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHANNEL_PUBLIC_GROUP_NA` — canal/supergrupo no disponible.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El canal o grupo sobre el que desea obtener información."}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El canal o grupo sobre el que desea obtener información. |"}, "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": ["Canales y supergrupos"], "summary": "Crea un supergrupo/canal.", "description": "Crea un [supergrupo/canal](https://core.telegram.org/api/channel.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Temas del foro](https://core.telegram.org/api/forum.md)\n- [Usuarios y chats cercanos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ADDRESS_INVALID`: la dirección del geopunto especificado no es válida.\n- 400 · `CHANNELS_ADMIN_LOCATED_TOO_MUCH` — El usuario ha alcanzado el límite de geogrupos públicos.\n- 400 · `CHANNELS_TOO_MUCH` — Te has unido a demasiados canales/supergrupos.\n- 400 · `CHAT_ABOUT_TOO_LONG` — Charla demasiado tiempo.\n- 500 · `CHAT_INVALID` — Chat no válido.\n- 400 · `CHAT_TITLE_EMPTY`: no se proporciona ningún título de chat.\n- 400 · `TTL_PERIOD_INVALID`: el período TTL especificado no es válido.\n- 406 · `USER_RESTRICTED` — Te reportan spam, no puedes crear canales ni chats."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para crear un [canal](https://core.telegram.org/api/channel.md)"}, "megagroup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Ya sea para crear un [supergrupo](https://core.telegram.org/api/channel.md)"}, "for_import": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Si el supergrupo se está creando para importar mensajes desde un servicio de chat externo usando [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": "Si se debe crear un [foro](https://core.telegram.org/api/forum.md)"}, "title": {"type": "string", "x-tl-type": "string", "description": "Título del canal"}, "about": {"type": "string", "x-tl-type": "string", "description": "Descripción del canal"}, "geo_point": {"type": "object", "x-tl-type": "InputGeoPoint", "oneOf": [{"$ref": "#/components/schemas/inputGeoPointEmpty"}, {"$ref": "#/components/schemas/inputGeoPoint"}], "description": "Ubicación del geogrupo, consulte [aquí »](https://core.telegram.org/api/nearby.md) para obtener más información sobre los geogrupos.", "x-tl-flag": "flags.2?InputGeoPoint"}, "address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Dirección de geogrupo, consulte [aquí »](https://core.telegram.org/api/nearby.md) para obtener más información sobre geogrupos."}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int", "description": "Tiempo de vida de todos los mensajes que se enviarán en el supergrupo: una vez message.date+message.ttl_period === time(), el mensaje se eliminará en el servidor y también deberá eliminarse localmente. Puede usar [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) para editar este valor más tarde."}}, "additionalProperties": false, "required": ["title", "about"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `broadcast` | `true` | No | Ya sea para crear un [canal](https://core.telegram.org/api/channel.md) |\n| `megagroup` | `true` | No | Ya sea para crear un [supergrupo](https://core.telegram.org/api/channel.md) |\n| `for_import` | `true` | No | Si el supergrupo se está creando para importar mensajes desde un servicio de chat externo usando [messages.initHistoryImport](https://core.telegram.org/method/messages.initHistoryImport.md) |\n| `forum` | `true` | No | Si se debe crear un [foro](https://core.telegram.org/api/forum.md) |\n| `title` | `string` | si | Título del canal |\n| `about` | `string` | si | Descripción del canal |\n| `geo_point` | `InputGeoPoint` | No | Ubicación del geogrupo, consulte [aquí »](https://core.telegram.org/api/nearby.md) para obtener más información sobre los geogrupos. |\n| `address` | `string` | No | Dirección de geogrupo, consulte [aquí »](https://core.telegram.org/api/nearby.md) para obtener más información sobre geogrupos. |\n| `ttl_period` | `int` | No | Tiempo de vida de todos los mensajes que se enviarán en el supergrupo: una vez message.date+message.ttl_period === time(), el mensaje se eliminará en el servidor y también deberá eliminarse localmente. Puede usar [messages.setDefaultHistoryTTL](https://core.telegram.org/method/messages.setDefaultHistoryTTL.md) para editar este valor más tarde. |"}, "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": ["Canales y supergrupos"], "summary": "Modificar los derechos de administrador de un usuario en un supergrupo/canal.", "description": "Modificar los derechos de administrador de un usuario en un [supergrupo/canal](https://core.telegram.org/api/channel.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `ADMINS_TOO_MUCH` — Hay demasiados administradores.\n- 400 · `ADMIN_RANK_EMOJI_NOT_ALLOWED`: un rango de administrador no puede contener emojis.\n- 400 · `ADMIN_RANK_INVALID`: el rango de administrador especificado no es válido.\n- 400 · `BOTS_TOO_MUCH` — Hay demasiados bots en este chat/canal.\n- 400 · `BOT_CHANNELS_NA`: los bots no pueden editar los privilegios de administrador.\n- 400 · `BOT_GROUPS_BLOCKED`: este bot no se puede agregar a grupos.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_INVITE_REQUIRED` — No tienes derechos para hacer esto.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 406 · `FRESH_CHANGE_ADMINS_FORBIDDEN` — Acabas de ser elegido administrador, no puedes agregar ni modificar otros administradores todavía.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 403 · `RIGHT_FORBIDDEN` — Tus derechos de administrador no te permiten hacer esto.\n- 400 · `USERS_TOO_MUCH` — Se ha superado el número máximo de usuarios (para crear un chat, por ejemplo).\n- 400 · `USER_BLOCKED` — Usuario bloqueado.\n- 403 · `USER_CHANNELS_TOO_MUCH` — Uno de los usuarios que intentaste agregar ya está en demasiados canales/supergrupos.\n- 400 · `USER_CREATOR` — Para channels.editAdmin: has intentado editar los derechos de administrador del propietario, pero no eres el propietario; para channels.leaveChannel: no puedes abandonar este canal porque eres su creador.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 400 · `USER_KICKED`: este usuario fue expulsado de este supergrupo/canal.\n- 403 · `USER_NOT_MUTUAL_CONTACT` — El usuario proporcionado no es un contacto mutuo.\n- 403 · `USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario no le permite hacer esto.\n- 403 · `USER_RESTRICTED` — Te reportan spam, no puedes crear canales ni chats."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El [supergrupo/canal](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": "El ID del usuario cuyos derechos de administrador deben modificarse"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "oneOf": [{"$ref": "#/components/schemas/chatAdminRights"}], "description": "Los derechos de administrador"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Indica el rol (rango) del administrador en el grupo: solo una cadena arbitraria. Si la bandera no está configurada, el rango no se modifica."}}, "additionalProperties": false, "required": ["channel", "user_id", "admin_rights"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El [supergrupo/canal](https://core.telegram.org/api/channel.md). |\n| `user_id` | `InputUser` | si | El ID del usuario cuyos derechos de administrador deben modificarse |\n| `admin_rights` | `ChatAdminRights` | si | Los derechos de administrador |\n| `rank` | `string` | No | Indica el rol (rango) del administrador en el grupo: solo una cadena arbitraria. Si la bandera no está configurada, el rango no se modifica. |"}, "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": ["Canales y supergrupos"], "summary": "Editar el nombre de un canal/supergrupo", "description": "Editar el nombre de un [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_INVALID` — Chat no válido.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `CHAT_TITLE_EMPTY`: no se proporciona ningún título de chat.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Canal/supergrupo"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nuevo nombre"}}, "additionalProperties": false, "required": ["channel", "title"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Canal/supergrupo |\n| `title` | `string` | si | Nuevo nombre |"}, "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": ["Canales y supergrupos"], "summary": "Cambiar la foto de un canal/supergrupo", "description": "Cambiar la foto de un [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Referencias de archivos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_INVALID` — Chat no válido.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `FILE_PARTS_INVALID`: el número de partes del archivo no es válido.\n- 400 · `FILE_REFERENCE_INVALID`: la [referencia de archivo](https://core.telegram.org/api/file-references.md) especificada no es válida.\n- 400 · `IMAGE_PROCESS_FAILED` — Fallo al procesar la imagen.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PHOTO_CROP_SIZE_SMALL` — La foto es demasiado pequeña.\n- 400 · `PHOTO_EXT_INVALID` — La extensión de la foto no es válida.\n- 400 · `PHOTO_FILE_MISSING` — Falta el archivo de foto de perfil.\n- 400 · `PHOTO_INVALID` — Foto no válida.\n- 400 · `STICKER_MIME_INVALID`: el tipo de etiqueta especificada MIME no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Canal/supergrupo cuya foto debe editarse"}, "photo": {"type": "object", "x-tl-type": "InputChatPhoto", "oneOf": [{"$ref": "#/components/schemas/inputChatPhotoEmpty"}, {"$ref": "#/components/schemas/inputChatUploadedPhoto"}, {"$ref": "#/components/schemas/inputChatPhoto"}], "description": "Nueva foto"}}, "additionalProperties": false, "required": ["channel", "photo"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Canal/supergrupo cuya foto debe editarse |\n| `photo` | `InputChatPhoto` | si | Nueva foto |"}, "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": ["Canales y supergrupos"], "summary": "Compruebe si un nombre de usuario está libre y se puede asignar a un canal/supergrupo", "description": "Compruebe si un nombre de usuario está libre y se puede asignar a un canal/supergrupo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` — Eres administrador de demasiados canales públicos, haz que algunos canales sean privados para cambiar el nombre de usuario de este canal.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USERNAME_OCCUPIED` — El nombre de usuario proporcionado ya está ocupado.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — El nombre de usuario especificado se puede comprar en https://fragment.com."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El [canal/supergrupo](https://core.telegram.org/api/channel.md) al que se le asignará el nombre de usuario especificado"}, "username": {"type": "string", "x-tl-type": "string", "description": "El nombre de usuario a comprobar"}}, "additionalProperties": false, "required": ["channel", "username"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El [canal/supergrupo](https://core.telegram.org/api/channel.md) al que se le asignará el nombre de usuario especificado |\n| `username` | `string` | si | El nombre de usuario a comprobar |"}, "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": ["Canales y supergrupos"], "summary": "Cambiar o eliminar el nombre de usuario de un supergrupo/canal", "description": "Cambiar o eliminar el nombre de usuario de un supergrupo/canal\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` — Eres administrador de demasiados canales públicos, haz que algunos canales sean privados para cambiar el nombre de usuario de este canal.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USERNAME_NOT_MODIFIED` — El nombre de usuario no fue modificado.\n- 400 · `USERNAME_OCCUPIED` — El nombre de usuario proporcionado ya está ocupado.\n- 400 · `USERNAME_PURCHASE_AVAILABLE` — El nombre de usuario especificado se puede comprar en https://fragment.com."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "canal"}, "username": {"type": "string", "x-tl-type": "string", "description": "Nuevo nombre de usuario, pase una cadena vacía para eliminar el nombre de usuario"}}, "additionalProperties": false, "required": ["channel", "username"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | canal |\n| `username` | `string` | si | Nuevo nombre de usuario, pase una cadena vacía para eliminar el nombre de usuario |"}, "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": ["Canales y supergrupos"], "summary": "Únete a un canal/supergrupo", "description": "Únete a un canal/supergrupo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Autorización de usuario](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[Actualizaciones](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": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Te has unido a demasiados canales/supergrupos.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_INVALID` — Chat no válido.\n- 420 · `FROZEN_METHOD_INVALID` — La cuenta actual está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) y, por lo tanto, no puede ejecutar la acción especificada.\n- 400 · `INVITE_HASH_EMPTY` — El hash de invitación está vacío.\n- 406 · `INVITE_HASH_EXPIRED` — El enlace de invitación ha caducado.\n- 400 · `INVITE_HASH_INVALID`: el hash de invitación no es válido.\n- 400 · `INVITE_REQUEST_SENT`: has solicitado con éxito unirte a este chat o canal.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USERS_TOO_MUCH` — Se ha superado el número máximo de usuarios (para crear un chat, por ejemplo).\n- 400 · `USER_ALREADY_PARTICIPANT` — El usuario ya está en el grupo.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `USER_CHANNELS_TOO_MUCH`: uno de los usuarios que intentó agregar ya está en demasiados canales/supergrupos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Valor del tipo TL `true`."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Canal/supergrupo al que unirse"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `for_news` | `true` | No | Valor del tipo TL `true`. |\n| `channel` | `InputChannel` | si | Canal/supergrupo al que unirse |"}, "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": ["Canales y supergrupos"], "summary": "Dejar un canal/supergrupo", "description": "Dejar un [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHANNEL_PUBLIC_GROUP_NA` — canal/supergrupo no disponible.\n- 400 · `CHAT_INVALID` — Chat no válido.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `USER_CREATOR` — Para channels.editAdmin: has intentado editar los derechos de administrador del propietario, pero no eres el propietario; para channels.leaveChannel: no puedes abandonar este canal porque eres su creador.\n- 400 · `USER_NOT_PARTICIPANT` — No eres miembro de este supergrupo/canal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Canal/supergrupo](https://core.telegram.org/api/channel.md) para salir"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | [Canal/supergrupo](https://core.telegram.org/api/channel.md) para salir |"}, "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": ["Canales y supergrupos"], "summary": "Invitar usuarios a un canal/supergrupo", "description": "Invitar usuarios a un canal/supergrupo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Escribe TL: messages.InvitedUsers."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOTS_TOO_MUCH` — Hay demasiados bots en este chat/canal.\n- 400 · `BOT_GROUPS_BLOCKED`: este bot no se puede agregar a grupos.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_INVALID` — Chat no válido.\n- 400 · `CHAT_MEMBER_ADD_FAILED` — No se pudieron agregar participantes.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `USERS_TOO_MUCH` — Se ha superado el número máximo de usuarios (para crear un chat, por ejemplo).\n- 400 · `USER_BANNED_IN_CHANNEL` — Tienes prohibido enviar mensajes en supergrupos/canales.\n- 400 · `USER_BLOCKED` — Usuario bloqueado.\n- 400 · `USER_BOT` — Los bots solo pueden ser administradores en canales.\n- 403 · `USER_CHANNELS_TOO_MUCH` — Uno de los usuarios que intentaste agregar ya está en demasiados canales/supergrupos.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 400 · `USER_KICKED`: este usuario fue expulsado de este supergrupo/canal.\n- 403 · `USER_NOT_MUTUAL_CONTACT` — El usuario proporcionado no es un contacto mutuo.\n- 403 · `USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario no le permite hacer esto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Canal/supergrupo"}, "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Usuarios a invitar"}}, "additionalProperties": false, "required": ["channel", "users"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Canal/supergrupo |\n| `users` | `Vector<InputUser>` | si | Usuarios a invitar |"}, "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": ["Canales y supergrupos"], "summary": "Eliminar un canal/supergrupo", "description": "Eliminar un [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 406 · `CHANNEL_TOO_LARGE` — El canal es demasiado grande para eliminarlo; Este error se genera al intentar eliminar canales con más de 1000 miembros (sujeto a cambios).\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Canal/supergrupo](https://core.telegram.org/api/channel.md) para eliminar"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | [Canal/supergrupo](https://core.telegram.org/api/channel.md) para eliminar |"}, "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": ["Canales y supergrupos"], "summary": "Obtener enlace e insertar información de un mensaje en un canal/supergrupo", "description": "Obtener enlace e insertar información de un mensaje en un [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `ExportedMessageLink`.\n\n[Enlace de mensaje exportado](https://core.telegram.org/type/ExportedMessageLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedMessageLink", "oneOf": [{"$ref": "#/components/schemas/exportedMessageLink"}], "description": "Tipo de TL: Enlace de mensaje exportado."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se deben incluir otros medios agrupados (para álbumes)"}, "thread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si se debe incluir también un ID de hilo, si está disponible, dentro del enlace"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "canal"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `grouped` | `true` | No | Si se deben incluir otros medios agrupados (para álbumes) |\n| `thread` | `true` | No | Si se debe incluir también un ID de hilo, si está disponible, dentro del enlace |\n| `channel` | `InputChannel` | si | canal |\n| `id` | `int` | si | ID de mensaje |"}, "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": ["Canales y supergrupos"], "summary": "Activar/desactivar firmas de mensajes en canales", "description": "Activar/desactivar firmas de mensajes en canales\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, habilita las firmas de mensajes."}, "profiles_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si se configura, los mensajes de los administradores del canal se vincularán a sus perfiles, al igual que con los mensajes grupales: solo se puede configurar si la bandera `signatures_enabled` está configurada."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "canal"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `signatures_enabled` | `true` | No | Si está configurado, habilita las firmas de mensajes. |\n| `profiles_enabled` | `true` | No | Si se configura, los mensajes de los administradores del canal se vincularán a sus perfiles, al igual que con los mensajes grupales: solo se puede configurar si la bandera `signatures_enabled` está configurada. |\n| `channel` | `InputChannel` | si | canal |"}, "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": ["Canales y supergrupos"], "summary": "Obtener canales/supergrupos/geogrupos en los que somos administradores. Generalmente se llama cuando el usuario excede el límite de canales/supergrupos/geogrupos públicos propios y se le da al usuario la opción de eliminar uno de sus canales/supergrupos/geogrupos.", "description": "Obtener [canales/supergrupos/geogrupos](https://core.telegram.org/api/channel.md) en los que somos administradores. Generalmente se llama cuando el usuario excede el [límite](https://core.telegram.org/constructor/config.md) para [canales/supergrupos/geogrupos](https://core.telegram.org/api/channel.md)] públicos de propiedad, y el usuario tiene la opción de eliminar uno de sus canales/supergrupos/geogrupos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Perfiles de usuario](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": "Resultado de MTProto · `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": "Tipo TL: messages.Chats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_ADMIN_LOCATED_TOO_MUCH` — El usuario ha alcanzado el límite de geogrupos públicos.\n- 400 · `CHANNELS_ADMIN_PUBLIC_TOO_MUCH` — Eres administrador de demasiados canales públicos, haz que algunos canales sean privados para cambiar el nombre de usuario de este canal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Obtener geogrupos"}, "check_limit": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si se establece y el usuario ha alcanzado el límite de [canales/supergrupos/geogrupos](https://core.telegram.org/api/channel.md) públicos de propiedad, en lugar de devolver la lista de canales, se devolverá uno de los [errores](#possible-errors) especificados. Útil para verificar si realmente se puede crear un nuevo canal público, incluso antes de pedirle al usuario que ingrese un nombre de usuario del canal para usar en [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": "Configure esta bandera para obtener solo la lista completa de canales que se pueden pasar a [account.updatePersonalChannel](https://core.telegram.org/method/account.updatePersonalChannel.md) para [mostrarlos en nuestra página de perfil](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": "Valor del tipo TL `true`."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `by_location` | `true` | No | Obtener geogrupos |\n| `check_limit` | `true` | No | Si se establece y el usuario ha alcanzado el límite de [canales/supergrupos/geogrupos](https://core.telegram.org/api/channel.md) públicos de propiedad, en lugar de devolver la lista de canales, se devolverá uno de los [errores](#possible-errors) especificados. Útil para verificar si realmente se puede crear un nuevo canal público, incluso antes de pedirle al usuario que ingrese un nombre de usuario del canal para usar en [channels.checkUsername](https://core.telegram.org/method/channels.checkUsername.md)/[channels.updateUsername](https://core.telegram.org/method/channels.updateUsername.md). |\n| `for_personal` | `true` | No | Configure esta bandera para obtener solo la lista completa de canales que se pueden pasar a [account.updatePersonalChannel](https://core.telegram.org/method/account.updatePersonalChannel.md) para [mostrarlos en nuestra página de perfil](https://core.telegram.org/api/profile.md#personal-channel). |\n| `for_community_peer` | `true` | No | Valor del tipo TL `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": ["Canales y supergrupos"], "summary": "Prohibir/desbancar/expulsar a un usuario en un supergrupo/canal.", "description": "Prohibir/desbancar/expulsar a un usuario en un [supergrupo/canal](https://core.telegram.org/api/channel.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `BANNED_RIGHTS_INVALID` — Proporcionó algunas banderas no válidas en los derechos prohibidos.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PARTICIPANT_ID_INVALID`: el ID de participante especificado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_ADMIN_INVALID` — No eres administrador.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El [supergrupo/canal](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": "Participante a prohibir"}, "banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "oneOf": [{"$ref": "#/components/schemas/chatBannedRights"}], "description": "Los derechos prohibidos"}}, "additionalProperties": false, "required": ["channel", "participant", "banned_rights"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El [supergrupo/canal](https://core.telegram.org/api/channel.md). |\n| `participant` | `InputPeer` | si | Participante a prohibir |\n| `banned_rights` | `ChatBannedRights` | si | Los derechos prohibidos |"}, "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": ["Canales y supergrupos"], "summary": "Obtener el registro de administrador de un canal/supergrupo", "description": "Obtener el registro de administrador de un [canal/supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Tipo TL: channels.AdminLogResults."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "canal"}, "q": {"type": "string", "x-tl-type": "string", "description": "Consulta de búsqueda, puede estar vacía"}, "events_filter": {"type": "object", "x-tl-type": "ChannelAdminLogEventsFilter", "oneOf": [{"$ref": "#/components/schemas/channelAdminLogEventsFilter"}], "description": "Filtro de eventos", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.1?Vector<InputUser>", "description": "Mostrar solo eventos de estos administradores"}, "max_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID máximo del mensaje a devolver (ver [paginación](https://core.telegram.org/api/offsets.md))", "x-tl-type": "long"}, "min_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID mínimo del mensaje a devolver (ver [paginación](https://core.telegram.org/api/offsets.md))", "x-tl-type": "long"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["channel", "q", "max_id", "min_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | canal |\n| `q` | `string` | si | Consulta de búsqueda, puede estar vacía |\n| `events_filter` | `ChannelAdminLogEventsFilter` | No | Filtro de eventos |\n| `admins` | `Vector<InputUser>` | No | Mostrar solo eventos de estos administradores |\n| `max_id` | `long` | si | ID máximo del mensaje a devolver (ver [paginación](https://core.telegram.org/api/offsets.md)) |\n| `min_id` | `long` | si | ID mínimo del mensaje a devolver (ver [paginación](https://core.telegram.org/api/offsets.md)) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Canales y supergrupos"], "summary": "Asociar un conjunto de stickers al supergrupo", "description": "Asociar un conjunto de stickers al supergrupo\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `PARTICIPANTS_TOO_FEW` — No hay suficientes participantes.\n- 406 · `STICKERSET_OWNER_ANONYMOUS`: el conjunto de adhesivos proporcionado no se puede instalar como conjunto de adhesivos grupales para evitar la anonimización del administrador."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Supergrupo"}, "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": "El set de stickers para asociar"}}, "additionalProperties": false, "required": ["channel", "stickerset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Supergrupo |\n| `stickerset` | `InputStickerSet` | si | El set de stickers para asociar |"}, "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": ["Canales y supergrupos"], "summary": "Marca el contenido del mensaje del canal/supergrupo como leído, emitiendo un updateChannelReadMessagesContents.", "description": "Marque el contenido del mensaje de [canal/supergrupo](https://core.telegram.org/api/channel.md) como leído, emitiendo un [updateChannelReadMessagesContents](https://core.telegram.org/constructor/updateChannelReadMessagesContents.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 406 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Canal/supergrupo](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": "ID de mensajes cuyo contenido debe marcarse como leído"}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | [Canal/supergrupo](https://core.telegram.org/api/channel.md) |\n| `id` | `Vector<int>` | si | ID de mensajes cuyo contenido debe marcarse como leído |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "MSG_ID_INVALID"], "x-browser-schema-id": "3937786936"}}, "/catalog/channels.deleteHistory": {"post": {"operationId": "channels.deleteHistory", "tags": ["Canales y supergrupos"], "summary": "Eliminar el historial de un supergrupo", "description": "Eliminar el historial de un [supergrupo](https://core.telegram.org/api/channel.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PARICIPANT_MISSING` — El usuario actual no está en el canal.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHANNEL_TOO_BIG`: este canal tiene demasiados participantes (>1000) para eliminarlo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si el historial debe eliminarse para todos"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Supergrupo](https://core.telegram.org/api/channel.md) cuyo historial debe ser eliminado"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje **hasta el cual** se debe eliminar el historial"}}, "additionalProperties": false, "required": ["channel", "max_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `for_everyone` | `true` | No | Si el historial debe eliminarse para todos |\n| `channel` | `InputChannel` | si | [Supergrupo](https://core.telegram.org/api/channel.md) cuyo historial debe ser eliminado |\n| `max_id` | `int` | si | ID del mensaje **hasta el cual** se debe eliminar el historial |"}, "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": ["Canales y supergrupos"], "summary": "Ocultar/mostrar el historial de mensajes para nuevos usuarios de canales/supergrupos", "description": "Ocultar/mostrar el historial de mensajes para nuevos usuarios de canales/supergrupos\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_LINK_EXISTS` — El chat es público, no puedes ocultar el historial a nuevos usuarios.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `FORUM_ENABLED`: no puedes ejecutar la acción especificada porque el grupo es un [foro](https://core.telegram.org/api/forum.md); desactiva la funcionalidad del foro para continuar."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Canal/supergrupo"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Ocultar/mostrar"}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Canal/supergrupo |\n| `enabled` | `Bool` | si | Ocultar/mostrar |"}, "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": ["Canales y supergrupos"], "summary": "Obtenga una lista de canales/supergrupos que dejamos, requiere una sesión para llevar, consulte aquí » para obtener más información.", "description": "Obtenga una lista de [canales/supergrupos](https://core.telegram.org/api/channel.md) que dejamos, requiere una [sesión para llevar, consulte aquí » para obtener más información](https://core.telegram.org/api/takeout.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Comida para llevar 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": "Resultado de MTProto · `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": "Tipo TL: messages.Chats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `TAKEOUT_INVALID`: el ID de comida para llevar especificado no es válido.\n- 403 · `TAKEOUT_REQUIRED` — Primero se debe inicializar una sesión [para llevar](https://core.telegram.org/api/takeout.md), [consulte aquí » para obtener más información](https://core.telegram.org/api/takeout.md)."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offset` | `int` | si | Desplazamiento para [paginación](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": ["Canales y supergrupos"], "summary": "Obtenga todos los grupos que se pueden utilizar como grupos de discusión.", "description": "Obtenga todos los grupos que se pueden utilizar como [grupos de discusión](https://core.telegram.org/api/discussion.md).\n\nLos [chats grupales básicos](https://core.telegram.org/api/channel.md#basic-groups) devueltos deben actualizarse primero a [supergrupos](https://core.telegram.org/api/channel.md#supergroups) antes de poder configurarlos como grupo de discusión.\nPara configurar un supergrupo devuelto como grupo de discusión, primero se debe habilitar el acceso a sus mensajes antiguos usando [channels.togglePreHistoryHidden](https://core.telegram.org/method/channels.togglePreHistoryHidden.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Grupos de discusión](https://core.telegram.org/api/discussion.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `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": "Tipo TL: messages.Chats."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/channels.getGroupsForDiscussion"}, "x-browser-schema-id": "4124758904"}}, "/catalog/channels.setDiscussionGroup": {"post": {"operationId": "channels.setDiscussionGroup", "tags": ["Canales y supergrupos"], "summary": "Asociar un grupo a un canal como grupo de discusión para ese canal", "description": "Asociar un grupo a un canal como [grupo de discusión](https://core.telegram.org/api/discussion.md) para ese canal\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Grupos de discusión](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BROADCAST_ID_INVALID` — ID de transmisión no válido.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `LINK_NOT_MODIFIED` — Enlace de discusión no modificado.\n- 400 · `MEGAGROUP_ID_INVALID` — ID de supergrupo no válido.\n- 400 · `MEGAGROUP_PREHISTORY_HIDDEN` — Los grupos con historial oculto para nuevos miembros no se pueden configurar como grupos de discusión."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "canal"}, "group": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[Grupo de discusión](https://core.telegram.org/api/discussion.md) para asociar al canal"}}, "additionalProperties": false, "required": ["broadcast", "group"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `broadcast` | `InputChannel` | si | canal |\n| `group` | `InputChannel` | si | [Grupo de discusión](https://core.telegram.org/api/discussion.md) para asociar al canal |"}, "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": ["Canales y supergrupos"], "summary": "Edite la ubicación del geogrupo, consulte aquí » para obtener más información sobre los geogrupos.", "description": "Edite la ubicación del geogrupo, consulte [aquí »](https://core.telegram.org/api/nearby.md) para obtener más información sobre los geogrupos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Usuarios y chats cercanos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `MEGAGROUP_GEO_REQUIRED`: este método solo se puede invocar en un geogrupo.\n- 400 · `MEGAGROUP_REQUIRED` — Solo puedes utilizar este método en un supergrupo."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Geogrupo](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": "Nueva geolocalización"}, "address": {"type": "string", "x-tl-type": "string", "description": "Cadena de dirección"}}, "additionalProperties": false, "required": ["channel", "geo_point", "address"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | [Geogrupo](https://core.telegram.org/api/channel.md) |\n| `geo_point` | `InputGeoPoint` | si | Nueva geolocalización |\n| `address` | `string` | si | Cadena de dirección |"}, "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": ["Canales y supergrupos"], "summary": "Alternar modo lento de supergrupo: si está habilitado, los usuarios solo podrán enviar un mensaje cada `seconds` segundos", "description": "Alternar modo lento de supergrupo: si está habilitado, los usuarios solo podrán enviar un mensaje cada `seconds` segundos\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `SECONDS_INVALID` — Duración proporcionada no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El [supergrupo](https://core.telegram.org/api/channel.md)"}, "seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Los usuarios solo podrán enviar un mensaje cada `seconds` segundos, `0` para desactivar la limitación"}}, "additionalProperties": false, "required": ["channel", "seconds"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El [supergrupo](https://core.telegram.org/api/channel.md) |\n| `seconds` | `int` | si | Los usuarios solo podrán enviar un mensaje cada `seconds` segundos, `0` para desactivar la limitación |"}, "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": ["Canales y supergrupos"], "summary": "Obtener canales inactivos y supergrupos", "description": "Obtener canales inactivos y supergrupos", "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": "Resultado de MTProto · `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": "Escribe TL: messages.InactiveChats."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/channels.getInactiveChannels"}, "x-browser-schema-id": "300429806"}}, "/catalog/channels.convertToGigagroup": {"post": {"operationId": "channels.convertToGigagroup", "tags": ["Canales y supergrupos"], "summary": "Convierta un supergrupo en un gigagrupo, cuando lo soliciten las sugerencias de canales.", "description": "Convierta un [supergrupo](https://core.telegram.org/api/channel.md) en un [gigagrupo](https://core.telegram.org/api/channel.md), cuando lo soliciten [sugerencias de canal](https://core.telegram.org/api/config.md#channel-suggestions)].\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Temas del foro](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_ID_INVALID`: el ID del supergrupo especificado no es válido.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `FORUM_ENABLED`: no puedes ejecutar la acción especificada porque el grupo es un [foro](https://core.telegram.org/api/forum.md); desactiva la funcionalidad del foro para continuar.\n- 400 · `PARTICIPANTS_TOO_FEW` — No hay suficientes participantes."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El [supergrupo](https://core.telegram.org/api/channel.md) para convertir"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El [supergrupo](https://core.telegram.org/api/channel.md) para convertir |"}, "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": ["Canales y supergrupos"], "summary": "Obtiene una lista de pares que se pueden mostrar como remitentes en un contexto específico. Con `for_live_stories`, devuelve pares que pueden crear mensajes de historias en vivo durante las llamadas ».", "description": "Obtiene una lista de pares que se pueden mostrar como remitentes en un contexto específico. Con `for_live_stories`, devuelve pares que pueden crear [mensajes durante la llamada de historias en vivo »](https://core.telegram.org/api/group-calls.md#in-call-messages).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](https://core.telegram.org/api/reactions.md)\n- [Llamadas grupales](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": "Resultado de MTProto · `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": "Tipo TL: channels.SendAsPeers."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, recupera la lista de pares que se pueden usar para enviar [reacciones pagadas](https://core.telegram.org/api/reactions.md#paid-reactions) a mensajes de un par específico."}, "for_live_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Busque los pares que pueden pasarse a [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as` para comentar o reaccionar en una [historia en vivo »](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": "El par objetivo; cuando se establece `for_live_stories`, el par propietario de la historia en vivo."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `for_paid_reactions` | `true` | No | Si está configurado, recupera la lista de pares que se pueden usar para enviar [reacciones pagadas](https://core.telegram.org/api/reactions.md#paid-reactions) a mensajes de un par específico. |\n| `for_live_stories` | `true` | No | Busque los pares que pueden pasarse a [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as` para comentar o reaccionar en una [historia en vivo »](https://core.telegram.org/api/group-calls.md#in-call-messages). |\n| `peer` | `InputPeer` | si | El par objetivo; cuando se establece `for_live_stories`, el par propietario de la historia en vivo. |"}, "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": ["Canales y supergrupos"], "summary": "Eliminar todos los mensajes enviados por un participante específico de un supergrupo determinado", "description": "Eliminar todos los mensajes enviados por un participante específico de un supergrupo determinado\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.AffectedHistory."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PARTICIPANT_ID_INVALID`: el ID de participante especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Supergrupo"}, "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": "El participante cuyos mensajes deben eliminarse"}}, "additionalProperties": false, "required": ["channel", "participant"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Supergrupo |\n| `participant` | `InputPeer` | si | El participante cuyos mensajes deben eliminarse |"}, "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": ["Canales y supergrupos"], "summary": "Establezca si todos los usuarios deben unirse a un grupo de discusión para poder comentar una publicación »", "description": "Establezca si todos los usuarios [deben unirse a un grupo de discusión para poder comentar una publicación »](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Grupos de discusión](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Grupo de discusión"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Alternar"}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Grupo de discusión |\n| `enabled` | `Bool` | si | Alternar |"}, "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": ["Canales y supergrupos"], "summary": "Establezca si todos los usuarios deben solicitar la aprobación del administrador para unirse al grupo ».", "description": "Establezca si todos los usuarios deben [solicitar aprobación del administrador para unirse al grupo »](https://core.telegram.org/api/invites.md#join-requests).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces de invitación](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `CHAT_PUBLIC_REQUIRED`: solo puedes habilitar solicitudes para unirte en grupos públicos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Valor del tipo TL `true`."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "grupo"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Alternar"}, "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": "Tipo de TL: Usuario de entrada.", "x-tl-flag": "flags.0?InputUser"}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `apply_to_invites` | `true` | No | Valor del tipo TL `true`. |\n| `channel` | `InputChannel` | si | grupo |\n| `enabled` | `Bool` | si | Alternar |\n| `guard_bot` | `InputUser` | No | Tipo de TL: Usuario de entrada. |"}, "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": ["Canales y supergrupos"], "summary": "Reordenar nombres de usuario activos", "description": "Reordenar nombres de usuario activos\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El supergrupo o canal"}, "order": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "El nuevo orden para nombres de usuario activos. Se deben especificar todos los nombres de usuario activos."}}, "additionalProperties": false, "required": ["channel", "order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El supergrupo o canal |\n| `order` | `Vector<string>` | si | El nuevo orden para nombres de usuario activos. Se deben especificar todos los nombres de usuario activos. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "3025988893"}}, "/catalog/channels.toggleUsername": {"post": {"operationId": "channels.toggleUsername", "tags": ["Canales y supergrupos"], "summary": "Activar o desactivar un nombre de usuario fragment.com comprado asociado a un supergrupo o canal de nuestra propiedad.", "description": "Activar o desactivar un [fragment.com](https://fragment.com) nombre de usuario comprado asociado a un [supergrupo o canal](https://core.telegram.org/api/channel.md) de nuestra propiedad.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `USERNAMES_ACTIVE_TOO_MUCH` — Se alcanzó el número máximo de nombres de usuario activos.\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USERNAME_NOT_MODIFIED` — El nombre de usuario no fue modificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "[Supergrupo o canal](https://core.telegram.org/api/channel.md)"}, "username": {"type": "string", "x-tl-type": "string", "description": "Nombre de usuario"}, "active": {"type": "boolean", "x-tl-type": "Bool", "description": "Si activar o desactivar el nombre de usuario"}}, "additionalProperties": false, "required": ["channel", "username", "active"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | [Supergrupo o canal](https://core.telegram.org/api/channel.md) |\n| `username` | `string` | si | Nombre de usuario |\n| `active` | `Bool` | si | Si activar o desactivar el nombre de usuario |"}, "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": ["Canales y supergrupos"], "summary": "Deshabilitar todos los nombres de usuario comprados de un supergrupo o canal", "description": "Deshabilitar todos los nombres de usuario comprados de un supergrupo o canal\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Supergrupo o canal"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Supergrupo o canal |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "170155475"}}, "/catalog/channels.toggleForum": {"post": {"operationId": "channels.toggleForum", "tags": ["Canales y supergrupos"], "summary": "Habilite o deshabilite la funcionalidad del foro en un supergrupo.", "description": "Habilite o deshabilite la [funcionalidad del foro](https://core.telegram.org/api/forum.md) en un supergrupo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_DISCUSSION_UNALLOWED`: no puedes habilitar temas de foro en un grupo de discusión vinculado a un canal.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de supergrupo"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Activar o desactivar la funcionalidad del foro"}, "tabs": {"type": "boolean", "x-tl-type": "Bool", "description": "Si es verdadero, habilita la interfaz de usuario del foro con pestañas; de lo contrario, habilita la interfaz de usuario del foro basada en listas."}, "sidebar": {"type": "boolean", "x-tl-type": "Bool", "description": "Valor del tipo TL `Bool`."}}, "additionalProperties": false, "required": ["channel", "enabled", "tabs", "sidebar"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | ID de supergrupo |\n| `enabled` | `Bool` | si | Activar o desactivar la funcionalidad del foro |\n| `tabs` | `Bool` | si | Si es verdadero, habilita la interfaz de usuario del foro con pestañas; de lo contrario, habilita la interfaz de usuario del foro basada en listas. |\n| `sidebar` | `Bool` | si | Valor del tipo TL `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": ["Canales y supergrupos"], "summary": "Activa o desactiva el sistema antispam nativo.", "description": "Habilite o deshabilite el [sistema antispam nativo](https://core.telegram.org/api/antispam.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Sistema antispam nativo](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de supergrupo. El supergrupo especificado debe tener al menos `telegram_antispam_group_size_min` miembros para habilitar la funcionalidad antispam, como se especifica en los [parámetros de configuración del cliente](https://core.telegram.org/api/config.md#client-configuration)."}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Activa o desactiva el sistema antispam nativo."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | ID de supergrupo. El supergrupo especificado debe tener al menos `telegram_antispam_group_size_min` miembros para habilitar la funcionalidad antispam, como se especifica en los [parámetros de configuración del cliente](https://core.telegram.org/api/config.md#client-configuration). |\n| `enabled` | `Bool` | si | Activa o desactiva el sistema antispam nativo. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "1760814315"}}, "/catalog/channels.reportAntiSpamFalsePositive": {"post": {"operationId": "channels.reportAntiSpamFalsePositive", "tags": ["Canales y supergrupos"], "summary": "Informar un falso positivo antispam nativo", "description": "Informar un [antispam nativo](https://core.telegram.org/api/antispam.md) falso positivo\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Sistema antispam nativo](https://core.telegram.org/api/antispam.md)\n- [Registro de administrador](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de supergrupo"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje que fue eliminado por error por el [sistema antispam nativo](https://core.telegram.org/api/antispam.md), tomado del [registro de administrador](https://core.telegram.org/api/recent-actions.md)"}}, "additionalProperties": false, "required": ["channel", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | ID de supergrupo |\n| `msg_id` | `int` | si | ID de mensaje que fue eliminado por error por el [sistema antispam nativo](https://core.telegram.org/api/antispam.md), tomado del [registro de administrador](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": ["Canales y supergrupos"], "summary": "Ocultar o mostrar la lista de participantes en un supergrupo.", "description": "Ocultar o mostrar la lista de participantes en un [supergrupo](https://core.telegram.org/api/channel.md).\n\nEl supergrupo debe tener al menos `hidden_members_group_size_min` participantes para poder utilizar este método, tal y como se especifica en los [parámetros de configuración del cliente» ](https://core.telegram.org/api/config.md#client-configuration).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `PARTICIPANTS_TOO_FEW` — No hay suficientes participantes."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de supergrupo"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Si es verdadero, ocultará la lista de participantes; de lo contrario, se mostrará."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | ID de supergrupo |\n| `enabled` | `Bool` | si | Si es verdadero, ocultará la lista de participantes; de lo contrario, se mostrará. |"}, "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": ["Canales y supergrupos"], "summary": "Actualiza el color de acento y el emoji personalizado de fondo de un canal.", "description": "Actualiza el [color de acento y emoji personalizado de fondo »](https://core.telegram.org/api/colors.md) de un canal.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Colores de acento](https://core.telegram.org/api/colors.md)\n- [Impulsos de canales y supergrupos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOOSTS_REQUIRED` — El canal especificado primero debe ser [impulsado por sus usuarios](https://core.telegram.org/api/boost.md) para poder realizar esta acción.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe cambiar el patrón de emoji de color de acento de la página de perfil; de lo contrario, se cambiará el color de acento y el patrón de emoji de los mensajes.  Los canales pueden cambiar las paletas de mensajes y perfiles; Los supergrupos solo pueden cambiar la paleta del perfil, por supuesto, después de alcanzar el [nivel de impulso apropiado](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": "Canal cuyo color de acento debe cambiarse."}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "[ID de la paleta de colores de acento »](https://core.telegram.org/api/colors.md) para usar (no RGB24, consulte [aquí »](https://core.telegram.org/api/colors.md) para obtener más información); si no se establece, se utiliza la paleta predeterminada."}, "background_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de emoji personalizado utilizado en el patrón de color de acento.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `for_profile` | `true` | No | Si se debe cambiar el patrón de emoji de color de acento de la página de perfil; de lo contrario, se cambiará el color de acento y el patrón de emoji de los mensajes.  Los canales pueden cambiar las paletas de mensajes y perfiles; Los supergrupos solo pueden cambiar la paleta del perfil, por supuesto, después de alcanzar el [nivel de impulso apropiado](https://core.telegram.org/api/colors.md). |\n| `channel` | `InputChannel` | si | Canal cuyo color de acento debe cambiarse. |\n| `color` | `int` | No | [ID de la paleta de colores de acento »](https://core.telegram.org/api/colors.md) para usar (no RGB24, consulte [aquí »](https://core.telegram.org/api/colors.md) para obtener más información); si no se establece, se utiliza la paleta predeterminada. |\n| `background_emoji_id` | `long` | No | ID de emoji personalizado utilizado en el patrón de color de acento. |"}, "x-telegram-rpc-errors": ["BOOSTS_REQUIRED", "CHANNEL_INVALID"], "x-browser-schema-id": "3635033713"}}, "/catalog/channels.toggleViewForumAsMessages": {"post": {"operationId": "channels.toggleViewForumAsMessages", "tags": ["Canales y supergrupos"], "summary": "Los usuarios también pueden optar por mostrar mensajes de todos los temas de un foro como si fueran enviados a un grupo normal, usando la configuración \"Ver como mensajes\" en el cliente local: esta configuración solo afecta la cuenta actual y se sincroniza con otras sesiones iniciadas usando este método.", "description": "Los usuarios también pueden optar por mostrar mensajes de todos los temas de un [foro](https://core.telegram.org/api/forum.md) como si fueran enviados a un grupo normal, usando la configuración \"Ver como mensajes\" en el cliente local: esta configuración solo afecta la cuenta actual y se sincroniza con otras sesiones iniciadas usando este método.\n\nAl invocar este método se actualizará el valor del indicador `view_forum_as_messages` de [channelFull](https://core.telegram.org/constructor/channelFull.md) o [dialog](https://core.telegram.org/constructor/dialog.md)] y se emitirá un [updateChannelViewForumAsMessages](https://core.telegram.org/constructor/updateChannelViewForumAsMessages.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Temas del foro](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el foro"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "El nuevo valor de la bandera `view_forum_as_messages`."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | el foro |\n| `enabled` | `Bool` | si | El nuevo valor de la bandera `view_forum_as_messages`. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2537077525"}}, "/catalog/channels.getChannelRecommendations": {"post": {"operationId": "channels.getChannelRecommendations", "tags": ["Canales y supergrupos"], "summary": "Obtenga una lista de canales públicos con temas similares, seleccionados según las similitudes en sus **bases de suscriptores**.", "description": "Obtenga una lista de canales públicos con temas similares, seleccionados según las similitudes en sus **bases de suscriptores**.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.Chats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El método devolverá canales relacionados con el `channel` pasado. Si no se establece, el método devolverá canales relacionados con los canales a los que se ha unido el usuario.", "x-tl-flag": "flags.0?InputChannel"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | No | El método devolverá canales relacionados con el `channel` pasado. Si no se establece, el método devolverá canales relacionados con los canales a los que se ha unido el usuario. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "CHANNEL_PRIVATE", "CHAT_NOT_MODIFIED"], "x-browser-schema-id": "631707458"}}, "/catalog/channels.updateEmojiStatus": {"post": {"operationId": "channels.updateEmojiStatus", "tags": ["Canales y supergrupos"], "summary": "Establece un estado de emoji para un canal o supergrupo.", "description": "Establece un [estado de emoji](https://core.telegram.org/api/emoji-status.md) para un canal o supergrupo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Estado de los emojis](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El canal/supergrupo debe tener al menos [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": "[Estado de emoji](https://core.telegram.org/api/emoji-status.md) para configurar"}}, "additionalProperties": false, "required": ["channel", "emoji_status"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El canal/supergrupo debe tener al menos [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` | si | [Estado de emoji](https://core.telegram.org/api/emoji-status.md) para configurar |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "4040418984"}}, "/catalog/channels.setBoostsToUnblockRestrictions": {"post": {"operationId": "channels.setBoostsToUnblockRestrictions", "tags": ["Canales y supergrupos"], "summary": "Los administradores con derechos de administrador ban\\_users » pueden permitir que los usuarios que aplican una cierta cantidad de impulsos » al grupo eviten el modo lento » y otras » restricciones de supergrupo, consulte aquí » para obtener más información.", "description": "Los administradores con [prohibición\\_derechos de administrador de usuarios »](https://core.telegram.org/constructor/chatAdminRights.md) pueden permitir que los usuarios que aplican una cierta cantidad de [impulsos »](https://core.telegram.org/api/boost.md) al grupo omitan el [modo lento »](https://core.telegram.org/method/channels.toggleSlowMode.md) y [otras »](https://core.telegram.org/api/rights.md#default-rights) restricciones de supergrupo; consulte [aquí »](https://core.telegram.org/api/boost.md#bypass-slowmode-and-chat-restrictions) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Impulsos de canales y supergrupos](https://core.telegram.org/api/boost.md)\n- [Administrador, prohibido, derechos predeterminados](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El supergrupo."}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El número de aumentos necesarios (1-8, 0 para desactivar)."}}, "additionalProperties": false, "required": ["channel", "boosts"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El supergrupo. |\n| `boosts` | `int` | si | El número de aumentos necesarios (1-8, 0 para desactivar). |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2906234094"}}, "/catalog/channels.setEmojiStickers": {"post": {"operationId": "channels.setEmojiStickers", "tags": ["Canales y supergrupos"], "summary": "Establece un conjunto de stickers emoji personalizados para supergrupos. Solo se puede utilizar después de alcanzar al menos el nivel de impulso » especificado en el parámetro de configuración `group_emoji_stickers_level_min` ».", "description": "Establece un [conjunto de pegatinas emoji personalizadas](https://core.telegram.org/api/custom-emoji.md) para los supergrupos. Solo se puede utilizar después de alcanzar al menos el [nivel de impulso »](https://core.telegram.org/api/boost.md) especificado en el parámetro de configuración [`group_emoji_stickers_level_min` »](https://core.telegram.org/api/config.md#group-emoji-stickers-level-min).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Impulsos de canales y supergrupos](https://core.telegram.org/api/boost.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el supergrupo"}, "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": "El conjunto de stickers emoji personalizados para asociar al supergrupo"}}, "additionalProperties": false, "required": ["channel", "stickerset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | el supergrupo |\n| `stickerset` | `InputStickerSet` | si | El conjunto de stickers emoji personalizados para asociar al supergrupo |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "1020866743"}}, "/catalog/channels.restrictSponsoredMessages": {"post": {"operationId": "channels.restrictSponsoredMessages", "tags": ["Canales y supergrupos"], "summary": "Deshabilite los anuncios en el canal especificado, para todos los usuarios.", "description": "Deshabilite los anuncios en el canal especificado, para todos los usuarios.\n\nDisponible solo después de alcanzar al menos el [nivel de impulso »](https://core.telegram.org/api/boost.md) especificado en el parámetro de configuración [`channel_restrict_sponsored_level_min` »](https://core.telegram.org/api/config.md#channel-restrict-sponsored-level-min).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Impulsos de canales y supergrupos](https://core.telegram.org/api/boost.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El canal."}, "restricted": {"type": "boolean", "x-tl-type": "Bool", "description": "Ya sea para deshabilitar o volver a habilitar los anuncios."}}, "additionalProperties": false, "required": ["channel", "restricted"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El canal. |\n| `restricted` | `Bool` | si | Ya sea para deshabilitar o volver a habilitar los anuncios. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "2598966553"}}, "/catalog/channels.searchPosts": {"post": {"operationId": "channels.searchPosts", "tags": ["Canales y supergrupos"], "summary": "Busque globalmente publicaciones de canales públicos » (*incluidos* aquellos de los que no somos miembros) que contengan un hashtag específico *o* una consulta de texto completo.", "description": "Busque globalmente publicaciones de [canales »](https://core.telegram.org/api/channel.md) públicos (*incluidos* aquellos de los que no somos miembros) que contengan un hashtag específico *o* una consulta de texto completo.\n\nSe debe configurar exactamente uno de `query` y `hashtag`.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Búsqueda y filtros](https://core.telegram.org/api/search.md)\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Autorización de usuario](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": "Resultado de MTProto · `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": "Escribe TL: messages.Messages."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 420 · `FROZEN_METHOD_INVALID` — La cuenta actual está [congelada](https://core.telegram.org/api/auth.md#frozen-accounts) y, por lo tanto, no puede ejecutar la acción especificada.\n- 400 · `OFFSET_PEER_ID_INVALID`: el par de compensación proporcionado no es válido.\n- 403 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El hashtag a buscar, sin el carácter `#`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "La consulta de texto completo: cada usuario tiene una cantidad limitada de espacios de búsqueda de texto completo gratuitos, después de los cuales se requiere el pago; consulte [aquí »](https://core.telegram.org/api/search.md#posts-tab) para obtener más información sobre el flujo completo."}, "offset_rate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Inicialmente 0, luego configúrelo en el parámetro [`next_rate` de messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), o si está ausente, el `date` del último mensaje devuelto."}, "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": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para búsquedas de publicaciones de texto completo (`query`), permite el pago de la cantidad especificada de estrellas para la búsqueda, consulte [aquí »](https://core.telegram.org/api/search.md#posts-tab) para obtener más información sobre el flujo completo.", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "additionalProperties": false, "required": ["offset_rate", "offset_peer", "offset_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hashtag` | `string` | No | El hashtag a buscar, sin el carácter `#`. |\n| `query` | `string` | No | La consulta de texto completo: cada usuario tiene una cantidad limitada de espacios de búsqueda de texto completo gratuitos, después de los cuales se requiere el pago; consulte [aquí »](https://core.telegram.org/api/search.md#posts-tab) para obtener más información sobre el flujo completo. |\n| `offset_rate` | `int` | si | Inicialmente 0, luego configúrelo en el parámetro [`next_rate` de messages.messagesSlice](https://core.telegram.org/constructor/messages.messagesSlice.md), o si está ausente, el `date` del último mensaje devuelto. |\n| `offset_peer` | `InputPeer` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |\n| `allow_paid_stars` | `long` | No | Para búsquedas de publicaciones de texto completo (`query`), permite el pago de la cantidad especificada de estrellas para la búsqueda, consulte [aquí »](https://core.telegram.org/api/search.md#posts-tab) para obtener más información sobre el flujo completo. |"}, "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": ["Canales y supergrupos"], "summary": "Activar o desactivar mensajes pagos» en este supergrupo o monoforo.", "description": "Habilite o deshabilite [mensajes pagos»](https://core.telegram.org/api/paid-messages.md) en este [supergrupo](https://core.telegram.org/api/channel.md) o [monoforum](https://core.telegram.org/api/monoforum.md).\n\nTambién se usa para [habilitar o deshabilitar monoforos, también conocidos como mensajes directos en un canal](https://core.telegram.org/api/monoforum.md).\n\nTenga en cuenta que pasar el ID del monoforo a `channel` devolverá un error `CHANNEL_MONOFORUM_UNSUPPORTED`: en su lugar, pase el ID del canal asociado para editar la configuración del monoforo asociado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes directos a canales.](https://core.telegram.org/api/monoforum.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Mensajes pagados](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 400 · `CHAT_NOT_MODIFIED`: no se realizaron cambios en la información del chat porque la nueva información que pasó es idéntica a la información actual.\n- 400 · `STARS_AMOUNT_INVALID` — La cantidad especificada en estrellas no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Solo se puede utilizar para canales, habilita o deshabilita el [monoforum también conocido como mensajes directos](https://core.telegram.org/api/monoforum.md) asociados."}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Pase el ID del supergrupo para los supergrupos y el ID del [canal](https://core.telegram.org/api/channel.md) para modificar la configuración en el monoforo asociado."}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Especifica la cantidad requerida de [Telegram Stars](https://core.telegram.org/api/stars.md) que los usuarios deben pagar para enviar mensajes al supergrupo o monoforo.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["channel", "send_paid_messages_stars"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `broadcast_messages_allowed` | `true` | No | Solo se puede utilizar para canales, habilita o deshabilita el [monoforum también conocido como mensajes directos](https://core.telegram.org/api/monoforum.md) asociados. |\n| `channel` | `InputChannel` | si | Pase el ID del supergrupo para los supergrupos y el ID del [canal](https://core.telegram.org/api/channel.md) para modificar la configuración en el monoforo asociado. |\n| `send_paid_messages_stars` | `long` | si | Especifica la cantidad requerida de [Telegram Stars](https://core.telegram.org/api/stars.md) que los usuarios deben pagar para enviar mensajes al supergrupo o monoforo. |"}, "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": ["Canales y supergrupos"], "summary": "Alternar la traducción automática en un canal, para todos los usuarios: consulte aquí » para obtener más información.", "description": "Alternar la traducción automática en un canal, para todos los usuarios: consulte [aquí »](https://core.telegram.org/api/translation.md#autotranslation-for-channels) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Traducción de mensajes](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El canal donde alternar la traducción automática."}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Ya sea para habilitar o deshabilitar la traducción automática."}}, "additionalProperties": false, "required": ["channel", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El canal donde alternar la traducción automática. |\n| `enabled` | `Bool` | si | Ya sea para habilitar o deshabilitar la traducción automática. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "377471137"}}, "/catalog/channels.getMessageAuthor": {"post": {"operationId": "channels.getMessageAuthor", "tags": ["Canales y supergrupos"], "summary": "Sólo puede ser invocado por administradores de un monoforo que no sean bot », obtiene el remitente original de un mensaje enviado por otros administradores de monoforo al monoforo, en nombre del canal asociado al monoforo.", "description": "Solo puede ser invocado por administradores que no sean bot de un [monoforum »](https://core.telegram.org/api/monoforum.md), obtiene el remitente original de un mensaje enviado por otros administradores de monoforum al monoforum, en nombre del canal asociado al monoforum.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mensajes directos a canales.](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": "Resultado de MTProto · `User`.\n\n[Usuario](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": "Tipo TL: Usuario."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "DNI del monoforo."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje enviado por un administrador de monoforo."}}, "additionalProperties": false, "required": ["channel", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | DNI del monoforo. |\n| `id` | `int` | si | ID del mensaje enviado por un administrador de monoforo. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "3974275302"}}, "/catalog/channels.checkSearchPostsFlood": {"post": {"operationId": "channels.checkSearchPostsFlood", "tags": ["Canales y supergrupos"], "summary": "Compruebe si la búsqueda de publicaciones globales especificada » requiere pago.", "description": "Compruebe si la [búsqueda global de publicaciones »](https://core.telegram.org/api/search.md#posts-tab) especificada requiere pago.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Búsqueda y filtros](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": "Resultado de MTProto · `SearchPostsFlood`.\n\n[BuscarPublicacionesInundación](https://core.telegram.org/type/SearchPostsFlood.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "SearchPostsFlood", "oneOf": [{"$ref": "#/components/schemas/searchPostsFlood"}], "description": "Tipo de TL: SearchPostsFlood."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La consulta."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `query` | `string` | No | La consulta. |"}, "x-browser-schema-id": "576090389"}}, "/catalog/channels.setMainProfileTab": {"post": {"operationId": "channels.setMainProfileTab", "tags": ["Canales y supergrupos"], "summary": "Cambia la pestaña de perfil principal de un canal, consulte aquí » para obtener más información.", "description": "Cambia la pestaña de perfil principal de un canal, consulte [aquí »](https://core.telegram.org/api/profile.md#tabs) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Perfiles de usuario](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El canal."}, "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": "La pestaña que se establecerá como pestaña principal."}}, "additionalProperties": false, "required": ["channel", "tab"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | El canal. |\n| `tab` | `ProfileTab` | si | La pestaña que se establecerá como pestaña principal. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID"], "x-browser-schema-id": "897842353"}}, "/catalog/channels.editChannelNews": {"post": {"operationId": "channels.editChannelNews", "tags": ["Canales y supergrupos"], "summary": "channels.editChannelNews", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "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": "Tipo TL: Canal de entrada."}, "news": {"type": "boolean", "x-tl-type": "Bool", "description": "Valor del tipo TL `Bool`."}}, "additionalProperties": false, "required": ["channel", "news"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Tipo TL: Canal de entrada. |\n| `news` | `Bool` | si | Valor del tipo TL `Bool`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3607427461"}}, "/catalog/bots.sendCustomRequest": {"post": {"operationId": "bots.sendCustomRequest", "tags": ["robots"], "summary": "Envía una solicitud personalizada; solo para robots", "description": "Envía una solicitud personalizada; solo para robots\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `DataJSON`.\n\n[DatosJSON](https://core.telegram.org/type/DataJSON.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Tipo de TL: DataJSON."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `DATA_JSON_INVALID` — Los datos JSON proporcionados no son válidos.\n- 400 · `METHOD_INVALID`: el método especificado no es válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El nombre del método"}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "JSON-parámetros del método serializado"}}, "additionalProperties": false, "required": ["custom_method", "params"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `custom_method` | `string` | si | El nombre del método |\n| `params` | `DataJSON` | si | JSON-parámetros del método serializado |"}, "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": ["robots"], "summary": "Responde una consulta personalizada; solo para robots", "description": "Responde una consulta personalizada; solo para robots\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `DATA_JSON_INVALID` — Los datos JSON proporcionados no son válidos.\n- 400 · `QUERY_ID_INVALID`: el ID de la consulta no es válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de una consulta personalizada", "x-tl-type": "long"}, "data": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "JSON-respuesta serializada a la consulta"}}, "additionalProperties": false, "required": ["query_id", "data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `query_id` | `long` | si | Identificador de una consulta personalizada |\n| `data` | `DataJSON` | si | JSON-respuesta serializada a la consulta |"}, "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": ["robots"], "summary": "Establecer lista de comandos de bot", "description": "Establecer lista de comandos de bot\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_COMMAND_DESCRIPTION_INVALID`: la descripción del comando especificado no es válida.\n- 400 · `BOT_COMMAND_INVALID`: el comando especificado no es válido.\n- 400 · `LANG_CODE_INVALID`: el código de idioma especificado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Alcance del comando"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "código de idioma"}, "commands": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "oneOf": [{"$ref": "#/components/schemas/botCommand"}], "description": "Tipo de TL: BotCommand."}, "x-tl-type": "Vector<BotCommand>", "description": "Comandos de robots"}}, "additionalProperties": false, "required": ["scope", "lang_code", "commands"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `scope` | `BotCommandScope` | si | Alcance del comando |\n| `lang_code` | `string` | si | código de idioma |\n| `commands` | `Vector<BotCommand>` | si | Comandos de robots |"}, "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": ["robots"], "summary": "Borrar comandos de bot para el alcance del bot y el código de idioma especificados", "description": "Borrar comandos de bot para el alcance del bot y el código de idioma especificados\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `LANG_CODE_INVALID`: el código de idioma especificado no es válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Alcance del comando"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "código de idioma"}}, "additionalProperties": false, "required": ["scope", "lang_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `scope` | `BotCommandScope` | si | Alcance del comando |\n| `lang_code` | `string` | si | código de idioma |"}, "x-telegram-rpc-errors": ["LANG_CODE_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "1032708345"}}, "/catalog/bots.getBotCommands": {"post": {"operationId": "bots.getBotCommands", "tags": ["robots"], "summary": "Obtener una lista de comandos de bot para el alcance del bot y el código de idioma especificados", "description": "Obtener una lista de comandos de bot para el alcance del bot y el código de idioma especificados\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `Vector<BotCommand>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[BotCommand](https://core.telegram.org/type/BotCommand.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "oneOf": [{"$ref": "#/components/schemas/botCommand"}], "description": "Tipo de TL: BotCommand."}, "x-tl-type": "Vector<BotCommand>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Alcance del comando"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "código de idioma"}}, "additionalProperties": false, "required": ["scope", "lang_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `scope` | `BotCommandScope` | si | Alcance del comando |\n| `lang_code` | `string` | si | código de idioma |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED"], "x-browser-schema-id": "3813412310"}}, "/catalog/bots.setBotMenuButton": {"post": {"operationId": "bots.setBotMenuButton", "tags": ["robots"], "summary": "Establece la acción del botón de menú » para un usuario determinado o para todos los usuarios", "description": "Establece la [acción del botón de menú »](https://core.telegram.org/api/bots/menu.md) para un usuario determinado o para todos los usuarios\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Botón de menú del robot](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUTTON_INVALID`: el botón especificado no es válido.\n- 400 · `BUTTON_TEXT_INVALID`: el texto del botón especificado no es válido.\n- 400 · `BUTTON_URL_INVALID` — Botón URL no válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de usuario"}, "button": {"type": "object", "x-tl-type": "BotMenuButton", "oneOf": [{"$ref": "#/components/schemas/botMenuButtonDefault"}, {"$ref": "#/components/schemas/botMenuButtonCommands"}, {"$ref": "#/components/schemas/botMenuButton"}], "description": "Acción del botón del menú del bot"}}, "additionalProperties": false, "required": ["user_id", "button"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | ID de usuario |\n| `button` | `BotMenuButton` | si | Acción del botón del menú del bot |"}, "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": ["robots"], "summary": "Obtiene la acción del botón de menú para un usuario determinado o para todos los usuarios, previamente configurada usando bots.setBotMenuButton; los usuarios pueden ver esta información en el constructor botInfo.", "description": "Obtiene la acción del botón de menú para un usuario determinado o para todos los usuarios, configurada previamente usando [bots.setBotMenuButton](https://core.telegram.org/method/bots.setBotMenuButton.md); los usuarios pueden ver esta información en el constructor [botInfo](https://core.telegram.org/constructor/botInfo.md).\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.", "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": "Resultado de MTProto · `BotMenuButton`.\n\n[BotónBotMenu](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": "Tipo TL: BotMenuButton."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de usuario o vacío para el botón de menú predeterminado."}}, "additionalProperties": false, "required": ["user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | ID de usuario o vacío para el botón de menú predeterminado. |"}, "x-telegram-rpc-errors": ["USER_BOT_REQUIRED"], "x-browser-schema-id": "2623597352"}}, "/catalog/bots.setBotBroadcastDefaultAdminRights": {"post": {"operationId": "bots.setBotBroadcastDefaultAdminRights", "tags": ["robots"], "summary": "Establezca los derechos de administrador sugeridos predeterminados para los bots que se agregan como administradores a los canales; consulte aquí para obtener más información sobre cómo manejarlos ».", "description": "Establezca los [derechos de administrador sugeridos](https://core.telegram.org/api/rights.md#suggested-bot-rights) predeterminados para los bots que se agregan como administradores a los canales; consulte [aquí para obtener más información sobre cómo manejarlos »](https://core.telegram.org/api/rights.md#suggested-bot-rights).\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Administrador, prohibido, derechos predeterminados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `RIGHTS_NOT_MODIFIED` — Los nuevos derechos de administrador son iguales a los derechos anteriores, no se realizó ningún cambio.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Derechos de administrador"}}, "additionalProperties": false, "required": ["admin_rights"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `admin_rights` | `ChatAdminRights` | si | Derechos de administrador |"}, "x-telegram-rpc-errors": ["RIGHTS_NOT_MODIFIED", "USER_BOT_REQUIRED"], "x-browser-schema-id": "2021942497"}}, "/catalog/bots.setBotGroupDefaultAdminRights": {"post": {"operationId": "bots.setBotGroupDefaultAdminRights", "tags": ["robots"], "summary": "Establezca los derechos de administrador sugeridos predeterminados para los bots que se agregan como administradores a grupos; consulte aquí para obtener más información sobre cómo manejarlos ».", "description": "Establezca los [derechos de administrador sugeridos](https://core.telegram.org/api/rights.md#suggested-bot-rights) predeterminados para los bots que se agregan como administradores a grupos; consulte [aquí para obtener más información sobre cómo manejarlos »](https://core.telegram.org/api/rights.md#suggested-bot-rights).\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Administrador, prohibido, derechos predeterminados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `RIGHTS_NOT_MODIFIED` — Los nuevos derechos de administrador son iguales a los derechos anteriores, no se realizó ningún cambio.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Derechos de administrador"}}, "additionalProperties": false, "required": ["admin_rights"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `admin_rights` | `ChatAdminRights` | si | Derechos de administrador |"}, "x-telegram-rpc-errors": ["RIGHTS_NOT_MODIFIED", "USER_BOT_REQUIRED"], "x-browser-schema-id": "2455685610"}}, "/catalog/bots.setBotInfo": {"post": {"operationId": "bots.setBotInfo", "tags": ["robots"], "summary": "Establezca el nombre localizado, el texto acerca de y la descripción de un bot (o de la cuenta actual, si la llama un bot).", "description": "Establezca el nombre localizado, el texto acerca de y la descripción de un bot (o de la cuenta actual, si la llama un bot).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `USER_BOT_INVALID`: las cuentas de usuario deben proporcionar el parámetro del método `bot` al llamar a este método. Si no existe tal parámetro de método, este método solo puede ser invocado por cuentas de bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si lo llama un usuario, **debe** contener el par de un bot de nuestra propiedad.", "x-tl-flag": "flags.2?InputUser"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código de idioma, si se deja vacío, actualice el respaldo sobre el texto y la descripción."}, "name": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Nuevo nombre del robot"}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Nuevo sobre el texto"}, "description": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Nueva descripción"}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | No | Si lo llama un usuario, **debe** contener el par de un bot de nuestra propiedad. |\n| `lang_code` | `string` | si | Código de idioma, si se deja vacío, actualice el respaldo sobre el texto y la descripción. |\n| `name` | `string` | No | Nuevo nombre del robot |\n| `about` | `string` | No | Nuevo sobre el texto |\n| `description` | `string` | No | Nueva descripción |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_INVALID"], "x-browser-schema-id": "282013987"}}, "/catalog/bots.getBotInfo": {"post": {"operationId": "bots.getBotInfo", "tags": ["robots"], "summary": "Obtenga el nombre localizado, el texto acerca de y la descripción de un bot (o de la cuenta actual, si la llama un bot).", "description": "Obtenga el nombre localizado, el texto acerca de y la descripción de un bot (o de la cuenta actual, si la llama un bot).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: bots.BotInfo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `LANG_CODE_INVALID`: el código de idioma especificado no es válido.\n- 400 · `USER_BOT_INVALID`: las cuentas de usuario deben proporcionar el parámetro del método `bot` al llamar a este método. Si no existe tal parámetro de método, este método solo puede ser invocado por cuentas de bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si lo llama un usuario, **debe** contener el par de un bot de nuestra propiedad.", "x-tl-flag": "flags.0?InputUser"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código de idioma; si se deja vacío, este método devolverá la información alternativa sobre el texto y la descripción."}}, "additionalProperties": false, "required": ["lang_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | No | Si lo llama un usuario, **debe** contener el par de un bot de nuestra propiedad. |\n| `lang_code` | `string` | si | Código de idioma; si se deja vacío, este método devolverá la información alternativa sobre el texto y la descripción. |"}, "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": ["robots"], "summary": "Reordenar los nombres de usuario asociados a un bot de nuestra propiedad.", "description": "Reordenar los nombres de usuario asociados a un bot de nuestra propiedad.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `USERNAME_NOT_MODIFIED` — El nombre de usuario no fue modificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el robot"}, "order": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "El nuevo orden para nombres de usuario activos. Se deben especificar todos los nombres de usuario activos."}}, "additionalProperties": false, "required": ["bot", "order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | el robot |\n| `order` | `Vector<string>` | si | El nuevo orden para nombres de usuario activos. Se deben especificar todos los nombres de usuario activos. |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "2533994946"}}, "/catalog/bots.toggleUsername": {"post": {"operationId": "bots.toggleUsername", "tags": ["robots"], "summary": "Activar o desactivar un nombre de usuario fragment.com comprado asociado a un bot de nuestra propiedad.", "description": "Activar o desactivar un nombre de usuario [fragment.com](https://fragment.com) comprado y asociado a un bot de nuestra propiedad.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `USERNAME_NOT_MODIFIED` — El nombre de usuario no fue modificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el robot"}, "username": {"type": "string", "x-tl-type": "string", "description": "Nombre de usuario"}, "active": {"type": "boolean", "x-tl-type": "Bool", "description": "Si activarlo o desactivarlo"}}, "additionalProperties": false, "required": ["bot", "username", "active"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | el robot |\n| `username` | `string` | si | Nombre de usuario |\n| `active` | `Bool` | si | Si activarlo o desactivarlo |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USERNAME_NOT_MODIFIED"], "x-browser-schema-id": "87861619"}}, "/catalog/bots.canSendMessage": {"post": {"operationId": "bots.canSendMessage", "tags": ["robots"], "summary": "Compruebe si el bot especificado puede enviarnos mensajes", "description": "Compruebe si el bot especificado puede enviarnos mensajes\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el robot"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | el robot |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "324662502"}}, "/catalog/bots.allowSendMessage": {"post": {"operationId": "bots.allowSendMessage", "tags": ["robots"], "summary": "Permitir que el bot especificado nos envíe mensajes", "description": "Permitir que el bot especificado nos envíe mensajes\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el robot"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | el robot |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "4046644207"}}, "/catalog/bots.invokeWebViewCustomMethod": {"post": {"operationId": "bots.invokeWebViewCustomMethod", "tags": ["robots"], "summary": "Envíe una solicitud personalizada desde una aplicación de mini bot, activada por un evento web\\_app\\_invoke\\_custom\\_method ».", "description": "Envíe una solicitud personalizada desde una [aplicación mini bot](https://core.telegram.org/api/bots/webapps.md), activada por un evento [web\\_app\\_invoke\\_custom\\_method »](https://core.telegram.org/api/web-events.md#web-app-invoke-custom-method).\n\nLa respuesta debe enviarse mediante un evento [custom\\_method\\_invoked](https://core.telegram.org/api/bots/webapps.md#custom-method-invoked), [consulte aquí »](https://core.telegram.org/api/web-events.md#web-app-invoke-custom-method) para obtener más información sobre el flujo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [eventos web](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": "Resultado de MTProto · `DataJSON`.\n\n[DatosJSON](https://core.telegram.org/type/DataJSON.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Tipo de TL: DataJSON."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `DATA_JSON_INVALID` — Los datos JSON proporcionados no son válidos.\n- 400 · `METHOD_INVALID`: el método especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador del bot asociado a la [aplicación mini bot](https://core.telegram.org/api/bots/webapps.md)"}, "custom_method": {"type": "string", "x-tl-type": "string", "description": "Identificador del método personalizado a invocar"}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Parámetros del método"}}, "additionalProperties": false, "required": ["bot", "custom_method", "params"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | Identificador del bot asociado a la [aplicación mini bot](https://core.telegram.org/api/bots/webapps.md) |\n| `custom_method` | `string` | si | Identificador del método personalizado a invocar |\n| `params` | `DataJSON` | si | Parámetros del método |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "DATA_JSON_INVALID", "METHOD_INVALID"], "x-browser-schema-id": "142591463"}}, "/catalog/bots.getPopularAppBots": {"post": {"operationId": "bots.getPopularAppBots", "tags": ["robots"], "summary": "Obtenga miniaplicaciones principales populares, para usarlas en la pestaña de aplicaciones de la búsqueda global ».", "description": "Obtenga [Miniaplicaciones principales](https://core.telegram.org/api/bots/webapps.md#main-mini-apps)] populares, para usarlas en la [pestaña de aplicaciones de la búsqueda global »](https://core.telegram.org/api/search.md#apps-tab).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Mini aplicaciones en Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Búsqueda y filtros](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": "Resultado de MTProto · `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": "Tipo TL: bots.PopularAppBots."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Compensación para [paginación](https://core.telegram.org/api/offsets.md), inicialmente una cadena vacía, luego reutiliza el `next_offset` devuelto por la consulta anterior."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offset` | `string` | si | Compensación para [paginación](https://core.telegram.org/api/offsets.md), inicialmente una cadena vacía, luego reutiliza el `next_offset` devuelto por la consulta anterior. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "3260088722"}}, "/catalog/bots.addPreviewMedia": {"post": {"operationId": "bots.addPreviewMedia", "tags": ["robots"], "summary": "Agregue una vista previa de la mini aplicación principal, consulte aquí » para obtener más información.", "description": "Agregue una [vista previa de la mini aplicación principal, consulte aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información.\n\nSolo los propietarios de bots con una mini aplicación principal configurada pueden usar este método; consulte [ver aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información sobre cómo verificar si puede invocar este método.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en 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": "Resultado de MTProto · `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": "Tipo de TL: BotPreviewMedia."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot propietario de la mini aplicación principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO Código de idioma 639-1, que indica la localización de la vista previa a agregar."}, "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": "La vista previa de la foto/video, cargada usando [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md)."}}, "additionalProperties": false, "required": ["bot", "lang_code", "media"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot propietario de la mini aplicación principal. |\n| `lang_code` | `string` | si | ISO Código de idioma 639-1, que indica la localización de la vista previa a agregar. |\n| `media` | `InputMedia` | si | La vista previa de la foto/video, cargada usando [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": ["robots"], "summary": "Edite una vista previa de la mini aplicación principal, consulte aquí » para obtener más información.", "description": "Edite una [vista previa de la mini aplicación principal, consulte aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información.\n\nSolo los propietarios de bots con una mini aplicación principal configurada pueden usar este método; consulte [ver aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información sobre cómo verificar si puede invocar este método.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en 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": "Resultado de MTProto · `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": "Tipo de TL: BotPreviewMedia."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot propietario de la mini aplicación principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO Código de idioma 639-1, que indica la localización de la vista previa a editar."}, "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": "La vista previa de la foto/video a reemplazar, obtenida previamente como se especifica [aquí »](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": "La nueva vista previa de foto/video, cargada usando [messages.uploadMedia](https://core.telegram.org/method/messages.uploadMedia.md)."}}, "additionalProperties": false, "required": ["bot", "lang_code", "media", "new_media"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot propietario de la mini aplicación principal. |\n| `lang_code` | `string` | si | ISO Código de idioma 639-1, que indica la localización de la vista previa a editar. |\n| `media` | `InputMedia` | si | La vista previa de la foto/video a reemplazar, obtenida previamente como se especifica [aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews). |\n| `new_media` | `InputMedia` | si | La nueva vista previa de foto/video, cargada usando [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": ["robots"], "summary": "Elimine una vista previa de la mini aplicación principal, consulte aquí » para obtener más información.", "description": "Elimine una [vista previa de la mini aplicación principal, consulte aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información.\n\nSolo los propietarios de bots con una mini aplicación principal configurada pueden usar este método; consulte [ver aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información sobre cómo verificar si puede invocar este método.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en 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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot propietario de la mini aplicación principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO Código de idioma 639-1, que indica la localización de la vista previa a eliminar."}, "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": "Tipo de TL: Medios de entrada."}, "x-tl-type": "Vector<InputMedia>", "description": "La vista previa de la foto/vídeo que se va a eliminar, obtenida previamente según lo especificado [aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews)."}}, "additionalProperties": false, "required": ["bot", "lang_code", "media"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot propietario de la mini aplicación principal. |\n| `lang_code` | `string` | si | ISO Código de idioma 639-1, que indica la localización de la vista previa a eliminar. |\n| `media` | `Vector<InputMedia>` | si | La vista previa de la foto/vídeo que se va a eliminar, obtenida previamente según lo especificado [aquí »](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": ["robots"], "summary": "Reordene las vistas previas de una mini aplicación principal, consulte aquí » para obtener más información.", "description": "Vuelva a solicitar una [vista previa de la mini aplicación principal, consulte aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información.\n\nSolo los propietarios de bots con una mini aplicación principal configurada pueden usar este método; consulte [ver aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información sobre cómo verificar si puede invocar este método.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en 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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot propietario de la mini aplicación principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "ISO Código de idioma 639-1, que indica la localización de las vistas previas a reordenar."}, "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": "Tipo de TL: Medios de entrada."}, "x-tl-type": "Vector<InputMedia>", "description": "Nuevo orden de las previas."}}, "additionalProperties": false, "required": ["bot", "lang_code", "order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot propietario de la mini aplicación principal. |\n| `lang_code` | `string` | si | ISO Código de idioma 639-1, que indica la localización de las vistas previas a reordenar. |\n| `order` | `Vector<InputMedia>` | si | Nuevo orden de las previas. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "3056071594"}}, "/catalog/bots.getPreviewInfo": {"post": {"operationId": "bots.getPreviewInfo", "tags": ["robots"], "summary": "Solo propietarios de bots, obtenga información de vista previa de la mini aplicación principal, consulte aquí » para obtener más información.", "description": "Solo para propietarios de bots, obtenga [información de vista previa de la mini aplicación principal, consulte aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información.\n\nNota: técnicamente, los no propietarios también pueden invocar este método, pero siempre se comportará exactamente como [bots.getPreviewMedias](https://core.telegram.org/method/bots.getPreviewMedias.md), devolviendo solo vistas previas para el idioma actual y una matriz `lang_codes` vacía, independientemente del `lang_code` pasado, así que solo use [bots.getPreviewMedias](https://core.telegram.org/method/bots.getPreviewMedias.md) si no es el propietario de `bot`.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en 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": "Resultado de MTProto · `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": "Tipo TL: bots.PreviewInfo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot propietario de la mini aplicación principal."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Obtenga vistas previas del código de idioma ISO 639-1 especificado."}}, "additionalProperties": false, "required": ["bot", "lang_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot propietario de la mini aplicación principal. |\n| `lang_code` | `string` | si | Obtenga vistas previas del código de idioma ISO 639-1 especificado. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "1111143341"}}, "/catalog/bots.getPreviewMedias": {"post": {"operationId": "bots.getPreviewMedias", "tags": ["robots"], "summary": "Obtenga vistas previas de la mini aplicación principal, consulte aquí » para obtener más información.", "description": "Obtenga [vistas previas de la mini aplicación principal, consulte aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en 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": "Resultado de MTProto · `Vector<BotPreviewMedia>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[BotPreviewMedia](https://core.telegram.org/type/BotPreviewMedia.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "BotPreviewMedia", "oneOf": [{"$ref": "#/components/schemas/botPreviewMedia"}], "description": "Tipo de TL: BotPreviewMedia."}, "x-tl-type": "Vector<BotPreviewMedia>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot propietario de la mini aplicación principal."}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot propietario de la mini aplicación principal. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2728745293"}}, "/catalog/bots.updateUserEmojiStatus": {"post": {"operationId": "bots.updateUserEmojiStatus", "tags": ["robots"], "summary": "Cambiar el estado de emoji de un usuario (invocado por bots, consulte aquí » para obtener más información sobre el flujo completo)", "description": "Cambiar el estado de emoji de un usuario (invocado por bots, consulte [aquí »](https://core.telegram.org/api/emoji-status.md#setting-an-emoji-status-from-a-bot) para obtener más información sobre el flujo completo)\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Estado de los emojis](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 403 · `USER_PERMISSION_DENIED` — El usuario no ha otorgado o revocado el acceso del bot para cambiar su estado de emoji usando [bots.toggleUserEmojiStatusPermission](https://core.telegram.org/method/bots.toggleUserEmojiStatusPermission.md)."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El usuario cuyo estado emoji debe cambiarse"}, "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": "El estado de los emojis"}}, "additionalProperties": false, "required": ["user_id", "emoji_status"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | El usuario cuyo estado emoji debe cambiarse |\n| `emoji_status` | `EmojiStatus` | si | El estado de los emojis |"}, "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": ["robots"], "summary": "Permitir o evitar que un bot cambie nuestro estado de emoji »", "description": "Permitir o evitar que un bot [cambie el estado de nuestro emoji» ](https://core.telegram.org/api/emoji-status.md#setting-an-emoji-status-from-a-bot)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estado de los emojis](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el robot"}, "enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Si permitir o evitar que el bot cambie nuestro estado de emoji"}}, "additionalProperties": false, "required": ["bot", "enabled"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | el robot |\n| `enabled` | `Bool` | si | Si permitir o evitar que el bot cambie nuestro estado de emoji |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "115237778"}}, "/catalog/bots.checkDownloadFileParams": {"post": {"operationId": "bots.checkDownloadFileParams", "tags": ["robots"], "summary": "Compruebe si una mini aplicación puede solicitar la descarga de un archivo específico: se llama cuando se manejan eventos web\\_app\\_request\\_file\\_download »", "description": "Compruebe si una [mini aplicación](https://core.telegram.org/api/bots/webapps.md) puede solicitar la descarga de un archivo específico: se llama cuando se manejan [web\\_app\\_request\\_file\\_download eventos »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [eventos web](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot propietario de la [miniaplicación](https://core.telegram.org/api/bots/webapps.md) que solicitó la descarga"}, "file_name": {"type": "string", "x-tl-type": "string", "description": "El `filename` del [web_app_request_file_download evento »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)"}, "url": {"type": "string", "x-tl-type": "string", "description": "El `url` del [web_app_request_file_download evento »](https://core.telegram.org/api/web-events.md#web-app-request-file-download)"}}, "additionalProperties": false, "required": ["bot", "file_name", "url"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot propietario de la [miniaplicación](https://core.telegram.org/api/bots/webapps.md) que solicitó la descarga |\n| `file_name` | `string` | si | El `filename` del [web_app_request_file_download evento »](https://core.telegram.org/api/web-events.md#web-app-request-file-download) |\n| `url` | `string` | si | El `url` del [web_app_request_file_download evento »](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": ["robots"], "summary": "Obtenga una lista de bots propiedad del usuario actual", "description": "Obtenga una lista de bots propiedad del usuario actual", "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": "Resultado de MTProto · `Vector<User>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Usuario](https://core.telegram.org/type/User.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/bots.getAdminedBots"}, "x-browser-schema-id": "2960203139"}}, "/catalog/bots.updateStarRefProgram": {"post": {"operationId": "bots.updateStarRefProgram", "tags": ["robots"], "summary": "Crear, editar o eliminar el programa de afiliados de un bot de nuestra propiedad", "description": "Crear, editar o eliminar el [programa de afiliados](https://core.telegram.org/api/bots/referrals.md) de un bot de nuestra propiedad\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Programas de afiliados](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": "Resultado de MTProto · `StarRefProgram`.\n\n[ProgramaRefEstrella](https://core.telegram.org/type/StarRefProgram.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StarRefProgram", "oneOf": [{"$ref": "#/components/schemas/starRefProgram"}], "description": "Tipo TL: StarRefProgram."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `STARREF_AWAITING_END` — El programa de referencia anterior finalizó hace menos de 24 horas: se pueden realizar más cambios después de la fecha especificada en userFull.starref_program.end_date.\n- 400 · `STARREF_PERMILLE_INVALID`: el commission_permille especificado no es válido: los valores mínimo y máximo para este parámetro están contenidos en los parámetros de configuración del cliente [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) y [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille)].\n- 400 · `STARREF_PERMILLE_TOO_LOW`: el commission_permille especificado es demasiado bajo: los valores mínimo y máximo para este parámetro están contenidos en los parámetros de configuración del cliente [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) y [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille)]."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "el robot"}, "commission_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La tasa de comisión por mil: indica la proporción de Telegram Stars recibidas por los afiliados por cada transacción realizada por los usuarios que recomendaron dentro del bot.     Los valores mínimo y máximo para este parámetro están contenidos en los parámetros de configuración del cliente [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) y [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille)].    Puede ser `0` cancelar el programa de afiliados.   Tanto la duración como la comisión sólo podrán aumentarse después de la creación del programa: para reducirlos, primero será necesario cancelar el programa y crear uno nuevo."}, "duration_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int", "description": "Indica la duración del programa de afiliados; si no se establece, no hay fecha de vencimiento."}}, "additionalProperties": false, "required": ["bot", "commission_permille"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | el robot |\n| `commission_permille` | `int` | si | La tasa de comisión por mil: indica la proporción de Telegram Stars recibidas por los afiliados por cada transacción realizada por los usuarios que recomendaron dentro del bot.     Los valores mínimo y máximo para este parámetro están contenidos en los parámetros de configuración del cliente [starref_min_commission_permille](https://core.telegram.org/api/config.md#starref-min-commission-permille) y [starref_max_commission_permille](https://core.telegram.org/api/config.md#starref-max-commission-permille)].    Puede ser `0` cancelar el programa de afiliados.   Tanto la duración como la comisión sólo podrán aumentarse después de la creación del programa: para reducirlos, primero será necesario cancelar el programa y crear uno nuevo. |\n| `duration_months` | `int` | No | Indica la duración del programa de afiliados; si no se establece, no hay fecha de vencimiento. |"}, "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": ["robots"], "summary": "Verificar un usuario o chatear en nombre de una organización».", "description": "Verificar un usuario o chatear [en nombre de una organización» ](https://core.telegram.org/api/bots/verification.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Verificación de terceros](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 403 · `BOT_VERIFIER_FORBIDDEN` — Este bot no puede asignar [iconos de verificación](https://core.telegram.org/api/bots/verification.md).\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, agrega la verificación; de lo contrario, se elimina la verificación."}, "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": "**No** se debe establecer si lo invoca un bot, **debe** establecerse en el ID de un bot de propiedad si lo invoca un usuario.", "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": "El par a verificar"}, "custom_description": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Descripción personalizada para la verificación, el límite de longitud UTF-8 para este campo está contenido en [bot_verification_description_length_limit »](https://core.telegram.org/api/config.md#bot-verification-description-length-limit).  Si no se establece, `Was verified by organization \"organization_name\"` se utilizará como descripción.", "x-tl-flag": "flags.2?TextWithEntities"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `enabled` | `true` | No | Si está configurado, agrega la verificación; de lo contrario, se elimina la verificación. |\n| `bot` | `InputUser` | No | **No** se debe establecer si lo invoca un bot, **debe** establecerse en el ID de un bot de propiedad si lo invoca un usuario. |\n| `peer` | `InputPeer` | si | El par a verificar |\n| `custom_description` | `TextWithEntities` | No | Descripción personalizada para la verificación, el límite de longitud UTF-8 para este campo está contenido en [bot_verification_description_length_limit »](https://core.telegram.org/api/config.md#bot-verification-description-length-limit).  Si no se establece, `Was verified by organization \"organization_name\"` se utilizará como descripción. |"}, "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": ["robots"], "summary": "Obtenga una lista de bots con temas similares, seleccionados en función de las similitudes en sus bases de suscriptores; consulte aquí » para obtener más información.", "description": "Obtenga una lista de bots con temas similares, seleccionados en función de las similitudes en sus bases de suscriptores; consulte [aquí »](https://core.telegram.org/api/recommend.md) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales y bots similares](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": "Resultado de MTProto · `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": "Escriba TL: users.Users."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El método devolverá bots relacionados con el bot pasado."}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El método devolverá bots relacionados con el bot pasado. |"}, "x-telegram-rpc-errors": ["BOT_INVALID"], "x-browser-schema-id": "2713126933"}}, "/catalog/bots.checkUsername": {"post": {"operationId": "bots.checkUsername", "tags": ["robots"], "summary": "Compruebe si un nombre de usuario está disponible y es válido para su uso al crear un bot administrado ».", "description": "Compruebe si un nombre de usuario está disponible y es válido para su uso al [crear un bot administrado »](https://core.telegram.org/api/bots/managed-bots.md#creating-a-managed-bot).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Bots administrados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USERNAME_OCCUPIED` — El nombre de usuario proporcionado ya está ocupado.\n- 400 · `USERNAME_SUFFIX_MISSING`: falta el sufijo `bot` requerido en el nombre de usuario pasado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Valor del tipo TL `true`."}, "username": {"type": "string", "x-tl-type": "string", "description": "Nombre de usuario para verificar; solo se permiten letras, dígitos y guiones bajos, deben terminar en `bot` y el nombre de usuario completo debe tener entre 5 y 32 caracteres"}}, "additionalProperties": false, "required": ["username"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `additional` | `true` | No | Valor del tipo TL `true`. |\n| `username` | `string` | si | Nombre de usuario para verificar; solo se permiten letras, dígitos y guiones bajos, deben terminar en `bot` y el nombre de usuario completo debe tener entre 5 y 32 caracteres |"}, "x-telegram-rpc-errors": ["USERNAME_INVALID", "USERNAME_OCCUPIED", "USERNAME_SUFFIX_MISSING"], "x-browser-schema-id": "3819719777"}}, "/catalog/bots.createBot": {"post": {"operationId": "bots.createBot", "tags": ["robots"], "summary": "Cree un bot administrado » propiedad del usuario actual y controlado por el bot administrador especificado.", "description": "Cree un [bot administrado »](https://core.telegram.org/api/bots/managed-bots.md#creating-a-managed-bot) propiedad del usuario actual y controlado por el bot administrador especificado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Bots administrados](https://core.telegram.org/api/bots/managed-bots.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `User`.\n\n[Usuario](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": "Tipo TL: Usuario."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_CREATE_LIMIT_EXCEEDED`: el usuario actual ya posee el número máximo permitido de bots propios, según lo especificado en [`bots_create_limit_default` »](https://core.telegram.org/api/config.md#bots-create-limit-default) y [`bots_create_limit_premium` »](https://core.telegram.org/api/config.md#bots-create-limit-premium); Si el usuario actual no tiene Telegram Premium, actualizar a Premium le permitirá crear más bots.\n- 400 · `MANAGER_INVALID`: el bot administrador especificado no es válido.\n- 400 · `MANAGER_PERMISSION_MISSING`: el bot administrador especificado no tiene el indicador [user](https://core.telegram.org/constructor/user.md).`bot_can_manage_bots` establecido.\n- 400 · `NAME_INVALID`: el nombre del bot especificado no es válido.\n- 400 · `USERNAME_INVALID` — El nombre de usuario proporcionado no es válido.\n- 400 · `USERNAME_OCCUPIED` — El nombre de usuario proporcionado ya está ocupado.\n- 400 · `USERNAME_SUFFIX_MISSING`: falta el sufijo `bot` requerido en el nombre de usuario pasado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Establecer solo si el mensaje de creación se abrió desde un [enlace profundo de solicitud de creación de bot administrado »](https://core.telegram.org/api/links.md#managed-bot-creation-request-links)"}, "name": {"type": "string", "x-tl-type": "string", "description": "Nombre para mostrar del bot, de 1 a 64 caracteres"}, "username": {"type": "string", "x-tl-type": "string", "description": "Nombre de usuario del bot, validado por [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": "El bot administrador que controlará el bot creado; debe tener el indicador [user](https://core.telegram.org/constructor/user.md).`bot_can_manage_bots` configurado"}}, "additionalProperties": false, "required": ["name", "username", "manager_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `via_deeplink` | `true` | No | Establecer solo si el mensaje de creación se abrió desde un [enlace profundo de solicitud de creación de bot administrado »](https://core.telegram.org/api/links.md#managed-bot-creation-request-links) |\n| `name` | `string` | si | Nombre para mostrar del bot, de 1 a 64 caracteres |\n| `username` | `string` | si | Nombre de usuario del bot, validado por [bots.checkUsername](https://core.telegram.org/method/bots.checkUsername.md) |\n| `manager_id` | `InputUser` | si | El bot administrador que controlará el bot creado; debe tener el indicador [user](https://core.telegram.org/constructor/user.md).`bot_can_manage_bots` configurado |"}, "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": ["robots"], "summary": "Exportar el token de bot de un bot administrado »; Solo puede ser llamado por el bot administrador.", "description": "Exportar el token de bot de un [bot administrado »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot); Solo puede ser llamado por el bot administrador.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Bots administrados](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": "Resultado de MTProto · `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": "Tipo TL: bots.ExportedBotToken."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot administrado para exportar el token"}, "revoke": {"type": "boolean", "x-tl-type": "Bool", "description": "Si [boolTrue](https://core.telegram.org/constructor/boolTrue.md), revoca el token actual y genera uno nuevo"}}, "additionalProperties": false, "required": ["bot", "revoke"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot administrado para exportar el token |\n| `revoke` | `Bool` | si | Si [boolTrue](https://core.telegram.org/constructor/boolTrue.md), revoca el token actual y genera uno nuevo |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "3171785195"}}, "/catalog/bots.requestWebViewButton": {"post": {"operationId": "bots.requestWebViewButton", "tags": ["robots"], "summary": "Los bots pueden usar este método para preparar un botón de solicitud de pares para una mini aplicación; consulte aquí » para obtener más información.", "description": "Los bots pueden usar este método para preparar un botón de solicitud de pares para una [Mini aplicación](https://core.telegram.org/api/bots/webapps.md); consulte [aquí »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Botones de robots](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": "Resultado de MTProto · `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": "Tipo TL: bots.RequestedButton."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUTTON_INVALID`: el botón especificado no es válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El usuario que utilizará el botón preparado en la Mini App"}, "button": {"type": "object", "x-tl-type": "KeyboardButton", "oneOf": [{"$ref": "#/components/schemas/keyboardButton"}], "description": "El botón para preparar, un [inputKeyboardButtonRequestPeer](https://core.telegram.org/constructor/inputKeyboardButtonRequestPeer.md) de cualquier [RequestPeerType](https://core.telegram.org/type/RequestPeerType.md)"}}, "additionalProperties": false, "required": ["user_id", "button"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | El usuario que utilizará el botón preparado en la Mini App |\n| `button` | `KeyboardButton` | si | El botón para preparar, un [inputKeyboardButtonRequestPeer](https://core.telegram.org/constructor/inputKeyboardButtonRequestPeer.md) de cualquier [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": ["robots"], "summary": "Obtenga el botón de solicitud de pares, un bot preparado para una mini aplicación con bots.requestWebViewButton, invocado cuando la mini aplicación emite un evento `web_app_request_chat`, consulte aquí » para obtener más información.", "description": "Obtenga el botón de solicitud de pares que un bot preparó para una [Mini App](https://core.telegram.org/api/bots/webapps.md) con [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md), invocado cuando la Mini App emite un evento [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat); consulte [aquí»](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [eventos web](https://core.telegram.org/api/web-events.md)\n- [Mini aplicaciones en Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Botones de robots](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": "Resultado de MTProto · `KeyboardButton`.\n\n[Botón del teclado](https://core.telegram.org/type/KeyboardButton.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "KeyboardButton", "oneOf": [{"$ref": "#/components/schemas/keyboardButton"}], "description": "Tipo TL: Botón de teclado."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_ID_INVALID`: el ID del bot especificado no es válido.\n- 400 · `WEBAPP_REQ_ID_INVALID`: el webapp_req_id especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot propietario de la Mini App"}, "webapp_req_id": {"type": "string", "x-tl-type": "string", "description": "El ID de solicitud de la mini aplicación, tomado del `req_id` del evento [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat)"}}, "additionalProperties": false, "required": ["bot", "webapp_req_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot propietario de la Mini App |\n| `webapp_req_id` | `string` | si | El ID de solicitud de la mini aplicación, tomado del `req_id` del evento [`web_app_request_chat`](https://core.telegram.org/api/web-events.md#web-app-request-chat) |"}, "x-telegram-rpc-errors": ["BOT_ID_INVALID", "WEBAPP_REQ_ID_INVALID"], "x-browser-schema-id": "3206920179"}}, "/catalog/bots.getAccessSettings": {"post": {"operationId": "bots.getAccessSettings", "tags": ["robots"], "summary": "Obtener la configuración de restricción de acceso » de un bot administrado; Solo puede ser llamado por el bot administrador.", "description": "Obtenga la [configuración de restricción de acceso »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot) de un bot administrado; Solo puede ser llamado por el bot administrador.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Bots administrados](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": "Resultado de MTProto · `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": "Tipo TL: bots.AccessSettings."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El bot administrado cuya configuración de acceso se recuperará"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | El bot administrado cuya configuración de acceso se recuperará |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "557339555"}}, "/catalog/bots.editAccessSettings": {"post": {"operationId": "bots.editAccessSettings", "tags": ["robots"], "summary": "Editar la configuración de restricción de acceso » de un bot administrado; Solo puede ser llamado por el bot administrador.", "description": "Edite la [configuración de restricción de acceso »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot) de un bot administrado; Solo puede ser llamado por el bot administrador.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Bots administrados](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOT_INVALID` — Este no es un bot válido.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, restringe el acceso al bot administrado solo al propietario y a los usuarios en `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": "El bot administrado cuya configuración de acceso editar"}, "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.1?Vector<InputUser>", "description": "Los usuarios adicionales (máximo 10, excluyendo al propietario) pueden acceder al bot administrado cuando se configura `restricted`"}}, "additionalProperties": false, "required": ["bot"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `restricted` | `true` | No | Si está configurado, restringe el acceso al bot administrado solo al propietario y a los usuarios en `add_users` |\n| `bot` | `InputUser` | si | El bot administrado cuya configuración de acceso editar |\n| `add_users` | `Vector<InputUser>` | No | Los usuarios adicionales (máximo 10, excluyendo al propietario) pueden acceder al bot administrado cuando se configura `restricted` |"}, "x-telegram-rpc-errors": ["BOT_INVALID", "USER_BOT_REQUIRED"], "x-browser-schema-id": "830553304"}}, "/catalog/bots.setJoinChatResults": {"post": {"operationId": "bots.setJoinChatResults", "tags": ["robots"], "summary": "bots.setJoinChatResults", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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 bits de velocidad en десятичной записи.", "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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `query_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `result` | `JoinChatBotResult` | si | Тип TL: JoinChatBotResult. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3877259280"}}, "/catalog/bots.addUsername": {"post": {"operationId": "bots.addUsername", "tags": ["robots"], "summary": "bots.addUsername", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: Usuario de entrada."}, "username": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["bot", "username"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `username` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "889307274"}}, "/catalog/bots.removeUsername": {"post": {"operationId": "bots.removeUsername", "tags": ["robots"], "summary": "bots.removeUsername", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: Usuario de entrada."}, "username": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["bot", "username"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `username` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3338933373"}}, "/catalog/bots.setBotSettings": {"post": {"operationId": "bots.setBotSettings", "tags": ["robots"], "summary": "bots.setBotSettings", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `User`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "User", "oneOf": [{"$ref": "#/components/schemas/userEmpty"}, {"$ref": "#/components/schemas/user"}], "description": "Tipo TL: Usuario."}}}}}, "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": "Tipo de TL: Usuario de entrada.", "x-tl-flag": "flags.0?InputUser"}, "inline_mode": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.1?Bool", "description": "Valor del tipo TL `Bool`."}, "inline_placeholder": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor del tipo TL `string`."}, "inline_geo": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Valor del tipo TL `Bool`."}, "inline_feedback": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.4?int", "description": "Valor del tipo TL `int`."}, "nochats": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.5?Bool", "description": "Valor del tipo TL `Bool`."}, "chat_history": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.6?Bool", "description": "Valor del tipo TL `Bool`."}, "business": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.7?Bool", "description": "Valor del tipo TL `Bool`."}, "can_manage_bots": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.8?Bool", "description": "Valor del tipo TL `Bool`."}, "guestchat": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.9?Bool", "description": "Valor del tipo TL `Bool`."}, "guard": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.10?Bool", "description": "Valor del tipo TL `Bool`."}, "forum_view": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.11?Bool", "description": "Valor del tipo TL `Bool`."}, "forum_can_manage_topics": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.12?Bool", "description": "Valor del tipo TL `Bool`."}, "forum_sidebar": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.13?Bool", "description": "Valor del tipo TL `Bool`."}, "bot_to_bot_communication_mode": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.14?Bool", "description": "Valor del tipo TL `Bool`."}, "callback_mode": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.15?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | No | Tipo de TL: Usuario de entrada. |\n| `inline_mode` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `inline_placeholder` | `string` | No | Valor del tipo TL `string`. |\n| `inline_geo` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `inline_feedback` | `int` | No | Valor del tipo TL `int`. |\n| `nochats` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `chat_history` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `business` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `can_manage_bots` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `guestchat` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `guard` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `forum_view` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `forum_can_manage_topics` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `forum_sidebar` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `bot_to_bot_communication_mode` | `Bool` | No | Valor del tipo TL `Bool`. |\n| `callback_mode` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2093007050"}}, "/catalog/bots.getProfileWidgetQueryAnswer": {"post": {"operationId": "bots.getProfileWidgetQueryAnswer", "tags": ["robots"], "summary": "bots.getProfileWidgetQueryAnswer", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Tipo de TL: Usuario de entrada."}, "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": "Valor del tipo TL `bytes`."}}, "additionalProperties": false, "required": ["bot", "query_type", "data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `query_type` | `WidgetQueryType` | si | Тип TL: WidgetQueryType. |\n| `data` | `bytes` | si | Valor del tipo TL `bytes`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2239004788"}}, "/catalog/bots.editProfileWidgetData": {"post": {"operationId": "bots.editProfileWidgetData", "tags": ["robots"], "summary": "bots.editProfileWidgetData", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `int`."}, "public_data": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["public_data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `cache_time` | `int` | No | Valor del tipo TL `int`. |\n| `public_data` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "905942386"}}, "/catalog/bots.editProfileWidgetChatData": {"post": {"operationId": "bots.editProfileWidgetChatData", "tags": ["robots"], "summary": "bots.editProfileWidgetChatData", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: Usuario de entrada."}, "chat_data": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["user_id", "chat_data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `chat_data` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "4240581465"}}, "/catalog/bots.getProfileWidgetPublicData": {"post": {"operationId": "bots.getProfileWidgetPublicData", "tags": ["robots"], "summary": "bots.getProfileWidgetPublicData", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Tipo de TL: Usuario de entrada."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["bot", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `bot` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `hash` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1923143539"}}, "/catalog/payments.getPaymentForm": {"post": {"operationId": "payments.getPaymentForm", "tags": ["Pagos"], "summary": "Obtener un formulario de pago", "description": "Obtener un formulario de pago\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Mini aplicaciones en Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negocio de telegramas](https://core.telegram.org/api/business.md)\n- [Manejo de errores](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": "Resultado de MTProto · `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": "Escribe TL: payments.PaymentForm."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `API_GIFT_RESTRICTED_UPDATE_APP`: actualiza la aplicación para acceder al regalo API.\n- 400 · `BOOST_PEER_INVALID`: el `boost_peer` especificado no es válido.\n- 403 · `BOT_ACCESS_FORBIDDEN` — El método especificado *puede* usarse a través de una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algunas operaciones, pero la consulta especificada intentó una operación que no está permitida a través de una conexión comercial.\n- 400 · `BOT_INVOICE_INVALID` — La factura especificada no es válida.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `GIFT_MONTHS_INVALID`: el valor pasado en invoice.inputInvoicePremiumGiftStars.meses no es válido.\n- 400 · `GIFT_STARS_INVALID` — La cantidad especificada de estrellas no es válida.\n- 400 · `INVOICE_INVALID` — La factura especificada no es válida.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `MESSAGE_TOO_LONG`: el mensaje proporcionado es demasiado largo.\n- 400 · `MONTH_INVALID`: el número de meses especificado en inputInvoicePremiumGiftStars.months no es válido.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `NO_PAYMENT_NEEDED` — La actualización/transferencia del regalo especificado ya se pagó o es gratuita.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PREMIUM_PURPOSE_INVALID`: el InputStorePaymentPurpose especificado no es válido.\n- 400 · `SLUG_INVALID` — El slug de factura especificado no es válido.\n- 400 · `STARGIFT_ALREADY_CONVERTED` — El regalo de estrellas especificado ya se convirtió en estrellas.\n- 400 · `STARGIFT_ALREADY_REFUNDED` — El regalo de estrella especificado ya fue reembolsado.\n- 400 · `STARGIFT_ALREADY_UPGRADED`: el obsequio especificado ya se actualizó a obsequio coleccionable.\n- 406 · `STARGIFT_EXPORT_IN_PROGRESS`: hay una exportación de regalo en curso; se emitirá una descripción detallada y localizada del error a través de una [updateServiceNotification como se especifica aquí »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 400 · `STARGIFT_INVALID` — El regalo pasado no es válido.\n- 400 · `STARGIFT_MESSAGE_INVALID`: el inputInvoiceStarGift.message especificado no es válido.\n- 400 · `STARGIFT_NOT_FOUND` — No se encontró el regalo especificado.\n- 400 · `STARGIFT_NOT_OWNER` — No eres el propietario del regalo que intentas transferir.\n- 400 · `STARGIFT_NOT_UNIQUE` — No puedes transferir un regalo no cobrable.\n- 400 · `STARGIFT_OWNER_INVALID` — No puedes transferir ni vender un regalo propiedad de otro usuario.\n- 400 · `STARGIFT_PEER_INVALID`: el inputSavedStarGiftChat.peer especificado no es válido.\n- 400 · `STARGIFT_RESELL_CURRENCY_NOT_ALLOWED`: no puedes comprar el regalo usando la moneda especificada (i.e. intentas pagar en estrellas por TON regalos).\n- 400 · `STARGIFT_RESELL_TOO_EARLY_%d` — Podrás revender este regalo en %d segundos.\n- 400 · `STARGIFT_SLUG_INVALID` — El slug de regalo especificado no es válido.\n- 400 · `STARGIFT_TRANSFER_TOO_EARLY_%d` — Aún no puedes transferir este regalo, espera %d segundos.\n- 400 · `STARGIFT_UPGRADE_UNAVAILABLE`: un regalo recibido solo se puede actualizar a un regalo coleccionable si la marca [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`can_upgrade` está configurada.\n- 406 · `STARS_FORM_AMOUNT_MISMATCH` — El monto del formulario ha cambiado, obtenga el nuevo formulario usando [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm.md) y reinicie el proceso.\n- 400 · `TO_ID_INVALID`: el `to_id` especificado del inputInvoiceStarGiftResale o inputInvoiceStarGiftTransfer pasado no es válido.\n- 400 · `UNTIL_DATE_INVALID` — Inválido hasta la fecha proporcionada.\n- 403 · `USER_DISALLOWED_STARGIFTS` — El usuario destinatario ha configurado restricciones sobre qué categorías de obsequios estrella está dispuesto a aceptar (únicos, limitados o ilimitados): el remitente intentó obtener un formulario de pago para un obsequio que cae en una categoría que el destinatario ha bloqueado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "factura"}, "theme_params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "[Parámetros del tema »](https://core.telegram.org/api/bots/webapps.md#theme-parameters)", "x-tl-flag": "flags.0?DataJSON"}}, "additionalProperties": false, "required": ["invoice"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `invoice` | `InputInvoice` | si | factura |\n| `theme_params` | `DataJSON` | No | [Parámetros del tema »](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": ["Pagos"], "summary": "Obtener recibo de pago", "description": "Obtener recibo de pago\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: payments.PaymentReceipt."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par donde se envió el recibo de pago"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje de recibo"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par donde se envió el recibo de pago |\n| `msg_id` | `int` | si | ID de mensaje de recibo |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID"], "x-browser-schema-id": "611897804"}}, "/catalog/payments.validateRequestedInfo": {"post": {"operationId": "payments.validateRequestedInfo", "tags": ["Pagos"], "summary": "Enviar la información del pedido solicitada para su validación", "description": "Enviar la información del pedido solicitada para su validación\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: payments.ValidatedRequestedInfo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Guarde la información del pedido para reutilizarla en pedidos futuros"}, "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": "factura"}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "oneOf": [{"$ref": "#/components/schemas/paymentRequestedInfo"}], "description": "Información de pedido solicitada"}}, "additionalProperties": false, "required": ["invoice", "info"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `save` | `true` | No | Guarde la información del pedido para reutilizarla en pedidos futuros |\n| `invoice` | `InputInvoice` | si | factura |\n| `info` | `PaymentRequestedInfo` | si | Información de pedido solicitada |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "3066622251"}}, "/catalog/payments.sendPaymentForm": {"post": {"operationId": "payments.sendPaymentForm", "tags": ["Pagos"], "summary": "Enviar formulario de pago compilado", "description": "Enviar formulario de pago compilado\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escriba TL: payments.PaymentResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FORM_UNSUPPORTED` — Actualice su cliente.\n- 400 · `INVOICE_INVALID` — La factura especificada no es válida.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PAYMENT_CREDENTIALS_INVALID`: las credenciales de pago especificadas no son válidas.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `TMP_PASSWORD_INVALID` — El tmp_password pasado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID del formulario", "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": "factura"}, "requested_info_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "ID de guardado y validado [información del pedido](https://core.telegram.org/constructor/payments.validatedRequestedInfo.md)"}, "shipping_option_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "ID de la opción de envío elegida"}, "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": "Credenciales de pago"}, "tip_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Consejo, en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-tl-flag": "flags.2?long"}}, "additionalProperties": false, "required": ["form_id", "invoice", "credentials"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `form_id` | `long` | si | ID del formulario |\n| `invoice` | `InputInvoice` | si | factura |\n| `requested_info_id` | `string` | No | ID de guardado y validado [información del pedido](https://core.telegram.org/constructor/payments.validatedRequestedInfo.md) |\n| `shipping_option_id` | `string` | No | ID de la opción de envío elegida |\n| `credentials` | `InputPaymentCredentials` | si | Credenciales de pago |\n| `tip_amount` | `long` | No | Consejo, en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas). |"}, "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": ["Pagos"], "summary": "Obtener información de pago guardada", "description": "Obtener información de pago guardada", "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": "Resultado de MTProto · `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": "Escribe TL: payments.SavedInfo."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/payments.getSavedInfo"}, "x-browser-schema-id": "578650699"}}, "/catalog/payments.clearSavedInfo": {"post": {"operationId": "payments.clearSavedInfo", "tags": ["Pagos"], "summary": "Borrar información de pago guardada", "description": "Borrar información de pago guardada", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Eliminar las credenciales de pago guardadas"}, "info": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Borrar la configuración del último pedido guardada por el usuario"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `credentials` | `true` | No | Eliminar las credenciales de pago guardadas |\n| `info` | `true` | No | Borrar la configuración del último pedido guardada por el usuario |"}, "x-browser-schema-id": "3627905217"}}, "/catalog/payments.getBankCardData": {"post": {"operationId": "payments.getBankCardData", "tags": ["Pagos"], "summary": "Obtener información sobre una tarjeta de crédito", "description": "Obtener información sobre una tarjeta de crédito\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: payments.BankCardData."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BANK_CARD_NUMBER_INVALID` — El número de tarjeta especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "número de tarjeta de crédito"}}, "additionalProperties": false, "required": ["number"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `number` | `string` | si | número de tarjeta de crédito |"}, "x-telegram-rpc-errors": ["BANK_CARD_NUMBER_INVALID"], "x-browser-schema-id": "779736953"}}, "/catalog/payments.exportInvoice": {"post": {"operationId": "payments.exportInvoice", "tags": ["Pagos"], "summary": "Generar un enlace profundo de factura", "description": "Generar un [enlace profundo de factura](https://core.telegram.org/api/links.md#invoice-links)\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Escriba TL: payments.ExportedInvoice."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `CURRENCY_TOTAL_AMOUNT_INVALID` — El importe total de todos los precios no es válido.\n- 400 · `INVOICE_PAYLOAD_INVALID`: la carga útil de la factura especificada no es válida.\n- 400 · `MEDIA_INVALID` — Medios no válidos.\n- 400 · `PAYMENT_PROVIDER_INVALID`: el proveedor de pago especificado no es válido.\n- 400 · `STARS_INVOICE_INVALID` — La factura de Telegram Star especificada no es válida.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot.\n- 400 · `WEBDOCUMENT_MIME_INVALID`: se proporcionó un tipo mime de documento web no válido.\n- 400 · `WEBDOCUMENT_URL_EMPTY` — El documento web pasado URL está vacío."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "factura"}}, "additionalProperties": false, "required": ["invoice_media"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `invoice_media` | `InputMedia` | si | factura |"}, "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": ["Pagos"], "summary": "Informa al servidor sobre una compra realizada a través de la App Store: sólo para aplicaciones oficiales.", "description": "Informa al servidor sobre una compra realizada a través de la App Store: sólo para aplicaciones oficiales.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `INPUT_PURPOSE_INVALID`: el propósito de pago especificado no es válido.\n- 400 · `RECEIPT_EMPTY` — El recibo especificado está vacío."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Recibo"}, "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": "Propósito del pago"}}, "additionalProperties": false, "required": ["receipt", "purpose"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `receipt` | `bytes` | si | Recibo |\n| `purpose` | `InputStorePaymentPurpose` | si | Propósito del pago |"}, "x-telegram-rpc-errors": ["INPUT_PURPOSE_INVALID", "RECEIPT_EMPTY"], "x-browser-schema-id": "2163045501"}}, "/catalog/payments.assignPlayMarketTransaction": {"post": {"operationId": "payments.assignPlayMarketTransaction", "tags": ["Pagos"], "summary": "Informa al servidor sobre una compra realizada a través de Play Store: solo para aplicaciones oficiales.", "description": "Informa al servidor sobre una compra realizada a través de Play Store: solo para aplicaciones oficiales.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `DATA_JSON_INVALID` — Los datos JSON proporcionados no son válidos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Recibo"}, "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": "Propósito del pago"}}, "additionalProperties": false, "required": ["receipt", "purpose"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `receipt` | `DataJSON` | si | Recibo |\n| `purpose` | `InputStorePaymentPurpose` | si | Propósito del pago |"}, "x-telegram-rpc-errors": ["DATA_JSON_INVALID"], "x-browser-schema-id": "3757920467"}}, "/catalog/payments.getPremiumGiftCodeOptions": {"post": {"operationId": "payments.getPremiumGiftCodeOptions", "tags": ["Pagos"], "summary": "Obtenga una lista de opciones de obsequio/código de regalo de Telegram Premium.", "description": "Obtenga una lista de opciones de Telegram Premium [sorteo/código de regalo »](https://core.telegram.org/api/giveaways.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Sorteos y regalos](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": "Resultado de MTProto · `Vector<PremiumGiftCodeOption>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Opción de código de regalo premium](https://core.telegram.org/type/PremiumGiftCodeOption.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "PremiumGiftCodeOption", "oneOf": [{"$ref": "#/components/schemas/premiumGiftCodeOption"}], "description": "Tipo de TL: Opción de código de regalo premium."}, "x-tl-type": "Vector<PremiumGiftCodeOption>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El canal que iniciará el sorteo.", "x-tl-flag": "flags.0?InputPeer"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `boost_peer` | `InputPeer` | No | El canal que iniciará el sorteo. |"}, "x-browser-schema-id": "660060756"}}, "/catalog/payments.checkGiftCode": {"post": {"operationId": "payments.checkGiftCode", "tags": ["Pagos"], "summary": "Obtener información sobre un código regalo de Telegram Premium »", "description": "Obtener información sobre un [código regalo Telegram Premium »](https://core.telegram.org/api/giveaways.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Sorteos y regalos](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": "Resultado de MTProto · `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": "Tipo TL: payments.CheckedGiftCode."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GIFT_SLUG_EXPIRED` — El obsequio especificado ha caducado.\n- 400 · `GIFT_SLUG_INVALID` — El slug especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El código de regalo para comprobar"}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | El código de regalo para comprobar |"}, "x-telegram-rpc-errors": ["GIFT_SLUG_EXPIRED", "GIFT_SLUG_INVALID"], "x-browser-schema-id": "2387719361"}}, "/catalog/payments.applyGiftCode": {"post": {"operationId": "payments.applyGiftCode", "tags": ["Pagos"], "summary": "Aplicar un código de regalo de Telegram Premium »", "description": "Aplicar un [código de regalo de Telegram Premium »](https://core.telegram.org/api/giveaways.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Sorteos y regalos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GIFT_SLUG_EXPIRED` — El obsequio especificado ha caducado.\n- 400 · `GIFT_SLUG_INVALID` — El slug especificado no es válido.\n- 420 · `PREMIUM_SUB_ACTIVE_UNTIL_%d` — Ya tienes una suscripción premium activa hasta Unixtime %d."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El código a aplicar"}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | El código a aplicar |"}, "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": ["Pagos"], "summary": "Obtener información sobre un sorteo de Telegram Premium».", "description": "Obtener información sobre un [Sorteo Telegram Premium» ](https://core.telegram.org/api/giveaways.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Sorteos y regalos](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": "Resultado de MTProto · `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": "Tipo TL: payments.GiveawayInfo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par donde se publicó el sorteo."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje del mensaje de servicio [messageActionGiveawayLaunch](https://core.telegram.org/constructor/messageActionGiveawayLaunch.md)"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par donde se publicó el sorteo. |\n| `msg_id` | `int` | si | ID de mensaje del mensaje de servicio [messageActionGiveawayLaunch](https://core.telegram.org/constructor/messageActionGiveawayLaunch.md) |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4095972389"}}, "/catalog/payments.launchPrepaidGiveaway": {"post": {"operationId": "payments.launchPrepaidGiveaway", "tags": ["Pagos"], "summary": "Lanzar un sorteo prepago».", "description": "Lanzar un [sorteo prepago »](https://core.telegram.org/api/giveaways.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Sorteos y regalos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par donde se lanzará el sorteo."}, "giveaway_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El ID del sorteo prepago.", "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": "Parámetros del sorteo"}}, "additionalProperties": false, "required": ["peer", "giveaway_id", "purpose"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par donde se lanzará el sorteo. |\n| `giveaway_id` | `long` | si | El ID del sorteo prepago. |\n| `purpose` | `InputStorePaymentPurpose` | si | Parámetros del sorteo |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1609928480"}}, "/catalog/payments.getStarsTopupOptions": {"post": {"operationId": "payments.getStarsTopupOptions", "tags": ["Pagos"], "summary": "Obtenga una lista de opciones de recarga de Telegram Stars » como constructores de starsTopupOption.", "description": "Obtenga una lista de [opciones de recarga de Telegram Stars »](https://core.telegram.org/api/stars.md#buying-or-gifting-stars) como constructores de [starsTopupOption](https://core.telegram.org/constructor/starsTopupOption.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](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": "Resultado de MTProto · `Vector<StarsTopupOption>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[OpciónEstrellasTopup](https://core.telegram.org/type/StarsTopupOption.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsTopupOption", "oneOf": [{"$ref": "#/components/schemas/starsTopupOption"}], "description": "Tipo de TL: StarsTopupOption."}, "x-tl-type": "Vector<StarsTopupOption>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/payments.getStarsTopupOptions"}, "x-browser-schema-id": "3222194131"}}, "/catalog/payments.getStarsStatus": {"post": {"operationId": "payments.getStarsStatus", "tags": ["Pagos"], "summary": "Obtenga el saldo actual de Telegram Stars de la cuenta actual (con peer=inputPeerSelf), o el saldo de estrellas del bot o canal especificado en `peer`.", "description": "Obtenga el [saldo de Telegram Stars](https://core.telegram.org/api/stars.md) actual de la cuenta actual (con peer=[inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)), o el saldo de estrellas del bot o canal especificado en `peer`.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarsStatus."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `BOT_ACCESS_FORBIDDEN` — El método especificado *puede* usarse a través de una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algunas operaciones, pero la consulta especificada intentó una operación que no está permitida a través de una conexión comercial.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se establece, devuelve el saldo de ingresos por canal/publicidad en nanogramos."}, "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": "Par del cual obtener el saldo."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `ton` | `true` | No | Si se establece, devuelve el saldo de ingresos por canal/publicidad en nanogramos. |\n| `peer` | `InputPeer` | si | Par del cual obtener el saldo. |"}, "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": ["Pagos"], "summary": "Obtenga transacciones de Telegram Stars.", "description": "Obtener [transacciones de Telegram Stars](https://core.telegram.org/api/stars.md#balance-and-transaction-history).\n\nLos indicadores `inbound` y `outbound` son mutuamente excluyentes: si ninguno de los dos está configurado, se recuperan tanto las transacciones entrantes como las salientes.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: payments.StarsStatus."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `SUBSCRIPTION_ID_INVALID`: el subscription_id especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, recupera solo las transacciones entrantes."}, "outbound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si se establece, recupera solo transacciones salientes."}, "ascending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Devolver transacciones en orden ascendente por fecha (en lugar de orden descendente por fecha)."}, "ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Si se establece, devuelve las transacciones de ingresos por canal/publicidad en nanogramos."}, "subscription_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Si está configurado, recupera solo transacciones para la [suscripción a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions) especificada."}, "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": "Obtenga el historial de transacciones del par ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) o un bot de nuestra propiedad)."}, "offset": {"type": "string", "x-tl-type": "string", "description": "[Desplazamiento para paginación, obtenido del `next_offset` devuelto, inicialmente una cadena vacía »](https://core.telegram.org/api/offsets.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `inbound` | `true` | No | Si está configurado, recupera solo las transacciones entrantes. |\n| `outbound` | `true` | No | Si se establece, recupera solo transacciones salientes. |\n| `ascending` | `true` | No | Devolver transacciones en orden ascendente por fecha (en lugar de orden descendente por fecha). |\n| `ton` | `true` | No | Si se establece, devuelve las transacciones de ingresos por canal/publicidad en nanogramos. |\n| `subscription_id` | `string` | No | Si está configurado, recupera solo transacciones para la [suscripción a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions) especificada. |\n| `peer` | `InputPeer` | si | Obtenga el historial de transacciones del par ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) o un bot de nuestra propiedad). |\n| `offset` | `string` | si | [Desplazamiento para paginación, obtenido del `next_offset` devuelto, inicialmente una cadena vacía »](https://core.telegram.org/api/offsets.md). |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Pagos"], "summary": "Realice un pago utilizando Telegram Stars, consulte aquí » para obtener más información.", "description": "Realice un pago utilizando [Telegram Stars, consulte aquí »](https://core.telegram.org/api/stars.md#using-stars) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negocio de telegramas](https://core.telegram.org/api/business.md)\n- [Manejo de errores](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": "Resultado de MTProto · `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": "Escriba TL: payments.PaymentResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 406 · `API_GIFT_RESTRICTED_UPDATE_APP`: actualiza la aplicación para acceder al regalo API.\n- 400 · `BALANCE_TOO_LOW`: la transacción no se puede completar porque el [saldo de Telegram Stars](https://core.telegram.org/api/stars.md) actual es demasiado bajo.\n- 403 · `BOT_ACCESS_FORBIDDEN` — El método especificado *puede* usarse a través de una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algunas operaciones, pero la consulta especificada intentó una operación que no está permitida a través de una conexión comercial.\n- 400 · `BOT_INVOICE_INVALID` — La factura especificada no es válida.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `FORM_EXPIRED` — El formulario se generó hace más de 10 minutos y ha caducado, vuelva a generarlo usando [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm.md) y pase el nuevo `form_id`.\n- 400 · `FORM_ID_EMPTY` — El ID del formulario especificado está vacío.\n- 400 · `FORM_SUBMIT_DUPLICATE` — Ya se envió el mismo formulario de pago.  .\n- 400 · `FORM_UNSUPPORTED` — Actualice su cliente.\n- 400 · `GIFT_STARS_INVALID` — La cantidad especificada de estrellas no es válida.\n- 400 · `MEDIA_ALREADY_PAID` — Ya pagaste por los medios especificados.\n- 400 · `MONTH_INVALID`: el número de meses especificado en inputInvoicePremiumGiftStars.months no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 406 · `PRECHECKOUT_FAILED`: Error en la verificación previa; se emitirá una descripción detallada y localizada del error a través de una [notificación de servicio de actualización como se especifica aquí »](https://core.telegram.org/api/errors.md#406-not-acceptable).\n- 400 · `PURPOSE_INVALID` — El propósito de pago especificado no es válido.\n- 400 · `STARGIFT_ALREADY_UPGRADED`: el obsequio especificado ya se actualizó a obsequio coleccionable.\n- 400 · `STARGIFT_NOT_FOUND` — No se encontró el regalo especificado.\n- 400 · `STARGIFT_OWNER_INVALID` — No puedes transferir ni vender un regalo propiedad de otro usuario.\n- 400 · `STARGIFT_SLUG_INVALID` — El slug de regalo especificado no es válido.\n- 400 · `STARGIFT_USAGE_LIMITED` — El regalo está agotado.\n- 400 · `STARGIFT_USER_USAGE_LIMITED` — Has alcanzado el límite de starGift.limited_per_user, no puedes comprar más regalos de este tipo.\n- 406 · `STARS_FORM_AMOUNT_MISMATCH` — El monto del formulario ha cambiado, obtenga el nuevo formulario usando [payments.getPaymentForm](https://core.telegram.org/method/payments.getPaymentForm.md) y reinicie el proceso.\n- 400 · `TO_ID_INVALID`: el `to_id` especificado del inputInvoiceStarGiftResale o inputInvoiceStarGiftTransfer pasado no es válido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID del formulario de pago", "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": "factura"}}, "additionalProperties": false, "required": ["form_id", "invoice"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `form_id` | `long` | si | ID del formulario de pago |\n| `invoice` | `InputInvoice` | si | factura |"}, "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": ["Pagos"], "summary": "Reembolsar una transacción de Telegram Stars, consulte aquí » para obtener más información.", "description": "Reembolsar una transacción de [Telegram Stars](https://core.telegram.org/api/stars.md); consulte [aquí »](https://core.telegram.org/api/payments.md#6-refunds) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo robots de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Pagos 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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHARGE_ALREADY_REFUNDED` — La transacción ya fue reembolsada.\n- 400 · `CHARGE_ID_EMPTY` — El charge_id especificado está vacío.\n- 400 · `USER_BOT_REQUIRED` — Este método solo puede ser invocado por un bot.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Usuario a reembolsar."}, "charge_id": {"type": "string", "x-tl-type": "string", "description": "Identificación de transacción."}}, "additionalProperties": false, "required": ["user_id", "charge_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | si | Usuario a reembolsar. |\n| `charge_id` | `string` | si | Identificación de transacción. |"}, "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": ["Pagos"], "summary": "Obtenga estadísticas de ingresos de Telegram Star».", "description": "Obtenga [estadísticas de ingresos de Telegram Star» ](https://core.telegram.org/api/stars.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarsRevenueStats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe habilitar el tema oscuro para los colores del gráfico"}, "ton": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si está configurado, obtiene estadísticas de ingresos publicitarios del canal/bot en 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": "Obtenga estadísticas para el bot, canal o para nosotros mismos especificados ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md))."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dark` | `true` | No | Si se debe habilitar el tema oscuro para los colores del gráfico |\n| `ton` | `true` | No | Si está configurado, obtiene estadísticas de ingresos publicitarios del canal/bot en TON. |\n| `peer` | `InputPeer` | si | Obtenga estadísticas para el bot, canal o para nosotros mismos especificados ([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": ["Pagos"], "summary": "Retirar fondos del saldo estrella de un canal o bot».", "description": "Retirar fondos del [saldo estrella »](https://core.telegram.org/api/stars.md#withdrawing-revenue) de un canal o bot.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](https://core.telegram.org/api/srp.md)\n- [Estrellas de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarsRevenueWithdrawalUrl."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID`: el hash de contraseña proporcionado no es válido.\n- 400 · `PASSWORD_MISSING` — Debes [habilitar 2FA](https://core.telegram.org/api/srp.md) antes de ejecutar esta operación.\n- 400 · `PASSWORD_TOO_FRESH_%d` — La contraseña se modificó hace menos de 24 horas, inténtelo nuevamente en %d segundos.\n- 400 · `SESSION_TOO_FRESH_%d`: esta sesión se creó hace menos de 24 horas, inténtelo nuevamente en %d segundos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se establece, retira los ingresos por canal/publicidad en 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": "Canal o bot desde el que retirar fondos."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "La cantidad de estrellas o nanogramos a retirar.", "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": "Contraseña 2FA, consulte [aquí »](https://core.telegram.org/api/srp.md#using-the-2fa-password) para obtener más información."}}, "additionalProperties": false, "required": ["peer", "password"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `ton` | `true` | No | Si se establece, retira los ingresos por canal/publicidad en TON. |\n| `peer` | `InputPeer` | si | Canal o bot desde el que retirar fondos. |\n| `amount` | `long` | No | La cantidad de estrellas o nanogramos a retirar. |\n| `password` | `InputCheckPasswordSRP` | si | Contraseña 2FA, consulte [aquí »](https://core.telegram.org/api/srp.md#using-the-2fa-password) para obtener más información. |"}, "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": ["Pagos"], "summary": "Devuelve un URL para una cuenta de la plataforma Telegram Ad que se puede usar para configurar anuncios para el canal/bot en `peer`, pagado con las Telegram Stars propiedad del `peer` especificado; consulte aquí » para obtener más información.", "description": "Devuelve un URL para una cuenta de la plataforma de anuncios de Telegram que se puede usar para configurar anuncios para el canal/bot en `peer`, pagados con las estrellas de Telegram propiedad del `peer` especificado; consulte [aquí »](https://core.telegram.org/api/stars.md#paying-for-ads) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarsRevenueAdsAccountUrl."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Canal o bot propietario de las estrellas."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Canal o bot propietario de las estrellas. |"}, "x-telegram-rpc-errors": ["CHAT_WRITE_FORBIDDEN", "PEER_ID_INVALID"], "x-browser-schema-id": "3520589765"}}, "/catalog/payments.getStarsTransactionsByID": {"post": {"operationId": "payments.getStarsTransactionsByID", "tags": ["Pagos"], "summary": "Obtenga información sobre transacciones de Telegram Star » utilizando ID de transacción específicos.", "description": "Obtenga información sobre [transacciones de Telegram Star »](https://core.telegram.org/api/stars.md#balance-and-transaction-history) utilizando ID de transacción específicos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarsStatus."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `TRANSACTION_ID_INVALID`: el ID de transacción especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se establece, devuelve las transacciones de ingresos publicitarios del canal/bot en nanogramos."}, "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": "Canal o bot."}, "id": {"type": "array", "items": {"type": "object", "x-tl-type": "InputStarsTransaction", "oneOf": [{"$ref": "#/components/schemas/inputStarsTransaction"}], "description": "Tipo de TL: InputStarsTransaction."}, "x-tl-type": "Vector<InputStarsTransaction>", "description": "Identificadores de transacciones."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `ton` | `true` | No | Si se establece, devuelve las transacciones de ingresos publicitarios del canal/bot en nanogramos. |\n| `peer` | `InputPeer` | si | Canal o bot. |\n| `id` | `Vector<InputStarsTransaction>` | si | Identificadores de transacciones. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "TRANSACTION_ID_INVALID"], "x-browser-schema-id": "768218808"}}, "/catalog/payments.getStarsGiftOptions": {"post": {"operationId": "payments.getStarsGiftOptions", "tags": ["Pagos"], "summary": "Obtenga una lista de opciones de regalo de Telegram Stars » como constructores de starsGiftOption.", "description": "Obtenga una lista de [opciones de regalo de Telegram Stars »](https://core.telegram.org/api/stars.md#buying-or-gifting-stars) como constructores de [starsGiftOption](https://core.telegram.org/constructor/starsGiftOption.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Vector<StarsGiftOption>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[OpciónRegaloEstrellas](https://core.telegram.org/type/StarsGiftOption.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsGiftOption", "oneOf": [{"$ref": "#/components/schemas/starsGiftOption"}], "description": "Tipo TL: EstrellasGiftOption."}, "x-tl-type": "Vector<StarsGiftOption>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `USER_GIFT_UNAVAILABLE` — Los regalos no están disponibles en la región actual ([stars_gifts_enabled](https://core.telegram.org/api/config.md#stars-gifts-enabled) es igual a falso).\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Receptor del regalo (opcional).", "x-tl-flag": "flags.0?InputUser"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_id` | `InputUser` | No | Receptor del regalo (opcional). |"}, "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": ["Pagos"], "summary": "Obtener una lista de suscripciones de Telegram Star activas, vencidas o canceladas».", "description": "Obtenga una lista de [suscripciones a Telegram Star» activas, vencidas o canceladas »](https://core.telegram.org/api/invites.md#paid-invite-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces de invitación](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarsStatus."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si devolver solo las suscripciones vencidas debido a un saldo de Telegram Star excesivamente bajo."}, "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": "Pase siempre [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para paginación, tomado de [payments.starsStatus](https://core.telegram.org/constructor/payments.starsStatus.md).`subscriptions_next_offset`."}}, "additionalProperties": false, "required": ["peer", "offset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `missing_balance` | `true` | No | Si devolver solo las suscripciones vencidas debido a un saldo de Telegram Star excesivamente bajo. |\n| `peer` | `InputPeer` | si | Pase siempre [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |\n| `offset` | `string` | si | Desplazamiento para paginación, tomado de [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": ["Pagos"], "summary": "Activar o desactivar una suscripción de Telegram Star».", "description": "Activar o desactivar una [suscripción Telegram Star» ](https://core.telegram.org/api/invites.md#paid-invite-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces de invitación](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Pase siempre [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)."}, "subscription_id": {"type": "string", "x-tl-type": "string", "description": "ID de la suscripción."}, "canceled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Ya sea para cancelar o reactivar la suscripción."}}, "additionalProperties": false, "required": ["peer", "subscription_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Pase siempre [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |\n| `subscription_id` | `string` | si | ID de la suscripción. |\n| `canceled` | `Bool` | No | Ya sea para cancelar o reactivar la suscripción. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3346466936"}}, "/catalog/payments.fulfillStarsSubscription": {"post": {"operationId": "payments.fulfillStarsSubscription", "tags": ["Pagos"], "summary": "Vuelva a unirse a un canal privado asociado a una suscripción activa de Telegram Star ».", "description": "Vuelva a unirse a un canal privado asociado a una [suscripción a Telegram Star »](https://core.telegram.org/api/invites.md#paid-invite-links) activa.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces de invitación](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Pase siempre [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)."}, "subscription_id": {"type": "string", "x-tl-type": "string", "description": "ID de la suscripción."}}, "additionalProperties": false, "required": ["peer", "subscription_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Pase siempre [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md). |\n| `subscription_id` | `string` | si | ID de la suscripción. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3428576179"}}, "/catalog/payments.getStarsGiveawayOptions": {"post": {"operationId": "payments.getStarsGiveawayOptions", "tags": ["Pagos"], "summary": "Obtenga una lista de opciones de sorteos de estrellas ».", "description": "Obtenga una lista de [opciones de sorteo de estrellas» ](https://core.telegram.org/api/giveaways.md#star-giveaways).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Sorteos y regalos](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": "Resultado de MTProto · `Vector<StarsGiveawayOption>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[OpciónSorteoEstrellas](https://core.telegram.org/type/StarsGiveawayOption.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsGiveawayOption", "oneOf": [{"$ref": "#/components/schemas/starsGiveawayOption"}], "description": "Tipo de TL: Opción Sorteo de Estrellas."}, "x-tl-type": "Vector<StarsGiveawayOption>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/payments.getStarsGiveawayOptions"}, "x-browser-schema-id": "3172924734"}}, "/catalog/payments.getStarGifts": {"post": {"operationId": "payments.getStarGifts", "tags": ["Pagos"], "summary": "Obtenga una lista de regalos disponibles, consulte aquí » para obtener más información.", "description": "Obtenga una lista de [obsequios disponibles, consulte aquí »](https://core.telegram.org/api/gifts.md) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarGifts."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). El hash se puede generar localmente utilizando los `id` de la pegatina devuelta o almacenada [starGift](https://core.telegram.org/constructor/starGift.md)s."}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `int` | si | [Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). El hash se puede generar localmente utilizando los `id` de la pegatina devuelta o almacenada [starGift](https://core.telegram.org/constructor/starGift.md)s. |"}, "x-browser-schema-id": "3293984144"}}, "/catalog/payments.saveStarGift": {"post": {"operationId": "payments.saveStarGift", "tags": ["Pagos"], "summary": "Mostrar o eliminar un regalo recibido o alojado » de nuestro perfil.", "description": "Mostrar o eliminar un [regalo recibido o recibido »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) de nuestro perfil.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `SAVED_ID_EMPTY` — El inputSavedStarGiftChat.saved_id pasado está vacío.\n- 400 · `STARGIFT_OBJECT_INVALID`: el objeto de regalo estrella especificado no es válido.\n- 400 · `STARGIFT_OWNER_INVALID` — No puedes transferir ni vender un regalo propiedad de otro usuario.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, oculta el regalo de nuestro perfil."}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "El regalo para mostrar o quitar. Un [obsequio coleccionable alojado»](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) puede ser utilizado por su anfitrión o propietario."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `unsave` | `true` | No | Si está configurado, oculta el regalo de nuestro perfil. |\n| `stargift` | `InputSavedStarGift` | si | El regalo para mostrar o quitar. Un [obsequio coleccionable alojado»](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) puede ser utilizado por su anfitrión o propietario. |"}, "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": ["Pagos"], "summary": "Convertir un regalo recibido » en Telegram Stars: esto destruirá permanentemente el regalo, convirtiéndolo en starGift.`convert_stars` Telegram Stars, añadido al saldo del usuario.", "description": "Convertir un [regalo recibido»](https://core.telegram.org/api/gifts.md) en Telegram Stars: esto destruirá permanentemente el regalo, convirtiéndolo en [starGift](https://core.telegram.org/constructor/starGift.md).`convert_stars` [Telegram Stars](https://core.telegram.org/api/stars.md), añadido al saldo del usuario.\n\nTenga en cuenta que [starGift](https://core.telegram.org/constructor/starGift.md).`convert_stars` será menor que el precio de compra ([starGift](https://core.telegram.org/constructor/starGift.md).`stars`) del regalo si se compró originalmente con Telegram Stars comprado hace mucho tiempo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](https://core.telegram.org/api/gifts.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `SAVED_ID_EMPTY` — El inputSavedStarGiftChat.saved_id pasado está vacío.\n- 400 · `STARGIFT_PEER_INVALID`: el inputSavedStarGiftChat.peer especificado no es válido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El don de convertir."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | si | El don de convertir. |"}, "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": ["Pagos"], "summary": "Cancelar una suscripción de bot", "description": "Cancelar una [suscripción de bot](https://core.telegram.org/api/subscriptions.md#bot-subscriptions)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Suscripciones estrella](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHARGE_ID_INVALID`: el charge_id especificado no es válido.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si **no** está configurado, deshabilita la renovación automática de las suscripciones y evita que el usuario reactive la suscripción una vez que expire el período actual: una suscripción cancelada por el bot tendrá configurada la bandera [starsSubscription](https://core.telegram.org/constructor/starsSubscription.md).`bot_canceled`.   El bot puede deshacer parcialmente esta operación configurando este indicador: esto permitirá al usuario reactivar la suscripción."}, "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": "El ID del usuario cuya suscripción debe (des)cancelarse"}, "charge_id": {"type": "string", "x-tl-type": "string", "description": "El `provider_charge_id` del mensaje de servicio [messageActionPaymentSentMe](https://core.telegram.org/constructor/messageActionPaymentSentMe.md) enviado al bot para el primer pago de suscripción."}}, "additionalProperties": false, "required": ["user_id", "charge_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `restore` | `true` | No | Si **no** está configurado, deshabilita la renovación automática de las suscripciones y evita que el usuario reactive la suscripción una vez que expire el período actual: una suscripción cancelada por el bot tendrá configurada la bandera [starsSubscription](https://core.telegram.org/constructor/starsSubscription.md).`bot_canceled`.   El bot puede deshacer parcialmente esta operación configurando este indicador: esto permitirá al usuario reactivar la suscripción. |\n| `user_id` | `InputUser` | si | El ID del usuario cuya suscripción debe (des)cancelarse |\n| `charge_id` | `string` | si | El `provider_charge_id` del mensaje de servicio [messageActionPaymentSentMe](https://core.telegram.org/constructor/messageActionPaymentSentMe.md) enviado al bot para el primer pago de suscripción. |"}, "x-telegram-rpc-errors": ["CHARGE_ID_INVALID", "USER_ID_INVALID"], "x-browser-schema-id": "1845102114"}}, "/catalog/payments.getConnectedStarRefBots": {"post": {"operationId": "payments.getConnectedStarRefBots", "tags": ["Pagos"], "summary": "Obtener todas las afiliaciones que hemos creado para un determinado par", "description": "Obtener todas las afiliaciones que hemos creado para un determinado par\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: payments.ConnectedStarRefBots."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par afiliado"}, "offset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.2?int", "description": "Si se establece, devuelve sólo resultados anteriores al tiempo Unixtime especificado."}, "offset_link": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md), tomado del último [connectedBotStarRef](https://core.telegram.org/constructor/connectedBotStarRef.md).`url` devuelto (inicialmente vacío)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par afiliado |\n| `offset_date` | `int` | No | Si se establece, devuelve sólo resultados anteriores al tiempo Unixtime especificado. |\n| `offset_link` | `string` | No | Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md), tomado del último [connectedBotStarRef](https://core.telegram.org/constructor/connectedBotStarRef.md).`url` devuelto (inicialmente vacío) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md) |"}, "x-browser-schema-id": "1483318611"}}, "/catalog/payments.getConnectedStarRefBot": {"post": {"operationId": "payments.getConnectedStarRefBot", "tags": ["Pagos"], "summary": "Obtenga información sobre una afiliación de bot específica »", "description": "Obtenga información sobre una [afiliación de bot »](https://core.telegram.org/api/bots/referrals.md) específica\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Programas de afiliados](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": "Resultado de MTProto · `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": "Tipo TL: payments.ConnectedStarRefBots."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par afiliado"}, "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": "El bot que ofrece el programa de afiliados"}}, "additionalProperties": false, "required": ["peer", "bot"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par afiliado |\n| `bot` | `InputUser` | si | El bot que ofrece el programa de afiliados |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3084490992"}}, "/catalog/payments.getSuggestedStarRefBots": {"post": {"operationId": "payments.getSuggestedStarRefBots", "tags": ["Pagos"], "summary": "Obtenga una lista de mini aplicaciones sugeridas con programas de afiliados disponibles", "description": "Obtenga una lista de [mini aplicaciones](https://core.telegram.org/api/bots/webapps.md) sugeridas con [programas de afiliados](https://core.telegram.org/api/bots/referrals.md)] disponibles\n\n`order_by_revenue` y `order_by_date` son mutuamente excluyentes: si no se establece ninguno, los resultados se ordenan por rentabilidad.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Mini aplicaciones en Telegram](https://core.telegram.org/api/bots/webapps.md)\n- [Programas de afiliados](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": "Resultado de MTProto · `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": "Tipo TL: payments.SuggestedStarRefBots."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se establece, ordena los resultados según los ingresos esperados."}, "order_by_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si está configurado, ordena los resultados por la fecha de creación del programa de afiliados."}, "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": "El par que se convertirá en afiliado: las comisiones estrella se transferirán al saldo estrella de este par."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para paginación, tomado de [payments.suggestedStarRefBots](https://core.telegram.org/constructor/payments.suggestedStarRefBots.md).`next_offset`, inicialmente vacío."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `order_by_revenue` | `true` | No | Si se establece, ordena los resultados según los ingresos esperados. |\n| `order_by_date` | `true` | No | Si está configurado, ordena los resultados por la fecha de creación del programa de afiliados. |\n| `peer` | `InputPeer` | si | El par que se convertirá en afiliado: las comisiones estrella se transferirán al saldo estrella de este par. |\n| `offset` | `string` | si | Desplazamiento para paginación, tomado de [payments.suggestedStarRefBots](https://core.telegram.org/constructor/payments.suggestedStarRefBots.md).`next_offset`, inicialmente vacío. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Pagos"], "summary": "Únase al programa de afiliados de un bot y conviértase en afiliado »", "description": "Únase al [programa de afiliados, convirtiéndose en afiliado» de un bot »](https://core.telegram.org/api/bots/referrals.md#becoming-an-affiliate)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Programas de afiliados](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": "Resultado de MTProto · `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": "Tipo TL: payments.ConnectedStarRefBots."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par que se convertirá en afiliado: las comisiones estrella se transferirán al saldo estrella de este par."}, "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": "El bot que ofrece el programa de afiliados"}}, "additionalProperties": false, "required": ["peer", "bot"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par que se convertirá en afiliado: las comisiones estrella se transferirán al saldo estrella de este par. |\n| `bot` | `InputUser` | si | El bot que ofrece el programa de afiliados |"}, "x-browser-schema-id": "2127901834"}}, "/catalog/payments.editConnectedStarRefBot": {"post": {"operationId": "payments.editConnectedStarRefBot", "tags": ["Pagos"], "summary": "Abandonar el programa de afiliados de un bot »", "description": "Dejar el [programa de afiliados» de un bot »](https://core.telegram.org/api/bots/referrals.md#becoming-an-affiliate)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Programas de afiliados](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": "Resultado de MTProto · `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": "Tipo TL: payments.ConnectedStarRefBots."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARREF_HASH_REVOKED` — El enlace de afiliado especificado ya fue revocado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se configura, abandona el programa de afiliados del 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": "El par que estaba afiliado"}, "link": {"type": "string", "x-tl-type": "string", "description": "El enlace de afiliado para revocar"}}, "additionalProperties": false, "required": ["peer", "link"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `revoked` | `true` | No | Si se configura, abandona el programa de afiliados del bot. |\n| `peer` | `InputPeer` | si | El par que estaba afiliado |\n| `link` | `string` | si | El enlace de afiliado para revocar |"}, "x-telegram-rpc-errors": ["STARREF_HASH_REVOKED"], "x-browser-schema-id": "3841762467"}}, "/catalog/payments.getStarGiftUpgradePreview": {"post": {"operationId": "payments.getStarGiftUpgradePreview", "tags": ["Pagos"], "summary": "Obtenga una vista previa de los posibles atributos (elegidos al azar) que un regalo » puede recibir después de actualizarlo a un regalo coleccionable », consulte aquí » para obtener más información.", "description": "Obtenga una vista previa de los posibles atributos (elegidos al azar) que un [regalo »](https://core.telegram.org/api/gifts.md) puede recibir después de actualizarlo a un [regalo coleccionable »](https://core.telegram.org/api/gifts.md#collectible-gifts); consulte [aquí »](https://core.telegram.org/api/gifts.md#collectible-gifts) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarGiftUpgradePreview."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — El regalo pasado no es válido.\n- 400 · `STARGIFT_UPGRADE_UNAVAILABLE`: un regalo recibido solo se puede actualizar a un regalo coleccionable si la marca [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`can_upgrade` está configurada."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El regalo para mejorar.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | si | El regalo para mejorar. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID", "STARGIFT_UPGRADE_UNAVAILABLE"], "x-browser-schema-id": "2627386545"}}, "/catalog/payments.upgradeStarGift": {"post": {"operationId": "payments.upgradeStarGift", "tags": ["Pagos"], "summary": "Actualizar un regalo a un regalo coleccionable: solo se puede utilizar si el remitente del regalo ya pagó la actualización; consulte aquí » para obtener más información sobre el flujo completo (incluido el flujo diferente que se utilizará en caso de que el remitente del regalo no pague la actualización).", "description": "Actualizar un [regalo](https://core.telegram.org/api/gifts.md) a un [regalo coleccionable](https://core.telegram.org/api/gifts.md#collectible-gifts)]: solo se puede utilizar si el remitente del regalo ya pagó la actualización; consulte [aquí »](https://core.telegram.org/api/gifts.md#upgrade-a-gift-to-a-collectible-gift) para obtener más información sobre el flujo completo (incluido el flujo diferente que se utilizará en caso de que el remitente del regalo no pague la actualización).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](https://core.telegram.org/api/gifts.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PAYMENT_REQUIRED`: se requiere pago para esta acción; consulte [aquí »](https://core.telegram.org/api/gifts.md) para obtener más información.\n- 400 · `SAVED_ID_EMPTY` — El inputSavedStarGiftChat.saved_id pasado está vacío.\n- 400 · `STARGIFT_ALREADY_CONVERTED` — El regalo de estrellas especificado ya se convirtió en estrellas.\n- 400 · `STARGIFT_ALREADY_UPGRADED`: el obsequio especificado ya se actualizó a obsequio coleccionable.\n- 400 · `STARGIFT_UPGRADE_UNAVAILABLE`: un regalo recibido solo se puede actualizar a un regalo coleccionable si la marca [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`can_upgrade` está configurada."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Configure esta marca para mantener el texto del regalo original, el remitente y el destinatario en el regalo actualizado como un atributo [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md)."}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "El regalo para mejorar"}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `keep_original_details` | `true` | No | Configure esta marca para mantener el texto del regalo original, el remitente y el destinatario en el regalo actualizado como un atributo [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md). |\n| `stargift` | `InputSavedStarGift` | si | El regalo para mejorar |"}, "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": ["Pagos"], "summary": "Transferir un regalo coleccionable a otro usuario o canal: solo se puede utilizar si la transferencia es gratuita (i.e. messageActionStarGiftUnique.`transfer_stars` no está configurado); consulte aquí » para obtener más información sobre el flujo completo (incluido el flujo diferente que se utilizará en caso de que la transferencia no sea gratuita).", "description": "Transferir un [regalo coleccionable](https://core.telegram.org/api/gifts.md#collectible-gifts) a otro usuario o canal: solo se puede utilizar si la transferencia es gratuita (i.e. [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md).`transfer_stars` no está configurado); consulte [aquí »](https://core.telegram.org/api/gifts.md#transferring-collectible-gifts) para obtener más información sobre el flujo completo (incluido el flujo diferente que se utilizará en caso de que la transferencia no sea gratuita).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](https://core.telegram.org/api/gifts.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PAYMENT_REQUIRED`: se requiere pago para esta acción; consulte [aquí »](https://core.telegram.org/api/gifts.md) para obtener más información.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `SAVED_ID_EMPTY` — El inputSavedStarGiftChat.saved_id pasado está vacío.\n- 400 · `STARGIFT_NOT_FOUND` — No se encontró el regalo especificado.\n- 400 · `STARGIFT_NOT_OWNER` — No eres el propietario del regalo que intentas transferir.\n- 400 · `STARGIFT_NOT_UNIQUE` — No puedes transferir un regalo no cobrable.\n- 400 · `STARGIFT_OWNER_INVALID` — No puedes transferir ni vender un regalo propiedad de otro usuario.\n- 400 · `STARGIFT_PEER_INVALID`: el inputSavedStarGiftChat.peer especificado no es válido.\n- 400 · `STARGIFT_TRANSFER_TOO_EARLY_%d` — Aún no puedes transferir este regalo, espera %d segundos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El regalo para transferir."}, "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": "Par de destino."}}, "additionalProperties": false, "required": ["stargift", "to_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | si | El regalo para transferir. |\n| `to_id` | `InputPeer` | si | Par de destino. |"}, "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": ["Pagos"], "summary": "Obtener información sobre un regalo de colección » utilizando un slug obtenido de un enlace de regalo de colección ».", "description": "Obtenga información sobre un [regalo coleccionable »](https://core.telegram.org/api/gifts.md#collectible-gifts) usando una babosa obtenida de un [enlace de regalo coleccionable »](https://core.telegram.org/api/links.md#collectible-gift-link).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](https://core.telegram.org/api/gifts.md)\n- [Enlaces profundos](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": "Resultado de MTProto · `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": "Tipo TL: payments.UniqueStarGift."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARGIFT_SLUG_INVALID` — El slug de regalo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La babosa."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | La babosa. |"}, "x-telegram-rpc-errors": ["STARGIFT_SLUG_INVALID"], "x-browser-schema-id": "2711047538"}}, "/catalog/payments.getSavedStarGifts": {"post": {"operationId": "payments.getSavedStarGifts", "tags": ["Pagos"], "summary": "Obtenga la lista completa de obsequios »propiedad, recibidos o alojados» por un compañero.", "description": "Obtenga la lista completa de [obsequios »](https://core.telegram.org/api/gifts.md#list-all-received-gifts) que pertenecen, reciben o [alojan »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) por un compañero.\n\nTenga en cuenta que, a diferencia de lo que sugiere el nombre, el método se puede utilizar para recuperar regalos \"guardados\" y \"no guardados\" (también conocidos como regalos fijados y no fijados) al perfil, dependiendo de las banderas pasadas.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](https://core.telegram.org/api/gifts.md)\n- [Colores de acento](https://core.telegram.org/api/colors.md)\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `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": "Escribe TL: payments.SavedStarGifts."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `COLLECTION_ID_INVALID`: el ID de colección especificado no es válido.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Excluye regalos que no estén fijados en el perfil."}, "exclude_saved": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Excluir regalos fijados en el perfil."}, "exclude_unlimited": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Excluya los regalos que no tengan configurada la marca [starGift](https://core.telegram.org/constructor/starGift.md).`limited`]."}, "exclude_unique": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Excluir [obsequios coleccionables»](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": "Si está configurado, ordena los regalos por precio en lugar de por fecha de recepción."}, "exclude_upgradable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Excluya los obsequios que puedan [actualizarse a obsequios coleccionables »](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": "Excluya los obsequios que no se pueden [actualizar a obsequios coleccionables»](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": "Si se establece, solo devuelve [regalos coleccionables](https://core.telegram.org/api/gifts.md#collectible-gifts) cuya paleta se puede utilizar como [paleta de mensajes coleccionables»](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": "Si se establece, excluye [obsequios coleccionables alojados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts), devolviendo solo los obsequios que pertenecen a `peer` o los recibió."}, "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": "Obtenga solo los regalos que pertenecen, han sido recibidos o [alojados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) por el par especificado, como por ejemplo: un usuario, con peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md); un canal, con peer=[inputPeerChannel](https://core.telegram.org/constructor/inputPeerChannel.md); un [usuario empresarial conectado »](https://core.telegram.org/api/bots/connected-business-bots.md) (al ejecutar el método como bot, a través de la conexión empresarial), con 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": "Solo devuelve regalos dentro de la [colección»](https://core.telegram.org/api/gifts.md#gift-collections) especificada."}, "offset": {"type": "string", "x-tl-type": "string", "description": "[Desplazamiento para paginación](https://core.telegram.org/api/offsets.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `exclude_unsaved` | `true` | No | Excluye regalos que no estén fijados en el perfil. |\n| `exclude_saved` | `true` | No | Excluir regalos fijados en el perfil. |\n| `exclude_unlimited` | `true` | No | Excluya los regalos que no tengan configurada la marca [starGift](https://core.telegram.org/constructor/starGift.md).`limited`]. |\n| `exclude_unique` | `true` | No | Excluir [obsequios coleccionables»](https://core.telegram.org/api/gifts.md#collectible-gifts). |\n| `sort_by_value` | `true` | No | Si está configurado, ordena los regalos por precio en lugar de por fecha de recepción. |\n| `exclude_upgradable` | `true` | No | Excluya los obsequios que puedan [actualizarse a obsequios coleccionables »](https://core.telegram.org/api/gifts.md#collectible-gifts). |\n| `exclude_unupgradable` | `true` | No | Excluya los obsequios que no se pueden [actualizar a obsequios coleccionables»](https://core.telegram.org/api/gifts.md#collectible-gifts). |\n| `peer_color_available` | `true` | No | Si se establece, solo devuelve [regalos coleccionables](https://core.telegram.org/api/gifts.md#collectible-gifts) cuya paleta se puede utilizar como [paleta de mensajes coleccionables»](https://core.telegram.org/api/colors.md#collectible-message-palettes). |\n| `exclude_hosted` | `true` | No | Si se establece, excluye [obsequios coleccionables alojados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts), devolviendo solo los obsequios que pertenecen a `peer` o los recibió. |\n| `peer` | `InputPeer` | si | Obtenga solo los regalos que pertenecen, han sido recibidos o [alojados »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) por el par especificado, como por ejemplo: un usuario, con peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md); un canal, con peer=[inputPeerChannel](https://core.telegram.org/constructor/inputPeerChannel.md); un [usuario empresarial conectado »](https://core.telegram.org/api/bots/connected-business-bots.md) (al ejecutar el método como bot, a través de la conexión empresarial), con peer=[inputPeerUser](https://core.telegram.org/constructor/inputPeerUser.md). |\n| `collection_id` | `int` | No | Solo devuelve regalos dentro de la [colección»](https://core.telegram.org/api/gifts.md#gift-collections) especificada. |\n| `offset` | `string` | si | [Desplazamiento para paginación](https://core.telegram.org/api/offsets.md). |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Pagos"], "summary": "Obtener información sobre obsequios específicos propiedad de un par que controlamos.", "description": "Obtenga información sobre [obsequios](https://core.telegram.org/api/gifts.md) específicos propiedad de un par que controlamos.\n\nTenga en cuenta que, a diferencia de lo que sugiere el nombre, el método se puede utilizar para recuperar obsequios \"guardados\" y \"no guardados\" (también conocidos como obsequios fijados y no fijados en el perfil).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Escribe TL: payments.SavedStarGifts."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SAVED_ID_EMPTY` — El inputSavedStarGiftChat.saved_id pasado está vacío.\n- 400 · `STARGIFT_OWNER_INVALID` — No puedes transferir ni vender un regalo propiedad de otro usuario.\n- 400 · `STARGIFT_SLUG_INVALID` — El slug de regalo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "Lista de regalos sobre los que obtener información."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stargift` | `Vector<InputSavedStarGift>` | si | Lista de regalos sobre los que obtener información. |"}, "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": ["Pagos"], "summary": "Convierta un regalo coleccionable » en un NFT en la cadena de bloques TON.", "description": "Convierta un [regalo coleccionable »](https://core.telegram.org/api/gifts.md) en un NFT en la cadena de bloques TON.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Autenticación de dos factores](https://core.telegram.org/api/srp.md)\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarGiftWithdrawalUrl."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PASSWORD_HASH_INVALID`: el hash de contraseña proporcionado no es válido.\n- 400 · `PASSWORD_TOO_FRESH_%d` — La contraseña se modificó hace menos de 24 horas, inténtelo nuevamente en %d segundos.\n- 400 · `SESSION_TOO_FRESH_%d`: esta sesión se creó hace menos de 24 horas, inténtelo nuevamente en %d segundos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El regalo coleccionable para exportar."}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor del tipo TL `bytes`."}}, "additionalProperties": false, "required": ["stargift", "tmp_password"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | si | El regalo coleccionable para exportar. |\n| `tmp_password` | `bytes` | si | Valor del tipo TL `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": ["Pagos"], "summary": "Habilita o deshabilita la recepción de notificaciones cada vez que se recibe un regalo » en el canal especificado, solo puede ser invocado por administradores con `post_messages` derechos de administrador.", "description": "Habilita o deshabilita la recepción de notificaciones cada vez que se recibe un [regalo »](https://core.telegram.org/api/gifts.md) por el canal especificado, solo puede ser invocado por administradores con `post_messages` [derechos de administrador](https://core.telegram.org/constructor/chatAdminRights.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para habilitar o deshabilitar la recepción de notificaciones en forma de mensajes de servicio [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md) y [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) del canal."}, "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": "El canal por el cual recibir o no recibir notificaciones."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `enabled` | `true` | No | Ya sea para habilitar o deshabilitar la recepción de notificaciones en forma de mensajes de servicio [messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md) y [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) del canal. |\n| `peer` | `InputPeer` | si | El canal por el cual recibir o no recibir notificaciones. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1626009505"}}, "/catalog/payments.toggleStarGiftsPinnedToTop": {"post": {"operationId": "payments.toggleStarGiftsPinnedToTop", "tags": ["Pagos"], "summary": "Fija un regalo recibido en la parte superior del perfil del usuario o de los canales propios usando payments.toggleStarGiftsPinnedToTop.", "description": "Fija un regalo recibido en la parte superior del perfil del usuario o de los canales propios usando [payments.toggleStarGiftsPinnedToTop](https://core.telegram.org/method/payments.toggleStarGiftsPinnedToTop.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El compañero donde fijar el regalo."}, "stargift": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "Tipo de TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "El regalo para fijar."}}, "additionalProperties": false, "required": ["peer", "stargift"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El compañero donde fijar el regalo. |\n| `stargift` | `Vector<InputSavedStarGift>` | si | El regalo para fijar. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "353626032"}}, "/catalog/payments.canPurchaseStore": {"post": {"operationId": "payments.canPurchaseStore", "tags": ["Pagos"], "summary": "Comprueba si es posible realizar una compra. Se debe llamar antes de realizar la compra en la tienda, solo aplicaciones oficiales.", "description": "Comprueba si es posible realizar una compra. Se debe llamar antes de realizar la compra en la tienda, solo aplicaciones oficiales.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `INPUT_PURPOSE_INVALID`: el propósito de pago especificado no es válido.\n- 406 · `PREMIUM_CURRENTLY_UNAVAILABLE` — Actualmente no puedes comprar una suscripción Premium."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Propósito del pago."}}, "additionalProperties": false, "required": ["purpose"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `purpose` | `InputStorePaymentPurpose` | si | Propósito del pago. |"}, "x-telegram-rpc-errors": ["INPUT_PURPOSE_INVALID", "PREMIUM_CURRENTLY_UNAVAILABLE"], "x-browser-schema-id": "1339842215"}}, "/catalog/payments.getResaleStarGifts": {"post": {"operationId": "payments.getResaleStarGifts", "tags": ["Pagos"], "summary": "Obtenga obsequios coleccionables de un tipo específico actualmente en reventa; consulte aquí » para obtener más información.", "description": "Obtenga [obsequios coleccionables](https://core.telegram.org/api/gifts.md#collectible-gifts) de un tipo específico actualmente en reventa; consulte [aquí »](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts) para obtener más información.\n\n`sort_by_price` y `sort_by_num` son mutuamente excluyentes; si ninguno de los dos está configurado, los resultados se ordenan por tiempo Unix (descendente) cuando se cambió su precio de reventa por última vez.\n\nConsulte [aquí »](https://core.telegram.org/api/gifts.md#sending-gifts) para obtener documentación detallada sobre este método.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](https://core.telegram.org/api/gifts.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: payments.ResaleStarGifts."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARGIFT_ATTRIBUTE_INVALID`: uno de los atributos de regalo de estrella especificados no es válido.\n- 400 · `STARGIFT_INVALID` — El regalo pasado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ordenar regalos por precio (ascendente)."}, "sort_by_num": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Ordena los regalos por número (ascendente)."}, "for_craft": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Devuelva únicamente regalos coleccionables que puedan comprarse y usarse para [elaboración »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts); Representa el [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`craft_chance_permille` de cada regalo devuelto como su contribución al éxito en la elaboración."}, "stars_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Devuelva únicamente regalos que se puedan comprar usando [Estrellas](https://core.telegram.org/api/stars.md)."}, "ton_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Valor del tipo TL `true`."}, "fragment_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Valor del tipo TL `true`."}, "attributes_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Si se realizó una llamada anterior al método y se configuró [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash`, páselo aquí para evitar devolver resultados si no han cambiado.  De lo contrario, configure este indicador y pase `0` para devolver [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` y [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes`, **estos dos campos no se configurarán** si este indicador no está configurado.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador obligatorio del obsequio base a partir del cual se actualizó el obsequio coleccionable.", "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": "Tipo de TL: StarGiftAttributeId."}, "x-tl-type": "Vector<StarGiftAttributeId>", "x-tl-flag": "flags.3?Vector<StarGiftAttributeId>", "description": "Opcionalmente, filtre regalos con los atributos especificados. Si no se especifica ningún atributo de un tipo específico, se permiten todos los atributos de ese tipo."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para paginación. Si no es igual a una cadena vacía, [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`counters` no se configurará para evitar que se devuelvan los contadores cada vez que se recupera una nueva página."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["gift_id", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `sort_by_price` | `true` | No | Ordenar regalos por precio (ascendente). |\n| `sort_by_num` | `true` | No | Ordena los regalos por número (ascendente). |\n| `for_craft` | `true` | No | Devuelva únicamente regalos coleccionables que puedan comprarse y usarse para [elaboración »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts); Representa el [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`craft_chance_permille` de cada regalo devuelto como su contribución al éxito en la elaboración. |\n| `stars_only` | `true` | No | Devuelva únicamente regalos que se puedan comprar usando [Estrellas](https://core.telegram.org/api/stars.md). |\n| `ton_only` | `true` | No | Valor del tipo TL `true`. |\n| `fragment_only` | `true` | No | Valor del tipo TL `true`. |\n| `attributes_hash` | `long` | No | Si se realizó una llamada anterior al método y se configuró [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash`, páselo aquí para evitar devolver resultados si no han cambiado.  De lo contrario, configure este indicador y pase `0` para devolver [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes_hash` y [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`attributes`, **estos dos campos no se configurarán** si este indicador no está configurado. |\n| `gift_id` | `long` | si | Identificador obligatorio del obsequio base a partir del cual se actualizó el obsequio coleccionable. |\n| `attributes` | `Vector<StarGiftAttributeId>` | No | Opcionalmente, filtre regalos con los atributos especificados. Si no se especifica ningún atributo de un tipo específico, se permiten todos los atributos de ese tipo. |\n| `offset` | `string` | si | Desplazamiento para paginación. Si no es igual a una cadena vacía, [payments.resaleStarGifts](https://core.telegram.org/constructor/payments.resaleStarGifts.md).`counters` no se configurará para evitar que se devuelvan los contadores cada vez que se recupera una nueva página. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Pagos"], "summary": "Un regalo coleccionable que poseemos » se puede poner a la venta en el mercado de regalos » con este método, consulte aquí » para obtener más información.", "description": "Un [obsequio coleccionable que poseemos »](https://core.telegram.org/api/gifts.md#collectible-gifts) se puede poner a la venta en el [mercado de obsequios »](https://telegram.org/blog/gift-marketplace-and-more) con este método; consulte [aquí »](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SAVED_ID_EMPTY` — El inputSavedStarGiftChat.saved_id pasado está vacío.\n- 400 · `STARGIFT_NOT_FOUND` — No se encontró el regalo especificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El regalo para revender."}, "resell_amount": {"type": "object", "x-tl-type": "StarsAmount", "oneOf": [{"$ref": "#/components/schemas/starsAmount"}, {"$ref": "#/components/schemas/starsTonAmount"}], "description": "Precio de reventa del regalo."}}, "additionalProperties": false, "required": ["stargift", "resell_amount"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | si | El regalo para revender. |\n| `resell_amount` | `StarsAmount` | si | Precio de reventa del regalo. |"}, "x-telegram-rpc-errors": ["SAVED_ID_EMPTY", "STARGIFT_NOT_FOUND"], "x-browser-schema-id": "3988679883"}}, "/catalog/payments.createStarGiftCollection": {"post": {"operationId": "payments.createStarGiftCollection", "tags": ["Pagos"], "summary": "Crea una colección de regalos de estrellas».", "description": "Crea una [colección de regalos de estrellas»](https://core.telegram.org/api/gifts.md#gift-collections).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `StarGiftCollection`.\n\n[Colección de regalos de estrellas](https://core.telegram.org/type/StarGiftCollection.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StarGiftCollection", "oneOf": [{"$ref": "#/components/schemas/starGiftCollection"}], "description": "Tipo TL: StarGiftCollection."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde crear la colección."}, "title": {"type": "string", "x-tl-type": "string", "description": "Título de la colección."}, "stargift": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "Tipo de TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "Regalos añadidos a la colección."}}, "additionalProperties": false, "required": ["peer", "title", "stargift"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde crear la colección. |\n| `title` | `string` | si | Título de la colección. |\n| `stargift` | `Vector<InputSavedStarGift>` | si | Regalos añadidos a la colección. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "524947079"}}, "/catalog/payments.updateStarGiftCollection": {"post": {"operationId": "payments.updateStarGiftCollection", "tags": ["Pagos"], "summary": "Añade o elimina regalos de una colección de regalos estrella», o cambia el nombre de la colección.", "description": "Agregue o elimine regalos de una [colección de regalos estrella »](https://core.telegram.org/api/gifts.md#gift-collections) o cambie el nombre de la colección.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `StarGiftCollection`.\n\n[Colección de regalos de estrellas](https://core.telegram.org/type/StarGiftCollection.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StarGiftCollection", "oneOf": [{"$ref": "#/components/schemas/starGiftCollection"}], "description": "Tipo TL: StarGiftCollection."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Par propietario de la colección."}, "collection_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificación de colección."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Título de la colección, para cambiar el nombre de la colección."}, "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": "Tipo de TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "x-tl-flag": "flags.1?Vector<InputSavedStarGift>", "description": "Puede contener una lista de regalos para eliminar de la colección."}, "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": "Tipo de TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "x-tl-flag": "flags.2?Vector<InputSavedStarGift>", "description": "Puede contener una lista de regalos para agregar a la colección."}, "order": {"type": "array", "items": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "Tipo de TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "x-tl-flag": "flags.3?Vector<InputSavedStarGift>", "description": "Puede contener el nuevo pedido de regalo."}}, "additionalProperties": false, "required": ["peer", "collection_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Par propietario de la colección. |\n| `collection_id` | `int` | si | Identificación de colección. |\n| `title` | `string` | No | Título de la colección, para cambiar el nombre de la colección. |\n| `delete_stargift` | `Vector<InputSavedStarGift>` | No | Puede contener una lista de regalos para eliminar de la colección. |\n| `add_stargift` | `Vector<InputSavedStarGift>` | No | Puede contener una lista de regalos para agregar a la colección. |\n| `order` | `Vector<InputSavedStarGift>` | No | Puede contener el nuevo pedido de regalo. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1339932391"}}, "/catalog/payments.reorderStarGiftCollections": {"post": {"operationId": "payments.reorderStarGiftCollections", "tags": ["Pagos"], "summary": "Reordene las colecciones de regalos estrella » en el perfil de un compañero de su propiedad.", "description": "Reordene las [colecciones de regalos estrella »](https://core.telegram.org/api/gifts.md#gift-collections) en el perfil de un compañero de su propiedad.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par poseído."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Nueva orden de recogida."}}, "additionalProperties": false, "required": ["peer", "order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par poseído. |\n| `order` | `Vector<int>` | si | Nueva orden de recogida. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3274372300"}}, "/catalog/payments.deleteStarGiftCollection": {"post": {"operationId": "payments.deleteStarGiftCollection", "tags": ["Pagos"], "summary": "Eliminar una colección de regalos estrella».", "description": "Eliminar una [colección de regalos estrella» ](https://core.telegram.org/api/gifts.md#gift-collections).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Par propietario de la colección."}, "collection_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "DNI de la colección."}}, "additionalProperties": false, "required": ["peer", "collection_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Par propietario de la colección. |\n| `collection_id` | `int` | si | DNI de la colección. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2908113128"}}, "/catalog/payments.getStarGiftCollections": {"post": {"operationId": "payments.getStarGiftCollections", "tags": ["Pagos"], "summary": "Recupera todas las colecciones de regalos de estrellas de un compañero.", "description": "Recupera todas las [colecciones de regalos estrella »](https://core.telegram.org/api/gifts.md#gift-collections) de un compañero.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarGiftCollections."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash ([generado como se especifica aquí »](https://core.telegram.org/api/offsets.md#hash-generation)) usando el campo [starGiftCollection](https://core.telegram.org/constructor/starGiftCollection.md).`hash` (**no** el campo `collection_id`) de todas las colecciones devueltas por una llamada de método anterior, para evitar recuperar el resultado si no ha cambiado.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par. |\n| `hash` | `long` | si | Hash ([generado como se especifica aquí »](https://core.telegram.org/api/offsets.md#hash-generation)) usando el campo [starGiftCollection](https://core.telegram.org/constructor/starGiftCollection.md).`hash` (**no** el campo `collection_id`) de todas las colecciones devueltas por una llamada de método anterior, para evitar recuperar el resultado si no ha cambiado. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2551943645"}}, "/catalog/payments.getUniqueStarGiftValueInfo": {"post": {"operationId": "payments.getUniqueStarGiftValueInfo", "tags": ["Pagos"], "summary": "Obtener información sobre el valor de un regalo de colección».", "description": "Obtenga información sobre el valor de un [obsequio coleccionable»](https://core.telegram.org/api/gifts.md#collectible-gifts).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.UniqueStarGiftValueInfo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARGIFT_SLUG_INVALID` — El slug de regalo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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` de un [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md)."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | `slug` de un [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": ["Pagos"], "summary": "Compruebe si se puede enviar el » regalo especificado.", "description": "Compruebe si se puede enviar el [regalo »](https://core.telegram.org/api/gifts.md) especificado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.CheckCanSendGiftResult."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — El regalo pasado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificación de regalo.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | si | Identificación de regalo. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "3234131401"}}, "/catalog/payments.getStarGiftAuctionState": {"post": {"operationId": "payments.getStarGiftAuctionState", "tags": ["Pagos"], "summary": "Devuelve información sobre una subasta de regalos coleccionables »; también suscribe al usuario a las actualizaciones de la subasta; consulte aquí » para obtener más información sobre el flujo completo.", "description": "Devuelve información sobre una [subasta de regalos coleccionables »](https://core.telegram.org/api/auctions.md); también suscribe al usuario a las actualizaciones de la subasta; consulte [aquí »](https://core.telegram.org/api/auctions.md) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Subastas de regalos coleccionables](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": "Resultado de MTProto · `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": "Escribe TL: payments.StarGiftAuctionState."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — El regalo pasado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea el ID del regalo vinculado a la subasta o un [slug de enlace profundo de la subasta» ](https://core.telegram.org/api/links.md#auction-links)."}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Inicialmente `0`, luego configúrelo en el [starGiftAuctionState](https://core.telegram.org/constructor/starGiftAuctionState.md).`version` devuelto, para evitar volver a buscar los resultados si no han cambiado."}}, "additionalProperties": false, "required": ["auction", "version"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `auction` | `InputStarGiftAuction` | si | Ya sea el ID del regalo vinculado a la subasta o un [slug de enlace profundo de la subasta» ](https://core.telegram.org/api/links.md#auction-links). |\n| `version` | `int` | si | Inicialmente `0`, luego configúrelo en el [starGiftAuctionState](https://core.telegram.org/constructor/starGiftAuctionState.md).`version` devuelto, para evitar volver a buscar los resultados si no han cambiado. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "1553986774"}}, "/catalog/payments.getStarGiftAuctionAcquiredGifts": {"post": {"operationId": "payments.getStarGiftAuctionAcquiredGifts", "tags": ["Pagos"], "summary": "Obtiene todos los regalos que el usuario actual ganó en una subasta.", "description": "Obtiene todos los regalos que el usuario actual ganó en una [subasta](https://core.telegram.org/api/auctions.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Subastas de regalos coleccionables](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": "Resultado de MTProto · `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": "Escribe TL: payments.StarGiftAuctionAcquiredGifts."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — El regalo pasado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El ID del regalo vinculado a la subasta.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | si | El ID del regalo vinculado a la subasta. |"}, "x-telegram-rpc-errors": ["STARGIFT_INVALID"], "x-browser-schema-id": "1805831148"}}, "/catalog/payments.getStarGiftActiveAuctions": {"post": {"operationId": "payments.getStarGiftActiveAuctions", "tags": ["Pagos"], "summary": "Recupera todas las subastas de regalos actualmente activas **en las que el usuario haya pujado alguna vez** (incluidas las subastas en las que se superó la oferta del usuario y se devolvió su oferta), siempre que la subasta no haya finalizado aún.", "description": "Recupera todas las [subastas de regalos](https://core.telegram.org/api/auctions.md) actualmente activas **en las que el usuario haya ofertado** (incluidas las subastas en las que se superó la oferta del usuario y se devolvió su oferta), siempre y cuando la subasta no haya finalizado aún.\n\nEste método se utiliza principalmente para mostrar una insignia de subasta en la lista de chat inmediatamente al iniciar la aplicación, sin esperar a que lleguen las actualizaciones [updateStarGiftAuctionState](https://core.telegram.org/constructor/updateStarGiftAuctionState.md)] en tiempo real: el cliente lo llama para descubrir en qué subastas participa el usuario y mostrar la insignia de forma proactiva.\n\nEn cambio, para obtener el estado completo de una única subasta, suscríbase a sus actualizaciones en tiempo real y muestre la interfaz de usuario detallada de la subasta (normalmente cuando el usuario abre una subasta específica), utilice [payments.getStarGiftAuctionState](https://core.telegram.org/method/payments.getStarGiftAuctionState.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Subastas de regalos coleccionables](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarGiftActiveAuctions."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 generado [como se especifica aquí »](https://core.telegram.org/api/auctions.md)", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | Hash generado [como se especifica aquí »](https://core.telegram.org/api/auctions.md) |"}, "x-browser-schema-id": "2781892941"}}, "/catalog/payments.resolveStarGiftOffer": {"post": {"operationId": "payments.resolveStarGiftOffer", "tags": ["Pagos"], "summary": "Acepte o rechace una oferta de compra de regalo coleccionable recibida previamente », consulte aquí » para conocer el flujo completo.", "description": "Acepte o rechace una [oferta de compra de regalo coleccionable»](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) recibida previamente; consulte [aquí»](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) para conocer el flujo completo.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se establece, rechaza la oferta; en caso contrario, lo acepta."}, "offer_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador del mensaje de servicio [messageActionStarGiftPurchaseOffer](https://core.telegram.org/constructor/messageActionStarGiftPurchaseOffer.md) que describe la oferta sobre la que actuar."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `decline` | `true` | No | Si se establece, rechaza la oferta; en caso contrario, lo acepta. |\n| `offer_msg_id` | `int` | si | Identificador del mensaje de servicio [messageActionStarGiftPurchaseOffer](https://core.telegram.org/constructor/messageActionStarGiftPurchaseOffer.md) que describe la oferta sobre la que actuar. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID"], "x-browser-schema-id": "3922622492"}}, "/catalog/payments.sendStarGiftOffer": {"post": {"operationId": "payments.sendStarGiftOffer", "tags": ["Pagos"], "summary": "Envíe una oferta para comprar un regalo coleccionable», consulte aquí » para conocer el flujo completo.", "description": "Envíe una oferta para comprar un [regalo coleccionable »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers), consulte [aquí »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) para ver el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Mensajes pagados](https://core.telegram.org/api/paid-messages.md)\n- [Estrellas de telegrama](https://core.telegram.org/api/stars.md)\n- [Regalos de telegrama](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `INPUT_STARS_AMOUNT_INVALID`: el monto de oferta especificado en estrellas no es válido; consulte [aquí »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) para conocer el rango permitido.\n- 400 · `INPUT_STARS_NANOS_INVALID`: la cantidad de oferta especificada en nanotones no es válida; consulte [aquí »](https://core.telegram.org/api/gifts.md#collectible-gift-purchase-offers) para conocer el rango permitido.\n- 400 · `INVOICE_INVALID` — La factura especificada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `RESELL_STARS_TOO_FEW` — El precio ofrecido es demasiado bajo.\n- 400 · `RESELL_STARS_TOO_MUCH` — El precio ofrecido es demasiado alto.\n- 400 · `STARGIFT_OFFER_INVALID` — El monto de la oferta especificada no es válido.\n- 400 · `STARGIFT_OFFER_NOT_ALLOWED` — No puedes enviar una oferta de compra para este regalo.\n- 400 · `STARGIFT_SLUG_INVALID` — El slug de regalo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Dueño del regalo coleccionable: igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`owner_id`."}, "slug": {"type": "string", "x-tl-type": "string", "description": "Identificador del regalo coleccionable: igual a [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": "Precio de oferta, en estrellas o TON."}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duración de la oferta, en segundos: debe ser una de `21600`, `43200`, `86400`, `129600`, `172800` o `259200`; también puede ser `120` en modo de prueba."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador aleatorio de 64 bits utilizado para evitar enviar la misma oferta dos veces en caso de problemas de red. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Si el par de destino tiene [mensajes pagados »](https://core.telegram.org/api/paid-messages.md) habilitados, especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario emisor ha aceptado pagar para enviar la oferta (además de la cantidad de la oferta en sí, contenida en `price`).", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["peer", "slug", "price", "duration", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Dueño del regalo coleccionable: igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`owner_id`. |\n| `slug` | `string` | si | Identificador del regalo coleccionable: igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`slug`. |\n| `price` | `StarsAmount` | si | Precio de oferta, en estrellas o TON. |\n| `duration` | `int` | si | Duración de la oferta, en segundos: debe ser una de `21600`, `43200`, `86400`, `129600`, `172800` o `259200`; también puede ser `120` en modo de prueba. |\n| `random_id` | `long` | si | Identificador aleatorio de 64 bits utilizado para evitar enviar la misma oferta dos veces en caso de problemas de red. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `allow_paid_stars` | `long` | No | Si el par de destino tiene [mensajes pagados »](https://core.telegram.org/api/paid-messages.md) habilitados, especifica la cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) que el usuario emisor ha aceptado pagar para enviar la oferta (además de la cantidad de la oferta en sí, contenida en `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": ["Pagos"], "summary": "Obtiene la lista **completa** de los atributos coleccionables que pueden aparecer para un tipo de regalo una vez que se actualiza a regalo coleccionable».", "description": "Obtiene la lista **completa** de los atributos coleccionables que pueden aparecer para un tipo de regalo una vez que se actualiza a [regalo coleccionable »](https://core.telegram.org/api/gifts.md#collectible-gifts).\n\nEl resultado también puede incluir constructores [starGiftAttributeModel](https://core.telegram.org/constructor/starGiftAttributeModel.md) con el indicador `crafted` establecido: estos modelos están reservados para [elaboración »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts) y deben filtrarse de las vistas previas de actualización regulares (y viceversa).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Tipo TL: payments.StarGiftUpgradeAttributes."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — El regalo pasado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de regalo base no coleccionable, de [starGift](https://core.telegram.org/constructor/starGift.md).`id`", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["gift_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | si | ID de regalo base no coleccionable, de [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": ["Pagos"], "summary": "Obtenga obsequios coleccionables propios » de un tipo específico que pueda usarse para manualidades ».", "description": "Obtenga [obsequios coleccionables »](https://core.telegram.org/api/gifts.md#collectible-gifts) de su propiedad de un tipo específico que pueda usarse para [elaboración »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Regalos de telegrama](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": "Resultado de MTProto · `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": "Escribe TL: payments.SavedStarGifts."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STARGIFT_INVALID` — El regalo pasado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador del tipo de regalo base, igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`gift_id` del primer regalo seleccionado.", "x-tl-type": "long"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para paginación."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["gift_id", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `gift_id` | `long` | si | Identificador del tipo de regalo base, igual a [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`gift_id` del primer regalo seleccionado. |\n| `offset` | `string` | si | Desplazamiento para paginación. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Pagos"], "summary": "Crea un nuevo regalo coleccionable » combinando de 1 a 4 regalos coleccionables propios del mismo tipo de regalo base.", "description": "Crea un nuevo [regalo coleccionable »](https://core.telegram.org/api/gifts.md#collectible-gifts) combinando de 1 a 4 obsequios coleccionables del mismo tipo de regalo base.\n\nTodos los obsequios pasados deben tener el mismo [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`gift_id`, deben poder usarse para la elaboración y no deben estar bloqueados por una marca de tiempo futura `can_craft_at`.\n\nEl primer obsequio entregado no debe estar [ubicado en la TON blockchain](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Regalos de telegrama](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SAVED_ID_EMPTY` — El inputSavedStarGiftChat.saved_id pasado está vacío."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: InputSavedStarGift."}, "x-tl-type": "Vector<InputSavedStarGift>", "description": "De 1 a 4 obsequios coleccionables propios del mismo tipo para usar en [elaboración »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts). La identificación del primer regalo se reutiliza si la elaboración tiene éxito."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stargift` | `Vector<InputSavedStarGift>` | si | De 1 a 4 obsequios coleccionables propios del mismo tipo para usar en [elaboración »](https://core.telegram.org/api/gifts.md#crafting-collectible-gifts). La identificación del primer regalo se reutiliza si la elaboración tiene éxito. |"}, "x-telegram-rpc-errors": ["SAVED_ID_EMPTY"], "x-browser-schema-id": "2969135183"}}, "/catalog/payments.getCurrencyRates": {"post": {"operationId": "payments.getCurrencyRates", "tags": ["Pagos"], "summary": "payments.getCurrencyRates", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3545859048"}}, "/catalog/payments.getOnrampProviders": {"post": {"operationId": "payments.getOnrampProviders", "tags": ["Pagos"], "summary": "payments.getOnrampProviders", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `crypto_currency` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1061028060"}}, "/catalog/payments.getOnrampBaseCurrencies": {"post": {"operationId": "payments.getOnrampBaseCurrencies", "tags": ["Pagos"], "summary": "payments.getOnrampBaseCurrencies", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `provider` | `string` | si | Valor del tipo TL `string`. |\n| `crypto_currency` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "478932467"}}, "/catalog/payments.getOnrampAvailability": {"post": {"operationId": "payments.getOnrampAvailability", "tags": ["Pagos"], "summary": "payments.getOnrampAvailability", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `provider` | `string` | si | Valor del tipo TL `string`. |\n| `crypto_currency` | `string` | si | Valor del tipo TL `string`. |\n| `base_currency` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "784505169"}}, "/catalog/payments.getOnrampLimits": {"post": {"operationId": "payments.getOnrampLimits", "tags": ["Pagos"], "summary": "payments.getOnrampLimits", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "payment_method": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency", "base_currency"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `provider` | `string` | si | Valor del tipo TL `string`. |\n| `crypto_currency` | `string` | si | Valor del tipo TL `string`. |\n| `base_currency` | `string` | si | Valor del tipo TL `string`. |\n| `payment_method` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2162708989"}}, "/catalog/payments.getOnrampQuote": {"post": {"operationId": "payments.getOnrampQuote", "tags": ["Pagos"], "summary": "payments.getOnrampQuote", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "base_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}, "crypto_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor del tipo TL `string`."}, "payment_method": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency", "base_currency"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `provider` | `string` | si | Valor del tipo TL `string`. |\n| `crypto_currency` | `string` | si | Valor del tipo TL `string`. |\n| `base_currency` | `string` | si | Valor del tipo TL `string`. |\n| `base_amount` | `string` | No | Valor del tipo TL `string`. |\n| `crypto_amount` | `string` | No | Valor del tipo TL `string`. |\n| `payment_method` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3764798970"}}, "/catalog/payments.createOnrampSession": {"post": {"operationId": "payments.createOnrampSession", "tags": ["Pagos"], "summary": "payments.createOnrampSession", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "address": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "payment_method": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}, "base_currency": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor del tipo TL `string`."}, "base_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor del tipo TL `string`."}, "memo": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Valor del tipo TL `string`."}, "theme": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.4?string", "description": "Valor del tipo TL `string`."}, "success_return_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.5?string", "description": "Valor del tipo TL `string`."}, "fail_return_url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.6?string", "description": "Valor del tipo TL `string`."}, "crypto_amount": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.7?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["provider", "crypto_currency", "address"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `provider` | `string` | si | Valor del tipo TL `string`. |\n| `crypto_currency` | `string` | si | Valor del tipo TL `string`. |\n| `address` | `string` | si | Valor del tipo TL `string`. |\n| `payment_method` | `string` | No | Valor del tipo TL `string`. |\n| `base_currency` | `string` | No | Valor del tipo TL `string`. |\n| `base_amount` | `string` | No | Valor del tipo TL `string`. |\n| `memo` | `string` | No | Valor del tipo TL `string`. |\n| `theme` | `string` | No | Valor del tipo TL `string`. |\n| `success_return_url` | `string` | No | Valor del tipo TL `string`. |\n| `fail_return_url` | `string` | No | Valor del tipo TL `string`. |\n| `crypto_amount` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2719579382"}}, "/catalog/payments.withdrawStarGift": {"post": {"operationId": "payments.withdrawStarGift", "tags": ["Pagos"], "summary": "payments.withdrawStarGift", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `true`."}, "stargift": {"type": "object", "x-tl-type": "InputSavedStarGift", "oneOf": [{"$ref": "#/components/schemas/inputSavedStarGiftUser"}, {"$ref": "#/components/schemas/inputSavedStarGiftChat"}, {"$ref": "#/components/schemas/inputSavedStarGiftSlug"}], "description": "Tipo de TL: InputSavedStarGift."}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor del tipo TL `bytes`."}}, "additionalProperties": false, "required": ["stargift", "tmp_password"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `keep_on_profile` | `true` | No | Valor del tipo TL `true`. |\n| `stargift` | `InputSavedStarGift` | si | Tipo de TL: InputSavedStarGift. |\n| `tmp_password` | `bytes` | si | Valor del tipo TL `bytes`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3961532590"}}, "/catalog/payments.depositStarGift": {"post": {"operationId": "payments.depositStarGift", "tags": ["Pagos"], "summary": "payments.depositStarGift", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `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": "Tipo de TL: InputPeer."}, "slug": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["peer", "slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hide_sender` | `true` | No | Valor del tipo TL `true`. |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `slug` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3231902367"}}, "/catalog/payments.displayStarGift": {"post": {"operationId": "payments.displayStarGift", "tags": ["Pagos"], "summary": "payments.displayStarGift", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: InputPeer.", "x-tl-flag": "flags.0?InputPeer"}, "slug": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | No | Tipo de TL: InputPeer. |\n| `slug` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1252389118"}}, "/catalog/payments.deleteStarGift": {"post": {"operationId": "payments.deleteStarGift", "tags": ["Pagos"], "summary": "payments.deleteStarGift", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: InputSavedStarGift."}}, "additionalProperties": false, "required": ["stargift"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stargift` | `InputSavedStarGift` | si | Tipo de TL: InputSavedStarGift. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1020983466"}}, "/catalog/payments.withdrawStarsRevenueToWallet": {"post": {"operationId": "payments.withdrawStarsRevenueToWallet", "tags": ["Pagos"], "summary": "payments.withdrawStarsRevenueToWallet", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `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": "Tipo de TL: InputPeer."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor del tipo TL `bytes`."}}, "additionalProperties": false, "required": ["peer", "tmp_password"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `ton` | `true` | No | Valor del tipo TL `true`. |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `amount` | `long` | No | 64 bits de velocidad en десятичной записи. |\n| `tmp_password` | `bytes` | si | Valor del tipo TL `bytes`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1461184265"}}, "/catalog/payments.buyStarGiftOnchain": {"post": {"operationId": "payments.buyStarGiftOnchain", "tags": ["Pagos"], "summary": "payments.buyStarGiftOnchain", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "slug": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "expected_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: InputPeer.", "x-tl-flag": "flags.0?InputPeer"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Tipo de TL: TextoConEntidades.", "x-tl-flag": "flags.1?TextWithEntities"}}, "additionalProperties": false, "required": ["slug", "expected_amount"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `show_name` | `true` | No | Valor del tipo TL `true`. |\n| `slug` | `string` | si | Valor del tipo TL `string`. |\n| `expected_amount` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `peer` | `InputPeer` | No | Tipo de TL: InputPeer. |\n| `message` | `TextWithEntities` | No | Tipo de TL: TextoConEntidades. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1551278953"}}, "/catalog/payments.updateStarGiftOnchainPrice": {"post": {"operationId": "payments.updateStarGiftOnchainPrice", "tags": ["Pagos"], "summary": "payments.updateStarGiftOnchainPrice", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["slug", "amount"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | Valor del tipo TL `string`. |\n| `amount` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3259032527"}}, "/catalog/payments.cancelStarGiftOnchainSale": {"post": {"operationId": "payments.cancelStarGiftOnchainSale", "tags": ["Pagos"], "summary": "payments.cancelStarGiftOnchainSale", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2723105082"}}, "/catalog/payments.sendStarGiftOnchainOffer": {"post": {"operationId": "payments.sendStarGiftOnchainOffer", "tags": ["Pagos"], "summary": "payments.sendStarGiftOnchainOffer", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["slug", "amount", "duration", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | Valor del tipo TL `string`. |\n| `amount` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `duration` | `int` | si | Valor del tipo TL `int`. |\n| `random_id` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3044905022"}}, "/catalog/payments.acceptStarGiftOnchainOffer": {"post": {"operationId": "payments.acceptStarGiftOnchainOffer", "tags": ["Pagos"], "summary": "payments.acceptStarGiftOnchainOffer", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offer_msg_id` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "4223311582"}}, "/catalog/payments.declineStarGiftOnchainOffer": {"post": {"operationId": "payments.declineStarGiftOnchainOffer", "tags": ["Pagos"], "summary": "payments.declineStarGiftOnchainOffer", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"offer_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offer_msg_id` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1511098022"}}, "/catalog/payments.cancelStarGiftOnchainOffer": {"post": {"operationId": "payments.cancelStarGiftOnchainOffer", "tags": ["Pagos"], "summary": "payments.cancelStarGiftOnchainOffer", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["offer_msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offer_msg_id` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "470989500"}}, "/catalog/payments.getResaleStarGiftsMerged": {"post": {"operationId": "payments.getResaleStarGiftsMerged", "tags": ["Pagos"], "summary": "payments.getResaleStarGiftsMerged", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `payments.ResaleStarGifts`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "payments.ResaleStarGifts", "oneOf": [{"$ref": "#/components/schemas/payments.resaleStarGifts"}], "description": "Tipo 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": "Valor del tipo TL `true`."}, "sort_by_num": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Valor del tipo TL `true`."}, "sort_desc": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Valor del tipo TL `true`."}, "stars_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Valor del tipo TL `true`."}, "ton_only": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Valor del tipo TL `true`."}, "attributes_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "gift_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Valor del tipo TL `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": "Tipo de TL: StarGiftAttributeId."}, "x-tl-type": "Vector<StarGiftAttributeId>", "x-tl-flag": "flags.3?Vector<StarGiftAttributeId>", "description": "Valor del tipo TL `Vector<StarGiftAttributeId>`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.7?string", "description": "Valor del tipo TL `string`."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["gift_ids", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `sort_by_price` | `true` | No | Valor del tipo TL `true`. |\n| `sort_by_num` | `true` | No | Valor del tipo TL `true`. |\n| `sort_desc` | `true` | No | Valor del tipo TL `true`. |\n| `stars_only` | `true` | No | Valor del tipo TL `true`. |\n| `ton_only` | `true` | No | Valor del tipo TL `true`. |\n| `attributes_hash` | `long` | No | 64 bits de velocidad en десятичной записи. |\n| `gift_ids` | `Vector<long>` | si | Valor del tipo TL `Vector<long>`. |\n| `attributes` | `Vector<StarGiftAttributeId>` | No | Valor del tipo TL `Vector<StarGiftAttributeId>`. |\n| `query` | `string` | No | Valor del tipo TL `string`. |\n| `offset` | `string` | si | Valor del tipo TL `string`. |\n| `limit` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1831727789"}}, "/catalog/stickers.createStickerSet": {"post": {"operationId": "stickers.createStickerSet", "tags": ["Pegatinas"], "summary": "Crea un conjunto de pegatinas.", "description": "Crea un conjunto de pegatinas.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Enlaces profundos](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": "Resultado de MTProto · `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": "Tipo TL: messages.StickerSet."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PACK_SHORT_NAME_INVALID` — El nombre corto del paquete no es válido.\n- 400 · `PACK_SHORT_NAME_OCCUPIED` — Ya existe un paquete de stickers con este nombre.\n- 400 · `PACK_TITLE_INVALID` — El título del paquete de pegatinas no es válido.\n- 400 · `PACK_TYPE_INVALID` — Las banderas de máscaras y emojis son mutuamente excluyentes.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STICKERS_EMPTY` — No se proporciona pegatina.\n- 400 · `STICKER_EMOJI_INVALID` — El emoji de pegatina no es válido.\n- 400 · `STICKER_FILE_INVALID` — Archivo de pegatina no válido.\n- 400 · `STICKER_GIF_DIMENSIONS`: la etiqueta de video especificada tiene dimensiones no válidas.\n- 400 · `STICKER_PNG_DIMENSIONS` — Las dimensiones del png de la pegatina no son válidas.\n- 400 · `STICKER_PNG_NOPNG` — Una de las pegatinas especificadas no es un archivo PNG válido.\n- 400 · `STICKER_TGS_NODOC` — Debes enviar el stickers animado como documento.\n- 400 · `STICKER_TGS_NOTGS` — Se proporciona una pegatina TGS no válida.\n- 400 · `STICKER_THUMB_PNG_NOPNG`: se proporcionó un archivo miniatura de conjunto de pegatinas incorrecto, se esperaba PNG / WEBP.\n- 400 · `STICKER_THUMB_TGS_NOTGS`: se proporcionó el archivo miniatura del conjunto de pegatinas TGS incorrecto.\n- 400 · `STICKER_VIDEO_BIG`: la etiqueta de video especificada es demasiado grande.\n- 400 · `STICKER_VIDEO_NODOC` — Debes enviar la pegatina del vídeo como documento.\n- 400 · `STICKER_VIDEO_NOWEBM` — La etiqueta de video especificada no está en formato webm.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se trata de un juego de pegatinas de máscara"}, "emojis": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Si se trata de un conjunto de pegatinas [emoji personalizado](https://core.telegram.org/api/custom-emoji.md)]."}, "text_color": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Si el color de los TGS emojis personalizados contenidos en este conjunto debe cambiarse al color del texto cuando se usan en mensajes, el color de acento si se usa como estado de emoji, blanco en fotos de chat u otro color apropiado según el contexto. Solo para conjuntos de stickers emoji personalizados."}, "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": "Propietario del juego de pegatinas"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del conjunto de pegatinas, `1-64` caracteres"}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Nombre corto del conjunto de pegatinas, que se utilizará en [enlaces profundos de pegatinas »](https://core.telegram.org/api/links.md#stickerset-links). Solo puede contener letras, dígitos y guiones bajos en inglés. Debe comenzar con una letra, no puede contener guiones bajos consecutivos y, **si lo llama un bot**, debe terminar en `\"_by_<bot_username>\"`. `<bot_username>` no distingue entre mayúsculas y minúsculas. 1-64 caracteres."}, "thumb": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Miniatura", "x-tl-flag": "flags.2?InputDocument"}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputStickerSetItem", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetItem"}], "description": "Tipo de TL: InputStickerSetItem."}, "x-tl-type": "Vector<InputStickerSetItem>", "description": "Pegatinas"}, "software": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Se utiliza al [importar pegatinas utilizando los SDK de importación de pegatinas](https://core.telegram.org/import-stickers.md), especifica el nombre del software que creó las pegatinas"}}, "additionalProperties": false, "required": ["user_id", "title", "short_name", "stickers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `masks` | `true` | No | Si se trata de un juego de pegatinas de máscara |\n| `emojis` | `true` | No | Si se trata de un conjunto de pegatinas [emoji personalizado](https://core.telegram.org/api/custom-emoji.md)]. |\n| `text_color` | `true` | No | Si el color de los TGS emojis personalizados contenidos en este conjunto debe cambiarse al color del texto cuando se usan en mensajes, el color de acento si se usa como estado de emoji, blanco en fotos de chat u otro color apropiado según el contexto. Solo para conjuntos de stickers emoji personalizados. |\n| `user_id` | `InputUser` | si | Propietario del juego de pegatinas |\n| `title` | `string` | si | Nombre del conjunto de pegatinas, `1-64` caracteres |\n| `short_name` | `string` | si | Nombre corto del conjunto de pegatinas, que se utilizará en [enlaces profundos de pegatinas »](https://core.telegram.org/api/links.md#stickerset-links). Solo puede contener letras, dígitos y guiones bajos en inglés. Debe comenzar con una letra, no puede contener guiones bajos consecutivos y, **si lo llama un bot**, debe terminar en `\"_by_<bot_username>\"`. `<bot_username>` no distingue entre mayúsculas y minúsculas. 1-64 caracteres. |\n| `thumb` | `InputDocument` | No | Miniatura |\n| `stickers` | `Vector<InputStickerSetItem>` | si | Pegatinas |\n| `software` | `string` | No | Se utiliza al [importar pegatinas utilizando los SDK de importación de pegatinas](https://core.telegram.org/import-stickers.md), especifica el nombre del software que creó las pegatinas |"}, "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": ["Pegatinas"], "summary": "Retire una pegatina del conjunto al que pertenece. El conjunto de pegatinas debe haber sido creado por el usuario/bot actual.", "description": "Retire una pegatina del conjunto al que pertenece. El conjunto de pegatinas debe haber sido creado por el usuario/bot actual.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.StickerSet."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKER_INVALID` — La pegatina proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La pegatina para quitar"}}, "additionalProperties": false, "required": ["sticker"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | si | La pegatina para quitar |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "4151709521"}}, "/catalog/stickers.changeStickerPosition": {"post": {"operationId": "stickers.changeStickerPosition", "tags": ["Pegatinas"], "summary": "Cambia la posición absoluta de una pegatina en el conjunto al que pertenece. El conjunto de pegatinas debe haber sido creado por el usuario/bot actual.", "description": "Cambia la posición absoluta de una pegatina en el conjunto al que pertenece. El conjunto de pegatinas debe haber sido creado por el usuario/bot actual.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.StickerSet."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKER_INVALID` — La pegatina proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la pegatina"}, "position": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La nueva posición de la pegatina, de base cero"}}, "additionalProperties": false, "required": ["sticker", "position"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | si | la pegatina |\n| `position` | `int` | si | La nueva posición de la pegatina, de base cero |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "4290172106"}}, "/catalog/stickers.addStickerToSet": {"post": {"operationId": "stickers.addStickerToSet", "tags": ["Pegatinas"], "summary": "Añade una pegatina a un conjunto de pegatinas. El conjunto de pegatinas debe haber sido creado por el usuario/bot actual.", "description": "Añade una pegatina a un conjunto de pegatinas. El conjunto de pegatinas debe haber sido creado por el usuario/bot actual.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.StickerSet."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKERPACK_STICKERS_TOO_MUCH` — Hay demasiadas pegatinas en este paquete de pegatinas, no puedes agregar más.\n- 406 · `STICKERSET_INVALID` — El conjunto de pegatinas proporcionado no es válido.\n- 400 · `STICKERS_TOO_MUCH` — Hay demasiadas pegatinas en este paquete de pegatinas, no puedes agregar más.\n- 400 · `STICKER_PNG_NOPNG` — Una de las pegatinas especificadas no es un archivo PNG válido.\n- 400 · `STICKER_TGS_NOTGS` — Se proporciona una pegatina TGS no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El juego de pegatinas"}, "sticker": {"type": "object", "x-tl-type": "InputStickerSetItem", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetItem"}], "description": "la pegatina"}}, "additionalProperties": false, "required": ["stickerset", "sticker"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | si | El juego de pegatinas |\n| `sticker` | `InputStickerSetItem` | si | la pegatina |"}, "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": ["Pegatinas"], "summary": "Establecer miniatura del conjunto de pegatinas", "description": "Establecer miniatura del conjunto de pegatinas\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](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": "Resultado de MTProto · `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": "Tipo TL: messages.StickerSet."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKERSET_INVALID`: el conjunto de pegatinas proporcionado no es válido.\n- 400 · `STICKER_THUMB_PNG_NOPNG`: se proporcionó un archivo miniatura de conjunto de pegatinas incorrecto, se esperaba PNG / WEBP.\n- 400 · `STICKER_THUMB_TGS_NOTGS`: se proporcionó el archivo miniatura del conjunto de pegatinas TGS incorrecto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "conjunto de pegatinas"}, "thumb": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Miniatura (solo para conjuntos de pegatinas normales, no para conjuntos de pegatinas emoji personalizados).", "x-tl-flag": "flags.0?InputDocument"}, "thumb_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Solo para [conjuntos de stickers de emoji personalizados](https://core.telegram.org/api/custom-emoji.md), ID de un emoji personalizado presente en el conjunto para usarlo como miniatura; pase 0 para recurrir al primer emoji personalizado del conjunto.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "additionalProperties": false, "required": ["stickerset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | si | conjunto de pegatinas |\n| `thumb` | `InputDocument` | No | Miniatura (solo para conjuntos de pegatinas normales, no para conjuntos de pegatinas emoji personalizados). |\n| `thumb_document_id` | `long` | No | Solo para [conjuntos de stickers de emoji personalizados](https://core.telegram.org/api/custom-emoji.md), ID de un emoji personalizado presente en el conjunto para usarlo como miniatura; pase 0 para recurrir al primer emoji personalizado del conjunto. |"}, "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": ["Pegatinas"], "summary": "Compruebe si el nombre corto proporcionado está disponible", "description": "Compruebe si el nombre corto proporcionado está disponible\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SHORT_NAME_INVALID`: el nombre corto especificado no es válido.\n- 400 · `SHORT_NAME_OCCUPIED`: el nombre corto especificado ya está en uso."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "nombre corto"}}, "additionalProperties": false, "required": ["short_name"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `short_name` | `string` | si | nombre corto |"}, "x-telegram-rpc-errors": ["SHORT_NAME_INVALID", "SHORT_NAME_OCCUPIED"], "x-browser-schema-id": "676017721"}}, "/catalog/stickers.suggestShortName": {"post": {"operationId": "stickers.suggestShortName", "tags": ["Pegatinas"], "summary": "Sugiere un nombre corto para un nombre de paquete de pegatinas determinado.", "description": "Sugiere un nombre corto para un nombre de paquete de pegatinas determinado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escriba TL: stickers.SuggestedShortName."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `TITLE_INVALID`: el título del paquete de pegatinas especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Nombre del paquete de pegatinas"}}, "additionalProperties": false, "required": ["title"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `title` | `string` | si | Nombre del paquete de pegatinas |"}, "x-telegram-rpc-errors": ["TITLE_INVALID"], "x-browser-schema-id": "1303364867"}}, "/catalog/stickers.changeSticker": {"post": {"operationId": "stickers.changeSticker", "tags": ["Pegatinas"], "summary": "Actualiza las palabras clave, emojis o coordenadas de máscara de una pegatina.", "description": "Actualiza las palabras clave, emojis o [coordenadas de máscara](https://core.telegram.org/api/stickers.md#mask-stickers) de una pegatina.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Pegatinas y máscaras](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": "Resultado de MTProto · `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": "Tipo TL: messages.StickerSet."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKER_INVALID` — La pegatina proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la pegatina"}, "emoji": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Si está configurado, actualiza la lista de emoji asociada a la pegatina."}, "mask_coords": {"type": "object", "x-tl-type": "MaskCoords", "oneOf": [{"$ref": "#/components/schemas/maskCoords"}], "description": "Si está configurado, actualiza las [coordenadas de máscara](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": "Si está configurado, actualiza las palabras clave de la etiqueta (separadas por comas). No se pueden proporcionar pegatinas para máscaras."}}, "additionalProperties": false, "required": ["sticker"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | si | la pegatina |\n| `emoji` | `string` | No | Si está configurado, actualiza la lista de emoji asociada a la pegatina. |\n| `mask_coords` | `MaskCoords` | No | Si está configurado, actualiza las [coordenadas de máscara](https://core.telegram.org/api/stickers.md#mask-stickers) |\n| `keywords` | `string` | No | Si está configurado, actualiza las palabras clave de la etiqueta (separadas por comas). No se pueden proporcionar pegatinas para máscaras. |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "4115889852"}}, "/catalog/stickers.renameStickerSet": {"post": {"operationId": "stickers.renameStickerSet", "tags": ["Pegatinas"], "summary": "Cambia el nombre de un conjunto de pegatinas.", "description": "Cambia el nombre de un conjunto de pegatinas.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.StickerSet."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKERSET_INVALID`: el conjunto de pegatinas proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Conjunto de pegatinas para cambiar el nombre"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nuevo título del conjunto de pegatinas"}}, "additionalProperties": false, "required": ["stickerset", "title"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | si | Conjunto de pegatinas para cambiar el nombre |\n| `title` | `string` | si | Nuevo título del conjunto de pegatinas |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "306912256"}}, "/catalog/stickers.deleteStickerSet": {"post": {"operationId": "stickers.deleteStickerSet", "tags": ["Pegatinas"], "summary": "Elimina un conjunto de stickers que creamos.", "description": "Elimina un conjunto de stickers que creamos.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKERSET_INVALID`: el conjunto de pegatinas proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Conjunto de pegatinas para eliminar"}}, "additionalProperties": false, "required": ["stickerset"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stickerset` | `InputStickerSet` | si | Conjunto de pegatinas para eliminar |"}, "x-telegram-rpc-errors": ["STICKERSET_INVALID"], "x-browser-schema-id": "2272281492"}}, "/catalog/stickers.replaceSticker": {"post": {"operationId": "stickers.replaceSticker", "tags": ["Pegatinas"], "summary": "Reemplazar una pegatina en un juego de pegatinas ».", "description": "Reemplazar una pegatina en un [juego de pegatinas »](https://core.telegram.org/api/stickers.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Pegatinas y máscaras](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": "Resultado de MTProto · `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": "Tipo TL: messages.StickerSet."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `STICKER_INVALID` — La pegatina proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Antiguo documento adhesivo."}, "new_sticker": {"type": "object", "x-tl-type": "InputStickerSetItem", "oneOf": [{"$ref": "#/components/schemas/inputStickerSetItem"}], "description": "Nueva pegatina."}}, "additionalProperties": false, "required": ["sticker", "new_sticker"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `sticker` | `InputDocument` | si | Antiguo documento adhesivo. |\n| `new_sticker` | `InputStickerSetItem` | si | Nueva pegatina. |"}, "x-telegram-rpc-errors": ["STICKER_INVALID"], "x-browser-schema-id": "1184253338"}}, "/catalog/phone.getCallConfig": {"post": {"operationId": "phone.getCallConfig", "tags": ["llamadas"], "summary": "DEPRECATED: Obtener la configuración de llamadas telefónicas para pasar a la configuración compartida libtgvoip (obsoleta).", "description": "DEPRECATED: Obtener la configuración de llamadas telefónicas para pasar a la configuración compartida libtgvoip (obsoleta).", "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": "Resultado de MTProto · `DataJSON`.\n\n[DatosJSON](https://core.telegram.org/type/DataJSON.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Tipo de TL: DataJSON."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/phone.getCallConfig"}, "x-browser-schema-id": "1430593449"}}, "/catalog/phone.requestCall": {"post": {"operationId": "phone.requestCall", "tags": ["llamadas"], "summary": "Inicie una llamada telefónica de Telegram, consulte aquí » para obtener más información sobre el flujo completo.", "description": "Inicie una llamada telefónica de Telegram; consulte [aquí »](https://core.telegram.org/api/calls.md#one-to-one-calls) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Llamadas de voz cifradas de extremo a extremo](https://core.telegram.org/api/end-to-end/voice-calls.md)\n- [llamadas telefonicas](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": "Resultado de MTProto · `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": "Tipo TL: phone.PhoneCall."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CALL_PROTOCOL_FLAGS_INVALID` — Los indicadores del protocolo de llamada no son válidos.\n- 400 · `CALL_PROTOCOL_LAYER_INVALID`: el rango de versión de la capa de protocolo especificado no es válido.\n- 400 · `INPUT_USER_DEACTIVATED` — El usuario especificado fue eliminado.\n- 400 · `PARTICIPANT_VERSION_OUTDATED` — El otro participante no utiliza un cliente de Telegram actualizado con soporte para llamadas.\n- 500 · `RANDOM_ID_DUPLICATE`: proporcionaste una identificación aleatoria que ya estaba utilizada.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 403 · `USER_IS_BLOCKED` — Este usuario te bloqueó.\n- 403 · `USER_PRIVACY_RESTRICTED` — La configuración de privacidad del usuario no le permite hacer esto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para iniciar una videollamada"}, "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": "Destino de la llamada telefónica"}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID aleatorio para evitar reenviar el mismo objeto. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID."}, "g_a_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Parámetro para E2E intercambio de claves de cifrado »](https://core.telegram.org/api/end-to-end/voice-calls.md)"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "oneOf": [{"$ref": "#/components/schemas/phoneCallProtocol"}], "description": "Configuración de llamadas telefónicas"}}, "additionalProperties": false, "required": ["user_id", "random_id", "g_a_hash", "protocol"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `video` | `true` | No | Ya sea para iniciar una videollamada |\n| `user_id` | `InputUser` | si | Destino de la llamada telefónica |\n| `random_id` | `int` | si | ID aleatorio para evitar reenviar el mismo objeto. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `g_a_hash` | `bytes` | si | [Parámetro para E2E intercambio de claves de cifrado »](https://core.telegram.org/api/end-to-end/voice-calls.md) |\n| `protocol` | `PhoneCallProtocol` | si | Configuración de llamadas telefónicas |"}, "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": ["llamadas"], "summary": "Aceptar llamada entrante, consulte aquí » para obtener más información sobre el flujo completo.", "description": "Acepte una llamada entrante; consulte [aquí »](https://core.telegram.org/api/calls.md#one-to-one-calls) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas de voz cifradas de extremo a extremo](https://core.telegram.org/api/end-to-end/voice-calls.md)\n- [llamadas telefonicas](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": "Resultado de MTProto · `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": "Tipo TL: phone.PhoneCall."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CALL_ALREADY_ACCEPTED` — La llamada ya fue aceptada.\n- 400 · `CALL_ALREADY_DECLINED` — La llamada ya fue rechazada.\n- 500 · `CALL_OCCUPY_FAILED` — La llamada falló porque el usuario ya está realizando otra llamada.\n- 400 · `CALL_PEER_INVALID`: el objeto de llamada del par proporcionado no es válido.\n- 406 · `CALL_PROTOCOL_COMPAT_LAYER_INVALID`: el otro lado de la llamada no admite ninguno de los protocolos VoIP admitidos por el cliente local, como se especifica en los campos `protocol.layer` y `protocol.library_versions`.\n- 400 · `CALL_PROTOCOL_FLAGS_INVALID` — Los indicadores del protocolo de llamada no son válidos.\n- 400 · `CALL_PROTOCOL_LAYER_INVALID`: el rango de versión de la capa de protocolo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El llamado a aceptar"}, "g_b": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Parámetro para E2E intercambio de claves de cifrado »](https://core.telegram.org/api/end-to-end/voice-calls.md)"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "oneOf": [{"$ref": "#/components/schemas/phoneCallProtocol"}], "description": "Configuración de llamadas telefónicas"}}, "additionalProperties": false, "required": ["peer", "g_b", "protocol"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | si | El llamado a aceptar |\n| `g_b` | `bytes` | si | [Parámetro para E2E intercambio de claves de cifrado »](https://core.telegram.org/api/end-to-end/voice-calls.md) |\n| `protocol` | `PhoneCallProtocol` | si | Configuración de llamadas telefónicas |"}, "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": ["llamadas"], "summary": "Llamada telefónica completa E2E intercambio de claves de cifrado », consulte aquí » para obtener más información sobre el flujo completo.", "description": "[Llamada telefónica completa E2E intercambio de claves de cifrado »](https://core.telegram.org/api/end-to-end/voice-calls.md); consulte [aquí »](https://core.telegram.org/api/calls.md#one-to-one-calls) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas de voz cifradas de extremo a extremo](https://core.telegram.org/api/end-to-end/voice-calls.md)\n- [llamadas telefonicas](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": "Resultado de MTProto · `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": "Tipo TL: phone.PhoneCall."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CALL_ALREADY_DECLINED` — La llamada ya fue rechazada.\n- 400 · `CALL_PEER_INVALID`: el objeto de llamada del par proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la llamada telefonica"}, "g_a": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Parámetro para E2E intercambio de claves de cifrado »](https://core.telegram.org/api/end-to-end/voice-calls.md)"}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "Huella digital clave", "x-tl-type": "long"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "oneOf": [{"$ref": "#/components/schemas/phoneCallProtocol"}], "description": "Configuración de llamadas telefónicas"}}, "additionalProperties": false, "required": ["peer", "g_a", "key_fingerprint", "protocol"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | si | la llamada telefonica |\n| `g_a` | `bytes` | si | [Parámetro para E2E intercambio de claves de cifrado »](https://core.telegram.org/api/end-to-end/voice-calls.md) |\n| `key_fingerprint` | `long` | si | Huella digital clave |\n| `protocol` | `PhoneCallProtocol` | si | Configuración de llamadas telefónicas |"}, "x-telegram-rpc-errors": ["CALL_ALREADY_DECLINED", "CALL_PEER_INVALID"], "x-browser-schema-id": "788404002"}}, "/catalog/phone.receivedCall": {"post": {"operationId": "phone.receivedCall", "tags": ["llamadas"], "summary": "Opcional: notifique al servidor que el usuario está actualmente ocupado en una llamada: esto rechazará automáticamente todas las llamadas telefónicas entrantes hasta que finalice la llamada actual; consulte aquí » para obtener más información sobre el flujo completo.", "description": "Opcional: notifique al servidor que el usuario está actualmente ocupado en una llamada: esto rechazará automáticamente todas las llamadas telefónicas entrantes hasta que finalice la llamada actual; consulte [aquí »](https://core.telegram.org/api/calls.md#one-to-one-calls) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [llamadas telefonicas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CALL_ALREADY_DECLINED` — La llamada ya fue rechazada.\n- 400 · `CALL_PEER_INVALID`: el objeto de llamada del par proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La llamada telefónica en la que estamos actualmente"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | si | La llamada telefónica en la que estamos actualmente |"}, "x-telegram-rpc-errors": ["CALL_ALREADY_DECLINED", "CALL_PEER_INVALID"], "x-browser-schema-id": "399855457"}}, "/catalog/phone.discardCall": {"post": {"operationId": "phone.discardCall", "tags": ["llamadas"], "summary": "Rechazar o finalizar una llamada en curso, consulte aquí » para obtener más información sobre el flujo completo.", "description": "Rechazar o finalizar una llamada en curso, consulte [aquí »](https://core.telegram.org/api/calls.md#one-to-one-calls) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [llamadas telefonicas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CALL_ALREADY_ACCEPTED` — La llamada ya fue aceptada.\n- 500 · `CALL_OCCUPY_FAILED` — La llamada falló porque el usuario ya está realizando otra llamada.\n- 400 · `CALL_PEER_INVALID`: el objeto de llamada del par proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se trata de una videollamada"}, "peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "la llamada telefonica"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duración de la llamada"}, "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": "¿Por qué se descartó la llamada?"}, "connection_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de retransmisión libtgvoip preferida", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "duration", "reason", "connection_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `video` | `true` | No | Si se trata de una videollamada |\n| `peer` | `InputPhoneCall` | si | la llamada telefonica |\n| `duration` | `int` | si | Duración de la llamada |\n| `reason` | `PhoneCallDiscardReason` | si | ¿Por qué se descartó la llamada? |\n| `connection_id` | `long` | si | ID de retransmisión libtgvoip preferida |"}, "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": ["llamadas"], "summary": "Califica una llamada, devuelve información sobre el mensaje de calificación enviado al bot VoIP oficial, consulta aquí » para obtener más información sobre el flujo completo.", "description": "Califica una llamada, devuelve información sobre el mensaje de calificación enviado al bot VoIP oficial; consulta [aquí »](https://core.telegram.org/api/calls.md#call-rating) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [llamadas telefonicas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CALL_PEER_INVALID`: el objeto de llamada del par proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Se debe establecer NOT si el usuario decidió por iniciativa propia calificar la llamada si el servidor solicitó la calificación con [phoneCallDiscarded](https://core.telegram.org/constructor/phoneCallDiscarded.md).`need_rating`."}, "peer": {"type": "object", "x-tl-type": "InputPhoneCall", "oneOf": [{"$ref": "#/components/schemas/inputPhoneCall"}], "description": "La llamada para calificar"}, "rating": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Calificación en `1-5` estrellas"}, "comment": {"type": "string", "x-tl-type": "string", "description": "Un comentario adicional con hashtags problemáticos, consulte [aquí »](https://core.telegram.org/api/calls.md#call-rating) para obtener más información sobre el flujo completo."}}, "additionalProperties": false, "required": ["peer", "rating", "comment"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `user_initiative` | `true` | No | Se debe establecer NOT si el usuario decidió por iniciativa propia calificar la llamada si el servidor solicitó la calificación con [phoneCallDiscarded](https://core.telegram.org/constructor/phoneCallDiscarded.md).`need_rating`. |\n| `peer` | `InputPhoneCall` | si | La llamada para calificar |\n| `rating` | `int` | si | Calificación en `1-5` estrellas |\n| `comment` | `string` | si | Un comentario adicional con hashtags problemáticos, consulte [aquí »](https://core.telegram.org/api/calls.md#call-rating) para obtener más información sobre el flujo completo. |"}, "x-telegram-rpc-errors": ["CALL_PEER_INVALID"], "x-browser-schema-id": "1508562471"}}, "/catalog/phone.saveCallDebug": {"post": {"operationId": "phone.saveCallDebug", "tags": ["llamadas"], "summary": "Enviar datos de depuración de llamadas telefónicas al servidor.", "description": "Envíe [llamada telefónica](https://core.telegram.org/api/calls.md#call-debug) datos de depuración al servidor.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [llamadas telefonicas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CALL_PEER_INVALID`: el objeto de llamada del par proporcionado no es válido.\n- 400 · `DATA_JSON_INVALID` — Los datos JSON proporcionados no son válidos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "llamada telefónica"}, "debug": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Estadísticas de depuración obtenidas de tgcalls"}}, "additionalProperties": false, "required": ["peer", "debug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | si | llamada telefónica |\n| `debug` | `DataJSON` | si | Estadísticas de depuración obtenidas de tgcalls |"}, "x-telegram-rpc-errors": ["CALL_PEER_INVALID", "DATA_JSON_INVALID"], "x-browser-schema-id": "662363518"}}, "/catalog/phone.sendSignalingData": {"post": {"operationId": "phone.sendSignalingData", "tags": ["llamadas"], "summary": "Envíe datos de señalización VoIP para una llamada telefónica en curso.", "description": "Envíe VoIP [datos de señalización](https://core.telegram.org/api/calls.md#signaling-data) para una llamada telefónica en curso.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [llamadas telefonicas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CALL_NOT_ACTIVE` — La llamada especificada no está activa.\n- 400 · `CALL_PEER_INVALID`: el objeto de llamada del par proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "llamada telefónica"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Carga útil de señalización"}}, "additionalProperties": false, "required": ["peer", "data"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | si | llamada telefónica |\n| `data` | `bytes` | si | Carga útil de señalización |"}, "x-telegram-rpc-errors": ["CALL_NOT_ACTIVE", "CALL_PEER_INVALID"], "x-browser-schema-id": "4286223235"}}, "/catalog/phone.createGroupCall": {"post": {"operationId": "phone.createGroupCall", "tags": ["llamadas"], "summary": "Cree un chat de video o una transmisión en vivo, consulte aquí » para ver el flujo completo.", "description": "Cree un chat de video o una transmisión en vivo; consulte [aquí »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) para ver el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](https://core.telegram.org/api/group-calls.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Trabajar con actualizaciones](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `CREATE_CALL_FAILED` — Se produjo un error al crear la llamada.\n- 400 · `GROUPCALL_ALREADY_DISCARDED` — La llamada grupal ya fue descartada.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `SCHEDULE_DATE_INVALID` — Se proporcionó una fecha de programación no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Cree la llamada en [RTMP modo de transmisión en vivo »](https://core.telegram.org/api/group-calls.md#stream-mode), donde un transmisor externo publica todo el audio y video"}, "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": "Asocie la llamada grupal o la transmisión en vivo al [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md) proporcionado"}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se requiere un ID de mensaje de cliente único para evitar la creación de llamadas grupales duplicadas. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Título de la llamada, si no está configurado, el valor predeterminado es el nombre del grupo/canal."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Fecha programada, al menos 10 segundos y como máximo 8 días en el futuro; la llamada aún debe iniciarse manualmente usando [phone.startScheduledGroupCall](https://core.telegram.org/method/phone.startScheduledGroupCall.md)"}}, "additionalProperties": false, "required": ["peer", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `rtmp_stream` | `true` | No | Cree la llamada en [RTMP modo de transmisión en vivo »](https://core.telegram.org/api/group-calls.md#stream-mode), donde un transmisor externo publica todo el audio y video |\n| `peer` | `InputPeer` | si | Asocie la llamada grupal o la transmisión en vivo al [grupo/supergrupo/canal](https://core.telegram.org/api/channel.md) proporcionado |\n| `random_id` | `int` | si | Se requiere un ID de mensaje de cliente único para evitar la creación de llamadas grupales duplicadas. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `title` | `string` | No | Título de la llamada, si no está configurado, el valor predeterminado es el nombre del grupo/canal. |\n| `schedule_date` | `int` | No | Fecha programada, al menos 10 segundos y como máximo 8 días en el futuro; la llamada aún debe iniciarse manualmente usando [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": ["llamadas"], "summary": "Únete a cualquier tipo de llamada grupal». Las conferencias telefónicas requieren además el flujo de unión E2E ».", "description": "Únase a cualquier [tipo de llamada grupal »](https://core.telegram.org/api/group-calls.md#group-call-types). Las conferencias telefónicas también requieren el [E2E flujo de unión »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call).\n\nEl campo `params` debe contener una carga útil de unión generada por el motor de llamadas grupales local tgcalls. Contiene un audio aleatorio distinto de cero `ssrc`, ICE `ufrag` y `pwd`, DTLS `fingerprints` y, al publicar un vídeo, `ssrc-groups`.\n\nPor ejemplo, una carga útil para unirse sin vídeo publicado tiene la siguiente forma:\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](https://core.telegram.org/api/group-calls.md)\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [E2E Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 403 · `CHAT_WRITE_FORBIDDEN` — No puedes escribir en este chat.\n- 400 · `DATA_JSON_INVALID` — Los datos JSON proporcionados no son válidos.\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 400 · `GROUPCALL_SSRC_DUPLICATE_MUCH`: la aplicación debe volver a intentar unirse a la llamada grupal con un nuevo valor SSRC.\n- 400 · `JOIN_AS_PEER_INVALID`: el interlocutor especificado no se puede utilizar para unirse a una llamada grupal.\n- 400 · `PUBLIC_KEY_INVALID`: la clave pública e2e especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Unirse silenciado; requerido para oyentes de historias en vivo y espectadores en modo RTMP"}, "video_stopped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Únete con el vídeo desactivado; requerido para oyentes de historias en vivo y espectadores en modo RTMP"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Llamada grupal para unirse"}, "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": "Únase a la llamada grupal, presentándose como el usuario/canal especificado; Este par también se utiliza como autor de mensajes durante las llamadas en videochats/transmisiones en vivo normales. Sólo los chats de vídeo/transmisiones en vivo pueden utilizar otro par; este campo debe ser igual a [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) al unirse a [historias en vivo»](https://core.telegram.org/api/group-calls.md#live-stories) o [conferencias telefónicas»](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": "El hash de invitación del [enlace de invitación »](https://core.telegram.org/api/links.md#video-chat-livestream-links), si se proporciona, permite hablar en una transmisión en vivo o en una llamada grupal silenciada ([chats de video/transmisiones en vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) únicamente, no puede ser utilizado por [historias en vivo »](https://core.telegram.org/api/group-calls.md#live-stories) o [llamadas de conferencia »](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": "Para [llamadas de conferencia »](https://core.telegram.org/api/group-calls.md#conference-calls) únicamente, su clave pública."}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.3?bytes", "description": "El [bloque de cadena principal que agrega al usuario que se une »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call), solo para [llamadas en conferencia »](https://core.telegram.org/api/group-calls.md#conference-calls)."}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Únase a la carga útil generada por el motor de llamadas grupales local tgcalls, como se describe arriba"}}, "additionalProperties": false, "required": ["call", "join_as", "params"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `muted` | `true` | No | Unirse silenciado; requerido para oyentes de historias en vivo y espectadores en modo RTMP |\n| `video_stopped` | `true` | No | Únete con el vídeo desactivado; requerido para oyentes de historias en vivo y espectadores en modo RTMP |\n| `call` | `InputGroupCall` | si | Llamada grupal para unirse |\n| `join_as` | `InputPeer` | si | Únase a la llamada grupal, presentándose como el usuario/canal especificado; Este par también se utiliza como autor de mensajes durante las llamadas en videochats/transmisiones en vivo normales. Sólo los chats de vídeo/transmisiones en vivo pueden utilizar otro par; este campo debe ser igual a [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) al unirse a [historias en vivo»](https://core.telegram.org/api/group-calls.md#live-stories) o [conferencias telefónicas»](https://core.telegram.org/api/group-calls.md#conference-calls). |\n| `invite_hash` | `string` | No | El hash de invitación del [enlace de invitación »](https://core.telegram.org/api/links.md#video-chat-livestream-links), si se proporciona, permite hablar en una transmisión en vivo o en una llamada grupal silenciada ([chats de video/transmisiones en vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) únicamente, no puede ser utilizado por [historias en vivo »](https://core.telegram.org/api/group-calls.md#live-stories) o [llamadas de conferencia »](https://core.telegram.org/api/group-calls.md#conference-calls)). |\n| `public_key` | `int256` | No | Para [llamadas de conferencia »](https://core.telegram.org/api/group-calls.md#conference-calls) únicamente, su clave pública. |\n| `block` | `bytes` | No | El [bloque de cadena principal que agrega al usuario que se une »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call), solo para [llamadas en conferencia »](https://core.telegram.org/api/group-calls.md#conference-calls). |\n| `params` | `DataJSON` | si | Únase a la carga útil generada por el motor de llamadas grupales local tgcalls, como se describe arriba |"}, "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": ["llamadas"], "summary": "Dejar una llamada grupal sin finalizarla para otros participantes. Este método se puede utilizar con todos los tipos de llamadas grupales; consulte aquí » para obtener más información.", "description": "Dejar una llamada grupal sin finalizarla para otros participantes. Este método se puede utilizar con todos los tipos de llamadas grupales; consulte [aquí »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Llamada grupal para salir"}, "source": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de origen del flujo de llamadas del grupo principal"}}, "additionalProperties": false, "required": ["call", "source"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Llamada grupal para salir |\n| `source` | `int` | si | ID de origen del flujo de llamadas del grupo principal |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "1342404601"}}, "/catalog/phone.inviteToGroupCall": {"post": {"operationId": "phone.inviteToGroupCall", "tags": ["llamadas"], "summary": "Invitar a un grupo de usuarios a un chat de vídeo/transmisión en vivo »; no se puede utilizar para historias en vivo » o conferencias telefónicas ».", "description": "Invitar a un grupo de usuarios a un [videochat/transmisión en vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams); no se puede utilizar para [historias en vivo »](https://core.telegram.org/api/group-calls.md#live-stories) o [conferencias telefónicas »](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `CHAT_TYPE_INVALID`: el tipo de usuario especificado no es válido.\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 400 · `INVITE_FORBIDDEN_WITH_JOINAS`: si el usuario se ha unido de forma anónima a una llamada grupal como canal, no puede invitar a otros usuarios a la llamada grupal porque eso causaría la desanonimización, porque la invitación se enviaría utilizando la ID de usuario original, no la ID del canal anónimo.\n- 400 · `USER_ALREADY_INVITED` — Ya has invitado a este usuario.\n- 403 · `USER_NOT_PARTICIPANT` — No eres miembro de este supergrupo/canal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El [videochat/transmisión en vivo »](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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Los usuarios a invitar."}}, "additionalProperties": false, "required": ["call", "users"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | El [videochat/transmisión en vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) |\n| `users` | `Vector<InputUser>` | si | Los usuarios a invitar. |"}, "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": ["llamadas"], "summary": "Finalice una llamada grupal y finalice la sala para todos los participantes. Este método se puede utilizar con todos los tipos de llamadas grupales; consulte aquí » para obtener más información.", "description": "Finalice una llamada grupal y finalice la sala para todos los participantes. Este método se puede utilizar con todos los tipos de llamadas grupales; consulte [aquí »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_ALREADY_DISCARDED` — La llamada grupal ya fue descartada.\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La llamada grupal para terminar."}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | La llamada grupal para terminar. |"}, "x-telegram-rpc-errors": ["GROUPCALL_ALREADY_DISCARDED", "GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "2054648117"}}, "/catalog/phone.toggleGroupCallSettings": {"post": {"operationId": "phone.toggleGroupCallSettings", "tags": ["llamadas"], "summary": "Cambie la configuración de llamadas grupales. Cada configuración admite diferentes tipos de llamadas grupales; consulte aquí » para obtener más información.", "description": "Cambie la configuración de llamadas grupales. Cada configuración admite diferentes tipos de llamadas grupales; consulte [aquí »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `GROUPCALL_CHANGE_FORBIDDEN`: no puedes cambiar esta configuración de llamada grupal.\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 400 · `GROUPCALL_NOT_MODIFIED` — La configuración de llamadas grupales no se modificó."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Invalidar enlaces de invitación existentes para videochats, transmisiones en vivo y conferencias"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Llamada grupal cuya configuración debe cambiarse"}, "join_muted": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Si los usuarios que se unen a un chat de vídeo/transmisión en vivo que no sea RTMP deben silenciarse de forma predeterminada"}, "messages_enabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Habilite o deshabilite la superposición de mensajes durante la llamada en videochats/transmisiones en vivo, conferencias e historias en vivo, incluso en el modo RTMP"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Establecer la donación mínima de Telegram Stars requerida por parte de usuarios distintos del propietario de la historia en vivo para cada comentario; el propietario siempre puede comentar sin realizar una donación y `0` permite comentarios gratuitos para todos", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `reset_invite_hash` | `true` | No | Invalidar enlaces de invitación existentes para videochats, transmisiones en vivo y conferencias |\n| `call` | `InputGroupCall` | si | Llamada grupal cuya configuración debe cambiarse |\n| `join_muted` | `Bool` | No | Si los usuarios que se unen a un chat de vídeo/transmisión en vivo que no sea RTMP deben silenciarse de forma predeterminada |\n| `messages_enabled` | `Bool` | No | Habilite o deshabilite la superposición de mensajes durante la llamada en videochats/transmisiones en vivo, conferencias e historias en vivo, incluso en el modo RTMP |\n| `send_paid_messages_stars` | `long` | No | Establecer la donación mínima de Telegram Stars requerida por parte de usuarios distintos del propietario de la historia en vivo para cada comentario; el propietario siempre puede comentar sin realizar una donación y `0` permite comentarios gratuitos para todos |"}, "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": ["llamadas"], "summary": "Obtenga información sobre una llamada grupal y sus participantes.", "description": "Obtenga información sobre una [llamada grupal](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) y sus participantes.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `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": "Tipo TL: phone.GroupCall."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Llamada grupal de cualquier tipo para buscar"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de participantes para devolver en esta llamada (0 para devolver una cantidad definida por el servidor).  Si el número de participantes devueltos es menor que [groupCall](https://core.telegram.org/constructor/groupCall.md).`participants_count`, pagina a través de los participantes restantes usando [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), pasando a `offset` el [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md).`participants_next_offset` devuelto por esta llamada.  Este parámetro se comporta de manera diferente en comparación con el `limit` de [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md); consulte [aquí »](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) para obtener más información."}}, "additionalProperties": false, "required": ["call", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Llamada grupal de cualquier tipo para buscar |\n| `limit` | `int` | si | Número máximo de participantes para devolver en esta llamada (0 para devolver una cantidad definida por el servidor).  Si el número de participantes devueltos es menor que [groupCall](https://core.telegram.org/constructor/groupCall.md).`participants_count`, pagina a través de los participantes restantes usando [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md), pasando a `offset` el [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md).`participants_next_offset` devuelto por esta llamada.  Este parámetro se comporta de manera diferente en comparación con el `limit` de [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md); consulte [aquí »](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) para obtener más información. |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "68699611"}}, "/catalog/phone.getGroupParticipants": {"post": {"operationId": "phone.getGroupParticipants", "tags": ["llamadas"], "summary": "Obtenga participantes de llamadas grupales.", "description": "Obtenga [llamada grupal](https://core.telegram.org/api/group-calls.md#getting-info-about-a-group-call) participantes.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Llamadas grupales](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": "Resultado de MTProto · `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": "Tipo TL: phone.GroupParticipants."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Llamada grupal cuyos participantes deben ser recuperados"}, "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Si se especifica, obtendrá información de los participantes del grupo sobre los pares especificados."}, "sources": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Si se especifica, obtendrá información de los participantes del grupo sobre los ID de fuente de WebRTC especificados."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Compensación de resultados, tomada del campo `next_offset` de [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) o del campo `participants_next_offset` de [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md), inicialmente una cadena vacía.  Nota: si no hay más resultados disponibles, la llamada al método devolverá un `next_offset` vacío; por lo tanto, evite proporcionar el `next_offset` devuelto en [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) si está vacío, para evitar un bucle infinito."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["call", "ids", "sources", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Llamada grupal cuyos participantes deben ser recuperados |\n| `ids` | `Vector<InputPeer>` | si | Si se especifica, obtendrá información de los participantes del grupo sobre los pares especificados. |\n| `sources` | `Vector<int>` | si | Si se especifica, obtendrá información de los participantes del grupo sobre los ID de fuente de WebRTC especificados. |\n| `offset` | `string` | si | Compensación de resultados, tomada del campo `next_offset` de [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) o del campo `participants_next_offset` de [phone.groupCall](https://core.telegram.org/constructor/phone.groupCall.md), inicialmente una cadena vacía.  Nota: si no hay más resultados disponibles, la llamada al método devolverá un `next_offset` vacío; por lo tanto, evite proporcionar el `next_offset` devuelto en [phone.groupParticipants](https://core.telegram.org/constructor/phone.groupParticipants.md) si está vacío, para evitar un bucle infinito. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["llamadas"], "summary": "Compruebe cuál de los ID de origen especificados el servidor todavía reconoce como unido a una llamada grupal. Este método se puede utilizar con todos los tipos de llamadas grupales; consulte aquí » para obtener más información.", "description": "Compruebe cuál de los ID de origen especificados el servidor todavía reconoce como unido a una llamada grupal. Este método se puede utilizar con todos los tipos de llamadas grupales; consulte [aquí »](https://core.telegram.org/api/group-calls.md#maintaining-group-call-connections) para obtener más información.\n\nDespués de unirse a la conexión principal con [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md), pase periódicamente su SSRC/ID de origen distinto de cero a este método. Si una conexión de presentación también está activa, incluya la fuente separada registrada usando [phone.joinGroupCallPresentation](https://core.telegram.org/method/phone.joinGroupCallPresentation.md).\n\nEl método devuelve el subconjunto de las fuentes proporcionadas que todavía están unidas. Una fuente faltante significa que se debe recrear y unir nuevamente la conexión correspondiente; no indica si los paquetes de medios están fluyendo actualmente. Si el método devuelve `GROUPCALL_JOIN_MISSING`, se debe volver a unir la conexión principal.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[int](https://core.telegram.org/type/int.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 400 · `GROUPCALL_JOIN_MISSING` — No te has unido a esta llamada grupal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Llamada grupal cuyas conexiones WebRTC deben verificarse"}, "sources": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Distintos de cero SSRC/ID de origen de las conexiones principales y de presentación de la persona que llama"}}, "additionalProperties": false, "required": ["call", "sources"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Llamada grupal cuyas conexiones WebRTC deben verificarse |\n| `sources` | `Vector<int>` | si | Distintos de cero SSRC/ID de origen de las conexiones principales y de presentación de la persona que llama |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "GROUPCALL_JOIN_MISSING"], "x-browser-schema-id": "3046963575"}}, "/catalog/phone.toggleGroupCallRecord": {"post": {"operationId": "phone.toggleGroupCallRecord", "tags": ["llamadas"], "summary": "Inicie o detenga la grabación de un video chat/transmisión en vivo, consulte aquí » para obtener más información. Las transmisiones de audio y video grabadas se enviarán automáticamente a Mensajes guardados (el chat con nosotros mismos).", "description": "Inicie o detenga la grabación de un videochat/transmisión en vivo; consulte [aquí »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) para obtener más información. Las transmisiones de audio y video grabadas se enviarán automáticamente a Mensajes guardados (el chat con nosotros mismos).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 400 · `GROUPCALL_NOT_MODIFIED` — La configuración de llamadas grupales no se modificó."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para iniciar o detener la grabación"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si grabar también secuencias de vídeo"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Video chat/transmisión en vivo para grabar"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Título de la grabación"}, "video_portrait": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Si la grabación de transmisión de video está habilitada, si desea grabar en modo vertical u horizontal"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `start` | `true` | No | Ya sea para iniciar o detener la grabación |\n| `video` | `true` | No | Si grabar también secuencias de vídeo |\n| `call` | `InputGroupCall` | si | Video chat/transmisión en vivo para grabar |\n| `title` | `string` | No | Título de la grabación |\n| `video_portrait` | `Bool` | No | Si la grabación de transmisión de video está habilitada, si desea grabar en modo vertical u horizontal |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID", "GROUPCALL_NOT_MODIFIED"], "x-browser-schema-id": "4045981448"}}, "/catalog/phone.editGroupCallParticipant": {"post": {"operationId": "phone.editGroupCallParticipant", "tags": ["llamadas"], "summary": "Edite información sobre un participante de un chat de video/transmisión en vivo o conferencia que no sea RTMP. El campo `raise_hand` solo se admite en videochats/transmisiones en vivo; consulte aquí » para obtener más información.", "description": "Edite información sobre un participante de un chat de video/transmisión en vivo o conferencia que no sea RTMP. El campo `raise_hand` solo se admite en videochats/transmisiones en vivo; consulte [aquí »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) para obtener más información.\n\nNota: Los parámetros [flags](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields).N?[Bool](https://core.telegram.org/type/Bool.md) pueden tener tres valores posibles:\n\n- Si el [TL flag](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields) no está configurado, el valor anterior no se cambiará.\n- Si el [TL flag](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields) está configurado y contiene un [boolTrue](https://core.telegram.org/constructor/boolTrue.md), el valor anterior se sobrescribirá a `true`.\n- Si el [TL flag](https://core.telegram.org/mtproto/TL-combinators.md#conditional-fields) está configurado y contiene un [boolFalse](https://core.telegram.org/constructor/boolFalse.md), el valor anterior se sobrescribirá a `false`.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 400 · `PARTICIPANT_JOIN_MISSING` — Intentando habilitar una presentación, cuando el usuario no se ha unido al Video Chat con [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md).\n- 400 · `RAISE_HAND_FORBIDDEN` — No puedes levantar la mano.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida.\n- 400 · `USER_VOLUME_INVALID`: el volumen de usuario especificado no es válido.\n- 400 · `VIDEO_PAUSE_FORBIDDEN` — No puedes pausar la transmisión de video.\n- 400 · `VIDEO_STOP_FORBIDDEN` — No puedes detener la transmisión de video."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Video chat/transmisión en vivo o conferencia que no sea RTMP"}, "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": "El participante de la llamada grupal (también puede ser el propio usuario)"}, "muted": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Cambiar el estado de silencio del participante; permitir que un participante silenciado a la fuerza se reactive el silencio por sí mismo no lo reactiva inmediatamente"}, "volume": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.1?int", "description": "Nuevo volumen, entre `1` y `20000`; `10000` representa el 100%. Sin derechos de moderación, cambiar el volumen de otro participante afecta solo a la reproducción local"}, "raise_hand": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.2?Bool", "description": "Levantar o bajar la mano; solo compatible con video chats/transmisiones en vivo"}, "video_stopped": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.3?Bool", "description": "Iniciar o detener la transmisión de video del usuario actual"}, "video_paused": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.4?Bool", "description": "Pausar o reanudar la transmisión de video del usuario actual"}, "presentation_paused": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.5?Bool", "description": "Pausar o reanudar el flujo de presentación del usuario actual"}}, "additionalProperties": false, "required": ["call", "participant"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Video chat/transmisión en vivo o conferencia que no sea RTMP |\n| `participant` | `InputPeer` | si | El participante de la llamada grupal (también puede ser el propio usuario) |\n| `muted` | `Bool` | No | Cambiar el estado de silencio del participante; permitir que un participante silenciado a la fuerza se reactive el silencio por sí mismo no lo reactiva inmediatamente |\n| `volume` | `int` | No | Nuevo volumen, entre `1` y `20000`; `10000` representa el 100%. Sin derechos de moderación, cambiar el volumen de otro participante afecta solo a la reproducción local |\n| `raise_hand` | `Bool` | No | Levantar o bajar la mano; solo compatible con video chats/transmisiones en vivo |\n| `video_stopped` | `Bool` | No | Iniciar o detener la transmisión de video del usuario actual |\n| `video_paused` | `Bool` | No | Pausar o reanudar la transmisión de video del usuario actual |\n| `presentation_paused` | `Bool` | No | Pausar o reanudar el flujo de presentación del usuario actual |"}, "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": ["llamadas"], "summary": "Edite el título de un video chat o transmisión en vivo. Este método no se puede utilizar con historias en vivo o conferencias, consulte aquí » para obtener más información.", "description": "Edite el título de un video chat o transmisión en vivo. Este método no se puede utilizar con historias en vivo o conferencias, consulte [aquí »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 o transmisión en vivo cuyo título debe cambiarse"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nuevo título"}}, "additionalProperties": false, "required": ["call", "title"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Video chat o transmisión en vivo cuyo título debe cambiarse |\n| `title` | `string` | si | Nuevo título |"}, "x-telegram-rpc-errors": ["GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "480685066"}}, "/catalog/phone.getGroupCallJoinAs": {"post": {"operationId": "phone.getGroupCallJoinAs", "tags": ["llamadas"], "summary": "Obtenga una lista de compañeros que pueden usarse para unirse a un chat de video o transmisión en vivo », presentándose como un usuario/canal específico.", "description": "Obtenga una lista de compañeros que pueden usarse para unirse a un [chat de video o transmisión en vivo »](https://core.telegram.org/api/group-calls.md#joining-a-group-call-on-behalf-of-owned-channels), presentándose como un usuario/canal específico.\n\nEste método no se puede utilizar para historias en vivo o conferencias telefónicas. Para comentar o reaccionar en una historia en vivo como otro par, use [channels.getSendAs](https://core.telegram.org/method/channels.getSendAs.md) con `for_live_stories` configurado y pase uno de los pares devueltos a [phone.sendGroupCallMessage](https://core.telegram.org/method/phone.sendGroupCallMessage.md).`send_as`.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `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": "Tipo TL: phone.JoinAsPeers."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El grupo básico, supergrupo o canal a cuyo video chat/transmisión en vivo estamos intentando unirnos; No se puede apuntar a una historia en vivo."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El grupo básico, supergrupo o canal a cuyo video chat/transmisión en vivo estamos intentando unirnos; No se puede apuntar a una historia en vivo. |"}, "x-telegram-rpc-errors": ["CHANNEL_INVALID", "PEER_ID_INVALID"], "x-browser-schema-id": "4017889594"}}, "/catalog/phone.exportGroupCallInvite": {"post": {"operationId": "phone.exportGroupCallInvite", "tags": ["llamadas"], "summary": "Obtenga un enlace de invitación para un videochat público/transmisión en vivo ».", "description": "Obtenga un enlace de invitación para un [video chat/transmisión en vivo» público ](https://core.telegram.org/api/group-calls.md#video-chats-livestreams).\n\nLos miembros o suscriptores que no sean administradores pueden exportar un enlace con `can_self_unmute` omitido. Solo los administradores de llamadas grupales pueden configurar `can_self_unmute` para exportar un enlace que permita a los usuarios hablar.\n\nNo se puede utilizar para chats de video/transmisiones en vivo asociados con grupos/canales privados, [llamadas de conferencia »](https://core.telegram.org/api/group-calls.md#conference-calls) o [historias en vivo »](https://core.telegram.org/api/group-calls.md#live-stories).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `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": "Tipo TL: phone.ExportedGroupCallInvite."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 403 · `PUBLIC_CHANNEL_MISSING`: solo puedes exportar enlaces de invitación a llamadas grupales para chats o canales públicos."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Para chats de video públicos/transmisiones en vivo, solo administradores de llamadas grupales: permita que los usuarios que se unan mediante este enlace hablen sin solicitar permiso explícitamente, por ejemplo, levantando la mano."}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "El público [video chat/livestream »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams)"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `can_self_unmute` | `true` | No | Para chats de video públicos/transmisiones en vivo, solo administradores de llamadas grupales: permita que los usuarios que se unan mediante este enlace hablen sin solicitar permiso explícitamente, por ejemplo, levantando la mano. |\n| `call` | `InputGroupCall` | si | El público [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": ["llamadas"], "summary": "Suscríbase o cancele la suscripción a una llamada grupal programada.", "description": "Suscríbase o cancele la suscripción a una [llamada grupal](https://core.telegram.org/api/group-calls.md#video-chats-livestreams)] programada.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `GROUPCALL_ALREADY_STARTED` — La llamada grupal ya comenzó, puedes unirte directamente usando [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md).\n- 403 · `GROUPCALL_FORBIDDEN` — La llamada de grupo especificada no se puede utilizar en este contexto.\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Video chat/transmisión en vivo programado que aún no ha comenzado"}, "subscribed": {"type": "boolean", "x-tl-type": "Bool", "description": "Si se debe recibir un mensaje de notificación de servicio cuando comience la llamada"}}, "additionalProperties": false, "required": ["call", "subscribed"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Video chat/transmisión en vivo programado que aún no ha comenzado |\n| `subscribed` | `Bool` | si | Si se debe recibir un mensaje de notificación de servicio cuando comience la llamada |"}, "x-telegram-rpc-errors": ["GROUPCALL_ALREADY_STARTED", "GROUPCALL_FORBIDDEN", "GROUPCALL_INVALID"], "x-browser-schema-id": "563885286"}}, "/catalog/phone.startScheduledGroupCall": {"post": {"operationId": "phone.startScheduledGroupCall", "tags": ["llamadas"], "summary": "Iniciar una llamada grupal programada.", "description": "Inicie una [llamada grupal](https://core.telegram.org/api/group-calls.md#video-chats-livestreams)] programada.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `GROUPCALL_ALREADY_STARTED` — La llamada grupal ya comenzó, puedes unirte directamente usando [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md).\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Video chat/transmisión en vivo programado para comenzar, antes o después de la fecha programada"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Video chat/transmisión en vivo programado para comenzar, antes o después de la fecha programada |"}, "x-telegram-rpc-errors": ["GROUPCALL_ALREADY_STARTED", "GROUPCALL_INVALID"], "x-browser-schema-id": "1451287362"}}, "/catalog/phone.saveDefaultGroupCallJoinAs": {"post": {"operationId": "phone.saveDefaultGroupCallJoinAs", "tags": ["llamadas"], "summary": "Establezca el par predeterminado utilizado para unirse a un chat de vídeo/transmisión en vivo » asociado con un diálogo específico.", "description": "Establezca el par predeterminado utilizado para unirse a un [chat de video/transmisión en vivo »](https://core.telegram.org/api/group-calls.md#joining-a-group-call-on-behalf-of-owned-channels) asociado con un diálogo específico.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `JOIN_AS_PEER_INVALID`: el interlocutor especificado no se puede utilizar para unirse a una llamada grupal.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Grupo básico, supergrupo o canal cuyo valor predeterminado de video chat/transmisión en vivo debe cambiarse"}, "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": "Par elegible para usar de forma predeterminada al unirse a los chats de video/transmisiones en vivo del diálogo, seleccionado entre [phone.getGroupCallJoinAs](https://core.telegram.org/method/phone.getGroupCallJoinAs.md)"}}, "additionalProperties": false, "required": ["peer", "join_as"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Grupo básico, supergrupo o canal cuyo valor predeterminado de video chat/transmisión en vivo debe cambiarse |\n| `join_as` | `InputPeer` | si | Par elegible para usar de forma predeterminada al unirse a los chats de video/transmisiones en vivo del diálogo, seleccionado entre [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": ["llamadas"], "summary": "Comience a compartir la pantalla en un chat de video/transmisión en vivo o conferencia que no sea RTMP. Las presentaciones no son compatibles con historias en vivo ni con videochats/transmisiones en vivo en modo RTMP; consulte aquí » para obtener más información.", "description": "Comience a compartir la pantalla en un chat de video/transmisión en vivo o conferencia que no sea RTMP. Las presentaciones no se admiten en historias en vivo ni en videochats/transmisiones en vivo en modo RTMP; consulte [aquí »](https://core.telegram.org/api/group-calls.md#presentations) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 403 · `PARTICIPANT_JOIN_MISSING` — Intentando habilitar una presentación, cuando el usuario no se ha unido al Video Chat con [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md)."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Se unió a video chat/transmisión en vivo o conferencia que no sea RTMP para comenzar a presentar"}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Únase a la carga útil generada por una instancia de motor de llamadas local independiente para la presentación"}}, "additionalProperties": false, "required": ["call", "params"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Se unió a video chat/transmisión en vivo o conferencia que no sea RTMP para comenzar a presentar |\n| `params` | `DataJSON` | si | Únase a la carga útil generada por una instancia de motor de llamadas local independiente para la presentación |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "PARTICIPANT_JOIN_MISSING"], "x-browser-schema-id": "3421137860"}}, "/catalog/phone.leaveGroupCallPresentation": {"post": {"operationId": "phone.leaveGroupCallPresentation", "tags": ["llamadas"], "summary": "Deje de compartir la pantalla en un chat de video/transmisión en vivo o conferencia que no sea RTMP. Las presentaciones no son compatibles con historias en vivo ni con videochats/transmisiones en vivo en modo RTMP; consulte aquí » para obtener más información.", "description": "Deje de compartir pantalla en un chat de video/transmisión en vivo o conferencia que no sea RTMP. Las presentaciones no se admiten en historias en vivo ni en videochats/transmisiones en vivo en modo RTMP; consulte [aquí »](https://core.telegram.org/api/group-calls.md#presentations) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Llamada grupal cuya conexión de presentación debe detenerse"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Llamada grupal cuya conexión de presentación debe detenerse |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "475058500"}}, "/catalog/phone.getGroupCallStreamChannels": {"post": {"operationId": "phone.getGroupCallStreamChannels", "tags": ["llamadas"], "summary": "Obtenga los canales de transmisión disponibles y la marca de tiempo de reproducción actual de un chat de video, transmisión en vivo o historia en vivo en modo RTMP; consulte aquí » para ver el flujo completo.", "description": "Obtenga los canales de transmisión disponibles y la marca de tiempo de reproducción actual de un chat de video, transmisión en vivo o historia en vivo en modo RTMP; consulte [aquí »](https://core.telegram.org/api/group-calls.md#rtmp-mode) para ver el flujo completo.\nSe debe unir la llamada de grupo antes de invocar este método. Envíe la solicitud al DC de medios especificado por [groupCall](https://core.telegram.org/constructor/groupCall.md).`stream_dc_id`.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `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": "Tipo TL: phone.GroupCallStreamChannels."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 400 · `GROUPCALL_JOIN_MISSING` — No te has unido a esta llamada grupal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 modo video chat, transmisión en vivo o historia en vivo"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | RTMP modo video chat, transmisión en vivo o historia en vivo |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "GROUPCALL_JOIN_MISSING"], "x-browser-schema-id": "447879488"}}, "/catalog/phone.getGroupCallStreamRtmpUrl": {"post": {"operationId": "phone.getGroupCallStreamRtmpUrl", "tags": ["llamadas"], "summary": "Obtenga la clave RTMP URL y de transmisión utilizada por el único transmisor externo que publica todo el audio y video para un chat de video, transmisión en vivo o historia en vivo en modo RTMP.", "description": "Obtenga la clave RTMP URL y de transmisión utilizada por el único transmisor externo que publica todo el audio y video para un chat de video, transmisión en vivo o historia en vivo en modo RTMP.\n\nConsulte [aquí »](https://core.telegram.org/api/group-calls.md#creating-and-publishing-an-rtmp-livestream) para ver el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `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": "Escriba TL: phone.GroupCallStreamRtmpUrl."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Obtenga credenciales para una historia en vivo RTMP en lugar de un chat de video/transmisión en vivo"}, "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": "Compañero que organizará el RTMP video chat, transmisión en vivo o historia en vivo"}, "revoke": {"type": "boolean", "x-tl-type": "Bool", "description": "Si se invalida la clave de transmisión anterior y se genera una nueva, en lugar de devolver la clave existente"}}, "additionalProperties": false, "required": ["peer", "revoke"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `live_story` | `true` | No | Obtenga credenciales para una historia en vivo RTMP en lugar de un chat de video/transmisión en vivo |\n| `peer` | `InputPeer` | si | Compañero que organizará el RTMP video chat, transmisión en vivo o historia en vivo |\n| `revoke` | `Bool` | si | Si se invalida la clave de transmisión anterior y se genera una nueva, en lugar de devolver la clave existente |"}, "x-telegram-rpc-errors": ["CHAT_ADMIN_REQUIRED", "PEER_ID_INVALID"], "x-browser-schema-id": "1525991226"}}, "/catalog/phone.saveCallLog": {"post": {"operationId": "phone.saveCallLog", "tags": ["llamadas"], "summary": "En desuso: enviar información de depuración de llamadas telefónicas libtgvoip", "description": "En desuso: enviar información de depuración de llamadas telefónicas libtgvoip\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CALL_PEER_INVALID`: el objeto de llamada del par proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "llamada telefónica"}, "file": {"type": "object", "x-tl-type": "InputFile", "oneOf": [{"$ref": "#/components/schemas/inputFile"}, {"$ref": "#/components/schemas/inputFileBig"}, {"$ref": "#/components/schemas/inputFileStoryDocument"}], "description": "Registros de libtgvoip"}}, "additionalProperties": false, "required": ["peer", "file"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPhoneCall` | si | llamada telefónica |\n| `file` | `InputFile` | si | Registros de libtgvoip |"}, "x-telegram-rpc-errors": ["CALL_PEER_INVALID"], "x-browser-schema-id": "1092913030"}}, "/catalog/phone.createConferenceCall": {"post": {"operationId": "phone.createConferenceCall", "tags": ["llamadas"], "summary": "Cree y, opcionalmente, únase a una nueva conferencia telefónica ».", "description": "Cree y, opcionalmente, únase a una nueva [conferencia telefónica »](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, silencia nuestro micrófono al unirte a la llamada (solo se puede usar si `join` está configurado)."}, "video_stopped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si está configurado, nuestra transmisión de video está deshabilitada (solo se puede usar si está configurado `join`)."}, "join": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Si está configurado, únase también a la llamada; de lo contrario, simplemente cree el enlace de la llamada."}, "random_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se requiere un ID de mensaje de cliente único para evitar la creación de llamadas grupales duplicadas. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID."}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "int256", "x-tl-flag": "flags.3?int256", "description": "Nueva clave pública E2E para el creador (solo se puede usar si `join` está configurada)."}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.3?bytes", "description": "Bloque de cadena principal inicial para la subcadena `0` (solo se puede usar si `join` está configurado)."}, "params": {"type": "object", "x-tl-type": "DataJSON", "oneOf": [{"$ref": "#/components/schemas/dataJSON"}], "description": "Únase a la carga útil generada por el motor de llamadas local (solo se puede usar si está configurado `join`).", "x-tl-flag": "flags.3?DataJSON"}}, "additionalProperties": false, "required": ["random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `muted` | `true` | No | Si está configurado, silencia nuestro micrófono al unirte a la llamada (solo se puede usar si `join` está configurado). |\n| `video_stopped` | `true` | No | Si está configurado, nuestra transmisión de video está deshabilitada (solo se puede usar si está configurado `join`). |\n| `join` | `true` | No | Si está configurado, únase también a la llamada; de lo contrario, simplemente cree el enlace de la llamada. |\n| `random_id` | `int` | si | Se requiere un ID de mensaje de cliente único para evitar la creación de llamadas grupales duplicadas. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `public_key` | `int256` | No | Nueva clave pública E2E para el creador (solo se puede usar si `join` está configurada). |\n| `block` | `bytes` | No | Bloque de cadena principal inicial para la subcadena `0` (solo se puede usar si `join` está configurado). |\n| `params` | `DataJSON` | No | Únase a la carga útil generada por el motor de llamadas local (solo se puede usar si está configurado `join`). |"}, "x-browser-schema-id": "2097431739"}}, "/catalog/phone.deleteConferenceCallParticipants": {"post": {"operationId": "phone.deleteConferenceCallParticipants", "tags": ["llamadas"], "summary": "Eliminar participantes de una conferencia telefónica ».", "description": "Eliminar participantes de una [conferencia telefónica »](https://core.telegram.org/api/end-to-end/group-calls.md#removing-a-participant).\n\nSe debe configurar exactamente una de las banderas `only_left` y `kick`.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [E2E Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se trata de una eliminación de miembros que ya abandonaron la conferencia telefónica."}, "kick": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Si se trata de una eliminación forzada de miembros activos en una conferencia telefónica."}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Conferencia de la que eliminar participantes"}, "ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "ID de usuario para eliminar de la conferencia y E2E blockchain"}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Bloque de la cadena principal que elimina los usuarios especificados y establece una nueva clave compartida, consulte [eliminar un participante »](https://core.telegram.org/api/end-to-end/group-calls.md#removing-a-participant)"}}, "additionalProperties": false, "required": ["call", "ids", "block"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `only_left` | `true` | No | Si se trata de una eliminación de miembros que ya abandonaron la conferencia telefónica. |\n| `kick` | `true` | No | Si se trata de una eliminación forzada de miembros activos en una conferencia telefónica. |\n| `call` | `InputGroupCall` | si | Conferencia de la que eliminar participantes |\n| `ids` | `Vector<long>` | si | ID de usuario para eliminar de la conferencia y E2E blockchain |\n| `block` | `bytes` | si | Bloque de la cadena principal que elimina los usuarios especificados y establece una nueva clave compartida, consulte [eliminar un participante »](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": ["llamadas"], "summary": "Envíe un mensaje de verificación a la subcadena de conferencia telefónica `1`, consulte subcadenas ».", "description": "Envíe un mensaje de verificación a la subcadena de conferencia telefónica `1`, consulte [subcadenas »](https://core.telegram.org/api/end-to-end/group-calls.md#subchains).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [E2E Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Conferencia cuya subcadena de verificación debe recibir el mensaje"}, "block": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Mensaje de verificación serializado `e2e.chain.GroupBroadcast`."}}, "additionalProperties": false, "required": ["call", "block"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Conferencia cuya subcadena de verificación debe recibir el mensaje |\n| `block` | `bytes` | si | Mensaje de verificación serializado `e2e.chain.GroupBroadcast`. |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "3329235200"}}, "/catalog/phone.inviteConferenceCallParticipant": {"post": {"operationId": "phone.inviteConferenceCallParticipant", "tags": ["llamadas"], "summary": "Invitar a un usuario a una llamada de conferencia.", "description": "Invitar a un usuario a una [conferencia telefónica](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se trata de una invitación a una videoconferencia"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "La conferencia telefónica."}, "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": "El usuario a invitar."}}, "additionalProperties": false, "required": ["call", "user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `video` | `true` | No | Si se trata de una invitación a una videoconferencia |\n| `call` | `InputGroupCall` | si | La conferencia telefónica. |\n| `user_id` | `InputUser` | si | El usuario a invitar. |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "3169986181"}}, "/catalog/phone.declineConferenceCallInvite": {"post": {"operationId": "phone.declineConferenceCallInvite", "tags": ["llamadas"], "summary": "Rechazar una invitación a una conferencia telefónica.", "description": "Rechazar una invitación a [conferencia telefónica](https://core.telegram.org/api/group-calls.md#conference-calls).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El ID del [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md) para rechazar."}}, "additionalProperties": false, "required": ["msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `msg_id` | `int` | si | El ID del [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md) para rechazar. |"}, "x-telegram-rpc-errors": ["MESSAGE_ID_INVALID"], "x-browser-schema-id": "1011325297"}}, "/catalog/phone.getGroupCallChainBlocks": {"post": {"operationId": "phone.getGroupCallChainBlocks", "tags": ["llamadas"], "summary": "Obtener bloques de una subcadena de conferencia telefónica »; manejar los updateGroupCallChainBlocks devueltos como se especifica aquí ».", "description": "Obtener bloques de una conferencia telefónica [subcadena »](https://core.telegram.org/api/end-to-end/group-calls.md#subchains); manejar los [updateGroupCallChainBlocks](https://core.telegram.org/constructor/updateGroupCallChainBlocks.md) devueltos como [especificado aquí »](https://core.telegram.org/api/end-to-end/group-calls.md#handling-updates).\n\nSi el número de bloques devueltos por *cualquier* llamada a este método es igual a `limit`, este método debe volver a invocarse inmediatamente después de procesar los [updateGroupCallChainBlocks](https://core.telegram.org/constructor/updateGroupCallChainBlocks.md) devueltos, con el `offset` recién confirmado (generalmente igual al `next_offset` devuelto).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [E2E Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Conferencia cuyos bloques de subcadena deben recuperarse"}, "sub_chain_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "`0` para la cadena de bloques estatal principal, `1` para la subcadena de verificación de llamadas"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Busque bloques a partir de esta altura; pase `-1` para buscar el último bloque"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de bloques a devolver en esta llamada, [ver paginación](https://core.telegram.org/api/offsets.md), máximo 100."}}, "additionalProperties": false, "required": ["call", "sub_chain_id", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Conferencia cuyos bloques de subcadena deben recuperarse |\n| `sub_chain_id` | `int` | si | `0` para la cadena de bloques estatal principal, `1` para la subcadena de verificación de llamadas |\n| `offset` | `int` | si | Busque bloques a partir de esta altura; pase `-1` para buscar el último bloque |\n| `limit` | `int` | si | Número máximo de bloques a devolver en esta llamada, [ver paginación](https://core.telegram.org/api/offsets.md), máximo 100. |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "4003432614"}}, "/catalog/phone.sendGroupCallMessage": {"post": {"operationId": "phone.sendGroupCallMessage", "tags": ["llamadas"], "summary": "Envíe un mensaje durante la llamada a todos los participantes de un video chat/transmisión en vivo o historia en vivo, incluso en el modo RTMP, consulte aquí » para obtener más información.", "description": "Envíe un mensaje durante la llamada a todos los participantes de un video chat/transmisión en vivo o historia en vivo, incluso en el modo RTMP; consulte [aquí »](https://core.telegram.org/api/group-calls.md#in-call-messages) para obtener más información.\n\nEl campo `send_as` solo se puede completar para historias en vivo, donde opcionalmente selecciona el autor mostrado. Si se omite, el servidor selecciona automáticamente el autor apropiado. No lo complete para videochats/transmisiones en vivo.\n\nLos videochats/transmisiones en vivo y las historias en vivo admiten [reacciones emoji animadas »](https://core.telegram.org/api/group-calls.md#in-call-reactions), codificadas como mensajes que contienen solo un emoji de reacción estándar disponible o una única entidad emoji personalizada.\n\nPara un comentario de historia en vivo pago, pase el monto de la donación confirmada por el usuario en `allow_paid_stars`. Para los comentaristas que no sean el propietario de la historia en vivo, esta cantidad debe ser al menos el mínimo actual de [groupCall](https://core.telegram.org/constructor/groupCall.md).`send_paid_messages_stars`. Se puede donar una cantidad mayor para resaltar el comentario. El propietario de la historia en vivo puede comentar sin completar `allow_paid_stars`. Para enviar una donación independiente pagada de una historia en vivo, pase un valor `allow_paid_stars` positivo y un `message` vacío; consulte [aquí »](https://core.telegram.org/api/group-calls.md#paid-live-story-donations) para ver el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida.\n- 400 · `GROUPCALL_JOIN_MISSING` — No te has unido a esta llamada grupal."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 o historia en vivo que debe recibir el mensaje, reacción o donación"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatoria nueva generada por el cliente que se utiliza para deduplicar el mensaje o la donación. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "oneOf": [{"$ref": "#/components/schemas/textWithEntities"}], "description": "Mensaje de texto o reacción emoji; pasar un valor vacío al enviar una donación de historia en vivo pagada e independiente"}, "allow_paid_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Número confirmado por el usuario de Telegram Stars para donar con un comentario en una historia en vivo o una donación independiente", "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": "Par opcional para mostrar como autor de un mensaje o reacción de una historia en vivo; Sólo se puede utilizar para historias en vivo.", "x-tl-flag": "flags.1?InputPeer"}}, "additionalProperties": false, "required": ["call", "random_id", "message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Video chat/livestream o historia en vivo que debe recibir el mensaje, reacción o donación |\n| `random_id` | `long` | si | ID aleatoria nueva generada por el cliente que se utiliza para deduplicar el mensaje o la donación. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `message` | `TextWithEntities` | si | Mensaje de texto o reacción emoji; pasar un valor vacío al enviar una donación de historia en vivo pagada e independiente |\n| `allow_paid_stars` | `long` | No | Número confirmado por el usuario de Telegram Stars para donar con un comentario en una historia en vivo o una donación independiente |\n| `send_as` | `InputPeer` | No | Par opcional para mostrar como autor de un mensaje o reacción de una historia en vivo; Sólo se puede utilizar para historias en vivo. |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID", "GROUPCALL_JOIN_MISSING"], "x-browser-schema-id": "2983269392"}}, "/catalog/phone.sendGroupCallEncryptedMessage": {"post": {"operationId": "phone.sendGroupCallEncryptedMessage", "tags": ["llamadas"], "summary": "Envíe un mensaje cifrado con E2E o una reacción emoji a todos los participantes de una conferencia telefónica. Este método sólo se puede utilizar con conferencias; consulte aquí » para conocer el proceso de serialización y cifrado.", "description": "Envíe un mensaje cifrado con E2E o una reacción emoji a todos los participantes de una conferencia telefónica. Este método sólo se puede utilizar con conferencias; consulte [aquí »](https://core.telegram.org/api/end-to-end/group-calls.md#conference-in-call-messages) para conocer el proceso de serialización y cifrado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [E2E Llamadas grupales](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Llamada de conferencia que debería recibir el mensaje o reacción cifrados"}, "encrypted_message": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Complete el mensaje cifrado o el paquete de reacción producido según lo especificado [aquí »](https://core.telegram.org/api/end-to-end/group-calls.md#encrypting-and-sending-a-message)"}}, "additionalProperties": false, "required": ["call", "encrypted_message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Llamada de conferencia que debería recibir el mensaje o reacción cifrados |\n| `encrypted_message` | `bytes` | si | Complete el mensaje cifrado o el paquete de reacción producido según lo especificado [aquí »](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": ["llamadas"], "summary": "Elimine mensajes específicos de la superposición de mensajes durante la llamada » de un video chat/transmisión en vivo o historia en vivo, incluso en el modo RTMP.", "description": "Elimine mensajes específicos de la [superposición de mensajes durante la llamada »](https://core.telegram.org/api/group-calls.md#in-call-messages) de un video chat/transmisión en vivo o historia en vivo, incluso en el modo RTMP.\n\nLos participantes no administradores pueden eliminar los mensajes que enviaron; Los administradores pueden eliminar cualquier mensaje.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Al moderar los mensajes de otro participante, repórtalos también como spam"}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Video chat/transmisión en vivo o historia en vivo que contenga los mensajes"}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de los mensajes a eliminar"}}, "additionalProperties": false, "required": ["call", "messages"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `report_spam` | `true` | No | Al moderar los mensajes de otro participante, repórtalos también como spam |\n| `call` | `InputGroupCall` | si | Video chat/transmisión en vivo o historia en vivo que contenga los mensajes |\n| `messages` | `Vector<int>` | si | ID de los mensajes a eliminar |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "4132394231"}}, "/catalog/phone.deleteGroupCallParticipantMessages": {"post": {"operationId": "phone.deleteGroupCallParticipantMessages", "tags": ["llamadas"], "summary": "Como administrador, elimine todos los mensajes de un participante específico en el mensaje superpuesto durante la llamada » de un video chat/transmisión en vivo o historia en vivo, incluso en el modo RTMP.", "description": "Como administrador, elimine todos los mensajes de un participante específico en la [superposición de mensajes durante la llamada »](https://core.telegram.org/api/group-calls.md#in-call-messages) de un video chat/transmisión en vivo o historia en vivo, incluso en el modo RTMP.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "También reportar los mensajes del participante como spam."}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "oneOf": [{"$ref": "#/components/schemas/inputGroupCall"}, {"$ref": "#/components/schemas/inputGroupCallSlug"}, {"$ref": "#/components/schemas/inputGroupCallInviteMessage"}], "description": "Video chat/transmisión en vivo o historia en vivo que contenga los mensajes"}, "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": "El participante cuyos mensajes deben eliminarse"}}, "additionalProperties": false, "required": ["call", "participant"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `report_spam` | `true` | No | También reportar los mensajes del participante como spam. |\n| `call` | `InputGroupCall` | si | Video chat/transmisión en vivo o historia en vivo que contenga los mensajes |\n| `participant` | `InputPeer` | si | El participante cuyos mensajes deben eliminarse |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "499117216"}}, "/catalog/phone.getGroupCallStars": {"post": {"operationId": "phone.getGroupCallStars", "tags": ["llamadas"], "summary": "Obtenga las donaciones totales de una historia en vivo y los principales donantes, vea las donaciones pagadas de historias en vivo ».", "description": "Obtenga las donaciones totales de una historia en vivo y los principales donantes, consulte [donaciones pagadas de historias en vivo »](https://core.telegram.org/api/group-calls.md#paid-live-story-donations).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `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": "Escribe TL: phone.GroupCallStars."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Llamada grupal de historia en vivo"}}, "additionalProperties": false, "required": ["call"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Llamada grupal de historia en vivo |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "1868784386"}}, "/catalog/phone.saveDefaultSendAs": {"post": {"operationId": "phone.saveDefaultSendAs", "tags": ["llamadas"], "summary": "Guarde el par predeterminado que se muestra como autor de los comentarios y reacciones de la historia en vivo, consulte los mensajes durante la llamada ».", "description": "Guarde el par predeterminado que se muestra como autor de los comentarios y reacciones de la historia en vivo, consulte [mensajes durante la llamada »](https://core.telegram.org/api/group-calls.md#in-call-messages).\n\nNo se puede utilizar para videochats/transmisiones en vivo normales, donde los mensajes durante la llamada se envían como el interlocutor utilizado para unirse a la llamada (`join_as`).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GROUPCALL_INVALID`: la llamada grupal especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Llamada grupal de historia en vivo"}, "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 para mostrar como autor de comentarios y reacciones posteriores"}}, "additionalProperties": false, "required": ["call", "send_as"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `call` | `InputGroupCall` | si | Llamada grupal de historia en vivo |\n| `send_as` | `InputPeer` | si | Peer para mostrar como autor de comentarios y reacciones posteriores |"}, "x-telegram-rpc-errors": ["GROUPCALL_INVALID"], "x-browser-schema-id": "1097313745"}}, "/catalog/langpack.getLangPack": {"post": {"operationId": "langpack.getLangPack", "tags": ["Traducciones"], "summary": "Obtener cadenas de paquetes de localización", "description": "Obtener cadenas de paquetes de localización\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `LangPackDifference`.\n\n[Diferencia de paquete de idioma](https://core.telegram.org/type/LangPackDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "LangPackDifference", "oneOf": [{"$ref": "#/components/schemas/langPackDifference"}], "description": "Tipo TL: LangPackDifference."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `LANGUAGE_INVALID`: el lang_code especificado no es válido.\n- 400 · `LANG_CODE_NOT_SUPPORTED`: el código de idioma especificado no es compatible.\n- 400 · `LANG_PACK_INVALID`: el paquete de idioma proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de plataforma (i.e. `android`, `tdesktop`, etc.)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](https://core.telegram.org/api/links.md#language-pack-links)."}}, "additionalProperties": false, "required": ["lang_pack", "lang_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | si | Identificador de plataforma (i.e. `android`, `tdesktop`, etc.). |\n| `lang_code` | `string` | si | Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](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": ["Traducciones"], "summary": "Obtener cadenas de un paquete de idioma", "description": "Obtener cadenas de un paquete de idioma\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `Vector<LangPackString>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[LangPackString](https://core.telegram.org/type/LangPackString.md)>", "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": "Tipo TL: LangPackString."}, "x-tl-type": "Vector<LangPackString>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `LANG_CODE_NOT_SUPPORTED`: el código de idioma especificado no es compatible.\n- 400 · `LANG_PACK_INVALID`: el paquete de idioma proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de plataforma (i.e. `android`, `tdesktop`, etc.)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](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": "Cuerdas para conseguir"}}, "additionalProperties": false, "required": ["lang_pack", "lang_code", "keys"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | si | Identificador de plataforma (i.e. `android`, `tdesktop`, etc.). |\n| `lang_code` | `string` | si | Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](https://core.telegram.org/api/links.md#language-pack-links). |\n| `keys` | `Vector<string>` | si | Cuerdas para conseguir |"}, "x-telegram-rpc-errors": ["LANG_CODE_NOT_SUPPORTED", "LANG_PACK_INVALID"], "x-browser-schema-id": "4025104387"}}, "/catalog/langpack.getDifference": {"post": {"operationId": "langpack.getDifference", "tags": ["Traducciones"], "summary": "Obtener nuevas cadenas en el paquete de idioma", "description": "Obtener nuevas cadenas en el paquete de idioma\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `LangPackDifference`.\n\n[Diferencia de paquete de idioma](https://core.telegram.org/type/LangPackDifference.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "LangPackDifference", "oneOf": [{"$ref": "#/components/schemas/langPackDifference"}], "description": "Tipo TL: LangPackDifference."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `LANG_PACK_INVALID`: el paquete de idioma proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de plataforma (i.e. `android`, `tdesktop`, etc.)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](https://core.telegram.org/api/links.md#language-pack-links)."}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versión anterior del paquete de localización"}}, "additionalProperties": false, "required": ["lang_pack", "lang_code", "from_version"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | si | Identificador de plataforma (i.e. `android`, `tdesktop`, etc.). |\n| `lang_code` | `string` | si | Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](https://core.telegram.org/api/links.md#language-pack-links). |\n| `from_version` | `int` | si | Versión anterior del paquete de localización |"}, "x-telegram-rpc-errors": ["LANG_PACK_INVALID"], "x-browser-schema-id": "3449309861"}}, "/catalog/langpack.getLanguages": {"post": {"operationId": "langpack.getLanguages", "tags": ["Traducciones"], "summary": "Obtenga información sobre todos los idiomas en un paquete de localización", "description": "Obtenga información sobre todos los idiomas en un paquete de localización\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Vector<LangPackLanguage>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[LangPackIdioma](https://core.telegram.org/type/LangPackLanguage.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "LangPackLanguage", "oneOf": [{"$ref": "#/components/schemas/langPackLanguage"}], "description": "Tipo TL: LangPackLanguage."}, "x-tl-type": "Vector<LangPackLanguage>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `LANG_PACK_INVALID`: el paquete de idioma proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de plataforma (i.e. `android`, `tdesktop`, etc.)."}}, "additionalProperties": false, "required": ["lang_pack"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | si | Identificador de plataforma (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": ["Traducciones"], "summary": "Obtener información sobre un idioma en un paquete de localización", "description": "Obtener información sobre un idioma en un paquete de localización\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `LangPackLanguage`.\n\n[LangPackIdioma](https://core.telegram.org/type/LangPackLanguage.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "LangPackLanguage", "oneOf": [{"$ref": "#/components/schemas/langPackLanguage"}], "description": "Tipo TL: LangPackLanguage."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `LANG_CODE_NOT_SUPPORTED`: el código de idioma especificado no es compatible.\n- 400 · `LANG_PACK_INVALID`: el paquete de idioma proporcionado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificador de plataforma (i.e. `android`, `tdesktop`, etc.)."}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](https://core.telegram.org/api/links.md#language-pack-links)."}}, "additionalProperties": false, "required": ["lang_pack", "lang_code"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `lang_pack` | `string` | si | Identificador de plataforma (i.e. `android`, `tdesktop`, etc.). |\n| `lang_code` | `string` | si | Ya sea un código de idioma ISO 639-1 o un nombre de paquete de idioma obtenido de un [enlace de paquete de idioma](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": ["Carpetas"], "summary": "Editar pares en la carpeta de pares", "description": "Editar pares en [carpeta de pares](https://core.telegram.org/api/folders.md#peer-folders)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHAT_ID_INVALID`: la identificación de chat proporcionada no es válida.\n- 400 · `FOLDER_ID_INVALID` — ID de carpeta no válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: InputFolderPeer."}, "x-tl-type": "Vector<InputFolderPeer>", "description": "Nueva lista de pares"}}, "additionalProperties": false, "required": ["folder_peers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `folder_peers` | `Vector<InputFolderPeer>` | si | Nueva lista de pares |"}, "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": ["Estadísticas"], "summary": "Obtener estadísticas del canal", "description": "Obtenga [estadísticas del canal](https://core.telegram.org/api/stats.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estadísticas del canal](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": "Resultado de MTProto · `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": "Escribe TL: stats.BroadcastStats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BROADCAST_REQUIRED`: este método solo se puede llamar en un canal; utilice stats.getMegagroupStats para supergrupos.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe habilitar el tema oscuro para los colores del gráfico"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "el canal"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dark` | `true` | No | Si se debe habilitar el tema oscuro para los colores del gráfico |\n| `channel` | `InputChannel` | si | el canal |"}, "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": ["Estadísticas"], "summary": "Cargar gráfico de estadísticas del canal de forma asincrónica", "description": "Cargar [gráfico de estadísticas del canal](https://core.telegram.org/api/stats.md) de forma asincrónica\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estadísticas del canal](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": "Resultado de MTProto · `StatsGraph`.\n\n[Gráfico de estadísticas](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": "Tipo TL: Gráfico de estadísticas."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `GRAPH_EXPIRED_RELOAD`: este gráfico ha caducado; obtenga un nuevo token de gráfico.\n- 400 · `GRAPH_INVALID_RELOAD`: se proporcionó un token de gráfico no válido; vuelva a cargar las estadísticas y proporcione el token actualizado.\n- 400 · `GRAPH_OUTDATED_RELOAD`: el gráfico está desactualizado; obtenga un nuevo token asíncrono usando stats.getBroadcastStats."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Token gráfico del constructor [statsGraphAsync](https://core.telegram.org/constructor/statsGraphAsync.md)]"}, "x": {"type": "string", "pattern": "^-?\\d+$", "description": "Valor de zoom, si es necesario", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "additionalProperties": false, "required": ["token"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `token` | `string` | si | Token gráfico del constructor [statsGraphAsync](https://core.telegram.org/constructor/statsGraphAsync.md)] |\n| `x` | `long` | No | Valor de zoom, si es necesario |"}, "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": ["Estadísticas"], "summary": "Obtener estadísticas de supergrupo", "description": "Obtenga [estadísticas de supergrupo](https://core.telegram.org/api/stats.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Estadísticas del canal](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": "Resultado de MTProto · `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": "Escribe TL: stats.MegagroupStats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 403 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `MEGAGROUP_REQUIRED` — Solo puedes utilizar este método en un supergrupo."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe habilitar el tema oscuro para los colores del gráfico"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "[ID de supergrupo](https://core.telegram.org/api/channel.md)"}}, "additionalProperties": false, "required": ["channel"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dark` | `true` | No | Si se debe habilitar el tema oscuro para los colores del gráfico |\n| `channel` | `InputChannel` | si | [ID de supergrupo](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": ["Estadísticas"], "summary": "Obtiene una lista de mensajes, indicando a qué otros canales públicos se reenvió un mensaje del canal.", "description": "Obtiene una lista de mensajes, indicando a qué otros canales públicos se reenvió un mensaje del canal.\nDevolverá una lista de [mensajes](https://core.telegram.org/constructor/message.md) con `peer_id` igual al canal público al que se reenvió este mensaje.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: stats.PublicForwards."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Canal fuente"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje de origen"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md), cadena vacía en la primera llamada, luego use el campo `next_offset` del constructor devuelto (si está presente; de lo contrario, no habrá más resultados disponibles)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["channel", "msg_id", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `channel` | `InputChannel` | si | Canal fuente |\n| `msg_id` | `int` | si | ID del mensaje de origen |\n| `offset` | `string` | si | Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md), cadena vacía en la primera llamada, luego use el campo `next_offset` del constructor devuelto (si está presente; de lo contrario, no habrá más resultados disponibles). |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Estadísticas"], "summary": "Obtener estadísticas de mensajes", "description": "Obtener [estadísticas de mensajes](https://core.telegram.org/api/stats.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estadísticas del canal](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": "Resultado de MTProto · `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": "Escribe TL: stats.MessageStats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `MESSAGE_ID_INVALID`: la identificación del mensaje proporcionada no es válida.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe habilitar el tema oscuro para los colores del gráfico"}, "channel": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "ID de canal"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje"}}, "additionalProperties": false, "required": ["channel", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dark` | `true` | No | Si se debe habilitar el tema oscuro para los colores del gráfico |\n| `channel` | `InputChannel` | si | ID de canal |\n| `msg_id` | `int` | si | ID de mensaje |"}, "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": ["Estadísticas"], "summary": "Obtenga estadísticas para una determinada historia.", "description": "Obtenga [estadísticas](https://core.telegram.org/api/stats.md) para una determinada [historia](https://core.telegram.org/api/stories.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estadísticas del canal](https://core.telegram.org/api/stats.md)\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Escribe TL: stats.StoryStats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORIES_NEVER_CREATED`: este compañero nunca ha publicado ninguna historia."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si habilitar el tema oscuro para los colores del gráfico"}, "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": "El compañero que publicó la historia."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de historia"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dark` | `true` | No | Si habilitar el tema oscuro para los colores del gráfico |\n| `peer` | `InputPeer` | si | El compañero que publicó la historia. |\n| `id` | `int` | si | ID de historia |"}, "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": ["Estadísticas"], "summary": "Obtenga reenvíos de una historia como mensaje para chats públicos y reenvíos por canales públicos.", "description": "Obtenga reenvíos de una [historia](https://core.telegram.org/api/stories.md) como mensaje para chats públicos y reenvíos por canales públicos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](https://core.telegram.org/api/stories.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Escribe TL: stats.PublicForwards."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde se publicó originalmente la historia."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Historia](https://core.telegram.org/api/stories.md) ID"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para paginación, desde [stats.PublicForwards](https://core.telegram.org/constructor/stats.publicForwards.md).`next_offset`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde se publicó originalmente la historia. |\n| `id` | `int` | si | [Historia](https://core.telegram.org/api/stories.md) ID |\n| `offset` | `string` | si | Desplazamiento para paginación, desde [stats.PublicForwards](https://core.telegram.org/constructor/stats.publicForwards.md).`next_offset`. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Estadísticas"], "summary": "Obtenga estadísticas de una encuesta enviada en un mensaje.", "description": "Obtenga [estadísticas](https://core.telegram.org/api/stats.md#poll-statistics) para una encuesta enviada en un mensaje.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Estadísticas del canal](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": "Resultado de MTProto · `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": "Escribe TL: stats.PollStats."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe habilitar el tema oscuro para los colores del gráfico"}, "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": "El par donde se envió la encuesta"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje que contiene la encuesta"}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dark` | `true` | No | Si se debe habilitar el tema oscuro para los colores del gráfico |\n| `peer` | `InputPeer` | si | El par donde se envió la encuesta |\n| `msg_id` | `int` | si | ID del mensaje que contiene la encuesta |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3263036008"}}, "/catalog/chatlists.exportChatlistInvite": {"post": {"operationId": "chatlists.exportChatlistInvite", "tags": ["Carpetas de chat"], "summary": "Exportar una carpeta», creando un enlace profundo a la carpeta de chat».", "description": "Exporte una [carpeta »](https://core.telegram.org/api/folders.md), creando un [enlace profundo de la carpeta de chat» ](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Canales, supergrupos, gigagrupos y grupos básicos](https://core.telegram.org/api/channel.md)\n- [Carpetas de diálogo](https://core.telegram.org/api/folders.md)\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `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": "Escribe TL: chatlists.ExportedChatlistInvite."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `CHATLISTS_TOO_MUCH`: ha creado demasiados enlaces de carpetas y ha alcanzado los `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [límites »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default).\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido.\n- 400 · `FILTER_NOT_SUPPORTED`: el filtro especificado no se puede utilizar en este contexto.\n- 400 · `INVITES_TOO_MUCH`: se alcanzó el número máximo de invitaciones por carpeta especificadas por `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [parámetros de configuración del cliente »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default).\n- 400 · `PEERS_LIST_EMPTY`: la lista especificada de pares está vacía."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La carpeta para exportar"}, "title": {"type": "string", "x-tl-type": "string", "description": "Un nombre opcional para el enlace."}, "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "La lista de canales, grupos y supergrupos para compartir con el enlace. Los grupos básicos se [convertirán automáticamente en supergrupos](https://core.telegram.org/api/channel.md#migration) al invocar el método."}}, "additionalProperties": false, "required": ["chatlist", "title", "peers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | si | La carpeta para exportar |\n| `title` | `string` | si | Un nombre opcional para el enlace. |\n| `peers` | `Vector<InputPeer>` | si | La lista de canales, grupos y supergrupos para compartir con el enlace. Los grupos básicos se [convertirán automáticamente en supergrupos](https://core.telegram.org/api/channel.md#migration) al invocar el método. |"}, "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": ["Carpetas de chat"], "summary": "Eliminar un enlace profundo de una carpeta de chat creada previamente».", "description": "Elimine un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links) creado previamente.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido.\n- 400 · `FILTER_NOT_SUPPORTED`: el filtro especificado no se puede utilizar en este contexto.\n- 400 · `INVITE_SLUG_EXPIRED`: el enlace de la carpeta de chat especificada ha caducado.\n- 400 · `INVITE_SLUG_INVALID`: el slug de invitación especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "La carpeta relacionada"}, "slug": {"type": "string", "x-tl-type": "string", "description": "`slug` obtenido del [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links)."}}, "additionalProperties": false, "required": ["chatlist", "slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | si | La carpeta relacionada |\n| `slug` | `string` | si | `slug` obtenido del [enlace profundo de la carpeta de chat »](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": ["Carpetas de chat"], "summary": "Editar un enlace profundo de una carpeta de chat».", "description": "Edite un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `ExportedChatlistInvite`.\n\n[Invitación a lista de chat exportada](https://core.telegram.org/type/ExportedChatlistInvite.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedChatlistInvite", "oneOf": [{"$ref": "#/components/schemas/exportedChatlistInvite"}], "description": "Tipo de TL: Invitación a lista de chat exportada."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido.\n- 400 · `FILTER_NOT_SUPPORTED`: el filtro especificado no se puede utilizar en este contexto.\n- 400 · `INVITE_SLUG_EMPTY`: el slug de invitación especificado está vacío.\n- 400 · `INVITE_SLUG_EXPIRED`: el enlace de la carpeta de chat especificada ha caducado.\n- 400 · `PEERS_LIST_EMPTY`: la lista especificada de pares está vacía."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de carpeta"}, "slug": {"type": "string", "x-tl-type": "string", "description": "`slug` obtenido del [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links)."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Si está configurado, establece un nuevo nombre para el enlace."}, "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "x-tl-flag": "flags.2?Vector<InputPeer>", "description": "Si está configurado, cambia la lista de pares compartidos con el enlace."}}, "additionalProperties": false, "required": ["chatlist", "slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | si | ID de carpeta |\n| `slug` | `string` | si | `slug` obtenido del [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links). |\n| `title` | `string` | No | Si está configurado, establece un nuevo nombre para el enlace. |\n| `peers` | `Vector<InputPeer>` | No | Si está configurado, cambia la lista de pares compartidos con el enlace. |"}, "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": ["Carpetas de chat"], "summary": "Enumere todos los enlaces profundos de la carpeta de chat » asociados a una carpeta", "description": "Enumere todos los [enlaces profundos de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links) asociados a una carpeta\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `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": "Tipo TL: chatlists.ExportedInvites."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la carpeta"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | si | la carpeta |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID"], "x-browser-schema-id": "3456359043"}}, "/catalog/chatlists.checkChatlistInvite": {"post": {"operationId": "chatlists.checkChatlistInvite", "tags": ["Carpetas de chat"], "summary": "Obtener información sobre un enlace profundo de una carpeta de chat».", "description": "Obtener información sobre un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `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": "Tipo TL: chatlists.ChatlistInvite."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `INVITE_SLUG_EMPTY`: el slug de invitación especificado está vacío.\n- 400 · `INVITE_SLUG_EXPIRED`: el enlace de la carpeta de chat especificada ha caducado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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` obtenido del [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links)"}}, "additionalProperties": false, "required": ["slug"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | `slug` obtenido del [enlace profundo de la carpeta de chat »](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": ["Carpetas de chat"], "summary": "Importar un enlace profundo de una carpeta de chat», uniéndose a algunos o todos los chats de la carpeta.", "description": "Importa un [enlace profundo de la carpeta de chat» ](https://core.telegram.org/api/links.md#chat-folder-links), uniéndote a algunos o todos los chats de la carpeta.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Carpetas de diálogo](https://core.telegram.org/api/folders.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNELS_TOO_MUCH` — Te has unido a demasiados canales/supergrupos.\n- 400 · `CHATLISTS_TOO_MUCH`: ha creado demasiados enlaces de carpetas y ha alcanzado los `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [límites »](https://core.telegram.org/api/config.md#chatlist-invites-limit-default).\n- 400 · `FILTER_INCLUDE_EMPTY` — El vector include_peers del filtro está vacío.\n- 400 · `INVITE_SLUG_EMPTY`: el slug de invitación especificado está vacío.\n- 400 · `INVITE_SLUG_EXPIRED`: el enlace de la carpeta de chat especificada ha caducado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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` obtenido de un [enlace profundo de la carpeta de chat »](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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Lista de nuevos chats a los que unirse, obtenidos usando [chatlists.checkChatlistInvite](https://core.telegram.org/method/chatlists.checkChatlistInvite.md) y filtrados como se especifica en la [documentación »](https://core.telegram.org/api/folders.md#shared-folders)."}}, "additionalProperties": false, "required": ["slug", "peers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slug` | `string` | si | `slug` obtenido de un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links). |\n| `peers` | `Vector<InputPeer>` | si | Lista de nuevos chats a los que unirse, obtenidos usando [chatlists.checkChatlistInvite](https://core.telegram.org/method/chatlists.checkChatlistInvite.md) y filtrados como se especifica en la [documentación »](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": ["Carpetas de chat"], "summary": "Obtenga nuevos chats asociados con un enlace profundo de una carpeta de chat importada ». Debe invocarse como máximo cada `chatlist_update_period` segundos (según el parámetro de configuración del cliente relacionado »).", "description": "Obtenga nuevos chats asociados con un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links). Debe invocarse como máximo cada `chatlist_update_period` segundos (según el [parámetro de configuración del cliente »](https://core.telegram.org/api/config.md#chatlist-update-period) relacionado).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](https://core.telegram.org/api/links.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `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": "Tipo TL: chatlists.ChatlistUpdates."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido.\n- 400 · `FILTER_NOT_SUPPORTED`: el filtro especificado no se puede utilizar en este contexto.\n- 400 · `INPUT_CHATLIST_INVALID`: la carpeta especificada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la carpeta"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | si | la carpeta |"}, "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": ["Carpetas de chat"], "summary": "Únase a canales y supergrupos agregados recientemente a un enlace profundo de la carpeta de chat ».", "description": "Únase a canales y supergrupos agregados recientemente a un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Carpetas de diálogo](https://core.telegram.org/api/folders.md)\n- [Enlaces profundos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido.\n- 400 · `FILTER_INCLUDE_EMPTY` — El vector include_peers del filtro está vacío."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la carpeta"}, "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Lista de nuevos chats a los que unirse, obtenidos usando [chatlists.getChatlistUpdates](https://core.telegram.org/method/chatlists.getChatlistUpdates.md) y filtrados como se especifica en la [documentación »](https://core.telegram.org/api/folders.md#shared-folders)."}}, "additionalProperties": false, "required": ["chatlist", "peers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | si | la carpeta |\n| `peers` | `Vector<InputPeer>` | si | Lista de nuevos chats a los que unirse, obtenidos usando [chatlists.getChatlistUpdates](https://core.telegram.org/method/chatlists.getChatlistUpdates.md) y filtrados como se especifica en la [documentación »](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": ["Carpetas de chat"], "summary": "Descartar nuevos pares pendientes agregados recientemente a un enlace profundo de una carpeta de chat».", "description": "Descartar nuevos pares pendientes agregados recientemente a un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido.\n- 400 · `FILTER_NOT_SUPPORTED`: el filtro especificado no se puede utilizar en este contexto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "la carpeta"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | si | la carpeta |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED"], "x-browser-schema-id": "1726252795"}}, "/catalog/chatlists.getLeaveChatlistSuggestions": {"post": {"operationId": "chatlists.getLeaveChatlistSuggestions", "tags": ["Carpetas de chat"], "summary": "Devuelve identificadores de chats anclados o siempre incluidos de una carpeta de chat importada mediante un enlace profundo de la carpeta de chat», que se sugiere dejar cuando se elimina la carpeta de chat.", "description": "Devuelve identificadores de chats anclados o siempre incluidos de una carpeta de chat importada mediante un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links), que se sugiere dejar cuando se elimina la carpeta de chat.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `Vector<Peer>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Par](https://core.telegram.org/type/Peer.md)>", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido.\n- 400 · `FILTER_NOT_SUPPORTED`: el filtro especificado no se puede utilizar en este contexto."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de carpeta"}}, "additionalProperties": false, "required": ["chatlist"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | si | ID de carpeta |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID", "FILTER_NOT_SUPPORTED"], "x-browser-schema-id": "4257011476"}}, "/catalog/chatlists.leaveChatlist": {"post": {"operationId": "chatlists.leaveChatlist", "tags": ["Carpetas de chat"], "summary": "Eliminar una carpeta importada mediante un enlace profundo de una carpeta de chat »", "description": "Eliminar una carpeta importada usando un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `FILTER_ID_INVALID`: el ID del filtro especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de carpeta"}, "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Deje también los canales y grupos especificados."}}, "additionalProperties": false, "required": ["chatlist", "peers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `chatlist` | `InputChatlist` | si | ID de carpeta |\n| `peers` | `Vector<InputPeer>` | si | Deje también los canales y grupos especificados. |"}, "x-telegram-rpc-errors": ["FILTER_ID_INVALID"], "x-browser-schema-id": "1962598714"}}, "/catalog/stories.canSendStory": {"post": {"operationId": "stories.canSendStory", "tags": ["Historias"], "summary": "Compruebe si podemos publicar historias como el par especificado.", "description": "Compruebe si podemos publicar historias como el par especificado.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Impulsos de canales y supergrupos](https://core.telegram.org/api/boost.md)\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Telegrama 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": "Resultado de MTProto · `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": "Escribe TL: stories.CanSendStoryCount."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOOSTS_REQUIRED` — El canal especificado primero debe ser [impulsado por sus usuarios](https://core.telegram.org/api/boost.md) para poder realizar esta acción.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción.\n- 400 · `STORIES_TOO_MUCH`: ha alcanzado el límite máximo de historias activas según lo especificado en los [`story_expiring_limit_*` parámetros de configuración del cliente](https://core.telegram.org/api/config.md#story-expiring-limit-default): debe comprar una suscripción [Premium](https://core.telegram.org/api/premium.md), eliminar una historia activa o esperar a que caduque la historia más antigua.\n- 400 · `STORY_SEND_FLOOD_MONTHLY_%d`: has alcanzado el límite mensual de historias según lo especificado en los [`stories_sent_monthly_limit_*` parámetros de configuración del cliente](https://core.telegram.org/api/config.md#stories-sent-monthly-limit-default): espera %d segundos antes de publicar una nueva historia.\n- 400 · `STORY_SEND_FLOOD_WEEKLY_%d`: has alcanzado el límite de historias semanales según lo especificado en los [`stories_sent_weekly_limit_*` parámetros de configuración del cliente](https://core.telegram.org/api/config.md#stories-sent-weekly-limit-default): espera %d segundos antes de publicar una nueva historia."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par del que deseamos publicar historias."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par del que deseamos publicar historias. |"}, "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": ["Historias"], "summary": "Sube una historia de Telegram.", "description": "Sube una [Historia de Telegram](https://core.telegram.org/api/stories.md).\n\nTambién se puede usar en una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md), *no* envolviendo la consulta en [invokeWithBusinessConnection »](https://core.telegram.org/method/invokeWithBusinessConnection.md), sino especificando el ID de un usuario comercial controlado en `peer`.\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](https://core.telegram.org/api/stories.md)\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Configuración de privacidad](https://core.telegram.org/api/privacy.md)\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Impulsos de canales y supergrupos](https://core.telegram.org/api/boost.md)\n- [Telegrama 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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOOSTS_REQUIRED` — El canal especificado primero debe ser [impulsado por sus usuarios](https://core.telegram.org/api/boost.md) para poder realizar esta acción.\n- 403 · `BOT_ACCESS_FORBIDDEN` — El método especificado *puede* usarse a través de una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algunas operaciones, pero la consulta especificada intentó una operación que no está permitida a través de una conexión comercial.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `IMAGE_PROCESS_FAILED` — Fallo al procesar la imagen.\n- 400 · `MEDIA_CAPTION_TOO_LONG` — El título es demasiado largo.\n- 400 · `MEDIA_EMPTY`: el objeto multimedia proporcionado no es válido.\n- 400 · `MEDIA_FILE_INVALID`: el archivo multimedia especificado no es válido.\n- 400 · `MEDIA_TYPE_INVALID`: el tipo de medio especificado no se puede utilizar en las historias.\n- 400 · `MEDIA_VIDEO_STORY_MISSING` — Un video que no es una historia no se puede volver a publicar como una historia (se emite al intentar reenviar un video que no es una historia como una historia usando inputDocument).\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `PHOTO_INVALID_DIMENSIONS` — Las dimensiones de la foto no son válidas.\n- 400 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción.\n- 400 · `REACTION_INVALID` — La reacción especificada no es válida.\n- 400 · `STORIES_TOO_MUCH`: ha alcanzado el límite máximo de historias activas según lo especificado en los [`story_expiring_limit_*` parámetros de configuración del cliente](https://core.telegram.org/api/config.md#story-expiring-limit-default): debe comprar una suscripción [Premium](https://core.telegram.org/api/premium.md), eliminar una historia activa o esperar a que caduque la historia más antigua.\n- 400 · `STORY_PERIOD_INVALID`: el período de la historia especificado no es válido para esta cuenta.\n- 400 · `VENUE_ID_INVALID`: el ID del lugar especificado no es válido.\n- 400 · `VIDEO_DURATION_INVALID`: la duración del vídeo especificado no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si agregar la historia al perfil automáticamente al vencimiento. Si no se configura, la historia solo se agregará al archivo; consulte [aquí »](https://core.telegram.org/api/stories.md) para obtener más información."}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Si está configurado, deshabilita los reenvíos, las capturas de pantalla y las descargas."}, "fwd_modified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Establezca esta bandera al volver a publicar historias con `fwd_from_id`+`fwd_from_story`, si el `media` se modificó antes de volver a publicar."}, "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": "El par al que se enviará la historia."}, "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": "Los medios de comunicación."}, "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": "Tipo de TL: MediaArea."}, "x-tl-type": "Vector<MediaArea>", "x-tl-flag": "flags.5?Vector<MediaArea>", "description": "[Áreas de medios](https://core.telegram.org/api/stories.md#media-areas) asociadas a la historia, consulte [aquí»](https://core.telegram.org/api/stories.md#media-areas) para obtener más información."}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Título de la historia."}, "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](https://core.telegram.org/api/entities.md), si lo permite el [`stories_entities` parámetro de configuración del cliente »](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": "Tipo de TL: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "description": "[Reglas de privacidad](https://core.telegram.org/api/privacy.md) para la historia, indicando quién puede o no ver la historia."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Se requiere un ID de mensaje de cliente único para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.3?int", "description": "Período después del cual la historia se mueve al archivo (y al perfil si está configurado `pinned`), en segundos; debe ser uno de `6 * 3600`, `12 * 3600`, `86400` o `2 * 86400` para usuarios de Telegram Premium, y `86400` en caso contrario."}, "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": "Si se establece, indica que esta historia es una nueva publicación de la historia con ID `fwd_from_story` publicada por el par en `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": "Si se establece, indica que esta historia es una nueva publicación de la historia con ID `fwd_from_story` publicada por el par en `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": "Si está configurado, agrega la historia a los álbumes especificados."}, "music": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Si está configurada, la pista de audio se reproducirá como música de fondo para la historia.", "x-tl-flag": "flags.9?InputDocument"}}, "additionalProperties": false, "required": ["peer", "media", "privacy_rules", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `pinned` | `true` | No | Si agregar la historia al perfil automáticamente al vencimiento. Si no se configura, la historia solo se agregará al archivo; consulte [aquí »](https://core.telegram.org/api/stories.md) para obtener más información. |\n| `noforwards` | `true` | No | Si está configurado, deshabilita los reenvíos, las capturas de pantalla y las descargas. |\n| `fwd_modified` | `true` | No | Establezca esta bandera al volver a publicar historias con `fwd_from_id`+`fwd_from_story`, si el `media` se modificó antes de volver a publicar. |\n| `peer` | `InputPeer` | si | El par al que se enviará la historia. |\n| `media` | `InputMedia` | si | Los medios de comunicación. |\n| `media_areas` | `Vector<MediaArea>` | No | [Áreas de medios](https://core.telegram.org/api/stories.md#media-areas) asociadas a la historia, consulte [aquí»](https://core.telegram.org/api/stories.md#media-areas) para obtener más información. |\n| `caption` | `string` | No | Título de la historia. |\n| `entities` | `Vector<MessageEntity>` | No | [Entidades de mensaje para texto con estilo](https://core.telegram.org/api/entities.md), si lo permite el [`stories_entities` parámetro de configuración del cliente »](https://core.telegram.org/api/config.md#stories-entities). |\n| `privacy_rules` | `Vector<InputPrivacyRule>` | si | [Reglas de privacidad](https://core.telegram.org/api/privacy.md) para la historia, indicando quién puede o no ver la historia. |\n| `random_id` | `long` | si | Se requiere un ID de mensaje de cliente único para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `period` | `int` | No | Período después del cual la historia se mueve al archivo (y al perfil si está configurado `pinned`), en segundos; debe ser uno de `6 * 3600`, `12 * 3600`, `86400` o `2 * 86400` para usuarios de Telegram Premium, y `86400` en caso contrario. |\n| `fwd_from_id` | `InputPeer` | No | Si se establece, indica que esta historia es una nueva publicación de la historia con ID `fwd_from_story` publicada por el par en `fwd_from_id`. |\n| `fwd_from_story` | `int` | No | Si se establece, indica que esta historia es una nueva publicación de la historia con ID `fwd_from_story` publicada por el par en `fwd_from_id`. |\n| `albums` | `Vector<int>` | No | Si está configurado, agrega la historia a los álbumes especificados. |\n| `music` | `InputDocument` | No | Si está configurada, la pista de audio se reproducirá como música de fondo para la historia. |"}, "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": ["Historias"], "summary": "Editar una historia cargada", "description": "Editar una [historia](https://core.telegram.org/api/stories.md)] cargada\n\nTambién se puede usar en una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md), *no* envolviendo la consulta en [invokeWithBusinessConnection »](https://core.telegram.org/method/invokeWithBusinessConnection.md), sino especificando el ID de un usuario comercial controlado en `peer`: en este contexto, el método solo se puede usar para editar historias publicadas por el mismo robot comercial en nombre del usuario con [stories.sendStory](https://core.telegram.org/method/stories.sendStory.md).\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](https://core.telegram.org/api/stories.md)\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Configuración de privacidad](https://core.telegram.org/api/privacy.md)\n- [Bots empresariales conectados](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORY_NOT_MODIFIED` — La información de la nueva historia que pasó es igual a la información de la historia anterior, por lo que no se modificó."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde se publicó la historia."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de la historia a editar."}, "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": "Si se especifica, reemplaza los medios de la historia.", "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": "Tipo de TL: MediaArea."}, "x-tl-type": "Vector<MediaArea>", "x-tl-flag": "flags.3?Vector<MediaArea>", "description": "[Áreas de medios](https://core.telegram.org/api/stories.md#media-areas) asociadas a la historia, consulte [aquí»](https://core.telegram.org/api/stories.md#media-areas) para obtener más información."}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Si se especifica, reemplaza el título de la historia."}, "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo en el título](https://core.telegram.org/api/entities.md), si lo permite el [`stories_entities` parámetro de configuración del cliente »](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": "Tipo de TL: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "x-tl-flag": "flags.2?Vector<InputPrivacyRule>", "description": "Si se especifica, altera la [configuración de privacidad »](https://core.telegram.org/api/privacy.md) de la historia, cambiando quién puede o no ver la historia."}, "music": {"type": "object", "x-tl-type": "InputDocument", "oneOf": [{"$ref": "#/components/schemas/inputDocumentEmpty"}, {"$ref": "#/components/schemas/inputDocument"}], "description": "Si está configurada, la nueva pista de audio se reproducirá como música de fondo para la historia.", "x-tl-flag": "flags.4?InputDocument"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde se publicó la historia. |\n| `id` | `int` | si | ID de la historia a editar. |\n| `media` | `InputMedia` | No | Si se especifica, reemplaza los medios de la historia. |\n| `media_areas` | `Vector<MediaArea>` | No | [Áreas de medios](https://core.telegram.org/api/stories.md#media-areas) asociadas a la historia, consulte [aquí»](https://core.telegram.org/api/stories.md#media-areas) para obtener más información. |\n| `caption` | `string` | No | Si se especifica, reemplaza el título de la historia. |\n| `entities` | `Vector<MessageEntity>` | No | [Entidades de mensaje para texto con estilo en el título](https://core.telegram.org/api/entities.md), si lo permite el [`stories_entities` parámetro de configuración del cliente »](https://core.telegram.org/api/config.md#stories-entities). |\n| `privacy_rules` | `Vector<InputPrivacyRule>` | No | Si se especifica, altera la [configuración de privacidad »](https://core.telegram.org/api/privacy.md) de la historia, cambiando quién puede o no ver la historia. |\n| `music` | `InputDocument` | No | Si está configurada, la nueva pista de audio se reproducirá como música de fondo para la historia. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "STORY_NOT_MODIFIED"], "x-browser-schema-id": "744728363"}}, "/catalog/stories.deleteStories": {"post": {"operationId": "stories.deleteStories", "tags": ["Historias"], "summary": "Elimina algunas historias publicadas.", "description": "Elimina algunas [historias](https://core.telegram.org/api/stories.md)] publicadas.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](https://core.telegram.org/api/stories.md)\n- [Bots empresariales conectados](https://core.telegram.org/api/bots/connected-business-bots.md)\n- [Negocio de telegramas](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": "Resultado de MTProto · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[int](https://core.telegram.org/type/int.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `BOT_ACCESS_FORBIDDEN` — El método especificado *puede* usarse a través de una [conexión comercial](https://core.telegram.org/api/bots/connected-business-bots.md) para algunas operaciones, pero la consulta especificada intentó una operación que no está permitida a través de una conexión comercial.\n- 400 · `BUSINESS_CONNECTION_INVALID`: el `connection_id` pasado a la llamada envolvente [invokeWithBusinessConnection](https://core.telegram.org/api/business.md) no es válido.\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORY_ID_EMPTY`: no especificaste ningún ID de historia."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Canal/usuario desde donde eliminar historias."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de historias para eliminar."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Canal/usuario desde donde eliminar historias. |\n| `id` | `Vector<int>` | si | ID de historias para eliminar. |"}, "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": ["Historias"], "summary": "Anclar o desanclar una o más historias", "description": "Anclar o desanclar una o más historias\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[int](https://core.telegram.org/type/int.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde fijar o desanclar historias"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de historias para anclar o desanclar"}, "pinned": {"type": "boolean", "x-tl-type": "Bool", "description": "Ya sea para fijar o desanclar las historias"}}, "additionalProperties": false, "required": ["peer", "id", "pinned"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde fijar o desanclar historias |\n| `id` | `Vector<int>` | si | ID de historias para anclar o desanclar |\n| `pinned` | `Bool` | si | Ya sea para fijar o desanclar las historias |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2591400431"}}, "/catalog/stories.getAllStories": {"post": {"operationId": "stories.getAllStories", "tags": ["Historias"], "summary": "Obtenga la lista de historias activas (o activas y ocultas), consulte aquí » para obtener más información sobre cómo ver historias.", "description": "Obtenga la lista de historias activas (o activas y ocultas); consulte [aquí »](https://core.telegram.org/api/stories.md#watching-stories) para obtener más información sobre cómo ver historias.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Escribe TL: stories.AllStories."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si `next` y `state` están configurados, utiliza el `state` pasado para paginar a los siguientes resultados; si no se configuran ni `state` ni `next`, recupera la página inicial; si `state` está configurado y `next` no está configurado, verifique si hay cambios en el conjunto de pares activo/oculto; consulte [aquí »](https://core.telegram.org/api/stories.md#watching-stories) para obtener más información sobre el flujo completo."}, "hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si está configurado, recupera la lista de historias activas ocultas; de lo contrario, recupera la lista de historias activas; consulte [aquí »](https://core.telegram.org/api/stories.md#watching-stories) para obtener más información sobre el flujo completo."}, "state": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Si `next` y `state` están configurados, utiliza el `state` pasado para paginar a los siguientes resultados; si no se configuran ni `state` ni `next`, recupera la página inicial; si `state` está configurado y `next` no está configurado, verifique si hay cambios en el conjunto de pares activo/oculto; consulte [aquí »](https://core.telegram.org/api/stories.md#watching-stories) para obtener más información sobre el flujo completo."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `next` | `true` | No | Si `next` y `state` están configurados, utiliza el `state` pasado para paginar a los siguientes resultados; si no se configuran ni `state` ni `next`, recupera la página inicial; si `state` está configurado y `next` no está configurado, verifique si hay cambios en el conjunto de pares activo/oculto; consulte [aquí »](https://core.telegram.org/api/stories.md#watching-stories) para obtener más información sobre el flujo completo. |\n| `hidden` | `true` | No | Si está configurado, recupera la lista de historias activas ocultas; de lo contrario, recupera la lista de historias activas; consulte [aquí »](https://core.telegram.org/api/stories.md#watching-stories) para obtener más información sobre el flujo completo. |\n| `state` | `string` | No | Si `next` y `state` están configurados, utiliza el `state` pasado para paginar a los siguientes resultados; si no se configuran ni `state` ni `next`, recupera la página inicial; si `state` está configurado y `next` no está configurado, verifique si hay cambios en el conjunto de pares activo/oculto; consulte [aquí »](https://core.telegram.org/api/stories.md#watching-stories) para obtener más información sobre el flujo completo. |"}, "x-browser-schema-id": "4004566565"}}, "/catalog/stories.getPinnedStories": {"post": {"operationId": "stories.getPinnedStories", "tags": ["Historias"], "summary": "Busque las historias fijadas en el perfil de un compañero.", "description": "Busca las [historias](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) fijadas en el perfil de un compañero.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: stories.Stories."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `USER_ID_INVALID`: la identificación de usuario proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Compañero cuyas historias fijadas deben recuperarse"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Compañero cuyas historias fijadas deben recuperarse |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Historias"], "summary": "Obtener el archivo de historias » de un par que controlamos.", "description": "Obtenga el [archivo de historias »](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) de un par que controlamos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: stories.Stories."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Compañero cuyas historias archivadas deben recuperarse"}, "offset_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md)"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset_id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Compañero cuyas historias archivadas deben recuperarse |\n| `offset_id` | `int` | si | [Compensaciones para paginación, para más información haga clic aquí](https://core.telegram.org/api/offsets.md) |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Historias"], "summary": "Obtenga información completa sobre un conjunto de historias por sus ID.", "description": "Obtenga información completa sobre un conjunto de [historias](https://core.telegram.org/api/stories.md) por sus ID.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: stories.Stories."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORIES_NEVER_CREATED`: este compañero nunca ha publicado ninguna historia.\n- 400 · `STORY_ID_EMPTY`: no especificaste ningún ID de historia."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde se publicaron las historias."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de historias"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde se publicaron las historias. |\n| `id` | `Vector<int>` | si | ID de historias |"}, "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": ["Historias"], "summary": "Oculta las historias activas de un compañero específico, evitando que se muestren en la barra de acciones de la pantalla de inicio.", "description": "Oculta las historias activas de un compañero específico, evitando que se muestren en la barra de acciones de la pantalla de inicio.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Ya sea para ocultar o mostrar todas las historias activas del par"}}, "additionalProperties": false, "required": ["hidden"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hidden` | `Bool` | si | Ya sea para ocultar o mostrar todas las historias activas del par |"}, "x-browser-schema-id": "2082822084"}}, "/catalog/stories.readStories": {"post": {"operationId": "stories.readStories", "tags": ["Historias"], "summary": "Marcar todas las historias hasta un determinado ID como leídas, para un par determinado; emitirá una actualización updateReadStories para todas las sesiones iniciadas.", "description": "Marcar todas las historias hasta un determinado ID como leídas, para un par determinado; emitirá una actualización [updateReadStories](https://core.telegram.org/constructor/updateReadStories.md) para todas las sesiones iniciadas.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Vector<int>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[int](https://core.telegram.org/type/int.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `MAX_ID_INVALID`: el ID máximo proporcionado no es válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORIES_NEVER_CREATED`: este compañero nunca ha publicado ninguna historia."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El compañero cuyas historias deben marcarse como leídas."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Marcar todas las historias hasta este ID incluido como leídas"}}, "additionalProperties": false, "required": ["peer", "max_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El compañero cuyas historias deben marcarse como leídas. |\n| `max_id` | `int` | si | Marcar todas las historias hasta este ID incluido como leídas |"}, "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": ["Historias"], "summary": "Incrementa el contador de vistas de una o más historias.", "description": "Incrementa el contador de vistas de una o más historias.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORY_ID_EMPTY`: no especificaste ningún ID de historia."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde se publicaron las historias."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de las historias (máximo 200 a la vez)."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde se publicaron las historias. |\n| `id` | `Vector<int>` | si | ID de las historias (máximo 200 a la vez). |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID", "STORY_ID_EMPTY"], "x-browser-schema-id": "2986511099"}}, "/catalog/stories.getStoryViewsList": {"post": {"operationId": "stories.getStoryViewsList", "tags": ["Historias"], "summary": "Obtener la lista de usuarios que han visto una historia específica que publicamos", "description": "Obtenga la lista de usuarios que han visto una [historia que publicamos](https://core.telegram.org/api/stories.md)] específica\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [lista de contactos](https://core.telegram.org/api/contacts.md)\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: stories.StoryViewsList."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORY_ID_INVALID`: el ID de historia especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si solo se deben obtener reacciones/vistas realizadas por nuestros [contactos](https://core.telegram.org/api/contacts.md)"}, "reactions_first": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Si se debe devolver [storyView](https://core.telegram.org/constructor/storyView.md) información sobre los usuarios que reaccionaron a la historia (i.e. Si está configurado, el servidor primero ordenará los resultados por fecha de visualización como de costumbre, y luego también ordenará la lista poniendo [storyView](https://core.telegram.org/constructor/storyView.md)s con una reacción asociada primero en la lista). Se ignora si se establece `forwards_first`."}, "forwards_first": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.3?true", "description": "Si está configurado, regresa hacia adelante y vuelve a publicar primero, luego las reacciones y luego otras vistas; de lo contrario, devuelve interacciones ordenadas solo por fecha de interacción."}, "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": "Mira dónde se publicó la historia."}, "q": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Buscar pares específicos"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de historia"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para paginación, obtenido de [stories.storyViewsList](https://core.telegram.org/constructor/stories.storyViewsList.md).`next_offset`"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `just_contacts` | `true` | No | Si solo se deben obtener reacciones/vistas realizadas por nuestros [contactos](https://core.telegram.org/api/contacts.md) |\n| `reactions_first` | `true` | No | Si se debe devolver [storyView](https://core.telegram.org/constructor/storyView.md) información sobre los usuarios que reaccionaron a la historia (i.e. Si está configurado, el servidor primero ordenará los resultados por fecha de visualización como de costumbre, y luego también ordenará la lista poniendo [storyView](https://core.telegram.org/constructor/storyView.md)s con una reacción asociada primero en la lista). Se ignora si se establece `forwards_first`. |\n| `forwards_first` | `true` | No | Si está configurado, regresa hacia adelante y vuelve a publicar primero, luego las reacciones y luego otras vistas; de lo contrario, devuelve interacciones ordenadas solo por fecha de interacción. |\n| `peer` | `InputPeer` | si | Mira dónde se publicó la historia. |\n| `q` | `string` | No | Buscar pares específicos |\n| `id` | `int` | si | ID de historia |\n| `offset` | `string` | si | Desplazamiento para paginación, obtenido de [stories.storyViewsList](https://core.telegram.org/constructor/stories.storyViewsList.md).`next_offset` |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Historias"], "summary": "Obtenga información sobre el recuento de vistas, el recuento de reenvíos, las reacciones y los espectadores recientes de una o más historias.", "description": "Obtenga información sobre el recuento de vistas, el recuento de reenvíos, las reacciones y los espectadores recientes de una o más [historias](https://core.telegram.org/api/stories.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: stories.StoryViews."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORY_ID_EMPTY`: no especificaste ningún ID de historia."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Compañero cuyas historias se deben recuperar"}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de historias"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Compañero cuyas historias se deben recuperar |\n| `id` | `Vector<int>` | si | ID de historias |"}, "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": ["Historias"], "summary": "Generar un enlace profundo de historia para una historia específica", "description": "Genera un [enlace profundo de la historia](https://core.telegram.org/api/links.md#story-links) para una historia específica\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Enlaces profundos](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": "Resultado de MTProto · `ExportedStoryLink`.\n\n[ExportadoStoryLink](https://core.telegram.org/type/ExportedStoryLink.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "ExportedStoryLink", "oneOf": [{"$ref": "#/components/schemas/exportedStoryLink"}], "description": "Tipo de TL: ExportedStoryLink."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORY_ID_EMPTY`: no especificaste ningún ID de historia.\n- 400 · `USER_PUBLIC_MISSING`: no se puede generar un enlace a historias publicadas por un compañero sin un nombre de usuario."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde se publicó la historia."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de historia"}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde se publicó la historia. |\n| `id` | `int` | si | ID de historia |"}, "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": ["Historias"], "summary": "Reportar una historia.", "description": "Reportar una historia.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `ReportResult`.\n\n[Resultado del informe](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": "Tipo de TL: InformeResultado."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El compañero que subió la historia."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de las historias a reportar."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Opción de menú, inicialmente vacía"}, "message": {"type": "string", "x-tl-type": "string", "description": "Comentario para moderación del informe."}}, "additionalProperties": false, "required": ["peer", "id", "option", "message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El compañero que subió la historia. |\n| `id` | `Vector<int>` | si | ID de las historias a reportar. |\n| `option` | `bytes` | si | Opción de menú, inicialmente vacía |\n| `message` | `string` | si | Comentario para moderación del informe. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "433646405"}}, "/catalog/stories.activateStealthMode": {"post": {"operationId": "stories.activateStealthMode", "tags": ["Historias"], "summary": "Activa el modo sigiloso de historias, consulta aquí » para obtener más información.", "description": "Activa el [modo sigiloso de historias](https://core.telegram.org/api/stories.md#stealth-mode), consulta [aquí»](https://core.telegram.org/api/stories.md#stealth-mode) para obtener más información.\n\nDevolverá un [updateStoriesStealthMode](https://core.telegram.org/constructor/updateStoriesStealthMode.md).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Historias de telegramas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PREMIUM_ACCOUNT_REQUIRED` — Se requiere una cuenta premium para ejecutar esta acción."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se borran las vistas de cualquier historia abierta en los últimos [`stories_stealth_past_period` segundos »](https://core.telegram.org/api/config.md#stories-stealth-past-period), según lo especificado en la [configuración del cliente](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": "Si se deben ocultar vistas de historias futuras durante los próximos [`stories_stealth_future_period` segundos »](https://core.telegram.org/api/config.md#stories-stealth-future-period), según lo especificado en la [configuración del cliente](https://core.telegram.org/api/config.md#client-configuration)."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `past` | `true` | No | Si se borran las vistas de cualquier historia abierta en los últimos [`stories_stealth_past_period` segundos »](https://core.telegram.org/api/config.md#stories-stealth-past-period), según lo especificado en la [configuración del cliente](https://core.telegram.org/api/config.md#client-configuration). |\n| `future` | `true` | No | Si se deben ocultar vistas de historias futuras durante los próximos [`stories_stealth_future_period` segundos »](https://core.telegram.org/api/config.md#stories-stealth-future-period), según lo especificado en la [configuración del cliente](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": ["Historias"], "summary": "Reaccionar ante una historia.", "description": "Reaccionar ante una historia.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Reacciones al mensaje](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `REACTION_INVALID` — La reacción especificada no es válida.\n- 400 · `STORIES_NEVER_CREATED`: este compañero nunca ha publicado ninguna historia.\n- 400 · `STORY_ID_EMPTY`: no especificaste ningún ID de historia.\n- 400 · `STORY_ID_INVALID`: el ID de historia especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe agregar esta reacción a la [lista de reacciones recientes »](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": "El compañero que envió la historia."}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de la historia a la que reaccionar"}, "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": "Reacción"}}, "additionalProperties": false, "required": ["peer", "story_id", "reaction"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `add_to_recent` | `true` | No | Si se debe agregar esta reacción a la [lista de reacciones recientes »](https://core.telegram.org/api/reactions.md#recent-reactions). |\n| `peer` | `InputPeer` | si | El compañero que envió la historia. |\n| `story_id` | `int` | si | ID de la historia a la que reaccionar |\n| `reaction` | `Reaction` | si | Reacción |"}, "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": ["Historias"], "summary": "Obtenga la lista completa de historias activas de un par específico.", "description": "Obtenga la [lista de historias](https://core.telegram.org/api/stories.md#watching-stories) activa completa de un compañero específico.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: stories.PeerStories."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `MSG_ID_INVALID`: ID de mensaje proporcionado no válido.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Compañero cuyas historias se deben recuperar"}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Compañero cuyas historias se deben recuperar |"}, "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": ["Historias"], "summary": "Obtenga el ID de la historia leída más reciente para todos los pares cuando inicien sesión por primera vez, devuelto como una lista de actualizaciones de updateReadStories; consulte aquí » para obtener más información.", "description": "Obtenga el ID de la historia leída más reciente para todos los pares al iniciar sesión por primera vez, que se devuelve como una lista de actualizaciones de [updateReadStories](https://core.telegram.org/constructor/updateReadStories.md); consulte [aquí »](https://core.telegram.org/api/stories.md#watching-stories) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/stories.getAllReadPeerStories"}, "x-browser-schema-id": "2606426105"}}, "/catalog/stories.getPeerMaxIDs": {"post": {"operationId": "stories.getPeerMaxIDs", "tags": ["Historias"], "summary": "Obtenga resúmenes de historias activos y compactos » para un grupo de compañeros.", "description": "Obtenga [resúmenes de historias activos »](https://core.telegram.org/api/stories.md#recent-story-summaries) compactos para un conjunto de pares.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `Vector<RecentStory>`.\n\n[Vector](https://core.telegram.org/type/Vector%20t)<[Historia reciente](https://core.telegram.org/type/RecentStory.md)>", "content": {"application/json": {"schema": {"type": "array", "items": {"type": "object", "x-tl-type": "RecentStory", "oneOf": [{"$ref": "#/components/schemas/recentStory"}], "description": "Tipo de TL: Historia reciente."}, "x-tl-type": "Vector<RecentStory>"}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Compañeros cuyos [resúmenes de historias activas »](https://core.telegram.org/api/stories.md#recent-story-summaries) deben recuperarse."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<InputPeer>` | si | Compañeros cuyos [resúmenes de historias activas »](https://core.telegram.org/api/stories.md#recent-story-summaries) deben recuperarse. |"}, "x-browser-schema-id": "2018087280"}}, "/catalog/stories.getChatsToSend": {"post": {"operationId": "stories.getChatsToSend", "tags": ["Historias"], "summary": "Obtener una lista de canales donde el usuario puede publicar historias.", "description": "Obtener una lista de canales donde el usuario puede publicar [historias](https://core.telegram.org/api/stories.md)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: messages.Chats."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/stories.getChatsToSend"}, "x-browser-schema-id": "2775223136"}}, "/catalog/stories.togglePeerStoriesHidden": {"post": {"operationId": "stories.togglePeerStoriesHidden", "tags": ["Historias"], "summary": "Ocultar las historias activas de un usuario, evitando que se muestren en la barra de acciones de la pantalla de inicio, consulte aquí » para más información.", "description": "Ocultar las historias activas de un usuario, evitando que se muestren en la barra de acciones de la pantalla de inicio, consulte [aquí »](https://core.telegram.org/api/stories.md#hiding-stories-of-other-users) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Compañeros cuyas historias deberían estar (des)ocultadas."}, "hidden": {"type": "boolean", "x-tl-type": "Bool", "description": "Ya sea para ocultar o mostrar historias."}}, "additionalProperties": false, "required": ["peer", "hidden"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Compañeros cuyas historias deberían estar (des)ocultadas. |\n| `hidden` | `Bool` | si | Ya sea para ocultar o mostrar historias. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "3171161540"}}, "/catalog/stories.getStoryReactionsList": {"post": {"operationId": "stories.getStoryReactionsList", "tags": ["Historias"], "summary": "Obtenga la lista de reacciones e interacciones de una historia publicada en un canal, junto con el remitente de cada reacción.", "description": "Obtenga la [reacción](https://core.telegram.org/api/reactions.md) y la lista de interacciones de una [historia](https://core.telegram.org/api/stories.md) publicada en un canal, junto con el remitente de cada reacción.\n\nSolo lo pueden utilizar los administradores del canal.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](https://core.telegram.org/api/stories.md)\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Reacciones al mensaje](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": "Resultado de MTProto · `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": "Tipo TL: stories.StoryReactionsList."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si está configurado, regresa hacia adelante y vuelve a publicar primero, luego las reacciones y luego otras vistas; de lo contrario, devuelve interacciones ordenadas solo por fecha de interacción."}, "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": "canal"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Historia](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": "Obtén solo reacciones de este tipo.", "x-tl-flag": "flags.0?Reaction"}, "offset": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Desplazamiento para paginación (tomado del campo `next_offset` del [stories.StoryReactionsList](https://core.telegram.org/type/stories.StoryReactionsList.md) devuelto); vacío en la primera solicitud."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "id", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `forwards_first` | `true` | No | Si está configurado, regresa hacia adelante y vuelve a publicar primero, luego las reacciones y luego otras vistas; de lo contrario, devuelve interacciones ordenadas solo por fecha de interacción. |\n| `peer` | `InputPeer` | si | canal |\n| `id` | `int` | si | [Historia](https://core.telegram.org/api/stories.md) ID |\n| `reaction` | `Reaction` | No | Obtén solo reacciones de este tipo. |\n| `offset` | `string` | No | Desplazamiento para paginación (tomado del campo `next_offset` del [stories.StoryReactionsList](https://core.telegram.org/type/stories.StoryReactionsList.md) devuelto); vacío en la primera solicitud. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Historias"], "summary": "Fija algunas historias en la parte superior del perfil, consulta aquí » para obtener más información.", "description": "Fija algunas historias en la parte superior del perfil, consulta [aquí »](https://core.telegram.org/api/stories.md#pinned-or-archived-stories) para obtener más información.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Historias de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORY_ID_INVALID`: el ID de historia especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde fijar historias."}, "id": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de las historias para fijar (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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde fijar historias. |\n| `id` | `Vector<int>` | si | ID de las historias para fijar (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": ["Historias"], "summary": "Busque historias globalmente utilizando un hashtag o un área de medios de ubicación; consulte aquí » para obtener más información sobre el flujo completo.", "description": "Busque globalmente [historias](https://core.telegram.org/api/stories.md) usando un hashtag o un [área de medios de ubicación](https://core.telegram.org/api/stories.md#location-tags); consulte [aquí »](https://core.telegram.org/api/stories.md#searching-stories) para obtener más información sobre el flujo completo.\n\nYa sea `hashtag` **o** `area` **debe** establecerse al invocar el método.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: stories.FoundStories."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `HASHTAG_INVALID`: el hashtag especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 (sin el `#`)"}, "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": "Un [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) o un [mediaAreaVenue](https://core.telegram.org/constructor/mediaAreaVenue.md).   Nota Las áreas [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) se pueden buscar solo si tienen un `address` asociado.", "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": "Si se establece, devuelve solo historias publicadas por este par.", "x-tl-flag": "flags.2?InputPeer"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md): inicialmente una cadena vacía, luego el `next_offset` del [stories.foundStories](https://core.telegram.org/constructor/stories.foundStories.md)] devuelto anteriormente."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hashtag` | `string` | No | Hashtag (sin el `#`) |\n| `area` | `MediaArea` | No | Un [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) o un [mediaAreaVenue](https://core.telegram.org/constructor/mediaAreaVenue.md).   Nota Las áreas [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) se pueden buscar solo si tienen un `address` asociado. |\n| `peer` | `InputPeer` | No | Si se establece, devuelve solo historias publicadas por este par. |\n| `offset` | `string` | si | Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md): inicialmente una cadena vacía, luego el `next_offset` del [stories.foundStories](https://core.telegram.org/constructor/stories.foundStories.md)] devuelto anteriormente. |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Historias"], "summary": "Crea un álbum de historias.", "description": "Crea un [álbum de historias](https://core.telegram.org/api/stories.md#story-albums).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `StoryAlbum`.\n\n[Álbum de historias](https://core.telegram.org/type/StoryAlbum.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StoryAlbum", "oneOf": [{"$ref": "#/components/schemas/storyAlbum"}], "description": "Tipo TL: StoryAlbum."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El igual de propiedad donde crear el álbum."}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del álbum."}, "stories": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Historias para agregar al álbum."}}, "additionalProperties": false, "required": ["peer", "title", "stories"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El igual de propiedad donde crear el álbum. |\n| `title` | `string` | si | Nombre del álbum. |\n| `stories` | `Vector<int>` | si | Historias para agregar al álbum. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2741212901"}}, "/catalog/stories.updateAlbum": {"post": {"operationId": "stories.updateAlbum", "tags": ["Historias"], "summary": "Cambiar el nombre de un álbum de historias», o agregar, eliminar o reordenar historias en él.", "description": "Cambie el nombre de un [álbumes de historias» ](https://core.telegram.org/api/stories.md#story-albums), o agregue, elimine o reordene historias en él.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `StoryAlbum`.\n\n[Álbum de historias](https://core.telegram.org/type/StoryAlbum.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "StoryAlbum", "oneOf": [{"$ref": "#/components/schemas/storyAlbum"}], "description": "Tipo TL: StoryAlbum."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde está publicado el álbum."}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificación del álbum."}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Título del nuevo álbum."}, "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": "Si se establece, elimina las historias especificadas del álbum."}, "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": "Si está configurado, agrega las historias especificadas al álbum."}, "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": "Si está configurado, reordena las historias del álbum por sus ID."}}, "additionalProperties": false, "required": ["peer", "album_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde está publicado el álbum. |\n| `album_id` | `int` | si | Identificación del álbum. |\n| `title` | `string` | No | Título del nuevo álbum. |\n| `delete_stories` | `Vector<int>` | No | Si se establece, elimina las historias especificadas del álbum. |\n| `add_stories` | `Vector<int>` | No | Si está configurado, agrega las historias especificadas al álbum. |\n| `order` | `Vector<int>` | No | Si está configurado, reordena las historias del álbum por sus ID. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "1582455222"}}, "/catalog/stories.reorderAlbums": {"post": {"operationId": "stories.reorderAlbums", "tags": ["Historias"], "summary": "Reordenar álbumes de historias en un perfil».", "description": "Reordenar [álbumes de historias en un perfil »](https://core.telegram.org/api/stories.md#story-albums).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde se encuentran los álbumes."}, "order": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Nuevo orden de los álbumes."}}, "additionalProperties": false, "required": ["peer", "order"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde se encuentran los álbumes. |\n| `order` | `Vector<int>` | si | Nuevo orden de los álbumes. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2234907609"}}, "/catalog/stories.deleteAlbum": {"post": {"operationId": "stories.deleteAlbum", "tags": ["Historias"], "summary": "Eliminar un álbum de historias.", "description": "Elimina un [álbum de historias](https://core.telegram.org/api/stories.md#story-albums).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Par de propiedad donde se encuentra el álbum."}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del álbum a eliminar."}}, "additionalProperties": false, "required": ["peer", "album_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Par de propiedad donde se encuentra el álbum. |\n| `album_id` | `int` | si | ID del álbum a eliminar. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "2369017552"}}, "/catalog/stories.getAlbums": {"post": {"operationId": "stories.getAlbums", "tags": ["Historias"], "summary": "Obtenga álbumes de historias creados por un compañero.", "description": "Obtenga [álbumes de historias](https://core.telegram.org/api/stories.md#story-albums) creados por un compañero.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Escribe TL: stories.Albums."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "El `hash` de un [stories.albums](https://core.telegram.org/constructor/stories.albums.md)] devuelto anteriormente, para evitar devolver resultados si no han cambiado.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par. |\n| `hash` | `long` | si | El `hash` de un [stories.albums](https://core.telegram.org/constructor/stories.albums.md)] devuelto anteriormente, para evitar devolver resultados si no han cambiado. |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "632548039"}}, "/catalog/stories.getAlbumStories": {"post": {"operationId": "stories.getAlbumStories", "tags": ["Historias"], "summary": "Obtenga historias en un álbum de historias».", "description": "Obtenga historias en un [álbum de historias »](https://core.telegram.org/api/stories.md#story-albums).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Paginación en el API](https://core.telegram.org/api/offsets.md)\n- [Historias de telegramas](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": "Resultado de MTProto · `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": "Tipo TL: stories.Stories."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Mira dónde está publicado el álbum."}, "album_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del álbum."}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md)."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "album_id", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Mira dónde está publicado el álbum. |\n| `album_id` | `int` | si | ID del álbum. |\n| `offset` | `int` | si | Desplazamiento para [paginación](https://core.telegram.org/api/offsets.md). |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": ["Historias"], "summary": "Inicie una historia en vivo, usando opcionalmente el modo RTMP transmisión en vivo; consulte aquí » para ver el flujo completo.", "description": "Inicie una historia en vivo, utilizando opcionalmente el modo RTMP de transmisión en vivo; consulte [aquí »](https://core.telegram.org/api/group-calls.md#live-stories) para ver el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Llamadas grupales](https://core.telegram.org/api/group-calls.md)\n- [Texto con estilo con entidades de mensaje.](https://core.telegram.org/api/entities.md)\n- [Trabajar con actualizaciones](https://core.telegram.org/api/updates.md)\n- [Canales, supergrupos, gigagrupos y grupos básicos](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": "Resultado de MTProto · `Updates`.\n\n[Actualizaciones](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": "Tipo TL: Actualizaciones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_MONOFORUM_UNSUPPORTED` — [Monoforums](https://core.telegram.org/api/channel.md#monoforums) no admite esta función.\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `STORY_LIVE_ALREADY_%d`: este par ya tiene una historia en vivo activa y su ID es igual a %d."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si fijar la historia en vivo en el perfil del compañero"}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.4?true", "description": "Si se debe impedir que los espectadores reenvíen o guarden la historia en vivo"}, "rtmp_stream": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.5?true", "description": "Cree la historia en vivo en [RTMP modo de transmisión en vivo »](https://core.telegram.org/api/group-calls.md#stream-mode), donde un transmisor externo publica todo el audio y video."}, "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": "Usuario, supergrupo o canal que será propietario de la historia en vivo; Los grupos básicos no pueden publicar historias en vivo."}, "caption": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Título de la historia en vivo"}, "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](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": "Tipo de TL: InputPrivacyRule."}, "x-tl-type": "Vector<InputPrivacyRule>", "description": "Reglas de privacidad que definen quién puede ver la historia en vivo"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatoria generada por el cliente utilizada para evitar historias en vivo duplicadas. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long"}, "messages_enabled": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.6?Bool", "description": "Si la [superposición de mensajes durante la llamada »](https://core.telegram.org/api/group-calls.md#in-call-messages) debe estar habilitada"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Se requiere una donación mínima de Telegram Stars de usuarios distintos del propietario de la historia en vivo para cada comentario; el propietario siempre puede comentar sin realizar una donación y `0` permite comentarios gratuitos para todos", "x-tl-type": "long", "x-tl-flag": "flags.7?long"}}, "additionalProperties": false, "required": ["peer", "privacy_rules", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `pinned` | `true` | No | Si fijar la historia en vivo en el perfil del compañero |\n| `noforwards` | `true` | No | Si se debe impedir que los espectadores reenvíen o guarden la historia en vivo |\n| `rtmp_stream` | `true` | No | Cree la historia en vivo en [RTMP modo de transmisión en vivo »](https://core.telegram.org/api/group-calls.md#stream-mode), donde un transmisor externo publica todo el audio y video. |\n| `peer` | `InputPeer` | si | Usuario, supergrupo o canal que será propietario de la historia en vivo; Los grupos básicos no pueden publicar historias en vivo. |\n| `caption` | `string` | No | Título de la historia en vivo |\n| `entities` | `Vector<MessageEntity>` | No | [Entidades de mensaje para texto con estilo](https://core.telegram.org/api/entities.md) |\n| `privacy_rules` | `Vector<InputPrivacyRule>` | si | Reglas de privacidad que definen quién puede ver la historia en vivo |\n| `random_id` | `long` | si | ID aleatoria generada por el cliente utilizada para evitar historias en vivo duplicadas. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID. |\n| `messages_enabled` | `Bool` | No | Si la [superposición de mensajes durante la llamada »](https://core.telegram.org/api/group-calls.md#in-call-messages) debe estar habilitada |\n| `send_paid_messages_stars` | `long` | No | Se requiere una donación mínima de Telegram Stars de usuarios distintos del propietario de la historia en vivo para cada comentario; el propietario siempre puede comentar sin realizar una donación y `0` permite comentarios gratuitos para todos |"}, "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": "Obtiene información sobre los aumentos que se aplicaron a un determinado canal o supergrupo (solo administradores)", "description": "Obtiene información sobre los aumentos que se aplicaron a un determinado canal o supergrupo (solo administradores)\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Sorteos y regalos](https://core.telegram.org/api/giveaways.md)\n- [Paginación en el 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": "Resultado de MTProto · `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": "Tipo TL: premium.BoostsList."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHAT_ADMIN_REQUIRED` — Debes ser administrador en este chat para hacer esto.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se debe devolver solo información sobre los impulsos recibidos de [códigos de regalo y obsequios creados por el canal/supergrupo »](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": "El canal/supergrupo"}, "offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para paginación, obtenido de [premium.boostsList](https://core.telegram.org/constructor/premium.boostsList.md).`next_offset`"}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de resultados a devolver, [ver paginación](https://core.telegram.org/api/offsets.md)"}}, "additionalProperties": false, "required": ["peer", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `gifts` | `true` | No | Si se debe devolver solo información sobre los impulsos recibidos de [códigos de regalo y obsequios creados por el canal/supergrupo »](https://core.telegram.org/api/giveaways.md) |\n| `peer` | `InputPeer` | si | El canal/supergrupo |\n| `offset` | `string` | si | Desplazamiento para paginación, obtenido de [premium.boostsList](https://core.telegram.org/constructor/premium.boostsList.md).`next_offset` |\n| `limit` | `int` | si | Número máximo de resultados a devolver, [ver paginación](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": "Obtenga qué pares estamos impulsando actualmente y cuántos espacios de impulso nos quedan.", "description": "Obtenga qué pares estamos actualmente [impulsando](https://core.telegram.org/api/boost.md) y cuántos [espacios de impulso](https://core.telegram.org/api/boost.md) nos quedan.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Impulsos de canales y supergrupos](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": "Resultado de MTProto · `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": "Tipo TL: premium.MyBoosts."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "url": "https://core.telegram.org/method/premium.getMyBoosts"}, "x-browser-schema-id": "199719754"}}, "/catalog/premium.applyBoost": {"post": {"operationId": "premium.applyBoost", "tags": ["Telegram Premium"], "summary": "Aplicar uno o más impulsos » a un compañero.", "description": "Aplicar uno o más [impulsos »](https://core.telegram.org/api/boost.md) a un compañero.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Impulsos de canales y supergrupos](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": "Resultado de MTProto · `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": "Tipo TL: premium.MyBoosts."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `BOOSTS_EMPTY`: no se especificaron espacios de impulso.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida.\n- 400 · `SLOTS_EMPTY` — La lista de espacios especificados está vacía."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Qué [espacios de impulso](https://core.telegram.org/api/boost.md) asignar a este par."}, "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": "El par a impulsar."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `slots` | `Vector<int>` | No | Qué [espacios de impulso](https://core.telegram.org/api/boost.md) asignar a este par. |\n| `peer` | `InputPeer` | si | El par a impulsar. |"}, "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": "Obtiene el número actual de aumentos de un canal/supergrupo.", "description": "Obtiene el [número de aumentos](https://core.telegram.org/api/boost.md) actual de un canal/supergrupo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Impulsos de canales y supergrupos](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": "Resultado de MTProto · `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": "Tipo TL: premium.BoostsStatus."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `CHANNEL_INVALID`: el canal proporcionado no es válido.\n- 400 · `CHANNEL_PRIVATE` — No te has unido a este canal/supergrupo.\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El par."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El par. |"}, "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": "Devuelve las listas de impulso que fueron aplicadas a un canal/supergrupo por un usuario específico (solo administradores)", "description": "Devuelve las listas de impulso que fueron aplicadas a un canal/supergrupo por un usuario específico (solo administradores)\n\n**¿Quién puede llamar a este método?** · Usuarios y bots de Telegram.", "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": "Resultado de MTProto · `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": "Tipo TL: premium.BoostsList."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `PEER_ID_INVALID`: la identificación del par proporcionada no es válida."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El canal/supergrupo"}, "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": "el usuario"}}, "additionalProperties": false, "required": ["peer", "user_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | El canal/supergrupo |\n| `user_id` | `InputUser` | si | el usuario |"}, "x-telegram-rpc-errors": ["PEER_ID_INVALID"], "x-browser-schema-id": "965037343"}}, "/catalog/smsjobs.isEligibleToJoin": {"post": {"operationId": "smsjobs.isEligibleToJoin", "tags": ["SMS"], "summary": "Compruebe si podemos procesar SMS trabajos (solo clientes oficiales).", "description": "Compruebe si podemos procesar SMS trabajos (solo clientes oficiales).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: smsjobs.EligibilityToJoin."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 403 · `NOT_ELIGIBLE`: el usuario actual no es elegible para unirse al programa de inicio de sesión entre pares."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Habilite SMS trabajos (solo clientes oficiales).", "description": "Habilite SMS trabajos (solo clientes oficiales).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `NOT_ELIGIBLE`: el usuario actual no es elegible para unirse al programa de inicio de sesión entre pares."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Deshabilite SMS trabajos (solo clientes oficiales).", "description": "Deshabilite SMS trabajos (solo clientes oficiales).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `NOT_JOINED`: el usuario actual no se ha unido al programa de inicio de sesión entre pares."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Actualice la configuración del trabajo SMS (solo clientes oficiales).", "description": "Actualice la configuración del trabajo SMS (solo clientes oficiales).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `NOT_JOINED`: el usuario actual no se ha unido al programa de inicio de sesión entre pares."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "¿Permitir números internacionales?"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `allow_international` | `true` | No | ¿Permitir números internacionales? |"}, "x-telegram-rpc-errors": ["NOT_JOINED"], "x-browser-schema-id": "155164863"}}, "/catalog/smsjobs.getStatus": {"post": {"operationId": "smsjobs.getStatus", "tags": ["SMS"], "summary": "Obtenga el estado de SMS trabajos (solo clientes oficiales).", "description": "Obtenga el estado de SMS trabajos (solo clientes oficiales).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `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": "Escribe TL: smsjobs.Status."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `NOT_JOINED`: el usuario actual no se ha unido al programa de inicio de sesión entre pares."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Obtén información sobre un trabajo SMS (solo clientes oficiales).", "description": "Obtén información sobre un trabajo SMS (solo clientes oficiales).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `SmsJob`.\n\n[SmsTrabajo](https://core.telegram.org/type/SmsJob.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "SmsJob", "oneOf": [{"$ref": "#/components/schemas/smsJob"}], "description": "Tipo TL: SmsJob."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SMSJOB_ID_INVALID`: el ID del trabajo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "ID de trabajo"}}, "additionalProperties": false, "required": ["job_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `job_id` | `string` | si | ID de trabajo |"}, "x-telegram-rpc-errors": ["SMSJOB_ID_INVALID"], "x-browser-schema-id": "2005766191"}}, "/catalog/smsjobs.finishJob": {"post": {"operationId": "smsjobs.finishJob", "tags": ["SMS"], "summary": "Terminar un trabajo SMS (solo clientes oficiales).", "description": "Terminar un trabajo SMS (solo clientes oficiales).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.", "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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `SMSJOB_ID_INVALID`: el ID del trabajo especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Identificación del trabajo."}, "error": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Si falla, el error."}}, "additionalProperties": false, "required": ["job_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `job_id` | `string` | si | Identificación del trabajo. |\n| `error` | `string` | No | Si falla, el error. |"}, "x-telegram-rpc-errors": ["SMSJOB_ID_INVALID"], "x-browser-schema-id": "1327415076"}}, "/catalog/fragment.getCollectibleInfo": {"post": {"operationId": "fragment.getCollectibleInfo", "tags": ["Fragment"], "summary": "Obtenga información sobre un fragmento coleccionable, consulte aquí » para obtener más información sobre el flujo completo.", "description": "Obtenga información sobre un [fragmento coleccionable, consulte aquí »](https://core.telegram.org/api/fragment.md#fetching-info-about-fragment-collectibles) para obtener más información sobre el flujo completo.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Coleccionables de fragmentos](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": "Resultado de MTProto · `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": "Tipo TL: fragment.CollectibleInfo."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `COLLECTIBLE_INVALID` — El objeto coleccionable especificado no es válido.\n- 400 · `COLLECTIBLE_NOT_FOUND` — No se pudo encontrar el objeto coleccionable especificado."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Coleccionable para obtener información sobre."}}, "additionalProperties": false, "required": ["collectible"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `collectible` | `InputCollectible` | si | Coleccionable para obtener información sobre. |"}, "x-telegram-rpc-errors": ["COLLECTIBLE_INVALID", "COLLECTIBLE_NOT_FOUND"], "x-browser-schema-id": "3189671354"}}, "/catalog/aicompose.createTone": {"post": {"operationId": "aicompose.createTone", "tags": ["Editor con IA"], "summary": "Crea un nuevo tono de compositor de IA personalizado ».", "description": "Cree un nuevo [tono del compositor AI» personalizado nuevo ](https://core.telegram.org/api/ai.md#ai-compose-tones).\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Funciones de IA](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": "Resultado de MTProto · `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": "Tipo de TL: AiComposeTone."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_TITLE_INVALID`: el título del tono especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "Si se establece, el usuario actual será acreditado públicamente como el autor del tono."}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) del ícono del tono", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre de tono legible por humanos, hasta [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres de longitud"}, "prompt": {"type": "string", "x-tl-type": "string", "description": "El mensaje que describe cómo la IA debe reformular los mensajes usando este tono, hasta [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres de longitud"}}, "additionalProperties": false, "required": ["emoji_id", "title", "prompt"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `display_author` | `true` | No | Si se establece, el usuario actual será acreditado públicamente como el autor del tono. |\n| `emoji_id` | `long` | si | [ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) del ícono del tono |\n| `title` | `string` | si | Nombre de tono legible por humanos, hasta [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres de longitud |\n| `prompt` | `string` | si | El mensaje que describe cómo la IA debe reformular los mensajes usando este tono, hasta [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres de longitud |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_TITLE_INVALID"], "x-browser-schema-id": "1252538643"}}, "/catalog/aicompose.updateTone": {"post": {"operationId": "aicompose.updateTone", "tags": ["Editor con IA"], "summary": "Edite un tono de compositor AI personalizado » creado previamente por el usuario actual. Sólo se modificarán los campos cuya bandera esté configurada.", "description": "Edite un [tono del compositor AI»](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado creado previamente por el usuario actual. Sólo se modificarán los campos cuya bandera esté configurada.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [emojis personalizados](https://core.telegram.org/api/custom-emoji.md)\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Funciones de IA](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": "Resultado de MTProto · `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": "Tipo de TL: AiComposeTone."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — El tono especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El tono a editar"}, "display_author": {"type": "boolean", "x-tl-type": "Bool", "x-tl-flag": "flags.0?Bool", "description": "Si se establece, cambia si el usuario actual es acreditado públicamente como el autor del tono (valor ternario, no se puede establecer, establecer y verdadero, establecer y falso)."}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Si está configurado, el nuevo [ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) del ícono del tono", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "title": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Si está configurado, el nuevo nombre del tono legible por humanos, de hasta [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres de longitud"}, "prompt": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.3?string", "description": "Si está configurado, el nuevo mensaje que describe cómo la IA debe reformular los mensajes usando este tono, hasta [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres de longitud"}}, "additionalProperties": false, "required": ["tone"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | si | El tono a editar |\n| `display_author` | `Bool` | No | Si se establece, cambia si el usuario actual es acreditado públicamente como el autor del tono (valor ternario, no se puede establecer, establecer y verdadero, establecer y falso). |\n| `emoji_id` | `long` | No | Si está configurado, el nuevo [ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) del ícono del tono |\n| `title` | `string` | No | Si está configurado, el nuevo nombre del tono legible por humanos, de hasta [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres de longitud |\n| `prompt` | `string` | No | Si está configurado, el nuevo mensaje que describe cómo la IA debe reformular los mensajes usando este tono, hasta [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres de longitud |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "2419838809"}}, "/catalog/aicompose.saveTone": {"post": {"operationId": "aicompose.saveTone", "tags": ["Editor con IA"], "summary": "Instalar o desinstalar un tono de AI Composer», agregándolo o eliminándolo de la lista de tonos guardados del usuario actual.", "description": "Instalar o desinstalar un [tono del compositor AI» ](https://core.telegram.org/api/ai.md#ai-compose-tones), agregándolo o eliminándolo de la lista de tonos guardados del usuario actual.\n\nLos usuarios que no son [Premium](https://core.telegram.org/api/premium.md) pueden instalar hasta [aicompose\\_tone\\_saved\\_limit\\_default »](https://core.telegram.org/api/config.md#aicompose-tone-saved-limit-default) tonos, los usuarios [Premium](https://core.telegram.org/api/premium.md) hasta [aicompose\\_tone\\_saved\\_limit\\_premium »](https://core.telegram.org/api/config.md#aicompose-tone-saved-limit-premium) tonos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Funciones de IA](https://core.telegram.org/api/ai.md)\n- [Telegrama Premium](https://core.telegram.org/api/premium.md)\n- [Configuración del cliente](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — El tono especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El tono para guardar o desguardar"}, "unsave": {"type": "boolean", "x-tl-type": "Bool", "description": "Si `false`, instala (guarda) el tono; si `true`, lo desinstala (desguarda)"}}, "additionalProperties": false, "required": ["tone", "unsave"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | si | El tono para guardar o desguardar |\n| `unsave` | `Bool` | si | Si `false`, instala (guarda) el tono; si `true`, lo desinstala (desguarda) |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "394447793"}}, "/catalog/aicompose.deleteTone": {"post": {"operationId": "aicompose.deleteTone", "tags": ["Editor con IA"], "summary": "Elimine permanentemente un tono de compositor AI personalizado » creado por el usuario actual.", "description": "Eliminar permanentemente un [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado creado por el usuario actual.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Funciones de IA](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": "Resultado de MTProto · `Bool`.\n\n[Bool](https://core.telegram.org/type/Bool.md)", "content": {"application/json": {"schema": {"type": "boolean", "x-tl-type": "Bool"}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — El tono especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El tono para borrar"}}, "additionalProperties": false, "required": ["tone"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | si | El tono para borrar |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "3711512938"}}, "/catalog/aicompose.getTone": {"post": {"operationId": "aicompose.getTone", "tags": ["Editor con IA"], "summary": "Obtener información sobre un único tono del compositor de IA», por ejemplo, para resolver un enlace profundo de tono compartido.", "description": "Obtenga información sobre un único [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones), por ejemplo, para resolver un enlace profundo de tono compartido.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Funciones de IA](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": "Resultado de MTProto · `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": "Tipo TL: aicompose.Tones."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — El tono especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El tono para buscar"}}, "additionalProperties": false, "required": ["tone"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | si | El tono para buscar |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "3001596419"}}, "/catalog/aicompose.getTones": {"post": {"operationId": "aicompose.getTones", "tags": ["Editor con IA"], "summary": "Obtenga la lista de tonos del compositor AI guardados » del usuario actual.", "description": "Obtenga la lista de [tonos del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) guardados del usuario actual.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Funciones de IA](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": "Resultado de MTProto · `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": "Tipo TL: aicompose.Tones."}}}}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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 de un [aicompose.tones](https://core.telegram.org/constructor/aicompose.tones.md).`hash` previamente almacenado en caché para evitar volver a buscar la lista si no ha cambiado; inicialmente 0.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | Hash de un [aicompose.tones](https://core.telegram.org/constructor/aicompose.tones.md).`hash` previamente almacenado en caché para evitar volver a buscar la lista si no ha cambiado; inicialmente 0. |"}, "x-browser-schema-id": "2882900481"}}, "/catalog/aicompose.getToneExample": {"post": {"operationId": "aicompose.getToneExample", "tags": ["Editor con IA"], "summary": "Obtenga un ejemplo que muestra cómo un compositor de IA » reformula un mensaje de muestra, utilizado como vista previa en el selector de tonos.", "description": "Obtenga un ejemplo que muestra cómo un [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) reformula un mensaje de muestra, utilizado como vista previa en el selector de tonos.\n\n**¿Quién puede llamar a este método?** · Solo usuarios de Telegram.\n\n**Documentación relacionada**\n\n- [Configuración del cliente](https://core.telegram.org/api/config.md)\n- [Funciones de IA](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": "Resultado de MTProto · `AiComposeToneExample`.\n\n[Ejemplo de AiComposeTone](https://core.telegram.org/type/AiComposeToneExample.md)", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "AiComposeToneExample", "oneOf": [{"$ref": "#/components/schemas/aiComposeToneExample"}], "description": "Tipo de TL: AiComposeToneExample."}}}}, "default": {"description": "### Errores de MTProto (RPC)\n\n- 400 · `AICOMPOSE_TONE_INVALID` — El tono especificado no es válido."}}, "externalDocs": {"description": "Documentación oficial de Telegram", "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": "El tono para previsualizar"}, "num": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Índice basado en 0 del ejemplo a buscar, para recorrer los ejemplos disponibles (hay [aicompose_tone_examples_num »](https://core.telegram.org/api/config.md#aicompose-tone-examples-num) ejemplos por tono)"}}, "additionalProperties": false, "required": ["tone", "num"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `tone` | `InputAiComposeTone` | si | El tono para previsualizar |\n| `num` | `int` | si | Índice basado en 0 del ejemplo a buscar, para recorrer los ejemplos disponibles (hay [aicompose_tone_examples_num »](https://core.telegram.org/api/config.md#aicompose-tone-examples-num) ejemplos por tono) |"}, "x-telegram-rpc-errors": ["AICOMPOSE_TONE_INVALID"], "x-browser-schema-id": "3518278420"}}, "/catalog/aicompose.setChatStyle": {"post": {"operationId": "aicompose.setChatStyle", "tags": ["Editor con IA"], "summary": "aicompose.setChatStyle", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: 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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `style` | `InputAiComposeStyle` | No | Тип TL: InputAiComposeStyle. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1570322880"}}, "/catalog/communities.create": {"post": {"operationId": "communities.create", "tags": ["Comunidades"], "summary": "communities.create", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "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": "Valor del tipo TL `true`."}, "title": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "about": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `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": "Tipo de TL: InputPeer."}}, "additionalProperties": false, "required": ["title", "peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hidden` | `true` | No | Valor del tipo TL `true`. |\n| `title` | `string` | si | Valor del tipo TL `string`. |\n| `about` | `string` | No | Valor del tipo TL `string`. |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2788710892"}}, "/catalog/communities.togglePeerLink": {"post": {"operationId": "communities.togglePeerLink", "tags": ["Comunidades"], "summary": "communities.togglePeerLink", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `true`."}, "hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor del tipo TL `true`."}, "deleted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.2?true", "description": "Valor del tipo TL `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Tipo TL: Canal de entrada."}, "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": "Tipo de TL: InputPeer."}}, "additionalProperties": false, "required": ["community", "peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `visible` | `true` | No | Valor del tipo TL `true`. |\n| `hidden` | `true` | No | Valor del tipo TL `true`. |\n| `deleted` | `true` | No | Valor del tipo TL `true`. |\n| `community` | `InputChannel` | si | Tipo TL: Canal de entrada. |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1936576490"}}, "/catalog/communities.getJoinedCommunities": {"post": {"operationId": "communities.getJoinedCommunities", "tags": ["Comunidades"], "summary": "communities.getJoinedCommunities", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: messages.Chats."}}}}}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2791565360"}}, "/catalog/communities.toggleCommunityCollapsedInDialogs": {"post": {"operationId": "communities.toggleCommunityCollapsedInDialogs", "tags": ["Comunidades"], "summary": "communities.toggleCommunityCollapsedInDialogs", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "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": "Valor del tipo TL `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Tipo TL: Canal de entrada."}}, "additionalProperties": false, "required": ["community"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `collapsed` | `true` | No | Valor del tipo TL `true`. |\n| `community` | `InputChannel` | si | Tipo TL: Canal de entrada. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3613844458"}}, "/catalog/communities.getPeerLinkRequests": {"post": {"operationId": "communities.getPeerLinkRequests", "tags": ["Comunidades"], "summary": "communities.getPeerLinkRequests", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Tipo TL: Canal de entrada."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["community", "offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `community` | `InputChannel` | si | Tipo TL: Canal de entrada. |\n| `offset` | `string` | si | Valor del tipo TL `string`. |\n| `limit` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2474062660"}}, "/catalog/communities.togglePeerLinkRequestApproval": {"post": {"operationId": "communities.togglePeerLinkRequestApproval", "tags": ["Comunidades"], "summary": "communities.togglePeerLinkRequestApproval", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Tipo TL: Canal de entrada."}, "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": "Tipo de TL: InputPeer."}}, "additionalProperties": false, "required": ["community", "peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `reject` | `true` | No | Valor del tipo TL `true`. |\n| `community` | `InputChannel` | si | Tipo TL: Canal de entrada. |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2357336488"}}, "/catalog/communities.toggleAllPeerLinkRequestApproval": {"post": {"operationId": "communities.toggleAllPeerLinkRequestApproval", "tags": ["Comunidades"], "summary": "communities.toggleAllPeerLinkRequestApproval", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Tipo TL: Canal de entrada."}}, "additionalProperties": false, "required": ["community"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `reject` | `true` | No | Valor del tipo TL `true`. |\n| `community` | `InputChannel` | si | Tipo TL: Canal de entrada. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3219381565"}}, "/catalog/communities.toggleParticipantBanned": {"post": {"operationId": "communities.toggleParticipantBanned", "tags": ["Comunidades"], "summary": "communities.toggleParticipantBanned", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `true`."}, "community": {"type": "object", "x-tl-type": "InputChannel", "oneOf": [{"$ref": "#/components/schemas/inputChannelEmpty"}, {"$ref": "#/components/schemas/inputChannel"}, {"$ref": "#/components/schemas/inputChannelFromMessage"}], "description": "Tipo TL: Canal de entrada."}, "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": "Tipo de TL: InputPeer."}}, "additionalProperties": false, "required": ["community", "participant"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `unban` | `true` | No | Valor del tipo TL `true`. |\n| `community` | `InputChannel` | si | Tipo TL: Canal de entrada. |\n| `participant` | `InputPeer` | si | Tipo de TL: InputPeer. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2573708559"}}, "/catalog/communities.getParticipantJoinedChats": {"post": {"operationId": "communities.getParticipantJoinedChats", "tags": ["Comunidades"], "summary": "communities.getParticipantJoinedChats", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Tipo TL: Canal de entrada."}, "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": "Tipo de TL: InputPeer."}}, "additionalProperties": false, "required": ["community", "participant"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `community` | `InputChannel` | si | Tipo TL: Canal de entrada. |\n| `participant` | `InputPeer` | si | Tipo de TL: InputPeer. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "4169051051"}}, "/catalog/ephemeral.sendMessage": {"post": {"operationId": "ephemeral.sendMessage", "tags": ["Mensajes temporales"], "summary": "ephemeral.sendMessage", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "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": "Valor del tipo TL `true`."}, "welcome": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.7?true", "description": "Valor del tipo TL `true`."}, "anchor": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.9?true", "description": "Valor del tipo TL `true`."}, "noforwards": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.10?true", "description": "Valor del tipo TL `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": "Tipo de TL: 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": "Tipo de TL: Usuario de entrada."}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "message": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "Valor del tipo TL `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": "Tipo de TL: Medios de entrada.", "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": "Tipo de TL: Marcado de respuesta.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: InputReplyTo.", "x-tl-flag": "flags.5?InputReplyTo"}}, "additionalProperties": false, "required": ["receiver_id", "message", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `invert_media` | `true` | No | Valor del tipo TL `true`. |\n| `welcome` | `true` | No | Valor del tipo TL `true`. |\n| `anchor` | `true` | No | Valor del tipo TL `true`. |\n| `noforwards` | `true` | No | Valor del tipo TL `true`. |\n| `peer` | `InputPeer` | No | Tipo de TL: InputPeer. |\n| `receiver_id` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `query_id` | `long` | No | 64 bits de velocidad en десятичной записи. |\n| `message` | `string` | si | Valor del tipo TL `string`. |\n| `entities` | `Vector<MessageEntity>` | No | Valor del tipo TL `Vector<MessageEntity>`. |\n| `media` | `InputMedia` | No | Tipo de TL: Medios de entrada. |\n| `reply_markup` | `ReplyMarkup` | No | Tipo de TL: Marcado de respuesta. |\n| `rich_message` | `InputRichMessage` | No | Тип TL: InputRichMessage. |\n| `random_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `reply_to` | `InputReplyTo` | No | Tipo de TL: InputReplyTo. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3129827125"}}, "/catalog/ephemeral.deleteMessage": {"post": {"operationId": "ephemeral.deleteMessage", "tags": ["Mensajes temporales"], "summary": "ephemeral.deleteMessage", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: 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": "Tipo de TL: Usuario de entrada."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["receiver_id", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | No | Tipo de TL: InputPeer. |\n| `receiver_id` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `id` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2465654679"}}, "/catalog/ephemeral.reportMessage": {"post": {"operationId": "ephemeral.reportMessage", "tags": ["Mensajes temporales"], "summary": "ephemeral.reportMessage", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: InformeResultado."}}}}}, "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": "Tipo de TL: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor del tipo TL `bytes`."}, "message": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["peer", "id", "option", "message"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `id` | `int` | si | Valor del tipo TL `int`. |\n| `option` | `bytes` | si | Valor del tipo TL `bytes`. |\n| `message` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2265248447"}}, "/catalog/ephemeral.getCallbackAnswer": {"post": {"operationId": "ephemeral.getCallbackAnswer", "tags": ["Mensajes temporales"], "summary": "ephemeral.getCallbackAnswer", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `messages.BotCallbackAnswer`.", "content": {"application/json": {"schema": {"type": "object", "x-tl-type": "messages.BotCallbackAnswer", "oneOf": [{"$ref": "#/components/schemas/messages.botCallbackAnswer"}], "description": "Tipo TL: 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": "Tipo de TL: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes", "description": "Valor del tipo TL `bytes`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `id` | `int` | si | Valor del tipo TL `int`. |\n| `data` | `bytes` | No | Valor del tipo TL `bytes`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1067738312"}}, "/catalog/ephemeral.editMessage": {"post": {"operationId": "ephemeral.editMessage", "tags": ["Mensajes temporales"], "summary": "ephemeral.editMessage", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "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": "Valor del tipo TL `true`."}, "welcome": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.6?true", "description": "Valor del tipo TL `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": "Tipo de TL: 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": "Tipo de TL: Usuario de entrada."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}, "message": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `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": "Tipo de TL: Medios de entrada.", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.1?Vector<MessageEntity>", "description": "Valor del tipo TL `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": "Tipo de TL: Marcado de respuesta.", "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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `invert_media` | `true` | No | Valor del tipo TL `true`. |\n| `welcome` | `true` | No | Valor del tipo TL `true`. |\n| `peer` | `InputPeer` | No | Tipo de TL: InputPeer. |\n| `receiver_id` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `id` | `int` | si | Valor del tipo TL `int`. |\n| `message` | `string` | No | Valor del tipo TL `string`. |\n| `media` | `InputMedia` | No | Tipo de TL: Medios de entrada. |\n| `entities` | `Vector<MessageEntity>` | No | Valor del tipo TL `Vector<MessageEntity>`. |\n| `reply_markup` | `ReplyMarkup` | No | Tipo de TL: Marcado de respuesta. |\n| `rich_message` | `InputRichMessage` | No | Тип TL: InputRichMessage. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3483136603"}}, "/catalog/ephemeral.deleteWelcomeMessage": {"post": {"operationId": "ephemeral.deleteWelcomeMessage", "tags": ["Mensajes temporales"], "summary": "ephemeral.deleteWelcomeMessage", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: InputPeer."}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["peer", "id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `id` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3900877281"}}, "/catalog/ephemeral.deleteAllWelcomeMessages": {"post": {"operationId": "ephemeral.deleteAllWelcomeMessages", "tags": ["Mensajes temporales"], "summary": "ephemeral.deleteAllWelcomeMessages", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: InputPeer."}}, "additionalProperties": false, "required": ["peer"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1934595873"}}, "/catalog/ephemeral.getWelcomeMessages": {"post": {"operationId": "ephemeral.getWelcomeMessages", "tags": ["Mensajes temporales"], "summary": "ephemeral.getWelcomeMessages", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Tipo de TL: InputPeer."}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["peer", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `hash` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3684352397"}}, "/catalog/toncenter.performApiRequest": {"post": {"operationId": "toncenter.performApiRequest", "tags": ["TON Center"], "summary": "toncenter.performApiRequest", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "endpoint": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor del tipo TL `string`."}, "payload": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.2?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["endpoint"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `post` | `true` | No | Valor del tipo TL `true`. |\n| `endpoint` | `string` | si | Valor del tipo TL `string`. |\n| `query` | `string` | No | Valor del tipo TL `string`. |\n| `payload` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2373705057"}}, "/catalog/toncenter.getStreamingUrl": {"post": {"operationId": "toncenter.getStreamingUrl", "tags": ["TON Center"], "summary": "toncenter.getStreamingUrl", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3450823623"}}, "/catalog/wallet.getState": {"post": {"operationId": "wallet.getState", "tags": ["Monedero"], "summary": "wallet.getState", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2877535034"}}, "/catalog/wallet.getUserAddresses": {"post": {"operationId": "wallet.getUserAddresses", "tags": ["Monedero"], "summary": "wallet.getUserAddresses", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Valor del tipo TL `Vector<InputUser>`."}, "addresses": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Valor del tipo TL `Vector<string>`."}}, "additionalProperties": false, "required": ["id", "addresses"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `force` | `true` | No | Valor del tipo TL `true`. |\n| `id` | `Vector<InputUser>` | si | Valor del tipo TL `Vector<InputUser>`. |\n| `addresses` | `Vector<string>` | si | Valor del tipo TL `Vector<string>`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1383456733"}}, "/catalog/wallet.getTransactions": {"post": {"operationId": "wallet.getTransactions", "tags": ["Monedero"], "summary": "wallet.getTransactions", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "outbound": {"type": "boolean", "enum": [true], "x-tl-type": "true", "x-tl-flag": "flags.1?true", "description": "Valor del tipo TL `true`."}, "offset": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `inbound` | `true` | No | Valor del tipo TL `true`. |\n| `outbound` | `true` | No | Valor del tipo TL `true`. |\n| `offset` | `string` | si | Valor del tipo TL `string`. |\n| `limit` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2827160195"}}, "/catalog/wallet.getTransactionsByIDs": {"post": {"operationId": "wallet.getTransactionsByIDs", "tags": ["Monedero"], "summary": "wallet.getTransactionsByIDs", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `Vector<string>`."}}, "additionalProperties": false, "required": ["id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `id` | `Vector<string>` | si | Valor del tipo TL `Vector<string>`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2166155958"}}, "/catalog/wallet.getTransactionsByMsgHash": {"post": {"operationId": "wallet.getTransactionsByMsgHash", "tags": ["Monedero"], "summary": "wallet.getTransactionsByMsgHash", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `Vector<string>`."}}, "additionalProperties": false, "required": ["msg_hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `msg_hash` | `Vector<string>` | si | Valor del tipo TL `Vector<string>`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2797304157"}}, "/catalog/wallet.exportSecretPhrase": {"post": {"operationId": "wallet.exportSecretPhrase", "tags": ["Monedero"], "summary": "wallet.exportSecretPhrase", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | No | Тип TL: InputCheckPasswordSRP. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2423769516"}}, "/catalog/wallet.fetchEncryptedSecretPhrasePart": {"post": {"operationId": "wallet.fetchEncryptedSecretPhrasePart", "tags": ["Monedero"], "summary": "wallet.fetchEncryptedSecretPhrasePart", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor del tipo TL `bytes`."}}, "additionalProperties": false, "required": ["token", "public_key"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `token` | `string` | si | Valor del tipo TL `string`. |\n| `public_key` | `bytes` | si | Valor del tipo TL `bytes`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "4114163151"}}, "/catalog/wallet.replaceWallet": {"post": {"operationId": "wallet.replaceWallet", "tags": ["Monedero"], "summary": "wallet.replaceWallet", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `wallet` | `InputWalletReplacement` | si | Тип TL: InputWalletReplacement. |\n| `password` | `InputCheckPasswordSRP` | No | Тип TL: InputCheckPasswordSRP. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3636932332"}}, "/catalog/wallet.disableBackup": {"post": {"operationId": "wallet.disableBackup", "tags": ["Monedero"], "summary": "wallet.disableBackup", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `password` | `InputCheckPasswordSRP` | No | Тип TL: InputCheckPasswordSRP. |\n| `new_public_key` | `bytes` | No | Valor del tipo TL `bytes`. |\n| `proof` | `WalletOwnershipProof` | No | Тип TL: WalletOwnershipProof. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "185331930"}}, "/catalog/wallet.getBackupHolderDcs": {"post": {"operationId": "wallet.getBackupHolderDcs", "tags": ["Monedero"], "summary": "wallet.getBackupHolderDcs", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3514422420"}}, "/catalog/wallet.enableBackup": {"post": {"operationId": "wallet.enableBackup", "tags": ["Monedero"], "summary": "wallet.enableBackup", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `Vector<bytes>`."}, "new_public_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.1?bytes", "description": "Valor del tipo TL `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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `parts` | `Vector<bytes>` | si | Valor del tipo TL `Vector<bytes>`. |\n| `new_public_key` | `bytes` | No | Valor del tipo TL `bytes`. |\n| `proof` | `WalletOwnershipProof` | No | Тип TL: WalletOwnershipProof. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1157678373"}}, "/catalog/wallet.getProofChallenge": {"post": {"operationId": "wallet.getProofChallenge", "tags": ["Monedero"], "summary": "wallet.getProofChallenge", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "539354775"}}, "/catalog/wallet.sendTransfer": {"post": {"operationId": "wallet.sendTransfer", "tags": ["Monedero"], "summary": "wallet.sendTransfer", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"data_normal": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor del tipo TL `bytes`."}, "data_gasless": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Valor del tipo TL `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": "Tipo de TL: Usuario de entrada."}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["data_normal", "user_id", "random_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `data_normal` | `bytes` | si | Valor del tipo TL `bytes`. |\n| `data_gasless` | `bytes` | No | Valor del tipo TL `bytes`. |\n| `user_id` | `InputUser` | si | Tipo de TL: Usuario de entrada. |\n| `random_id` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3655719394"}}, "/catalog/wallet.getGaslessInfo": {"post": {"operationId": "wallet.getGaslessInfo", "tags": ["Monedero"], "summary": "wallet.getGaslessInfo", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1949167777"}}, "/catalog/wallet.getExistingWaltBalance": {"post": {"operationId": "wallet.getExistingWaltBalance", "tags": ["Monedero"], "summary": "wallet.getExistingWaltBalance", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1763656544"}}, "/catalog/wallet.getNfts": {"post": {"operationId": "wallet.getNfts", "tags": ["Monedero"], "summary": "wallet.getNfts", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["offset", "limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offset` | `string` | si | Valor del tipo TL `string`. |\n| `limit` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2350052260"}}, "/catalog/wallet.tonConnectCreateSession": {"post": {"operationId": "wallet.tonConnectCreateSession", "tags": ["Monedero"], "summary": "wallet.tonConnectCreateSession", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "manifest_url": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["dapp_client_id", "manifest_url"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dapp_client_id` | `string` | si | Valor del tipo TL `string`. |\n| `manifest_url` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3432190022"}}, "/catalog/wallet.tonConnectRegisterKey": {"post": {"operationId": "wallet.tonConnectRegisterKey", "tags": ["Monedero"], "summary": "wallet.tonConnectRegisterKey", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "client_id": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["session_id", "client_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `session_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `client_id` | `string` | si | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "864800540"}}, "/catalog/wallet.tonConnectSubmitConnectResult": {"post": {"operationId": "wallet.tonConnectSubmitConnectResult", "tags": ["Monedero"], "summary": "wallet.tonConnectSubmitConnectResult", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `true`."}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "challenge_answer": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor del tipo TL `bytes`."}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor del tipo TL `bytes`."}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.1?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["session_id", "challenge_answer", "body"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `error` | `true` | No | Valor del tipo TL `true`. |\n| `session_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `challenge_answer` | `bytes` | si | Valor del tipo TL `bytes`. |\n| `body` | `bytes` | si | Valor del tipo TL `bytes`. |\n| `trace_id` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3267364729"}}, "/catalog/wallet.tonConnectGetPending": {"post": {"operationId": "wallet.tonConnectGetPending", "tags": ["Monedero"], "summary": "wallet.tonConnectGetPending", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `string`."}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `dapp_client_id` | `string` | No | Valor del tipo TL `string`. |\n| `session_id` | `long` | No | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "296673381"}}, "/catalog/wallet.tonConnectClaimRequest": {"post": {"operationId": "wallet.tonConnectClaimRequest", "tags": ["Monedero"], "summary": "wallet.tonConnectClaimRequest", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `true`."}, "session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}, "app_request_id": {"type": "string", "x-tl-type": "string", "description": "Valor del tipo TL `string`."}, "challenge_answer": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Valor del tipo TL `bytes`."}}, "additionalProperties": false, "required": ["session_id", "msg_id", "app_request_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `declined` | `true` | No | Valor del tipo TL `true`. |\n| `session_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `msg_id` | `int` | si | Valor del tipo TL `int`. |\n| `app_request_id` | `string` | si | Valor del tipo TL `string`. |\n| `challenge_answer` | `bytes` | No | Valor del tipo TL `bytes`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1723169601"}}, "/catalog/wallet.tonConnectSubmitResponse": {"post": {"operationId": "wallet.tonConnectSubmitResponse", "tags": ["Monedero"], "summary": "wallet.tonConnectSubmitResponse", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Valor del tipo TL `bytes`."}, "trace_id": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["session_id", "msg_id", "body"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `session_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `msg_id` | `int` | si | Valor del tipo TL `int`. |\n| `body` | `bytes` | si | Valor del tipo TL `bytes`. |\n| `trace_id` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "4207312188"}}, "/catalog/wallet.tonConnectNextEventId": {"post": {"operationId": "wallet.tonConnectNextEventId", "tags": ["Monedero"], "summary": "wallet.tonConnectNextEventId", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["session_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `session_id` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2002612804"}}, "/catalog/wallet.tonConnectCloseSession": {"post": {"operationId": "wallet.tonConnectCloseSession", "tags": ["Monedero"], "summary": "wallet.tonConnectCloseSession", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "body": {"type": "string", "format": "byte", "x-tl-type": "bytes", "x-tl-flag": "flags.0?bytes", "description": "Valor del tipo TL `bytes`."}}, "additionalProperties": false, "required": ["session_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `session_id` | `long` | si | 64 bits de velocidad en десятичной записи. |\n| `body` | `bytes` | No | Valor del tipo TL `bytes`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3594478030"}}, "/catalog/wallet.tonConnectGetSessions": {"post": {"operationId": "wallet.tonConnectGetSessions", "tags": ["Monedero"], "summary": "wallet.tonConnectGetSessions", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2818553198"}}, "/catalog/wallet.setCardStickers": {"post": {"operationId": "wallet.setCardStickers", "tags": ["Monedero"], "summary": "wallet.setCardStickers", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `Vector<InputWalletCardSticker>`."}, "bg_nft_address": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}}, "additionalProperties": false, "required": ["stickers"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stickers` | `Vector<InputWalletCardSticker>` | si | Valor del tipo TL `Vector<InputWalletCardSticker>`. |\n| `bg_nft_address` | `string` | No | Valor del tipo TL `string`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "109382060"}}, "/catalog/wallet.getStakingInfo": {"post": {"operationId": "wallet.getStakingInfo", "tags": ["Monedero"], "summary": "wallet.getStakingInfo", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2807927035"}}, "/catalog/wallet.stake": {"post": {"operationId": "wallet.stake", "tags": ["Monedero"], "summary": "wallet.stake", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["amount"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `stake_all` | `true` | No | Valor del tipo TL `true`. |\n| `amount` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "840788815"}}, "/catalog/wallet.unstake": {"post": {"operationId": "wallet.unstake", "tags": ["Monedero"], "summary": "wallet.unstake", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["amount"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `withdraw_all` | `true` | No | Valor del tipo TL `true`. |\n| `amount` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "4100932396"}}, "/catalog/feed.getFeed": {"post": {"operationId": "feed.getFeed", "tags": ["Noticias"], "summary": "feed.getFeed", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `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": "Valor del tipo TL `int`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["filter_id", "add_offset", "limit", "hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `offset_to_max_read` | `true` | No | Valor del tipo TL `true`. |\n| `filter_id` | `int` | si | Valor del tipo TL `int`. |\n| `offset_position` | `FeedPosition` | No | Тип TL: FeedPosition. |\n| `add_offset` | `int` | si | Valor del tipo TL `int`. |\n| `limit` | `int` | si | Valor del tipo TL `int`. |\n| `max_position` | `FeedPosition` | No | Тип TL: FeedPosition. |\n| `min_position` | `FeedPosition` | No | Тип TL: FeedPosition. |\n| `hash` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2121717715"}}, "/catalog/feed.readFeed": {"post": {"operationId": "feed.readFeed", "tags": ["Noticias"], "summary": "feed.readFeed", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo TL: Actualizaciones."}}}}}, "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "properties": {"filter_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `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": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `filter_id` | `int` | si | Valor del tipo TL `int`. |\n| `max_position` | `FeedPosition` | si | Тип TL: FeedPosition. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3023487487"}}, "/catalog/feed.getForYou": {"post": {"operationId": "feed.getForYou", "tags": ["Noticias"], "summary": "feed.getForYou", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Valor del tipo TL `true`."}, "query": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string", "description": "Valor del tipo TL `string`."}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["limit"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `refresh` | `true` | No | Valor del tipo TL `true`. |\n| `query` | `string` | No | Valor del tipo TL `string`. |\n| `limit` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "867755499"}}, "/catalog/feed.getInterestCategories": {"post": {"operationId": "feed.getInterestCategories", "tags": ["Noticias"], "summary": "feed.getInterestCategories", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "additionalProperties": false, "required": ["hash"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `hash` | `long` | si | 64 bits de velocidad en десятичной записи. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "3128565178"}}, "/catalog/feed.setInterestCategories": {"post": {"operationId": "feed.setInterestCategories", "tags": ["Noticias"], "summary": "feed.setInterestCategories", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Valor del tipo TL `Vector<int>`."}}, "additionalProperties": false, "required": ["category_ids"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `category_ids` | `Vector<int>` | si | Valor del tipo TL `Vector<int>`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2670287068"}}, "/catalog/feed.likePost": {"post": {"operationId": "feed.likePost", "tags": ["Noticias"], "summary": "feed.likePost", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `msg_id` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "457925246"}}, "/catalog/feed.dislikePost": {"post": {"operationId": "feed.dislikePost", "tags": ["Noticias"], "summary": "feed.dislikePost", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Tipo de TL: InputPeer."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor del tipo TL `int`."}}, "additionalProperties": false, "required": ["peer", "msg_id"]}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `peer` | `InputPeer` | si | Tipo de TL: InputPeer. |\n| `msg_id` | `int` | si | Valor del tipo TL `int`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "1299191644"}}, "/catalog/feed.getSponsoredMessages": {"post": {"operationId": "feed.getSponsoredMessages", "tags": ["Noticias"], "summary": "feed.getSponsoredMessages", "description": "Método de la API de cliente de Telegram. Esta ficha muestra sus argumentos y su respuesta TL.\n\nNo se encontró una página oficial de Telegram para este método.", "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": "Resultado de MTProto · `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": "Escribe 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": "Valor del tipo TL `true`."}}, "additionalProperties": false}}}, "description": "| Nombre | Tipo | Requerido | Descripción |\n| --- | --- | --- | --- |\n| `for_you` | `true` | No | Valor del tipo TL `true`. |"}, "x-telegram-docs-note": "No se encontró una página oficial de Telegram para este método.", "x-browser-schema-id": "2276398804"}}}, "components": {"schemas": {"boolFalse": {"title": "boolFalso", "type": "object", "properties": {"_": {"type": "string", "enum": ["boolFalse"]}}, "required": ["_"], "additionalProperties": false}, "boolTrue": {"title": "boolVerdadero", "type": "object", "properties": {"_": {"type": "string", "enum": ["boolTrue"]}}, "required": ["_"], "additionalProperties": false}, "true": {"title": "cierto", "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": "nulo", "type": "object", "properties": {"_": {"type": "string", "enum": ["null"]}}, "required": ["_"], "additionalProperties": false}, "inputPeerEmpty": {"title": "entradaPeerVacío", "description": "Un constructor vacío, no se define ningún usuario ni chat.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputPeerSelf": {"title": "entradaPeerSelf", "description": "Define el usuario actual.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerSelf"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerSelf"]}}, "required": ["_"], "additionalProperties": false}, "inputPeerChat": {"title": "entradaPeerChat", "description": "Define un chat para una mayor interacción.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de chat", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "chat_id"], "additionalProperties": false}, "inputPeerUser": {"title": "entradaPeerUser", "description": "Define un usuario para una mayor interacción.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de usuario", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** valor del constructor [usuario](https://core.telegram.org/constructor/user.md)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "access_hash"], "additionalProperties": false}, "inputPeerChannel": {"title": "entradaPeerChannel", "description": "Define un canal para una mayor interacción.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerChannel"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de canal", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** valor del constructor [canal](https://core.telegram.org/constructor/channel.md)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "channel_id", "access_hash"], "additionalProperties": false}, "inputPeerUserFromMessage": {"title": "entradaPeerUserFromMessage", "description": "Define un usuario [min](https://core.telegram.org/api/min.md) que fue visto en un determinado mensaje de un determinado chat.", "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": "El chat donde se vio al usuario.", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La identificación del mensaje", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El identificador del usuario que fue visto.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "user_id"], "additionalProperties": false}, "inputPeerChannelFromMessage": {"title": "entradaPeerChannelFromMessage", "description": "Define un canal [min](https://core.telegram.org/api/min.md) que se vio en un determinado mensaje de un determinado chat.", "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": "El chat donde se vio el mensaje del canal.", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La identificación del mensaje", "x-telegram-field-docs": true}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El identificador del canal que se vio.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "channel_id"], "additionalProperties": false}, "inputUserEmpty": {"title": "entradaUsuarioVacío", "description": "Constructor vacío, no define un usuario.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUserEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUserEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputUserSelf": {"title": "entradaUsuarioSelf", "description": "Define el usuario actual.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUserSelf"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUserSelf"]}}, "required": ["_"], "additionalProperties": false}, "inputUser": {"title": "entradaUsuario", "description": "Define un usuario para una mayor interacción.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de usuario", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** valor del constructor [usuario](https://core.telegram.org/constructor/user.md)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "access_hash"], "additionalProperties": false}, "inputUserFromMessage": {"title": "entradaUsuarioDeMensaje", "description": "Define un usuario [min](https://core.telegram.org/api/min.md) que fue visto en un determinado mensaje de un determinado chat.", "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": "El chat donde se vio al usuario.", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La identificación del mensaje", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El identificador del usuario que fue visto.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "user_id"], "additionalProperties": false}, "inputPhoneContact": {"title": "entradaTeléfonoContacto", "description": "Contacto telefónico.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhoneContact"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhoneContact"]}, "client_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Un entero arbitrario de 64 bits: debe configurarse, por ejemplo, en un número incremental cuando se usa [contacts.importContacts](https://core.telegram.org/method/contacts.importContacts.md), para volver a intentar importar solo los contactos que no se importaron exitosamente, de acuerdo con el client_ids devuelto en [contacts.importedContacts](https://core.telegram.org/constructor/contacts.importedContacts.md).`retry_contacts`.", "x-tl-type": "long", "x-telegram-field-docs": true}, "phone": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Nombre del contacto", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Apellido del contacto", "x-telegram-field-docs": true}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Una nota privada para este contacto, solo visible para nosotros; consulte [aquí »](https://core.telegram.org/api/contacts.md#private-notes-for-contacts) para obtener más información sobre las notas de contacto.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "client_id", "phone", "first_name", "last_name"], "additionalProperties": false}, "inputFile": {"title": "archivo de entrada", "description": "Define un archivo guardado en partes usando el método [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": "Identificador de archivo aleatorio creado por el cliente", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de piezas guardadas", "x-telegram-field-docs": true}, "name": {"type": "string", "x-tl-type": "string", "description": "Nombre completo del archivo", "x-telegram-field-docs": true}, "md5_checksum": {"type": "string", "x-tl-type": "string", "description": "En caso de que se haya pasado el [md5-hash](https://en.wikipedia.org/wiki/MD5#MD5_hashes)] del archivo, se comprobará el contenido del archivo antes de su uso.", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "name", "md5_checksum"], "additionalProperties": false}, "inputFileBig": {"title": "entradaArchivoGrande", "description": "Asigna un archivo grande (más de 10 MB de tamaño), guardado en parte mediante el método [upload.saveBigFilePart](https://core.telegram.org/method/upload.saveBigFilePart.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputFileBig"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFileBig"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de archivo aleatorio, creado por el cliente", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de piezas guardadas", "x-telegram-field-docs": true}, "name": {"type": "string", "x-tl-type": "string", "description": "Nombre completo del archivo", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "name"], "additionalProperties": false}, "inputFileStoryDocument": {"title": "entradaArchivoHistoriaDocumento", "description": "Se utiliza para [editar la miniatura/vista previa estática de una historia, consulte aquí »](https://core.telegram.org/api/stories.md#editing-stories) para obtener más información sobre el flujo completo.", "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": "El vídeo de la vieja historia.", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaEmpty": {"title": "entradaMediosVacío", "description": "Contenido multimedia vacío de un mensaje.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputMediaUploadedPhoto": {"title": "entradaMediosSubidoFoto", "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": "Si este medio debería ocultarse detrás de una advertencia de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "live_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de una foto en vivo, i.e. una fotografía fija junto con el clip corto `video` capturado junto a ella", "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": "El [archivo subido](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": "Tipo TL: Documento de entrada."}, "x-tl-type": "Vector<InputDocument>", "description": "Pegatinas de máscara adjuntas.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<InputDocument>"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El tiempo de vida de una foto autodestructiva puede ser `0` para desactivar la autodestrucción, `0x7FFFFFFF` para autodestruir la foto inmediatamente después de reproducirla; de lo contrario, se autodestruye `ttl_seconds` después de reproducirlo.", "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": "El breve videoclip de la foto en vivo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputDocument"}}, "required": ["_", "file"], "additionalProperties": false}, "inputMediaPhoto": {"title": "entradaMediosFoto", "description": "Foto reenviada", "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": "Si este medio debería ocultarse detrás de una advertencia de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "live_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de una foto en vivo, i.e. una fotografía fija junto con el clip corto `video` capturado junto a ella", "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 a reenviar", "x-telegram-field-docs": true}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El tiempo de vida de una foto autodestructiva puede ser `0` para desactivar la autodestrucción, `0x7FFFFFFF` para autodestruir el documento inmediatamente después de reproducirlo; de lo contrario, se autodestruye `ttl_seconds` después de reproducirlo.", "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": "El breve videoclip de la foto en vivo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputDocument"}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaGeoPoint": {"title": "entradaMediaGeoPoint", "description": "Mapa.", "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": "Geopunto", "x-telegram-field-docs": true}}, "required": ["_", "geo_point"], "additionalProperties": false}, "inputMediaContact": {"title": "entradaMediosContacto", "description": "Contacto de la agenda telefónica", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaContact"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaContact"]}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Nombre del contacto", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Apellido del contacto", "x-telegram-field-docs": true}, "vcard": {"type": "string", "x-tl-type": "string", "description": "Contacto vcard", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard"], "additionalProperties": false}, "inputMediaUploadedDocument": {"title": "entradaMediosSubidosDocumento", "description": "Nuevo documento", "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": "Si se debe enviar el archivo como un video incluso si no tiene una pista de audio (i.e. Si está configurado, el atributo [documentAttributeAnimated](https://core.telegram.org/constructor/documentAttributeAnimated.md) **no** se configurará incluso para videos sin audio)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "force_file": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Forzar que el archivo multimedia se cargue como documento", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este medio debería ocultarse detrás de una advertencia de spoiler", "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": "El [archivo subido](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": "Miniatura del documento, cargada como para el archivo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputFile"}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME tipo de documento", "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": "Tipo de TL: Atributo de documento."}, "x-tl-type": "Vector<DocumentAttribute>", "description": "Atributos que especifican el tipo de documento (vídeo, audio, voz, pegatina, etc.)", "x-telegram-field-docs": true}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Tipo TL: Documento de entrada."}, "x-tl-type": "Vector<InputDocument>", "description": "Pegatinas adjuntas", "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": "Comience a reproducir el video en la marca de tiempo especificada (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?InputPhoto"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comience a reproducir el video en la marca de tiempo especificada (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?int"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El tiempo de vida del documento autodestructivo puede ser `0` para desactivar la autodestrucción, `0x7FFFFFFF` para autodestruir el documento inmediatamente después de reproducirlo; de lo contrario, se autodestruye `ttl_seconds` después de reproducirlo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "file", "mime_type", "attributes"], "additionalProperties": false}, "inputMediaDocument": {"title": "entradaMediaDocumento", "description": "documento reenviado", "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": "Si este medio debería ocultarse detrás de una advertencia de spoiler", "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": "El documento a remitir.", "x-telegram-field-docs": true}, "video_cover": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Portada de vídeo personalizada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputPhoto"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comience a reproducir el video en la marca de tiempo especificada (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El tiempo de vida del documento autodestructivo puede ser `0` para desactivar la autodestrucción, `0x7FFFFFFF` para autodestruir el documento inmediatamente después de reproducirlo; de lo contrario, se autodestruye `ttl_seconds` después de reproducirlo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "query": {"type": "string", "x-tl-type": "string", "description": "Consulta de texto o emoji que utilizó el usuario para encontrar esta pegatina o GIF: utilizada para mejorar la relevancia de los resultados de búsqueda.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaVenue": {"title": "entradaMediaVenue", "description": "Se puede utilizar para enviar la geolocalización del lugar.", "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": "Geolocalización", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del lugar", "x-telegram-field-docs": true}, "address": {"type": "string", "x-tl-type": "string", "description": "Dirección física del lugar", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Proveedor del lugar: actualmente solo es necesario admitir \"foursquare\" y \"gplaces\" (Google Places)", "x-telegram-field-docs": true}, "venue_id": {"type": "string", "x-tl-type": "string", "description": "ID del lugar en la base de datos del proveedor", "x-telegram-field-docs": true}, "venue_type": {"type": "string", "x-tl-type": "string", "description": "Tipo de lugar en la base de datos del proveedor", "x-telegram-field-docs": true}}, "required": ["_", "geo_point", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "inputMediaPhotoExternal": {"title": "entradaMediosFotoExterno", "description": "Nueva foto que será cargada por el servidor usando el URL especificado", "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": "Si este medio debería ocultarse detrás de una advertencia de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL de la foto", "x-telegram-field-docs": true}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El tiempo de vida de una foto autodestructiva puede ser `0` para desactivar la autodestrucción, `0x7FFFFFFF` para autodestruir la foto inmediatamente después de reproducirla; de lo contrario, se autodestruye `ttl_seconds` después de reproducirlo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "url"], "additionalProperties": false}, "inputMediaDocumentExternal": {"title": "entradaMediaDocumentoExterno", "description": "Documento que será descargado por los servidores de Telegram.", "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": "Si este medio debería ocultarse detrás de una advertencia de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL del documento", "x-telegram-field-docs": true}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El tiempo de vida del documento autodestructivo puede ser `0` para desactivar la autodestrucción, `0x7FFFFFFF` para autodestruir el documento inmediatamente después de reproducirlo; de lo contrario, se autodestruye `ttl_seconds` después de reproducirlo.", "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": "Portada de vídeo personalizada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputPhoto"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comience a reproducir el video en la marca de tiempo especificada (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}}, "required": ["_", "url"], "additionalProperties": false}, "inputMediaGame": {"title": "entradaMediosJuego", "description": "un juego", "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": "El juego a seguir", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMediaInvoice": {"title": "entradaMediosFactura", "description": "Factura generada de un [pago bot](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": "Nombre del producto, 1-32 caracteres", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción del producto, 1-255 caracteres", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "InputWebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputWebDocument"]}}, "description": "URL de la foto del producto para la factura. Puede ser una fotografía de los productos o una imagen de marketing de un servicio. A la gente le gusta más cuando ve por lo que está pagando.", "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": "La factura real", "x-telegram-field-docs": true}, "payload": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Carga útil de factura definida por bot, 1-128 bytes. Esto no se mostrará al usuario; utilícelo para sus procesos internos.", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Token de proveedor de pagos, obtenido a través de [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: datos codificados sobre la factura, que se compartirán con el proveedor de pagos. El proveedor de pagos debe proporcionar una descripción detallada de los campos obligatorios.", "x-telegram-field-docs": true}, "start_param": {"type": "string", "x-tl-type": "string", "description": "Único [parámetro de inicio de enlaces profundos del bot](https://core.telegram.org/api/links.md#bot-links). Si están presentes, las copias reenviadas del mensaje enviado tendrán un botón URL con un [enlace profundo](https://core.telegram.org/api/links.md#bot-links) al bot (en lugar de un botón Pagar), con el valor utilizado como parámetro de inicio. Si no existe, las copias reenviadas del mensaje enviado tendrán un botón Pagar, lo que permitirá a varios usuarios pagar directamente desde el mensaje reenviado, utilizando la misma factura.", "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": "En desuso", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputMedia"}}, "required": ["_", "title", "description", "invoice", "payload", "provider_data"], "additionalProperties": false}, "inputMediaGeoLive": {"title": "entradaMediaGeoLive", "description": "[Geolocalización en vivo](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": "Si se detuvo el envío de la geolocalización", "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": "Geolocalización actual", "x-telegram-field-docs": true}, "heading": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [ubicaciones en vivo](https://core.telegram.org/api/live-location.md), una dirección en la que se mueve la ubicación, en grados; 1-360.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Período de validez de la ubicación actual.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "proximity_notification_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [ubicaciones en vivo](https://core.telegram.org/api/live-location.md), una distancia máxima a otro miembro del chat para alertas de proximidad, en metros (0-100000)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}}, "required": ["_", "geo_point"], "additionalProperties": false}, "inputMediaPoll": {"title": "entradaMediaEncuesta", "description": "una encuesta", "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": "La encuesta para enviar", "x-telegram-field-docs": true}, "correct_answers": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Índices basados en 0 de las respuestas correctas en el vector `answers` (para encuestas)", "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": "Archivo adjunto multimedia opcional para mostrar junto con la encuesta", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputMedia"}, "solution": {"type": "string", "x-tl-type": "string", "description": "Texto que se muestra cuando un usuario elige una respuesta incorrecta o toca el ícono de la lámpara en una encuesta estilo cuestionario, de 0 a 200 caracteres con un máximo de 2 saltos de línea.", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensajes de texto con estilo](https://core.telegram.org/api/entities.md) para la explicación `solution`.", "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": "Archivo adjunto multimedia opcional que se muestra junto a la explicación de la solución del cuestionario", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?InputMedia"}}, "required": ["_", "poll"], "additionalProperties": false}, "inputMediaDice": {"title": "entradaMediosDados", "description": "Envía una [pegatina animada basada en dados](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": "Los emoji, por ahora 🏀, 🎲 y 🎯 son compatibles", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "inputMediaStory": {"title": "entradaMediaStory", "description": "Historia reenviada", "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": "Mira dónde se publicó la historia.", "x-telegram-field-docs": true}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de historia", "x-telegram-field-docs": true}}, "required": ["_", "peer", "id"], "additionalProperties": false}, "inputMediaWebPage": {"title": "entradaMediaWebPage", "description": "Especifica las opciones que se utilizarán para generar la vista previa del enlace para el título, o incluso una vista previa del enlace independiente sin un mensaje adjunto.", "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": "Si se establece, especifica que se debe utilizar una vista previa de medios grandes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se establece, especifica que se debe utilizar una vista previa de medios pequeños.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "optional": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si **no** está configurado, se emitirá un error `WEBPAGE_NOT_FOUND` RPC si no se puede generar una vista previa de la página web para el `url` especificado; de lo contrario, no se emitirá ningún error (a menos que el mensaje proporcionado también esté vacío, en cuyo caso se emitirá un `MESSAGE_EMPTY`).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "url": {"type": "string", "x-tl-type": "string", "description": "El URL que se utilizará para la vista previa del enlace.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "inputMediaPaidMedia": {"title": "inputMediaPaidMedia", "description": "[Medios pagos, consulte aquí »](https://core.telegram.org/api/paid-media.md) para obtener más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaPaidMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaPaidMedia"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "El precio de los medios en [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": "Tipo de TL: Medios de entrada."}, "x-tl-type": "Vector<InputMedia>", "description": "Fotos o vídeos.", "x-telegram-field-docs": true}, "payload": {"type": "string", "x-tl-type": "string", "description": "Solo bots, especifica una carga útil personalizada que luego se pasará en [updateBotPurchasedPaidMedia](https://core.telegram.org/constructor/updateBotPurchasedPaidMedia.md) cuando se realice un pago (este campo no será visible para el usuario)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "stars_amount", "extended_media"], "additionalProperties": false}, "inputMediaTodo": {"title": "entradaMediaTodo", "description": "Crea una [lista de tareas pendientes »](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": "La lista de tareas pendientes.", "x-telegram-field-docs": true}}, "required": ["_", "todo"], "additionalProperties": false}, "inputMediaStakeDice": {"title": "entradaMediosEstacaDados", "description": "Medios de juego de dados.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMediaStakeDice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMediaStakeDice"]}, "game_hash": {"type": "string", "x-tl-type": "string", "description": "Hachís del juego.", "x-telegram-field-docs": true}, "ton_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Cantidad.", "x-tl-type": "long", "x-telegram-field-docs": true}, "client_seed": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Semilla de cliente.", "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 bits de velocidad en десятичной записи.", "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": "entradaChatFotoVacío", "description": "Constructor vacío, eliminar foto de grupo.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatPhotoEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatPhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputChatUploadedPhoto": {"title": "entradaChatSubidoFoto", "description": "Nueva foto que se establecerá como foto de perfil del grupo.\n\nLas banderas `file`, `video` y `video_emoji_markup` son mutuamente excluyentes.", "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": "Archivo guardado en partes usando el método [upload.saveFilePart](https://core.telegram.org/method/upload.saveFilePart.md)", "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": "Vídeo cuadrado para foto de perfil animada", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?InputFile"}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Punto flotante UNIX marca de tiempo en segundos, que indica el fotograma del vídeo/pegatina que debe usarse como vista previa estática; solo se puede utilizar si está configurado `video` o `video_emoji_markup`.", "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": "La imagen de perfil de la etiqueta animada debe contener un constructor [videoSizeEmojiMarkup](https://core.telegram.org/constructor/videoSizeEmojiMarkup.md) o [videoSizeStickerMarkup](https://core.telegram.org/constructor/videoSizeStickerMarkup.md)].", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?VideoSize"}}, "required": ["_"], "additionalProperties": false}, "inputChatPhoto": {"title": "entradaChatFoto", "description": "La foto existente se configurará como foto de perfil de chat.", "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": "Foto existente", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputGeoPointEmpty": {"title": "entradaGeoPointVacío", "description": "Constructor GeoPoint vacío.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGeoPointEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGeoPointEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputGeoPoint": {"title": "entradaGeoPoint", "description": "Define un GeoPoint por sus coordenadas.", "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": "Latitud", "x-telegram-field-docs": true}, "long": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Longitud", "x-telegram-field-docs": true}, "accuracy_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La precisión horizontal estimada de la ubicación, en metros; según lo definido por el remitente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "lat", "long"], "additionalProperties": false}, "inputPhotoEmpty": {"title": "entradaFotoVacío", "description": "Constructor vacío.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhotoEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputPhoto": {"title": "entradaFoto", "description": "Define una foto para una mayor interacción.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhoto"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de foto", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** valor del constructor [foto](https://core.telegram.org/constructor/photo.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Referencia del archivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference"], "additionalProperties": false}, "inputFileLocation": {"title": "ubicación del archivo de entrada", "description": "DEPRECATED ubicación de una foto", "externalDocs": {"url": "https://core.telegram.org/constructor/inputFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputFileLocation"]}, "volume_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Volumen del servidor", "x-tl-type": "long", "x-telegram-field-docs": true}, "local_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador de archivo", "x-telegram-field-docs": true}, "secret": {"type": "string", "pattern": "^-?\\d+$", "description": "Verifique la suma para acceder al archivo", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Referencia del archivo](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": "entradaUbicación del archivo cifrado", "description": "Ubicación del archivo de chat secreto cifrado.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de archivo, valor del parámetro **id** de [encryptedFile](https://core.telegram.org/constructor/encryptedFile.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Suma de comprobación, **access_hash** valor del parámetro de [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": "entradaDocumentoArchivoUbicación", "description": "Ubicación del documento (video, voz, audio, básicamente todos los tipos excepto fotografía)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDocumentFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDocumentFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación del documento", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** parámetro del constructor [document](https://core.telegram.org/constructor/document.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Referencia del archivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}, "thumb_size": {"type": "string", "x-tl-type": "string", "description": "Tamaño de miniatura para descargar la miniatura", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "thumb_size"], "additionalProperties": false}, "inputSecureFileLocation": {"title": "entradaSecureFileLocation", "description": "Ubicación del archivo de telegrama cifrado [pasaporte](https://core.telegram.org/passport.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputSecureFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSecureFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de archivo, valor del parámetro **id** de [secureFile](https://core.telegram.org/constructor/secureFile.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Suma de comprobación, **access_hash** valor del parámetro de [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": "entradaUbicación del archivo para llevar", "description": "Se utiliza para descargar un archivo JSON que contendrá todos los datos personales relacionados con funciones que aún no tienen un [método de comida para llevar](https://core.telegram.org/api/takeout.md) especializado; consulte [aquí »](https://core.telegram.org/api/takeout.md) para obtener más información sobre la comida para llevar API.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputTakeoutFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputTakeoutFileLocation"]}}, "required": ["_"], "additionalProperties": false}, "inputPhotoFileLocation": {"title": "entradaFotoArchivoUbicación", "description": "Utilice este objeto para descargar una foto con el método [upload.getFile](https://core.telegram.org/method/upload.getFile.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhotoFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhotoFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación con foto, obtenida del objeto [foto](https://core.telegram.org/constructor/photo.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acceso a la foto, obtenido del objeto [foto](https://core.telegram.org/constructor/photo.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Referencia del archivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}, "thumb_size": {"type": "string", "x-tl-type": "string", "description": "El [PhotoSize](https://core.telegram.org/type/PhotoSize.md) para descargar: debe configurarse en el campo `type` del objeto PhotoSize deseado de la [foto](https://core.telegram.org/constructor/photo.md)", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "thumb_size"], "additionalProperties": false}, "inputPhotoLegacyFileLocation": {"title": "entradaFotoLegacyFileUbicación", "description": "DEPRECATED ubicación del archivo de foto heredado", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPhotoLegacyFileLocation"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPhotoLegacyFileLocation"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación con foto", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "hash de acceso", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Referencia de archivo", "x-telegram-field-docs": true}, "volume_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de volumen", "x-tl-type": "long", "x-telegram-field-docs": true}, "local_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificación local", "x-telegram-field-docs": true}, "secret": {"type": "string", "pattern": "^-?\\d+$", "description": "secreto", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference", "volume_id", "local_id", "secret"], "additionalProperties": false}, "inputPeerPhotoFileLocation": {"title": "entradaPeerPhotoFileUbicación", "description": "Ubicación de la foto de perfil del canal/grupo/supergrupo/usuario", "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": "Ya sea para descargar la versión de alta calidad de la imagen.", "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": "El par cuya foto de perfil debe descargarse", "x-telegram-field-docs": true}, "photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación con foto", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "photo_id"], "additionalProperties": false}, "inputStickerSetThumb": {"title": "entradaStickerSetThumb", "description": "Ubicación de la miniatura del conjunto de pegatinas (ver [archivos](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": "Conjunto de pegatinas", "x-telegram-field-docs": true}, "thumb_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versión en miniatura", "x-telegram-field-docs": true}}, "required": ["_", "stickerset", "thumb_version"], "additionalProperties": false}, "inputGroupCallStream": {"title": "entradaGrupoCallStream", "description": "Identifica un fragmento multimedia de un chat de vídeo en modo RTMP, una transmisión en vivo o una historia en vivo; consulte [reproducir una transmisión en vivo RTMP »](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-modo llamada grupal", "x-telegram-field-docs": true}, "time_ms": {"type": "string", "pattern": "^-?\\d+$", "description": "Marca de tiempo del fragmento a recuperar, en milisegundos", "x-tl-type": "long", "x-telegram-field-docs": true}, "scale": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Especifica la duración del segmento multimedia que se recuperará en milisegundos, desplazando el bit `1000` hacia la derecha `scale` veces: `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` valor del canal de vídeo a recuperar; El vídeo unificado utiliza el canal `1`. Omitir junto con `video_quality` para recuperar audio", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "video_quality": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Calidad de vídeo seleccionada (0 = más baja, 1 = media, 2 = mejor)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "call", "time_ms", "scale"], "additionalProperties": false}, "peerUser": {"title": "parUsuario", "description": "compañero de chat", "externalDocs": {"url": "https://core.telegram.org/constructor/peerUser"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de usuario", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id"], "additionalProperties": false}, "peerChat": {"title": "peerChat", "description": "Grupo.", "externalDocs": {"url": "https://core.telegram.org/constructor/peerChat"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de grupo", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "chat_id"], "additionalProperties": false}, "peerChannel": {"title": "canal de pares", "description": "Canal/supergrupo", "externalDocs": {"url": "https://core.telegram.org/constructor/peerChannel"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de canal", "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": "usuarioVacío", "description": "Constructor vacío, usuario inexistente.", "externalDocs": {"url": "https://core.telegram.org/constructor/userEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["userEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de usuario o `0`", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "user": {"title": "usuario", "description": "Indica información sobre un determinado usuario.\n\nA menos que se especifique lo contrario, al actualizar la [base de datos local local](https://core.telegram.org/api/peers.md), todos los campos del constructor recién recibido tienen prioridad sobre el constructor anterior almacenado en caché localmente (incluso eliminando campos que no están configurados en el nuevo constructor).\n\nConsulte [aquí »](https://github.com/tdlib/td/blob/73035e4a69ed26df563652de14aa9c4c86d23420/td/telegram/UserManager.cpp#L3106) para ver una implementación de la lógica que se utilizará al actualizar la [base de datos de pares de usuarios locales](https://core.telegram.org/api/peers.md).", "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": "Si este usuario indica el usuario actualmente conectado", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "contact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este usuario es un contacto Al actualizar la [base de datos de pares local](https://core.telegram.org/api/peers.md), no aplique cambios a este campo si el indicador `min` está configurado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "mutual_contact": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este usuario es un contacto mutuo.  Al actualizar la [base de datos de pares local](https://core.telegram.org/api/peers.md), no aplique cambios a este campo si el indicador `min` está configurado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "deleted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si la cuenta de este usuario fue eliminada.  Los cambios en este indicador deberían invalidar la caché local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuario; consulte [aquí »](https://core.telegram.org/api/peers.md#full-info-database) para obtener más información.", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "bot": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "¿Este usuario es un bot?  Los cambios en este indicador deberían invalidar la caché local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuario; consulte [aquí »](https://core.telegram.org/api/peers.md#full-info-database) para obtener más información.", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?true"}, "bot_chat_history": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "¿Puede el bot ver todos los mensajes de los grupos?", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "bot_nochats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "¿Se puede agregar el bot a grupos?", "x-telegram-field-docs": true, "x-tl-flag": "flags.16?true"}, "verified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este usuario está verificado", "x-telegram-field-docs": true, "x-tl-flag": "flags.17?true"}, "restricted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "El acceso a este usuario debe estar restringido por el motivo especificado en `restriction_reason`", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?true"}, "min": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ver [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": "Si el bot puede solicitar nuestra geolocalización en modo en línea", "x-telegram-field-docs": true, "x-tl-flag": "flags.21?true"}, "support": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de un usuario de soporte oficial", "x-telegram-field-docs": true, "x-tl-flag": "flags.23?true"}, "scam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Este puede ser un usuario fraudulento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.24?true"}, "apply_min_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado y `min` está configurado, el valor de `photo` se puede usar para actualizar la base de datos local; consulte la documentación de ese indicador para obtener más información.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?true"}, "fake": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se configura, muchos usuarios reportaron a este usuario como un usuario falso o fraudulento: tenga cuidado al interactuar con ellos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.26?true"}, "bot_attach_menu": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este bot ofrece una [aplicación web de menú de archivos adjuntos](https://core.telegram.org/api/bots/attach.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.27?true"}, "premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este usuario es un usuario de Telegram Premium Los cambios en este indicador deberían invalidar el caché local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuario; consulte [aquí »](https://core.telegram.org/api/peers.md#full-info-database) para obtener más información.  Los cambios en este indicador, si el indicador `self` está configurado, también deberían activar las siguientes llamadas para actualizar los cachés respectivos: - El caché [help.getConfig](https://core.telegram.org/method/help.getConfig.md) - El caché [messages.getTopReactions](https://core.telegram.org/method/messages.getTopReactions.md) si el indicador `bot` **no** está configurado", "x-telegram-field-docs": true, "x-tl-flag": "flags.28?true"}, "attach_menu_enabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si instalamos la [aplicación web del menú de archivos adjuntos](https://core.telegram.org/api/bots/attach.md) que ofrece este bot.  Al actualizar la [base de datos de pares local](https://core.telegram.org/api/peers.md), no aplique cambios a este campo si el indicador `min` está configurado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.29?true"}, "bot_can_edit": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si podemos editar la imagen de perfil, el nombre, el texto acerca de y la descripción de este bot porque lo poseemos.  Al actualizar la [base de datos de pares local](https://core.telegram.org/api/peers.md), no aplique cambios a este campo si el indicador `min` está configurado.  Los cambios en este indicador (si `min` no está configurado) deberían invalidar la caché local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuario.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.1?true"}, "close_friend": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si marcamos a este usuario como [amigo cercano, consulte aquí » para obtener más información](https://core.telegram.org/api/privacy.md).  Al actualizar la [base de datos de pares local](https://core.telegram.org/api/peers.md), no aplique cambios a este campo si el indicador `min` está configurado.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.2?true"}, "stories_hidden": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si tenemos [ocultos »](https://core.telegram.org/api/stories.md#hiding-stories-of-other-users) todas las historias activas de este usuario.  Al actualizar la [base de datos de pares local](https://core.telegram.org/api/peers.md), no aplique cambios a este campo si el indicador `min` está configurado.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.3?true"}, "stories_unavailable": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "No hay historias visibles de este usuario.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.4?true"}, "contact_require_premium": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Consulte [aquí para obtener más información sobre esta bandera» ](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": "Si este bot se puede [conectar a un usuario como se especifica aquí »](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": "Si está configurado, este bot ha configurado una [Mini aplicación principal »](https://core.telegram.org/api/bots/webapps.md#main-mini-apps).", "x-telegram-field-docs": true, "x-tl-flag": "flags2.13?true"}, "bot_forum_view": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, este bot admite [temas del foro de bots »](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": "Si está configurado, este bot admite [temas del foro de bots »](https://core.telegram.org/api/forum.md#bot-forums), y los usuarios (¡no solo el bot!) pueden crear y administrar temas del foro de bots en su chat privado con el bot.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.17?true"}, "bot_can_manage_bots": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, este bot es un [bot administrador](https://core.telegram.org/api/bots/managed-bots.md) que puede crear y administrar [bots administrados »](https://core.telegram.org/api/bots/managed-bots.md) en nombre del usuario.", "x-telegram-field-docs": true, "x-tl-flag": "flags2.18?true"}, "bot_guestchat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, este bot puede ser invocado como [invitado en chats »](https://core.telegram.org/api/bots/guest-mode.md).", "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 del usuario, consulte [aquí »](https://core.telegram.org/api/peers.md#peer-id) para obtener más información y el rango de ID disponible.", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Acceda al hash del usuario, consulte [aquí »](https://core.telegram.org/api/peers.md#access-hash) para obtener más información.  Si este indicador está configurado, al actualizar la [base de datos de pares local](https://core.telegram.org/api/peers.md), genere un indicador virtual llamado `min_access_hash`, que es: - Establecido en `true` si `min` está configurado AND -- El indicador `phone` **no** está configurado O -- El indicador `phone` está configurado y la cadena de número de teléfono asociado no está vacía - Establezca en `false` en caso contrario.   Luego, aplique `access_hash` y `min_access_hash` a la base de datos local si: - `min_access_hash` es falso O - `min_access_hash` es verdadero AND -- No hay ningún objeto almacenado en caché local para este usuario O -- No hay `access_hash` en el caché local O -- El `min_access_hash` del objeto almacenado en caché también es verdadero Si el objeto fusionado final almacenado en la base de datos tiene el campo `min_access_hash` establecido en verdadero, el `access_hash` relacionado **solo** es adecuado para usar en [`inputPeerPhotoFileLocation` »](https://core.telegram.org/constructor/inputPeerPhotoFileLocation.md), para [descargar directamente las imágenes de perfil](https://core.telegram.org/api/files.md) de los usuarios, en cualquier otro lugar se deberá generar un constructor `inputPeer*FromMessage` como se especifica [aquí »](https://core.telegram.org/api/min.md).  Los bots también pueden usar hash de acceso mínimo en algunas condiciones, pasando `0` en lugar del hash de acceso mínimo.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?long"}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Nombre.  Al actualizar la [base de datos local de pares](https://core.telegram.org/api/peers.md), aplique cambios a este campo solo si: - El indicador `min` no está configurado O - El indicador `min` está configurado AND -- El indicador `min` de la entrada del usuario almacenada en caché local está configurado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Apellido.  Al actualizar la [base de datos local de pares](https://core.telegram.org/api/peers.md), aplique cambios a este campo solo si: - El indicador `min` no está configurado O - El indicador `min` está configurado AND -- El indicador `min` de la entrada del usuario almacenada en caché local está configurado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "username": {"type": "string", "x-tl-type": "string", "description": "Nombre de usuario activo principal.  Al actualizar la [base de datos local de pares](https://core.telegram.org/api/peers.md), aplique cambios a este campo solo si: - El indicador `min` no está configurado O - El indicador `min` está configurado AND -- El indicador `min` de la entrada del usuario almacenada en caché local está configurado.  Los cambios en este indicador deberían invalidar la caché local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuario si se respetan las condiciones anteriores y el indicador `bot_can_edit` también está configurado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "phone": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono.  Al actualizar la [base de datos de pares local](https://core.telegram.org/api/peers.md), aplique cambios a este campo solo si: - El indicador `min` no está configurado O - El indicador `min` está configurado AND -- El indicador `min` de la entrada de usuario almacenada en caché local está configurado.", "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": "Foto de perfil del usuario.  Al actualizar la [base de datos de pares local](https://core.telegram.org/api/peers.md), aplique cambios a este campo solo si: - El indicador `min` no está configurado O - El indicador `min` está establecido AND -- El indicador `apply_min_photo` está establecido O -- El indicador `min` de la entrada de usuario almacenada en caché local está establecido.", "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": "Estado en línea del usuario.  Al actualizar la [base de datos local de pares](https://core.telegram.org/api/peers.md), aplique cambios a este campo solo si: - El indicador `min` no está configurado O - El indicador `min` está establecido AND -- El indicador `min` de la entrada de usuario almacenada en caché local está configurada O -- La entrada de usuario almacenada en caché local es igual a [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": "Versión del campo [bot_info en userFull](https://core.telegram.org/constructor/userFull.md), incrementada cada vez que cambia.  Los cambios en este indicador deberían invalidar la caché local [userFull](https://core.telegram.org/constructor/userFull.md) para este ID de usuario; consulte [aquí »](https://core.telegram.org/api/peers.md#full-info-database) para obtener más información.", "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": "Tipo de TL: Motivo de restricción."}, "x-tl-type": "Vector<RestrictionReason>", "description": "Contiene el motivo por el cual se debe restringir el acceso a este usuario.", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?Vector<RestrictionReason>"}, "bot_inline_placeholder": {"type": "string", "x-tl-type": "string", "description": "Marcador de posición en línea para este bot en línea", "x-telegram-field-docs": true, "x-tl-flag": "flags.19?string"}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código de idioma del usuario", "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": "[Estado de emoji](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": "Tipo TL: Nombre de usuario."}, "x-tl-type": "Vector<Username>", "description": "Nombres de usuario adicionales.  Al actualizar la [base de datos local de pares](https://core.telegram.org/api/peers.md), aplique cambios a este campo solo si: - El indicador `min` no está configurado O - El indicador `min` está configurado AND -- El indicador `min` de la entrada del usuario almacenada en caché local está configurado.  Los cambios en este indicador (si se respetan las condiciones anteriores) deberían invalidar la caché [userFull](https://core.telegram.org/constructor/userFull.md)] local para este ID de usuario.", "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": "Resumen de las [historias activas»](https://core.telegram.org/api/stories.md#recent-story-summaries) del usuario.   Al actualizar la [base de datos local de pares](https://core.telegram.org/api/peers.md), no aplique cambios a este campo si el indicador `min` del constructor entrante está configurado.", "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": "El [color de acento](https://core.telegram.org/api/colors.md).", "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": "El [color de perfil](https://core.telegram.org/api/colors.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags2.9?PeerColor"}, "bot_active_users": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Usuarios activos mensuales (MAU) de este bot (puede estar ausente para bots pequeños).", "x-telegram-field-docs": true, "x-tl-flag": "flags2.12?int"}, "bot_verification_icon": {"type": "string", "pattern": "^-?\\d+$", "description": "Describe un [icono de verificación de bot »](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": "Si está configurado, el usuario ha habilitado [mensajes pagos »](https://core.telegram.org/api/paid-messages.md), *podríamos* necesitar pagar la cantidad especificada de [Estrellas](https://core.telegram.org/api/stars.md) para enviarles mensajes, dependiendo de las excepciones configuradas: verifique [userFull](https://core.telegram.org/constructor/userFull.md).`send_paid_messages_stars` o [users.getRequirementsToContact](https://core.telegram.org/method/users.getRequirementsToContact.md) para ver si el usuario actualmente conectado realmente tiene que pagar o no, consulte [aquí »](https://core.telegram.org/api/paid-messages.md) para el flujo completo.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags2.15?long"}, "linked_community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.21?long"}}, "required": ["_", "id"], "additionalProperties": false}, "userProfilePhotoEmpty": {"title": "perfil de usuariofotovacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["userProfilePhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "userProfilePhoto": {"title": "foto de perfil de usuario", "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 bits de velocidad en десятичной записи.", "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": "estadodeusuarioVacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusEmpty"]}}, "required": ["_"], "additionalProperties": false}, "userStatusOnline": {"title": "estado de usuario en línea", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusOnline"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "expires"], "additionalProperties": false}, "userStatusOffline": {"title": "estado de usuario sin conexión", "type": "object", "properties": {"_": {"type": "string", "enum": ["userStatusOffline"]}, "was_online": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "was_online"], "additionalProperties": false}, "userStatusRecently": {"title": "estado del usuarioRecientemente", "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": "estado del usuarioÚltima semana", "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": "estado del usuarioÚltimo mes", "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": "chatVacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "chat": {"title": "charlar", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: ChatFoto."}, "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": "Tipo TL: Canal de entrada.", "x-tl-flag": "flags.6?InputChannel"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Tipo de 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": "Tipo de TL: ChatBannedRights.", "x-tl-flag": "flags.18?ChatBannedRights"}}, "required": ["_", "id", "title", "photo", "participants_count", "date", "version"], "additionalProperties": false}, "chatForbidden": {"title": "chatProhibido", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatForbidden"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "channel": {"title": "canal", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: ChatFoto."}, "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": "Tipo de TL: Motivo de restricción."}, "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": "Tipo de TL: ChatAdminRights.", "x-tl-flag": "flags.14?ChatAdminRights"}, "banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Tipo de 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": "Tipo de 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": "Tipo TL: Nombre de usuario."}, "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": "Tipo de TL: Historia reciente.", "x-tl-flag": "flags2.4?RecentStory"}, "color": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Tipo 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": "Tipo 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": "Tipo de 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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.13?long"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.14?long"}, "linked_monoforum_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags2.18?long"}, "linked_community_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "canalProhibido", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: ChatFoto."}, "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": "Tipo de 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": "Tipo de TL: ChatBannedRights.", "x-tl-flag": "flags.18?ChatBannedRights"}}, "required": ["_", "id", "title", "photo", "date"], "additionalProperties": false}, "chatFull": {"title": "chatCompleto", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Participantes del chat."}, "chat_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto.", "x-tl-flag": "flags.2?Photo"}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "Tipo de TL: PeerNotifySettings."}, "exported_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: 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": "Tipo de 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": "Tipo de 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": "Tipo TL: Par.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: ChatReacciones.", "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": "canalCompleto", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Foto."}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "Tipo de TL: PeerNotifySettings."}, "exported_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: 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": "Tipo de TL: BotInfo."}, "x-tl-type": "Vector<BotInfo>"}, "migrated_from_chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Juego de pegatinas.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Ubicación del canal.", "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": "Tipo de 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": "Tipo TL: Par.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "x-tl-flag": "flags.29?Peer"}, "available_reactions": {"type": "object", "x-tl-type": "ChatReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatReactionsNone", "chatReactionsAll", "chatReactionsSome"]}}, "description": "Tipo de TL: ChatReacciones.", "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": "Tipo TL: PeerStories.", "x-tl-flag": "flags2.4?PeerStories"}, "wallpaper": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "Tipo TL: Papel pintado.", "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": "Tipo TL: Juego de pegatinas.", "x-tl-flag": "flags2.10?StickerSet"}, "bot_verification": {"type": "object", "x-tl-type": "BotVerification", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botVerification"]}}, "description": "Tipo de 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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: PerfilTab.", "x-tl-flag": "flags2.22?ProfileTab"}, "guard_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Foto."}, "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": "Tipo de TL: 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": "chatParticipante", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipant"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "chatParticipanteCreador", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipantCreator"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id"], "additionalProperties": false}, "chatParticipantAdmin": {"title": "chatParticipanteAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipantAdmin"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "chatParticipantesProhibido", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipantsForbidden"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "self_participant": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Tipo de TL: ChatParticipante.", "x-tl-flag": "flags.0?ChatParticipant"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "chatParticipants": {"title": "chatParticipantes", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatParticipants"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Tipo de TL: ChatParticipante."}, "x-tl-type": "Vector<ChatParticipant>"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "participants", "version"], "additionalProperties": false}, "chatPhotoEmpty": {"title": "chatFotoVacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatPhotoEmpty"]}}, "required": ["_"], "additionalProperties": false}, "chatPhoto": {"title": "chatFoto", "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 bits de velocidad en десятичной записи.", "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": "mensajevacío", "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": "Tipo TL: Par.", "x-tl-flag": "flags.0?Peer"}}, "required": ["_", "id"], "additionalProperties": false}, "message": {"title": "mensaje", "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": "Tipo TL: Par.", "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": "Tipo TL: Par."}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "x-tl-flag": "flags.28?Peer"}, "fwd_from": {"type": "object", "x-tl-type": "MessageFwdHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageFwdHeader"]}}, "description": "Tipo de TL: MessageFwdHeader.", "x-tl-flag": "flags.2?MessageFwdHeader"}, "via_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.11?long"}, "via_business_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "x-tl-flag": "flags2.19?Peer"}, "reply_to": {"type": "object", "x-tl-type": "MessageReplyHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplyHeader", "messageReplyStoryHeader"]}}, "description": "Tipo de 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": "Tipo de TL: 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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Respuestas de mensajes.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Reacciones de mensajes.", "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": "Tipo de TL: Motivo de restricción."}, "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Verificación de hechos.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Publicación sugerida.", "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": "mensajeServicio", "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": "Tipo TL: Par.", "x-tl-flag": "flags.8?Peer"}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "x-tl-flag": "flags.28?Peer"}, "reply_to": {"type": "object", "x-tl-type": "MessageReplyHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplyHeader", "messageReplyStoryHeader"]}}, "description": "Tipo de 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": "Tipo de TL: MensajeAcción."}, "reactions": {"type": "object", "x-tl-type": "MessageReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReactions"]}}, "description": "Tipo de TL: Reacciones de mensajes.", "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": "mensajeMediosVacío", "description": "Constructor vacío.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaEmpty"]}}, "required": ["_"], "additionalProperties": false}, "messageMediaPhoto": {"title": "mensajeMediosFoto", "description": "Foto adjunta.", "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": "Si este medio debería ocultarse detrás de una advertencia de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "live_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de una foto en vivo, i.e. una fotografía fija junto con el clip corto `video` capturado junto a ella", "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": "El tiempo de vida de una foto autodestructiva puede ser `0` para desactivar la autodestrucción, `0x7FFFFFFF` para autodestruir la foto inmediatamente después de reproducirla; de lo contrario, se autodestruye `ttl_seconds` después de reproducirlo.", "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": "El breve videoclip de la foto en vivo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Document"}}, "required": ["_"], "additionalProperties": false}, "messageMediaGeo": {"title": "mensajeMediaGeo", "description": "Mapa adjunto.", "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": "Geopunto", "x-telegram-field-docs": true}}, "required": ["_", "geo"], "additionalProperties": false}, "messageMediaContact": {"title": "mensajeMediosContacto", "description": "Contacto adjunto.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaContact"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaContact"]}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "Nombre del contacto", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "Apellido del contacto", "x-telegram-field-docs": true}, "vcard": {"type": "string", "x-tl-type": "string", "description": "VCARD de contacto", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de usuario o `0`, si el usuario con el número de teléfono indicado no está registrado", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard", "user_id"], "additionalProperties": false}, "messageMediaUnsupported": {"title": "mensajeMedios no admitidos", "description": "La versión actual del cliente no admite este tipo de medio.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaUnsupported"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "messageMediaDocument": {"title": "mensajeMediosDocumento", "description": "Documento (video, audio, voz, calcomanía, cualquier tipo de medio excepto fotografía)", "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": "Si se trata de una pegatina normal, si no está configurada, se trata de una pegatina premium y se debe reproducir una animación de pegatina premium.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "spoiler": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este medio debería ocultarse detrás de una advertencia de spoiler", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "video": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de un vídeo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "round": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este es un video redondo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "voice": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de un mensaje de voz.", "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": "Documento adjunto", "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": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Solo videos, contiene calidades alternativas del video.", "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": "Portada de vídeo personalizada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?Photo"}, "video_timestamp": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Comience a reproducir el video en la marca de tiempo especificada (segundos).", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?int"}, "ttl_seconds": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El tiempo de vida del documento autodestructivo puede ser `0` para desactivar la autodestrucción, `0x7FFFFFFF` para autodestruir el documento inmediatamente después de reproducirlo; de lo contrario, se autodestruye `ttl_seconds` después de reproducirlo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}}, "required": ["_"], "additionalProperties": false}, "messageMediaWebPage": {"title": "mensajeMediaWebPage", "description": "Vista previa de la página web", "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": "Si se establece, especifica que se debe utilizar una vista previa de medios grandes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "force_small_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se establece, especifica que se debe utilizar una vista previa de medios pequeños.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "manual": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "If set, indicates that the URL used for the webpage preview was specified manually using [inputMediaWebPage](https://core.telegram.org/constructor/inputMediaWebPage.md), and may not be related to any of the URLs specified in the message.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "safe": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se configura, la página web se puede abrir directamente sin la confirmación del usuario; de lo contrario, se requiere la confirmación del usuario, que muestra el URL exacto que se abrirá.", "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": "Vista previa de la página web", "x-telegram-field-docs": true}}, "required": ["_", "webpage"], "additionalProperties": false}, "messageMediaVenue": {"title": "mensajeMediosVenue", "description": "Lugar", "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": "Geolocalización del lugar", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del lugar", "x-telegram-field-docs": true}, "address": {"type": "string", "x-tl-type": "string", "description": "Dirección", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Proveedor del lugar: actualmente solo es necesario admitir \"foursquare\" y \"gplaces\" (Google Places)", "x-telegram-field-docs": true}, "venue_id": {"type": "string", "x-tl-type": "string", "description": "ID del lugar en la base de datos del proveedor", "x-telegram-field-docs": true}, "venue_type": {"type": "string", "x-tl-type": "string", "description": "Tipo de lugar en la base de datos del proveedor", "x-telegram-field-docs": true}}, "required": ["_", "geo", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "messageMediaGame": {"title": "mensajeMediosJuego", "description": "juego de telegramas", "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": "juego", "x-telegram-field-docs": true}}, "required": ["_", "game"], "additionalProperties": false}, "messageMediaInvoice": {"title": "mensajeMediosFactura", "description": "factura", "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": "Si se solicitó la dirección de envío", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "test": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de una factura de ejemplo", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del producto, 1-32 caracteres", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción del producto, 1-255 caracteres", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "URL de la foto del producto para la factura. Puede ser una fotografía de los productos o una imagen de marketing de un servicio. A la gente le gusta más cuando ve por lo que está pagando.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?WebDocument"}, "receipt_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje de recibo: si está configurado, los clientes deben cambiar el texto del primer botón [keyboardButtonBuy](https://core.telegram.org/constructor/keyboardButtonBuy.md) siempre adjunto al [mensaje](https://core.telegram.org/constructor/message.md) a una versión localizada de la palabra `Receipt`", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de moneda](https://core.telegram.org/bots/payments.md#supported-currencies) de tres letras ISO 4217, o `XTR` para [Telegram Stars](https://core.telegram.org/api/stars.md).", "x-telegram-field-docs": true}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "start_param": {"type": "string", "x-tl-type": "string", "description": "Parámetro exclusivo de enlace profundo del bot que se puede utilizar para generar esta factura", "x-telegram-field-docs": true}, "extended_media": {"type": "object", "x-tl-type": "MessageExtendedMedia", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageExtendedMediaPreview", "messageExtendedMedia"]}}, "description": "En desuso", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?MessageExtendedMedia"}}, "required": ["_", "title", "description", "currency", "total_amount", "start_param"], "additionalProperties": false}, "messageMediaGeoLive": {"title": "mensajeMediaGeoLive", "description": "Indica una [geolocalización en vivo](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": "Geolocalización", "x-telegram-field-docs": true}, "heading": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [ubicaciones en vivo](https://core.telegram.org/api/live-location.md), una dirección en la que se mueve la ubicación, en grados; 1-360", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Periodo de validez de la geolocalización proporcionada", "x-telegram-field-docs": true}, "proximity_notification_radius": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [ubicaciones en vivo](https://core.telegram.org/api/live-location.md), una distancia máxima a otro miembro del chat para alertas de proximidad, en metros (0-100000).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "geo", "period"], "additionalProperties": false}, "messageMediaPoll": {"title": "mensajeMediaEncuesta", "description": "Encuesta", "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": "la encuesta", "x-telegram-field-docs": true}, "results": {"type": "object", "x-tl-type": "PollResults", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollResults"]}}, "description": "Los resultados de la encuesta", "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": "Archivo adjunto multimedia opcional que se muestra junto a la encuesta", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?MessageMedia"}}, "required": ["_", "poll", "results"], "additionalProperties": false}, "messageMediaDice": {"title": "mensajeMediosDados", "description": "[Pegatina animada basada en dados](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": "[Valor de los dados](https://core.telegram.org/api/dice.md)", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Los emoji, por ahora 🏀, 🎲 y 🎯 son compatibles", "x-telegram-field-docs": true}, "game_outcome": {"type": "object", "x-tl-type": "messages.EmojiGameOutcome", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messages.emojiGameOutcome"]}}, "description": "Resultado del juego de dados.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?messages.EmojiGameOutcome"}}, "required": ["_", "value", "emoticon"], "additionalProperties": false}, "messageMediaStory": {"title": "mensajeMediaHistoria", "description": "Representa una [historia](https://core.telegram.org/api/stories.md) reenviada o una mención de una historia.", "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": "Si está configurado, indica que ese alguien nos ha mencionado en esta historia (i.e. etiquetándonos en la descripción) o viceversa, hemos mencionado al otro par (si el mensaje es saliente).", "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": "Compañero que publicó la historia.", "x-telegram-field-docs": true}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de historia", "x-telegram-field-docs": true}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "La historia en sí, si está ausente, búsquela usando [stories.getStoriesByID](https://core.telegram.org/method/stories.getStoriesByID.md) y los parámetros `peer`/`id` especificados anteriormente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?StoryItem"}}, "required": ["_", "peer", "id"], "additionalProperties": false}, "messageMediaGiveaway": {"title": "mensajeMediosSorteo", "description": "Contiene información sobre un [sorteo, consulte aquí »](https://core.telegram.org/api/giveaways.md) para obtener más información.", "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": "Si se configura, solo los nuevos suscriptores a partir de la fecha de creación del sorteo podrán participar en el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "winners_are_visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se configuran, los ganadores del sorteo son públicos y aparecerán en un mensaje [messageMediaGiveawayResults](https://core.telegram.org/constructor/messageMediaGiveawayResults.md) que se enviará automáticamente al canal una vez que finalice el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "channels": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Los canales a los que el usuario debe unirse para participar en el sorteo.", "x-telegram-field-docs": true}, "countries_iso2": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Si se configura, solo los usuarios que residen en estos países pueden participar en el sorteo (especificados como una lista de códigos de país de dos letras ISO 3166-1 alfa-2); de lo contrario, no existen limitaciones basadas en el país.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<string>"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Puede contener una descripción textual de premios adicionales.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "quantity": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de suscripciones a [Telegram Premium](https://core.telegram.org/api/premium.md) regaladas.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duración en meses de cada suscripción de [Telegram Premium](https://core.telegram.org/api/premium.md) en el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [sorteos de Telegram Star](https://core.telegram.org/api/stars.md#star-giveaways), el número total de Telegram Stars que se regalan.", "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": "La fecha de finalización del sorteo.", "x-telegram-field-docs": true}}, "required": ["_", "channels", "quantity", "until_date"], "additionalProperties": false}, "messageMediaGiveawayResults": {"title": "mensajeMediosSorteoResultados", "description": "Ha finalizado un [sorteo](https://core.telegram.org/api/giveaways.md) con ganadores públicos, este constructor contiene información sobre los ganadores.", "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": "Si se establece, solo los nuevos suscriptores a partir de la fecha de creación del sorteo participarán en el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "refunded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se configuraba, el sorteo se cancelaba y se reembolsaba en su totalidad.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del canal/supergrupo que fue [impulsado](https://core.telegram.org/api/boost.md) automáticamente por los ganadores del sorteo durante la duración de la suscripción Premium.", "x-tl-type": "long", "x-telegram-field-docs": true}, "additional_peers_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de otros canales que participaron en el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "launch_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Identificador del mensaje con el sorteo en `channel_id`.", "x-telegram-field-docs": true}, "winners_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de ganadores del sorteo.", "x-telegram-field-docs": true}, "unclaimed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de premios aún no reclamados.", "x-telegram-field-docs": true}, "winners": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Hasta 100 identificadores de usuario de los ganadores del sorteo.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duración en meses de cada suscripción de [Telegram Premium](https://core.telegram.org/api/premium.md) en el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [sorteos de Telegram Star](https://core.telegram.org/api/stars.md#star-giveaways), el número total de Telegram Stars que se regalan.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?long"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Puede contener una descripción textual de premios adicionales.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Momento (marca de tiempo Unix) en el que se seleccionaron los ganadores. Puede ser mayor que la fecha de selección de ganadores especificada en los parámetros iniciales del sorteo.", "x-telegram-field-docs": true}}, "required": ["_", "channel_id", "launch_msg_id", "winners_count", "unclaimed_count", "winners", "until_date"], "additionalProperties": false}, "messageMediaPaidMedia": {"title": "mensajeMediosPagadoMedios", "description": "[Medios pagos, consulte aquí »](https://core.telegram.org/api/paid-media.md) para obtener más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/messageMediaPaidMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messageMediaPaidMedia"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "El precio de los medios en [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": "Tipo de TL: MessageExtendedMedia."}, "x-tl-type": "Vector<MessageExtendedMedia>", "description": "Ya sea los medios pagados o las vistas previas de los medios de muy baja resolución si los medios aún no se compraron, [consulte aquí »](https://core.telegram.org/api/paid-media.md#viewing-paid-media) para obtener más información.", "x-telegram-field-docs": true}}, "required": ["_", "stars_amount", "extended_media"], "additionalProperties": false}, "messageMediaToDo": {"title": "mensajeMediaToDo", "description": "Representa una [lista de tareas pendientes» ](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": "La lista de tareas pendientes.", "x-telegram-field-docs": true}, "completions": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoCompletion", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["todoCompletion"]}}, "description": "Tipo de TL: TodoCompletion."}, "x-tl-type": "Vector<TodoCompletion>", "description": "Artículos completados.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<TodoCompletion>"}}, "required": ["_", "todo"], "additionalProperties": false}, "messageMediaVideoStream": {"title": "mensajeMediosVideoStream", "description": "Identifica la llamada grupal activa asociada a una [historia en vivo» ](https://core.telegram.org/api/group-calls.md#live-stories).", "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": "Si la historia en vivo utiliza [RTMP modo de transmisión en vivo »](https://core.telegram.org/api/group-calls.md#stream-mode)", "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": "Llamada grupal activa de historias en vivo", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.5?long"}}, "required": ["_", "width", "height", "payload"], "additionalProperties": false}, "messageActionEmpty": {"title": "mensajeAcciónVacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionEmpty"]}}, "required": ["_"], "additionalProperties": false}, "messageActionChatCreate": {"title": "mensajeAcciónChatCrear", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatCreate"]}, "title": {"type": "string", "x-tl-type": "string"}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "title", "users"], "additionalProperties": false}, "messageActionChatEditTitle": {"title": "mensajeAcciónChatEditarTítulo", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatEditTitle"]}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "title"], "additionalProperties": false}, "messageActionChatEditPhoto": {"title": "mensajeAcciónChatEditarFoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatEditPhoto"]}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto."}}, "required": ["_", "photo"], "additionalProperties": false}, "messageActionChatDeletePhoto": {"title": "mensajeAcciónChatEliminarFoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatDeletePhoto"]}}, "required": ["_"], "additionalProperties": false}, "messageActionChatAddUser": {"title": "mensajeAcciónChatAgregarUsuario", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatAddUser"]}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "users"], "additionalProperties": false}, "messageActionChatDeleteUser": {"title": "mensajeAcciónChatEliminarUsuario", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatDeleteUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "messageActionChatJoinedByLink": {"title": "mensajeAcciónChatJoinedByLink", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatJoinedByLink"]}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "inviter_id"], "additionalProperties": false}, "messageActionChannelCreate": {"title": "mensajeActionChannelCrear", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChannelCreate"]}, "title": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "title"], "additionalProperties": false}, "messageActionChatMigrateTo": {"title": "mensajeAcciónChatMigrarA", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatMigrateTo"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "messageActionChannelMigrateFrom": {"title": "mensajeActionChannelMigrateFrom", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChannelMigrateFrom"]}, "title": {"type": "string", "x-tl-type": "string"}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "title", "chat_id"], "additionalProperties": false}, "messageActionPinMessage": {"title": "mensajeAcciónPinMensaje", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPinMessage"]}}, "required": ["_"], "additionalProperties": false}, "messageActionHistoryClear": {"title": "mensajeAcciónHistorialBorrar", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionHistoryClear"]}}, "required": ["_"], "additionalProperties": false}, "messageActionGameScore": {"title": "mensajeAcciónJuegoPuntuación", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGameScore"]}, "game_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "score": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "game_id", "score"], "additionalProperties": false}, "messageActionPaymentSentMe": {"title": "mensajeAcciónPagoEnviado", "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 bits de velocidad en десятичной записи.", "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": "Tipo de 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": "Tipo de TL: Cargo por pago."}, "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": "mensajeAcciónPagoEnviado", "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 bits de velocidad en десятичной записи.", "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": "mensajeAcciónTeléfonoLlamar", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "reason": {"type": "object", "x-tl-type": "PhoneCallDiscardReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonMigrateConferenceCall"]}}, "description": "Tipo de 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": "mensajeAcciónCaptura de pantallaTomada", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionScreenshotTaken"]}}, "required": ["_"], "additionalProperties": false}, "messageActionCustomAction": {"title": "mensajeAcciónAcciónPersonalizada", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionCustomAction"]}, "message": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "message"], "additionalProperties": false}, "messageActionBotAllowed": {"title": "mensajeActionBotPermitido", "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": "Tipo de TL: BotApp.", "x-tl-flag": "flags.2?BotApp"}}, "required": ["_"], "additionalProperties": false}, "messageActionSecureValuesSentMe": {"title": "mensajeAcciónSecureValuesEnviado", "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": "Tipo de TL: SecureValue."}, "x-tl-type": "Vector<SecureValue>"}, "credentials": {"type": "object", "x-tl-type": "SecureCredentialsEncrypted", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureCredentialsEncrypted"]}}, "description": "Tipo de TL: SecureCredentialsEncrypted."}}, "required": ["_", "values", "credentials"], "additionalProperties": false}, "messageActionSecureValuesSent": {"title": "mensajeAcciónSecureValuesEnviado", "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": "Tipo de TL: SecureValueType."}, "x-tl-type": "Vector<SecureValueType>"}}, "required": ["_", "types"], "additionalProperties": false}, "messageActionContactSignUp": {"title": "mensajeAcciónContactoRegistrarse", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionContactSignUp"]}}, "required": ["_"], "additionalProperties": false}, "messageActionGeoProximityReached": {"title": "mensajeAcciónGeoProximidadAlcanzada", "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": "Tipo TL: Par."}, "to_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "distance": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "from_id", "to_id", "distance"], "additionalProperties": false}, "messageActionGroupCall": {"title": "mensajeAcciónGrupoLlamada", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGroupCall"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de TL: InputGroupCall."}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "call"], "additionalProperties": false}, "messageActionInviteToGroupCall": {"title": "mensajeAcciónInvitar a llamada de grupo", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionInviteToGroupCall"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de TL: InputGroupCall."}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "call", "users"], "additionalProperties": false}, "messageActionSetMessagesTTL": {"title": "mensajeAcciónConjuntoMensajesTTL", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "period"], "additionalProperties": false}, "messageActionGroupCallScheduled": {"title": "mensajeAcciónGrupoLlamadaProgramada", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGroupCallScheduled"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de TL: InputGroupCall."}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "call", "schedule_date"], "additionalProperties": false}, "messageActionSetChatTheme": {"title": "mensajeAcciónConjuntoChatTema", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSetChatTheme"]}, "theme": {"type": "object", "x-tl-type": "ChatTheme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatTheme", "chatThemeUniqueGift"]}}, "description": "Tipo de TL: Tema de chat."}}, "required": ["_", "theme"], "additionalProperties": false}, "messageActionChatJoinedByRequest": {"title": "mensajeAcciónChatJoinedByRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChatJoinedByRequest"]}}, "required": ["_"], "additionalProperties": false}, "messageActionWebViewDataSentMe": {"title": "mensajeAcciónWebViewDataSentMe", "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": "mensajeAcciónWebViewDataSent", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionWebViewDataSent"]}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text"], "additionalProperties": false}, "messageActionGiftPremium": {"title": "mensajeAcciónRegaloPremium", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftPremium"]}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: TextoConEntidades.", "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "currency", "amount", "days"], "additionalProperties": false}, "messageActionTopicCreate": {"title": "mensajeAcciónTemaCrear", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "title", "icon_color"], "additionalProperties": false}, "messageActionTopicEdit": {"title": "mensajeAcciónTema", "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 bits de velocidad en десятичной записи.", "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": "mensajeAcciónSugerirPerfilFoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSuggestProfilePhoto"]}, "photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto."}}, "required": ["_", "photo"], "additionalProperties": false}, "messageActionRequestedPeer": {"title": "mensajeAcciónRequestedPeer", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>"}}, "required": ["_", "button_id", "peers"], "additionalProperties": false}, "messageActionSetChatWallPaper": {"title": "mensajeAcciónConjuntoChatWallPaper", "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": "Tipo TL: Papel pintado."}}, "required": ["_", "wallpaper"], "additionalProperties": false}, "messageActionGiftCode": {"title": "mensajeAcciónCódigo de regalo", "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": "Tipo TL: Par.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: TextoConEntidades.", "x-tl-flag": "flags.4?TextWithEntities"}}, "required": ["_", "days", "slug"], "additionalProperties": false}, "messageActionGiveawayLaunch": {"title": "mensajeAcciónSorteoLanzamiento", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiveawayLaunch"]}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_"], "additionalProperties": false}, "messageActionGiveawayResults": {"title": "mensajeAcciónSorteoResultados", "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": "mensajeAcciónBoostAplicar", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionBoostApply"]}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "boosts"], "additionalProperties": false}, "messageActionRequestedPeerSentMe": {"title": "mensajeAcciónSolicitadaPeerEnviadoMe", "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": "Tipo de TL: Par solicitado."}, "x-tl-type": "Vector<RequestedPeer>"}}, "required": ["_", "button_id", "peers"], "additionalProperties": false}, "messageActionPaymentRefunded": {"title": "mensajeAcciónPagoReembolsado", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaymentRefunded"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Cargo por pago."}}, "required": ["_", "peer", "currency", "total_amount", "charge"], "additionalProperties": false}, "messageActionGiftStars": {"title": "mensajeAcciónRegaloEstrellas", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftStars"]}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "mensajeAcciónPremioEstrellas", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par."}, "giveaway_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "stars", "transaction_id", "boost_peer", "giveaway_msg_id"], "additionalProperties": false}, "messageActionStarGift": {"title": "mensajeAcciónEstrellaRegalo", "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": "Tipo TL: StarGift."}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo de TL: TextoConEntidades.", "x-tl-flag": "flags.1?TextWithEntities"}, "convert_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "x-tl-flag": "flags.11?Peer"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "x-tl-flag": "flags.12?Peer"}, "saved_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "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": "mensajeAcciónEstrellaRegaloÚnico", "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": "Tipo 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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "x-tl-flag": "flags.6?Peer"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "x-tl-flag": "flags.7?Peer"}, "saved_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Cantidad de estrellas.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: TextoConEntidades.", "x-tl-flag": "flags.18?TextWithEntities"}}, "required": ["_", "gift"], "additionalProperties": false}, "messageActionPaidMessagesRefunded": {"title": "mensajeAcciónPagadoMensajesReembolsado", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPaidMessagesRefunded"]}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "count", "stars"], "additionalProperties": false}, "messageActionPaidMessagesPrice": {"title": "mensajeAcciónPagadoMensajesPrecio", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "stars"], "additionalProperties": false}, "messageActionConferenceCall": {"title": "mensajeAcciónConferenciaLlamada", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "x-tl-flag": "flags.3?Vector<Peer>"}}, "required": ["_", "call_id"], "additionalProperties": false}, "messageActionTodoCompletions": {"title": "mensajeAcciónTodoFinalizaciones", "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": "mensajeAcciónTodoAppendTasks", "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": "Tipo de TL: TodoItem."}, "x-tl-type": "Vector<TodoItem>"}}, "required": ["_", "list"], "additionalProperties": false}, "messageActionSuggestedPostApproval": {"title": "mensajeAcciónSugeridaPublicarAprobación", "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": "Tipo TL: Cantidad de estrellas.", "x-tl-flag": "flags.4?StarsAmount"}}, "required": ["_"], "additionalProperties": false}, "messageActionSuggestedPostSuccess": {"title": "mensajeAcciónSugeridaPublicarÉxito", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSuggestedPostSuccess"]}, "price": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Tipo TL: Cantidad de estrellas."}}, "required": ["_", "price"], "additionalProperties": false}, "messageActionSuggestedPostRefund": {"title": "mensajeAcciónSugerenciaPublicarReembolso", "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": "mensajeAcciónRegaloTon", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionGiftTon"]}, "currency": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "crypto_currency": {"type": "string", "x-tl-type": "string"}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "mensajeAcciónSugerirCumpleaños", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionSuggestBirthday"]}, "birthday": {"type": "object", "x-tl-type": "Birthday", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["birthday"]}}, "description": "Tipo TL: Cumpleaños."}}, "required": ["_", "birthday"], "additionalProperties": false}, "messageActionStarGiftPurchaseOffer": {"title": "mensajeAcciónEstrellaRegaloCompraOferta", "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": "Tipo TL: StarGift."}, "price": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Tipo TL: Cantidad de estrellas."}, "expires_at": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "gift", "price", "expires_at"], "additionalProperties": false}, "messageActionStarGiftPurchaseOfferDeclined": {"title": "mensajeAcciónEstrellaRegaloCompraOfertaRechazada", "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": "Tipo TL: StarGift."}, "price": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Tipo TL: Cantidad de estrellas."}}, "required": ["_", "gift", "price"], "additionalProperties": false}, "messageActionNewCreatorPending": {"title": "mensajeAcciónNuevoCreadorPendiente", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionNewCreatorPending"]}, "new_creator_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "new_creator_id"], "additionalProperties": false}, "messageActionChangeCreator": {"title": "mensajeActionChangeCreator", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionChangeCreator"]}, "new_creator_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "new_creator_id"], "additionalProperties": false}, "messageActionNoForwardsToggle": {"title": "mensajeAcciónNoForwardsToggle", "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": "mensajeAcciónNoForwardsRequest", "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": "mensajeAcciónEncuestaAppendAnswer", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPollAppendAnswer"]}, "answer": {"type": "object", "x-tl-type": "PollAnswer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollAnswer", "inputPollAnswer"]}}, "description": "Tipo TL: EncuestaRespuesta."}}, "required": ["_", "answer"], "additionalProperties": false}, "messageActionPollDeleteAnswer": {"title": "mensajeAcciónEncuestaEliminarRespuesta", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionPollDeleteAnswer"]}, "answer": {"type": "object", "x-tl-type": "PollAnswer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollAnswer", "inputPollAnswer"]}}, "description": "Tipo TL: EncuestaRespuesta."}}, "required": ["_", "answer"], "additionalProperties": false}, "messageActionManagedBotCreated": {"title": "mensajeAcciónManejadoBotCreado", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageActionManagedBotCreated"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Tipo TL: StarGift."}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "fine": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "inviter_id"], "additionalProperties": false}, "dialog": {"title": "diálogo", "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": "Tipo TL: Par."}, "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": "Tipo de TL: 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": "Tipo de TL: Borrador de mensaje.", "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": "carpeta de diálogo", "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": "Tipo TL: Carpeta."}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "Tipo de TL: PeerNotifySettings."}}, "required": ["_", "community_id", "notify_settings"], "additionalProperties": false}, "photoEmpty": {"title": "fotoVacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "photo": {"title": "foto", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Tamaño de foto."}, "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": "Tipo TL: Tamaño del vídeo."}, "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": "fotoTamañoVacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["photoSizeEmpty"]}, "type": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "type"], "additionalProperties": false}, "photoSize": {"title": "tamaño de la foto", "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": "fotoCachedSize", "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": "fotoTamaño pelado", "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": "fotoTamañoProgresivo", "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": "tamaño de la ruta de la foto", "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": "geoPuntoVacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["geoPointEmpty"]}}, "required": ["_"], "additionalProperties": false}, "geoPoint": {"title": "geopunto", "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 bits de velocidad en десятичной записи.", "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": "Contiene información sobre un código de verificación enviado.", "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": "Tipo de código telefónico", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del código telefónico, que se almacenará y luego se reutilizará con [auth.signIn](https://core.telegram.org/method/auth.signIn.md)", "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": "Tipo de código telefónico que se enviará a continuación, si el código telefónico no se recibe dentro de `timeout` segundos: para enviarlo use [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": "Tiempo de espera para la recepción del código telefónico", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}}, "required": ["_", "type", "phone_code_hash"], "additionalProperties": false}, "auth.sentCodeSuccess": {"title": "auth.sentCodeSuccess", "description": "El usuario se autorizó exitosamente usando [tokens de autenticación futuros](https://core.telegram.org/api/auth.md#future-auth-tokens)", "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": "Información de autorización", "x-telegram-field-docs": true}}, "required": ["_", "authorization"], "additionalProperties": false}, "auth.sentCodePaymentRequired": {"title": "auth.sentCodePaymentRequired", "description": "Las aplicaciones oficiales pueden recibir este constructor, lo que indica que debido al alto costo de SMS códigos de verificación para el país/proveedor del usuario, el usuario debe comprar una suscripción [Telegram Premium](https://core.telegram.org/api/premium.md) para continuar con el inicio de sesión/registro; consulte [aquí »](https://core.telegram.org/api/auth.md#paid-auth) para obtener más información.", "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": "Para aplicaciones oficiales, se elimina el identificador de la suscripción a Telegram Premium.", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del código telefónico, que se almacenará y luego se reutilizará con [auth.signIn](https://core.telegram.org/method/auth.signIn.md)", "x-telegram-field-docs": true}, "support_email_address": {"type": "string", "x-tl-type": "string", "description": "Una dirección de correo electrónico con la que se puede contactar para obtener más información sobre esta solicitud.", "x-telegram-field-docs": true}, "support_email_subject": {"type": "string", "x-tl-type": "string", "description": "El asunto obligatorio del correo electrónico.", "x-telegram-field-docs": true}, "premium_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duración en días de la suscripción [Telegram Premium](https://core.telegram.org/api/premium.md) otorgada por esta compra.", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies).", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "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": "Contiene información de autorización del usuario.", "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": "Sugiere al usuario que configure una contraseña de verificación en dos pasos para poder iniciar sesión nuevamente", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "otherwise_relogin_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si y solo si se configura setup_password_required y el usuario se niega a establecer una contraseña de verificación en dos pasos, podrá iniciar sesión en su cuenta a través de SMS nuevamente solo después de que pasen tantos días.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "tmp_sessions": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de [sesiones paralelas](https://core.telegram.org/api/datacenter.md#parallel-sessions) que el cliente puede abrir a la conexión principal de su DC local para aumentar el rendimiento; si está ausente o `≤ 1`, se debe utilizar una única sesión principal", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "future_auth_token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Un [token de autenticación futuro](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": "Información sobre usuario autorizado", "x-telegram-field-docs": true}}, "required": ["_", "user"], "additionalProperties": false}, "auth.authorizationSignUpRequired": {"title": "auth.authorizationSignUpRequired", "description": "Una cuenta con este número de teléfono no existe en Telegram: el usuario debe [ingresar información básica y registrarse](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": "Términos de servicio de Telegram: el usuario debe leer y aceptar los términos de servicio antes de registrarse en Telegram", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?help.TermsOfService"}}, "required": ["_"], "additionalProperties": false}, "auth.exportedAuthorization": {"title": "auth.exportedAuthorization", "description": "Datos para copia de autorización entre centros de datos.", "externalDocs": {"url": "https://core.telegram.org/constructor/auth.exportedAuthorization"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["auth.exportedAuthorization"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "identificador de usuario actual", "x-tl-type": "long", "x-telegram-field-docs": true}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "autoriza clave", "x-telegram-field-docs": true}}, "required": ["_", "id", "bytes"], "additionalProperties": false}, "inputNotifyPeer": {"title": "entradaNotificarPeer", "description": "Notificaciones generadas por un determinado usuario o grupo.", "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": "Usuario o grupo", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "inputNotifyUsers": {"title": "entradaNotificarUsuarios", "description": "Notificaciones generadas por todos los usuarios.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyUsers"]}}, "required": ["_"], "additionalProperties": false}, "inputNotifyChats": {"title": "entradaNotificarChats", "description": "Notificaciones generadas por todos los grupos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputNotifyChats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputNotifyChats"]}}, "required": ["_"], "additionalProperties": false}, "inputNotifyBroadcasts": {"title": "entradaNotificarTransmisiones", "description": "Todos los [canales](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": "entradaNotificarForoTema", "description": "Notificaciones generadas por un [tema](https://core.telegram.org/api/forum.md#forum-topics) en un [foro](https://core.telegram.org/api/forum.md).", "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": "ID del foro", "x-telegram-field-docs": true}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID de tema](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": "Tipo TL: Canal de entrada."}}, "required": ["_", "community"], "additionalProperties": false}, "inputPeerNotifySettings": {"title": "entradaPeerNotifyConfiguración", "description": "Configuración de notificaciones.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerNotifySettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerNotifySettings"]}, "show_previews": {"type": "boolean", "x-tl-type": "Bool", "description": "Si el texto del mensaje se mostrará en la notificación", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Bool"}, "silent": {"type": "boolean", "x-tl-type": "Bool", "description": "¿Peer estaba silenciado?", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Bool"}, "mute_until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha hasta la cual se desactivarán todas las notificaciones", "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": "Identificador de un archivo de audio para reproducir en notificaciones.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?NotificationSound"}, "stories_muted": {"type": "boolean", "x-tl-type": "Bool", "description": "Si las notificaciones de historias deben desactivarse.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Bool"}, "stories_hide_sender": {"type": "boolean", "x-tl-type": "Bool", "description": "Si el nombre del remitente debe mostrarse en las notificaciones de historias.", "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": "Identificador de un archivo de audio para reproducir en notificaciones de historias.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?NotificationSound"}}, "required": ["_"], "additionalProperties": false}, "peerNotifySettings": {"title": "peerNotifyConfiguración", "description": "Configuración de notificaciones.", "externalDocs": {"url": "https://core.telegram.org/constructor/peerNotifySettings"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}, "show_previews": {"type": "boolean", "x-tl-type": "Bool", "description": "(Valor ternario) Si se establece, indica si se muestran o no vistas previas de los mensajes en las notificaciones; de lo contrario, se debe utilizar el comportamiento predeterminado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Bool"}, "silent": {"type": "boolean", "x-tl-type": "Bool", "description": "(Valor ternario) Si está configurado, indica si silenciar o reactivar el silencio del par; de lo contrario, se debe utilizar el comportamiento predeterminado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Bool"}, "mute_until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Silenciar todas las notificaciones hasta esta fecha", "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": "Sonido de notificación para la aplicación oficial de iOS.", "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": "Sonido de notificación para la aplicación oficial de Android.", "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": "Sonido de notificación para otras aplicaciones.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?NotificationSound"}, "stories_muted": {"type": "boolean", "x-tl-type": "Bool", "description": "Si las notificaciones de historias deben desactivarse.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Bool"}, "stories_hide_sender": {"type": "boolean", "x-tl-type": "Bool", "description": "Si el nombre del remitente debe mostrarse en las notificaciones de historias.", "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": "Sonido para notificaciones de historias en la aplicación oficial de iOS", "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": "Sonido para notificaciones de historias en la aplicación oficial de Android.", "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": "Sonido para notificaciones de historias en otras aplicaciones.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?NotificationSound"}}, "required": ["_"], "additionalProperties": false}, "peerSettings": {"title": "configuración de pares", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.19?long"}, "bot_owner_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.20?long"}}, "required": ["_"], "additionalProperties": false}, "wallPaper": {"title": "papel de pared", "description": "Representa un [fondo de pantalla](https://core.telegram.org/api/wallpapers.md) basado en una imagen.", "externalDocs": {"url": "https://core.telegram.org/constructor/wallPaper"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["wallPaper"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador", "x-tl-type": "long", "x-telegram-field-docs": true}, "creator": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si creamos este fondo de pantalla", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este es el fondo de pantalla predeterminado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "pattern": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de un [papel tapiz con patrón »](https://core.telegram.org/api/wallpapers.md#pattern-wallpapers)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este fondo de pantalla debe usarse en modo oscuro.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "hash de acceso", "x-tl-type": "long", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "ID de fondo de pantalla único, que se utiliza al generar [enlaces de fondo de pantalla](https://core.telegram.org/api/links.md#wallpaper-links) o [importar enlaces de fondo de pantalla](https://core.telegram.org/api/wallpapers.md).", "x-telegram-field-docs": true}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "El fondo de pantalla real", "x-telegram-field-docs": true}, "settings": {"type": "object", "x-tl-type": "WallPaperSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaperSettings"]}}, "description": "Información sobre cómo generar el fondo de pantalla, según [estas instrucciones »](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": "papel de pared sin archivo", "description": "Representa un [fondo de pantalla](https://core.telegram.org/api/wallpapers.md) solo basado en colores/degradados.", "externalDocs": {"url": "https://core.telegram.org/constructor/wallPaperNoFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["wallPaperNoFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación del fondo de pantalla", "x-tl-type": "long", "x-telegram-field-docs": true}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este es el fondo de pantalla predeterminado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "dark": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este fondo de pantalla debe usarse en modo oscuro.", "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": "Información sobre cómo generar el fondo de pantalla.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?WallPaperSettings"}}, "required": ["_", "id"], "additionalProperties": false}, "inputReportReasonSpam": {"title": "entradaInformeRazónSpam", "description": "Reportar por spam", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonSpam"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonSpam"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonViolence": {"title": "entradaInformeRazónViolencia", "description": "Denuncia por violencia", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonViolence"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonViolence"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonPornography": {"title": "entradaInformeRazónPornografía", "description": "Denuncia por pornografía", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonPornography"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonPornography"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonChildAbuse": {"title": "entradaReportarRazónAbuso Infantil", "description": "Denuncia por abuso infantil", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonChildAbuse"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonChildAbuse"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonOther": {"title": "entradaInformeRazónOtro", "description": "Otro", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonOther"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonOther"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonCopyright": {"title": "entradaInformeRazónCopyright", "description": "Denunciar por contenido protegido por derechos de autor", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonCopyright"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonCopyright"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonGeoIrrelevant": {"title": "entradaInformeRazónGeoIrrelevante", "description": "Reportar un geogrupo irrelevante", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonGeoIrrelevant"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonGeoIrrelevant"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonFake": {"title": "entradaInformeRazónFalso", "description": "Denuncia por suplantación de identidad", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonFake"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonFake"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonIllegalDrugs": {"title": "entradaInformeRazónIlegalDrogas", "description": "Denuncia por drogas ilícitas", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonIllegalDrugs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonIllegalDrugs"]}}, "required": ["_"], "additionalProperties": false}, "inputReportReasonPersonalDetails": {"title": "entradaInformeRazónDetalles personales", "description": "Informe de divulgación de datos personales", "externalDocs": {"url": "https://core.telegram.org/constructor/inputReportReasonPersonalDetails"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputReportReasonPersonalDetails"]}}, "required": ["_"], "additionalProperties": false}, "userFull": {"title": "usuarioCompleto", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: PeerSettings."}, "personal_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto.", "x-tl-flag": "flags.21?Photo"}, "profile_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto.", "x-tl-flag": "flags.2?Photo"}, "fallback_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto.", "x-tl-flag": "flags.22?Photo"}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "Tipo de TL: PeerNotifySettings."}, "bot_info": {"type": "object", "x-tl-type": "BotInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botInfo"]}}, "description": "Tipo de 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": "Tipo de TL: Tema de chat.", "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": "Tipo de 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": "Tipo de TL: ChatAdminRights.", "x-tl-flag": "flags.18?ChatAdminRights"}, "wallpaper": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "Tipo TL: Papel pintado.", "x-tl-flag": "flags.24?WallPaper"}, "stories": {"type": "object", "x-tl-type": "PeerStories", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerStories"]}}, "description": "Tipo 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": "Tipo de TL: BusinessWorkHours.", "x-tl-flag": "flags2.0?BusinessWorkHours"}, "business_location": {"type": "object", "x-tl-type": "BusinessLocation", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessLocation"]}}, "description": "Tipo de TL: Ubicación empresarial.", "x-tl-flag": "flags2.1?BusinessLocation"}, "business_greeting_message": {"type": "object", "x-tl-type": "BusinessGreetingMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessGreetingMessage"]}}, "description": "Tipo de TL: Mensaje de saludo empresarial.", "x-tl-flag": "flags2.2?BusinessGreetingMessage"}, "business_away_message": {"type": "object", "x-tl-type": "BusinessAwayMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessAwayMessage"]}}, "description": "Tipo de TL: BusinessAwayMessage.", "x-tl-flag": "flags2.3?BusinessAwayMessage"}, "business_intro": {"type": "object", "x-tl-type": "BusinessIntro", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessIntro"]}}, "description": "Tipo de TL: BusinessIntro.", "x-tl-flag": "flags2.4?BusinessIntro"}, "birthday": {"type": "object", "x-tl-type": "Birthday", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["birthday"]}}, "description": "Tipo TL: Cumpleaños.", "x-tl-flag": "flags2.5?Birthday"}, "personal_channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: StarRefProgram.", "x-tl-flag": "flags2.11?StarRefProgram"}, "bot_verification": {"type": "object", "x-tl-type": "BotVerification", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botVerification"]}}, "description": "Tipo de TL: BotVerification.", "x-tl-flag": "flags2.12?BotVerification"}, "send_paid_messages_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Configuración de regalos no permitidos.", "x-tl-flag": "flags2.15?DisallowedGiftsSettings"}, "stars_rating": {"type": "object", "x-tl-type": "StarsRating", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRating"]}}, "description": "Tipo TL: EstrellasRating.", "x-tl-flag": "flags2.17?StarsRating"}, "stars_my_pending_rating": {"type": "object", "x-tl-type": "StarsRating", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRating"]}}, "description": "Tipo TL: EstrellasRating.", "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": "Tipo de TL: PerfilTab.", "x-tl-flag": "flags2.20?ProfileTab"}, "saved_music": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento.", "x-tl-flag": "flags2.21?Document"}, "note": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo de TL: TextoConEntidades.", "x-tl-flag": "flags2.22?TextWithEntities"}, "bot_manager_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "contacto", "type": "object", "properties": {"_": {"type": "string", "enum": ["contact"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "mutual": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "user_id", "mutual"], "additionalProperties": false}, "importedContact": {"title": "importadoContacto", "type": "object", "properties": {"_": {"type": "string", "enum": ["importedContact"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "client_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id", "client_id"], "additionalProperties": false}, "contactStatus": {"title": "contactoEstado", "description": "Estado de contacto: en línea / fuera de línea.", "externalDocs": {"url": "https://core.telegram.org/constructor/contactStatus"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contactStatus"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de usuario", "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": "Estado en línea", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "status"], "additionalProperties": false}, "contacts.contactsNotModified": {"title": "contacts.contactsNotModified", "description": "La lista de contactos en el servidor es la misma que la lista en el cliente.", "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": "La lista de contactos del usuario actual e información sobre los usuarios.", "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": "Tipo TL: Contacto."}, "x-tl-type": "Vector<Contact>", "description": "lista de contactos", "x-telegram-field-docs": true}, "saved_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de contactos que se guardaron exitosamente", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios", "x-telegram-field-docs": true}}, "required": ["_", "contacts", "saved_count", "users"], "additionalProperties": false}, "contacts.importedContacts": {"title": "contacts.importedContacts", "description": "Información sobre contactos importados exitosamente.", "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": "Tipo de TL: Contacto importado."}, "x-tl-type": "Vector<ImportedContact>", "description": "Lista de contactos importados exitosamente", "x-telegram-field-docs": true}, "popular_invites": {"type": "array", "items": {"type": "object", "x-tl-type": "PopularContact", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["popularContact"]}}, "description": "Tipo TL: Contacto Popular."}, "x-tl-type": "Vector<PopularContact>", "description": "Contactos populares", "x-telegram-field-docs": true}, "retry_contacts": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista de identificaciones de contactos que no se pudieron importar debido a limitaciones del sistema y que deberán importarse en una fecha posterior.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios", "x-telegram-field-docs": true}}, "required": ["_", "imported", "popular_invites", "retry_contacts", "users"], "additionalProperties": false}, "contacts.blocked": {"title": "contacts.blocked", "description": "Lista completa de usuarios bloqueados.", "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": "Tipo de TL: PeerBlocked."}, "x-tl-type": "Vector<PeerBlocked>", "description": "Lista de usuarios bloqueados", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats bloqueados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios", "x-telegram-field-docs": true}}, "required": ["_", "blocked", "chats", "users"], "additionalProperties": false}, "contacts.blockedSlice": {"title": "contacts.blockedSlice", "description": "Lista incompleta de usuarios bloqueados.", "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": "Número total de elementos en la lista.", "x-telegram-field-docs": true}, "blocked": {"type": "array", "items": {"type": "object", "x-tl-type": "PeerBlocked", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerBlocked"]}}, "description": "Tipo de TL: PeerBlocked."}, "x-tl-type": "Vector<PeerBlocked>", "description": "Lista de usuarios bloqueados", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats bloqueados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios", "x-telegram-field-docs": true}}, "required": ["_", "count", "blocked", "chats", "users"], "additionalProperties": false}, "messages.dialogs": {"title": "messages.dialogs", "description": "Lista completa de chats con mensajes y datos auxiliares.", "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": "Tipo de TL: Tema del foro."}, "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": "Tipo TL: Diálogo."}, "x-tl-type": "Vector<Dialog>", "description": "Lista de 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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Lista de últimos mensajes de cada 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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Lista de grupos mencionados en los 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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados en mensajes y grupos", "x-telegram-field-docs": true}}, "required": ["_", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.dialogsSlice": {"title": "messages.dialogsSlice", "description": "Lista incompleta de cuadros de diálogo con mensajes y datos auxiliares.", "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": "Número total de diálogos", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro."}, "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": "Tipo TL: Diálogo."}, "x-tl-type": "Vector<Dialog>", "description": "Lista de diálogos", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Lista de últimos mensajes de diálogos", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados en los diálogos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados en mensajes y chats", "x-telegram-field-docs": true}}, "required": ["_", "count", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.dialogsNotModified": {"title": "messages.dialogsNotModified", "description": "Los diálogos no han cambiado.", "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": "Número de cuadros de diálogo encontrados en el lado del servidor por la consulta", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "messages.messages": {"title": "messages.messages", "description": "Lista completa de mensajes con datos auxiliares.", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Lista de mensajes", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro."}, "x-tl-type": "Vector<ForumTopic>", "description": "[Temas del foro](https://core.telegram.org/api/forum.md#forum-topics) a los que pertenecen los mensajes devueltos.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados en los diálogos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados en mensajes y chats", "x-telegram-field-docs": true}}, "required": ["_", "messages", "topics", "chats", "users"], "additionalProperties": false}, "messages.messagesSlice": {"title": "messages.messagesSlice", "description": "Lista incompleta de mensajes y datos auxiliares.", "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": "Si está configurado, indica que los resultados pueden ser inexactos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de mensajes en la lista", "x-telegram-field-docs": true}, "next_rate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tarifa a utilizar en el parámetro `offset_rate` en la próxima llamada a [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": "Indica la posición absoluta de `messages[0]` dentro del resultado total establecido con el recuento `count`.  Esto es útil, por ejemplo, si el resultado se obtuvo usando `offset_id` y necesitamos mostrar un contador `progress/total` (como `photo 134 of 200`, para todos los medios en un chat, simplemente podríamos usar `photo ${offset_id_offset} of ${count}`).", "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": "[Para búsquedas globales de publicaciones »](https://core.telegram.org/api/search.md#posts-tab), la cantidad restante de búsquedas gratuitas, aquí `query_is_free` está relacionada solo con la llamada actual, no con la siguiente llamada paginada, y todas las llamadas de paginación posteriores siempre serán gratuitas.", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Lista de mensajes", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro."}, "x-tl-type": "Vector<ForumTopic>", "description": "[Temas del foro](https://core.telegram.org/api/forum.md#forum-topics) a los que pertenecen los mensajes devueltos.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados en mensajes.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados en mensajes y chats", "x-telegram-field-docs": true}}, "required": ["_", "count", "messages", "topics", "chats", "users"], "additionalProperties": false}, "messages.channelMessages": {"title": "messages.channelMessages", "description": "Mensajes del canal", "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": "Si se establece, los resultados devueltos pueden ser inexactos", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Recuento de eventos tras generación](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El número total de resultados se encontró en el lado del servidor (es posible que no se incluyan todos aquí)", "x-telegram-field-docs": true}, "offset_id_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Indica la posición absoluta de `messages[0]` dentro del resultado total establecido con el recuento `count`.  Esto es útil, por ejemplo, si el resultado se obtuvo usando `offset_id` y necesitamos mostrar un contador `progress/total` (como `photo 134 of 200`, para todos los medios en un chat, simplemente podríamos usar `photo ${offset_id_offset} of ${count}`.", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Mensajes encontrados", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro."}, "x-tl-type": "Vector<ForumTopic>", "description": "[Tema del foro](https://core.telegram.org/api/forum.md#forum-topics) información", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Charlas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "x-telegram-field-docs": true}}, "required": ["_", "pts", "count", "messages", "topics", "chats", "users"], "additionalProperties": false}, "messages.messagesNotModified": {"title": "messages.messagesNotModified", "description": "No se encontraron nuevos mensajes que coincidan con la consulta.", "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": "Número de resultados encontrados en el lado del servidor mediante la consulta dada", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "messages.chats": {"title": "messages.chats", "description": "Listado de chats con datos auxiliares.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats", "x-telegram-field-docs": true}}, "required": ["_", "chats"], "additionalProperties": false}, "messages.chatsSlice": {"title": "messages.chatsSlice", "description": "Lista parcial de chats, habría que buscar más con [paginación](https://core.telegram.org/api/offsets.md)", "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": "Número total de resultados que se encontraron en el lado del servidor (no todos están incluidos en `chats`)", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Charlas", "x-telegram-field-docs": true}}, "required": ["_", "count", "chats"], "additionalProperties": false}, "messages.chatFull": {"title": "messages.chatFull", "description": "Información completa sobre un [canal](https://core.telegram.org/api/channel.md#channels), [supergrupo](https://core.telegram.org/api/channel.md#supergroups), [gigagrupo](https://core.telegram.org/api/channel.md#gigagroups) o [grupo básico](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": "información completa", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "full_chat", "chats", "users"], "additionalProperties": false}, "messages.affectedHistory": {"title": "messages.affectedHistory", "description": "Parte afectada del historial de comunicación con el usuario o en un 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": "Número de eventos ocurridos en un cuadro de texto", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de eventos afectados", "x-telegram-field-docs": true}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si un parámetro contiene un valor positivo, es necesario repetir la llamada al método utilizando el valor dado; Durante el transcurso de toda la historia, el valor en sí disminuirá gradualmente.", "x-telegram-field-docs": true}}, "required": ["_", "pts", "pts_count", "offset"], "additionalProperties": false}, "inputMessagesFilterEmpty": {"title": "entradaMensajesFiltroVacío", "description": "Falta el filtro.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPhotos": {"title": "entradaMensajesFiltroFotos", "description": "Filtrar mensajes que contengan fotos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPhotos"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPhotos"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterVideo": {"title": "entradaMensajesFiltroVideo", "description": "Filtrar mensajes que contengan vídeos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterVideo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterVideo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPhotoVideo": {"title": "entradaMensajesFiltroFotoVídeo", "description": "Filtrar mensajes que contengan fotos o vídeos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPhotoVideo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPhotoVideo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterDocument": {"title": "entradaMensajesFiltroDocumento", "description": "Filtrar mensajes que contengan documentos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterDocument"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterUrl": {"title": "inputMessagesFilterUrl", "description": "Return only messages containing URLs", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterUrl"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterUrl"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterGif": {"title": "entradaMensajesFiltroGif", "description": "Devolver sólo mensajes que contengan gifs", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterGif"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterGif"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterVoice": {"title": "entradaMensajesFiltroVoz", "description": "Devolver sólo mensajes que contengan notas de voz", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterVoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterVoice"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterMusic": {"title": "entradaMensajesFiltroMúsica", "description": "Devolver solo mensajes que contengan archivos de audio", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterMusic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterMusic"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterChatPhotos": {"title": "entradaMensajesFiltroChatFotos", "description": "Devolver solo cambios en las fotos del chat", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterChatPhotos"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterChatPhotos"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPhoneCalls": {"title": "entradaMensajesFiltroTeléfonoLlamadas", "description": "Devolver solo llamadas telefónicas", "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": "Devolver sólo llamadas perdidas", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterRoundVoice": {"title": "entradaMensajesFiltroRondaVoz", "description": "Devuelve sólo vídeos redondos y notas de voz.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterRoundVoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterRoundVoice"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterRoundVideo": {"title": "entradaMensajesFiltroRondaVideo", "description": "Devolver solo videos redondos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterRoundVideo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterRoundVideo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterMyMentions": {"title": "entradaMensajesFiltroMismenciones", "description": "Devuelve solo mensajes donde el usuario actual fue [mencionado](https://core.telegram.org/api/mentions.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterMyMentions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterMyMentions"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterGeo": {"title": "entradaMessagesFilterGeo", "description": "Devolver solo mensajes que contengan geolocalizaciones", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterGeo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterGeo"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterContacts": {"title": "entradaMensajesFiltroContactos", "description": "Devolver sólo mensajes que contengan contactos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterContacts"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPinned": {"title": "entradaMensajesFiltroFijado", "description": "Obtener solo mensajes anclados", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagesFilterPinned"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagesFilterPinned"]}}, "required": ["_"], "additionalProperties": false}, "inputMessagesFilterPoll": {"title": "entradaMessagesFilterEncuesta", "description": "Filtrar mensajes de encuesta, consulte [buscar encuestas »](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": "actualizarNuevoMensaje", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}, "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": "actualizarID de mensaje", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageID"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "random_id"], "additionalProperties": false}, "updateDeleteMessages": {"title": "actualizarEliminarMensajes", "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": "actualizarUsuarioEscribiendo", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserTyping"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: SendMessageAction."}}, "required": ["_", "user_id", "action"], "additionalProperties": false}, "updateChatUserTyping": {"title": "actualizarChatUsuarioEscribiendo", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatUserTyping"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "Tipo de TL: SendMessageAction."}}, "required": ["_", "chat_id", "from_id", "action"], "additionalProperties": false}, "updateChatParticipants": {"title": "actualizarChatParticipantes", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipants"]}, "participants": {"type": "object", "x-tl-type": "ChatParticipants", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipantsForbidden", "chatParticipants"]}}, "description": "Tipo de TL: Participantes del chat."}}, "required": ["_", "participants"], "additionalProperties": false}, "updateUserStatus": {"title": "actualizar estado de usuario", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserStatus"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "status": {"type": "object", "x-tl-type": "UserStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userStatusEmpty", "userStatusOnline", "userStatusOffline", "userStatusRecently", "userStatusLastWeek", "userStatusLastMonth"]}}, "description": "Tipo de TL: Estado de usuario."}}, "required": ["_", "user_id", "status"], "additionalProperties": false}, "updateUserName": {"title": "actualizar nombre de usuario", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserName"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Nombre de usuario."}, "x-tl-type": "Vector<Username>"}}, "required": ["_", "user_id", "first_name", "last_name", "usernames"], "additionalProperties": false}, "updateNewAuthorization": {"title": "actualizarNuevaAutorización", "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 bits de velocidad en десятичной записи.", "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": "actualizarNuevoMensajeCifrado", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewEncryptedMessage"]}, "message": {"type": "object", "x-tl-type": "EncryptedMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedMessage", "encryptedMessageService"]}}, "description": "Tipo de TL: Mensaje cifrado."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "message", "qts"], "additionalProperties": false}, "updateEncryptedChatTyping": {"title": "actualizarEncriptadoChatEscribiendo", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEncryptedChatTyping"]}, "chat_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "updateEncryption": {"title": "actualizarCifrado", "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": "Tipo de TL: Chat cifrado."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat", "date"], "additionalProperties": false}, "updateEncryptedMessagesRead": {"title": "actualizarMensajes cifradosLeer", "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": "actualizarChatParticipanteAgregar", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantAdd"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarChatParticipanteEliminar", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantDelete"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "chat_id", "user_id", "version"], "additionalProperties": false}, "updateDcOptions": {"title": "actualizarDcOptions", "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": "Tipo TL: DcOption."}, "x-tl-type": "Vector<DcOption>"}}, "required": ["_", "dc_options"], "additionalProperties": false}, "updateNotifySettings": {"title": "actualizarNotificarConfiguración", "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": "Tipo de TL: NotifyPeer."}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "Tipo de TL: PeerNotifySettings."}}, "required": ["_", "peer", "notify_settings"], "additionalProperties": false}, "updateServiceNotification": {"title": "actualizarServicioNotificación", "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": "Tipo de TL: 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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>"}}, "required": ["_", "type", "message", "media", "entities"], "additionalProperties": false}, "updatePrivacy": {"title": "actualizarPrivacidad", "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": "Tipo de TL: Clave de privacidad."}, "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": "Tipo de TL: Regla de privacidad."}, "x-tl-type": "Vector<PrivacyRule>"}}, "required": ["_", "key", "rules"], "additionalProperties": false}, "updateUserPhone": {"title": "actualizarUsuarioTeléfono", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserPhone"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "phone": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "user_id", "phone"], "additionalProperties": false}, "updateReadHistoryInbox": {"title": "actualizarLeerHistorialBandeja de entrada", "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": "Tipo TL: Par."}, "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": "actualizarReadHistoryOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadHistoryOutbox"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "actualizar página web", "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": "Tipo de TL: Página web."}, "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": "actualizarLeerMensajesContenido", "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": "actualizarCanalDemasiado Largo", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelTooLong"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarCanal", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "updateNewChannelMessage": {"title": "actualizarNuevoCanalMensaje", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewChannelMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}, "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": "actualizarReadChannelInbox", "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 bits de velocidad en десятичной записи.", "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": "actualizarDeleteChannelMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteChannelMessages"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarChannelMessageViews", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelMessageViews"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarChatParticipanteAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantAdmin"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarNuevoStickerSet", "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": "Tipo TL: messages.StickerSet."}}, "required": ["_", "stickerset"], "additionalProperties": false}, "updateStickerSetsOrder": {"title": "actualizarStickerSetsOrder", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "order"], "additionalProperties": false}, "updateStickerSets": {"title": "actualizarStickerSets", "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": "actualizarGifs guardados", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedGifs"]}}, "required": ["_"], "additionalProperties": false}, "updateBotInlineQuery": {"title": "actualizarBotInlineQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotInlineQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo 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": "Tipo de TL: 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": "actualizarBotInlineEnviar", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotInlineSend"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo 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": "Tipo de TL: InputBotInlineMessageID.", "x-tl-flag": "flags.1?InputBotInlineMessageID"}}, "required": ["_", "user_id", "query", "id"], "additionalProperties": false}, "updateEditChannelMessage": {"title": "actualizarEditarCanalMensaje", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEditChannelMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}, "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": "actualizarBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarEditarMensaje", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateEditMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}, "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": "actualizarInlineBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateInlineBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "msg_id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID", "inputBotInlineMessageID64"]}}, "description": "Tipo de TL: InputBotInlineMessageID."}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarReadChannelOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelOutbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "max_id"], "additionalProperties": false}, "updateDraftMessage": {"title": "actualizarDraftMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDraftMessage"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "Tipo TL: Par.", "x-tl-flag": "flags.1?Peer"}, "draft": {"type": "object", "x-tl-type": "DraftMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["draftMessageEmpty", "draftMessage"]}}, "description": "Tipo de TL: Borrador de mensaje."}}, "required": ["_", "peer", "draft"], "additionalProperties": false}, "updateReadFeaturedStickers": {"title": "actualizarLeerDestacadosStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadFeaturedStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateRecentStickers": {"title": "actualizarPegatinas recientes", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateRecentStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateConfig": {"title": "actualizarConfig", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateConfig"]}}, "required": ["_"], "additionalProperties": false}, "updatePtsChanged": {"title": "actualizarPtsCambiado", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePtsChanged"]}}, "required": ["_"], "additionalProperties": false}, "updateChannelWebPage": {"title": "actualizarChannelWebPage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelWebPage"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "webpage": {"type": "object", "x-tl-type": "WebPage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webPageEmpty", "webPagePending", "webPage", "webPageNotModified"]}}, "description": "Tipo de TL: Página web."}, "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": "actualizarDialogFijado", "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": "Tipo de TL: DialogPeer."}}, "required": ["_", "peer"], "additionalProperties": false}, "updatePinnedDialogs": {"title": "actualizarDiálogos fijados", "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": "Tipo de TL: DialogPeer."}, "x-tl-type": "Vector<DialogPeer>", "x-tl-flag": "flags.0?Vector<DialogPeer>"}}, "required": ["_"], "additionalProperties": false}, "updateBotWebhookJSON": {"title": "actualizarBotWebhookJSON", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWebhookJSON"]}, "data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo de TL: DataJSON."}}, "required": ["_", "data"], "additionalProperties": false}, "updateBotWebhookJSONQuery": {"title": "actualizarBotWebhookJSONQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotWebhookJSONQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo de TL: DataJSON."}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "query_id", "data", "timeout"], "additionalProperties": false}, "updateBotShippingQuery": {"title": "actualizarBotEnvíoQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotShippingQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Dirección postal."}}, "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de 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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "query_id", "user_id", "payload", "currency", "total_amount"], "additionalProperties": false}, "updatePhoneCall": {"title": "actualizarPhoneCall", "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": "Tipo TL: Llamada telefónica."}}, "required": ["_", "phone_call"], "additionalProperties": false}, "updateLangPackTooLong": {"title": "actualizarLangPackTooLong", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateLangPackTooLong"]}, "lang_code": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "lang_code"], "additionalProperties": false}, "updateLangPack": {"title": "actualizarLangPack", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateLangPack"]}, "difference": {"type": "object", "x-tl-type": "LangPackDifference", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["langPackDifference"]}}, "description": "Tipo TL: LangPackDifference."}}, "required": ["_", "difference"], "additionalProperties": false}, "updateFavedStickers": {"title": "actualizarFavedStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateFavedStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateChannelReadMessagesContents": {"title": "actualizarCanalLeerMensajesContenido", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelReadMessagesContents"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "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": "actualizarContactosRestablecer", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateContactsReset"]}}, "required": ["_"], "additionalProperties": false}, "updateChannelAvailableMessages": {"title": "actualizarCanalDisponibleMensajes", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelAvailableMessages"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarDialogUnreadMark", "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": "Tipo de TL: DialogPeer."}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "x-tl-flag": "flags.1?Peer"}}, "required": ["_", "peer"], "additionalProperties": false}, "updateMessagePoll": {"title": "actualizarMensajeEncuesta", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessagePoll"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "poll": {"type": "object", "x-tl-type": "Poll", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["poll"]}}, "description": "Tipo TL: Encuesta.", "x-tl-flag": "flags.0?Poll"}, "results": {"type": "object", "x-tl-type": "PollResults", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollResults"]}}, "description": "Tipo de TL: Resultados de la encuesta."}}, "required": ["_", "poll_id", "results"], "additionalProperties": false}, "updateChatDefaultBannedRights": {"title": "actualizarChatDefaultProhibidoDerechos", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatDefaultBannedRights"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "default_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Tipo de TL: ChatBannedRights."}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "default_banned_rights", "version"], "additionalProperties": false}, "updateFolderPeers": {"title": "actualizarCarpetaPeers", "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": "Tipo de 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": "actualizarPeerSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePeerSettings"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "settings": {"type": "object", "x-tl-type": "PeerSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerSettings"]}}, "description": "Tipo de TL: PeerSettings."}}, "required": ["_", "peer", "settings"], "additionalProperties": false}, "updatePeerLocated": {"title": "actualizarPeerUbicado", "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": "Tipo de TL: PeerLocated."}, "x-tl-type": "Vector<PeerLocated>"}}, "required": ["_", "peers"], "additionalProperties": false}, "updateNewScheduledMessage": {"title": "actualizarNuevoMensajeProgramado", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewScheduledMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}}, "required": ["_", "message"], "additionalProperties": false}, "updateDeleteScheduledMessages": {"title": "actualizarEliminar mensajes programados", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteScheduledMessages"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "actualizartema", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateTheme"]}, "theme": {"type": "object", "x-tl-type": "Theme", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["theme"]}}, "description": "Tipo TL: Tema."}}, "required": ["_", "theme"], "additionalProperties": false}, "updateGeoLiveViewed": {"title": "actualizarGeoLiveViewed", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGeoLiveViewed"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "msg_id"], "additionalProperties": false}, "updateLoginToken": {"title": "actualizarLoginToken", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateLoginToken"]}}, "required": ["_"], "additionalProperties": false}, "updateMessagePollVote": {"title": "actualizarMensajeEncuestaVote", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessagePollVote"]}, "poll_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "actualizarDialogFilter", "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": "Tipo de TL: Filtro de diálogo.", "x-tl-flag": "flags.0?DialogFilter"}}, "required": ["_", "id"], "additionalProperties": false}, "updateDialogFilterOrder": {"title": "actualizarDialogFilterOrder", "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": "actualizarDialogFilters", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDialogFilters"]}}, "required": ["_"], "additionalProperties": false}, "updatePhoneCallSignalingData": {"title": "actualizarTeléfonoLlamadaSeñalizaciónDatos", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePhoneCallSignalingData"]}, "phone_call_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "phone_call_id", "data"], "additionalProperties": false}, "updateChannelMessageForwards": {"title": "actualizarChannelMessageForwards", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelMessageForwards"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarLeerCanalDiscusiónBandeja de entrada", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelDiscussionInbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "actualizarReadChannelDiscussionOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadChannelDiscussionOutbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarPeerBlocked", "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": "Tipo TL: Par."}}, "required": ["_", "peer_id"], "additionalProperties": false}, "updateChannelUserTyping": {"title": "actualizarCanalUsuarioEscribiendo", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelUserTyping"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par."}, "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": "Tipo de TL: SendMessageAction."}}, "required": ["_", "channel_id", "from_id", "action"], "additionalProperties": false}, "updatePinnedMessages": {"title": "actualizarMensajesFijados", "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": "Tipo TL: Par."}, "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": "actualizarMensajes de canal fijado", "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 bits de velocidad en десятичной записи.", "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": "actualizarChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "updateGroupCallParticipants": {"title": "actualizarLlamadaGrupalParticipantes", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCallParticipants"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de TL: InputGroupCall."}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Tipo de TL: GroupCallParticipant."}, "x-tl-type": "Vector<GroupCallParticipant>"}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "call", "participants", "version"], "additionalProperties": false}, "updateGroupCall": {"title": "actualizar llamada de grupo", "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": "Tipo TL: Par.", "x-tl-flag": "flags.1?Peer"}, "call": {"type": "object", "x-tl-type": "GroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallDiscarded", "groupCall"]}}, "description": "Tipo de TL: Llamada grupal."}}, "required": ["_", "call"], "additionalProperties": false}, "updatePeerHistoryTTL": {"title": "actualizarPeerHistoryTTL", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePeerHistoryTTL"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "x-tl-flag": "flags.0?int"}}, "required": ["_", "peer"], "additionalProperties": false}, "updateChatParticipant": {"title": "actualizarChatParticipante", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipant"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "actor_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "prev_participant": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Tipo de TL: ChatParticipante.", "x-tl-flag": "flags.0?ChatParticipant"}, "new_participant": {"type": "object", "x-tl-type": "ChatParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatParticipant", "chatParticipantCreator", "chatParticipantAdmin"]}}, "description": "Tipo de TL: ChatParticipante.", "x-tl-flag": "flags.1?ChatParticipant"}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: 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": "actualizarCanalParticipante", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "actor_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Participante del canal.", "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": "Tipo de TL: Participante del canal.", "x-tl-flag": "flags.1?ChannelParticipant"}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: 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": "actualizarBotDetenido", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotStopped"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarGroupCallConnection", "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": "Tipo de TL: DataJSON."}}, "required": ["_", "params"], "additionalProperties": false}, "updateBotCommands": {"title": "actualizarBotCommands", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotCommands"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "commands": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botCommand"]}}, "description": "Tipo de TL: BotCommand."}, "x-tl-type": "Vector<BotCommand>"}}, "required": ["_", "peer", "bot_id", "commands"], "additionalProperties": false}, "updatePendingJoinRequests": {"title": "actualizarPendingJoinRequests", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePendingJoinRequests"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "requests_pending": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "recent_requesters": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "peer", "requests_pending", "recent_requesters"], "additionalProperties": false}, "updateBotChatInviteRequester": {"title": "actualizarBotChatInviteRequester", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotChatInviteRequester"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: ExportedChatInvite."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "peer", "date", "user_id", "about", "invite", "qts"], "additionalProperties": false}, "updateMessageReactions": {"title": "actualizarReaccionesMensaje", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageReactions"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "Tipo TL: Par.", "x-tl-flag": "flags.1?Peer"}, "reactions": {"type": "object", "x-tl-type": "MessageReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReactions"]}}, "description": "Tipo de TL: Reacciones de mensajes."}}, "required": ["_", "peer", "msg_id", "reactions"], "additionalProperties": false}, "updateAttachMenuBots": {"title": "actualizarAttachMenuBots", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateAttachMenuBots"]}}, "required": ["_"], "additionalProperties": false}, "updateWebViewResultSent": {"title": "actualizarWebViewResultSent", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateWebViewResultSent"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "query_id"], "additionalProperties": false}, "updateBotMenuButton": {"title": "actualizarBotMenuButton", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotMenuButton"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "button": {"type": "object", "x-tl-type": "BotMenuButton", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botMenuButtonDefault", "botMenuButtonCommands", "botMenuButton"]}}, "description": "Tipo TL: BotMenuButton."}}, "required": ["_", "bot_id", "button"], "additionalProperties": false}, "updateSavedRingtones": {"title": "actualizarTonos de llamada guardados", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedRingtones"]}}, "required": ["_"], "additionalProperties": false}, "updateTranscribedAudio": {"title": "actualizarTranscritedAudio", "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": "Tipo TL: Par."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "peer", "msg_id", "transcription_id", "text"], "additionalProperties": false}, "updateReadFeaturedEmojiStickers": {"title": "actualizarLeerDestacadosEmojiStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadFeaturedEmojiStickers"]}}, "required": ["_"], "additionalProperties": false}, "updateUserEmojiStatus": {"title": "actualizarUsuarioEmojiEstado", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUserEmojiStatus"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "emoji_status": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "Tipo de TL: EmojiStatus."}}, "required": ["_", "user_id", "emoji_status"], "additionalProperties": false}, "updateRecentEmojiStatuses": {"title": "actualizarEstadosEmojiRecientes", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateRecentEmojiStatuses"]}}, "required": ["_"], "additionalProperties": false}, "updateRecentReactions": {"title": "actualizarReaccionesRecientes", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateRecentReactions"]}}, "required": ["_"], "additionalProperties": false}, "updateMoveStickerSetToTop": {"title": "actualizarMoveStickerSetToTop", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "stickerset"], "additionalProperties": false}, "updateMessageExtendedMedia": {"title": "actualizarMensajeExtendedMedia", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateMessageExtendedMedia"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "Tipo de TL: MessageExtendedMedia."}, "x-tl-type": "Vector<MessageExtendedMedia>"}}, "required": ["_", "peer", "msg_id", "extended_media"], "additionalProperties": false}, "updateUser": {"title": "actualizarUsuario", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "updateAutoSaveSettings": {"title": "actualizarAutoSaveSettings", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateAutoSaveSettings"]}}, "required": ["_"], "additionalProperties": false}, "updateStory": {"title": "actualizarHistoria", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStory"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Tipo de TL: Artículo de historia."}}, "required": ["_", "peer", "story"], "additionalProperties": false}, "updateReadStories": {"title": "actualizarLeerHistorias", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadStories"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "max_id"], "additionalProperties": false}, "updateStoryID": {"title": "actualizarStoryID", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStoryID"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "random_id"], "additionalProperties": false}, "updateStoriesStealthMode": {"title": "actualizarHistoriasModo sigiloso", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStoriesStealthMode"]}, "stealth_mode": {"type": "object", "x-tl-type": "StoriesStealthMode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}}, "description": "Tipo de TL: HistoriasStealthMode."}}, "required": ["_", "stealth_mode"], "additionalProperties": false}, "updateSentStoryReaction": {"title": "actualizarSentStoryReaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSentStoryReaction"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "Tipo TL: Reacción."}}, "required": ["_", "peer", "story_id", "reaction"], "additionalProperties": false}, "updateBotChatBoost": {"title": "actualizarBotChatBoost", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotChatBoost"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "boost": {"type": "object", "x-tl-type": "Boost", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["boost"]}}, "description": "Tipo TL: Impulso."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "boost", "qts"], "additionalProperties": false}, "updateChannelViewForumAsMessages": {"title": "actualizarChannelViewForumAsMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChannelViewForumAsMessages"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "enabled": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "channel_id", "enabled"], "additionalProperties": false}, "updatePeerWallpaper": {"title": "actualizarPeerWallpaper", "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": "Tipo TL: Par."}, "wallpaper": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "Tipo TL: Papel pintado.", "x-tl-flag": "flags.0?WallPaper"}}, "required": ["_", "peer"], "additionalProperties": false}, "updateBotMessageReaction": {"title": "actualizarBotMessageReaction", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotMessageReaction"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "Tipo TL: Par."}, "old_reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "Tipo TL: Reacción."}, "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": "Tipo TL: Reacción."}, "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": "actualizarBotMessageReactions", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotMessageReactions"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "Tipo de 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": "actualizarDiálogoGuardadoFijado", "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": "Tipo de TL: DialogPeer."}}, "required": ["_", "peer"], "additionalProperties": false}, "updatePinnedSavedDialogs": {"title": "actualizarPinnedSavedDialogs", "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": "Tipo de TL: DialogPeer."}, "x-tl-type": "Vector<DialogPeer>", "x-tl-flag": "flags.0?Vector<DialogPeer>"}}, "required": ["_"], "additionalProperties": false}, "updateSavedReactionTags": {"title": "actualizarEtiquetas de reacción guardadas", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSavedReactionTags"]}}, "required": ["_"], "additionalProperties": false}, "updateSmsJob": {"title": "actualizarSmsJob", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateSmsJob"]}, "job_id": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "job_id"], "additionalProperties": false}, "updateQuickReplies": {"title": "actualizarRespuestasRápidas", "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": "Tipo TL: Respuesta rápida."}, "x-tl-type": "Vector<QuickReply>"}}, "required": ["_", "quick_replies"], "additionalProperties": false}, "updateNewQuickReply": {"title": "actualizarNuevoRespuesta Rápida", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateNewQuickReply"]}, "quick_reply": {"type": "object", "x-tl-type": "QuickReply", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["quickReply"]}}, "description": "Tipo TL: Respuesta rápida."}}, "required": ["_", "quick_reply"], "additionalProperties": false}, "updateDeleteQuickReply": {"title": "actualizarEliminarRespuesta Rápida", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteQuickReply"]}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "shortcut_id"], "additionalProperties": false}, "updateQuickReplyMessage": {"title": "actualizarMensaje de respuesta rápida", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateQuickReplyMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}}, "required": ["_", "message"], "additionalProperties": false}, "updateDeleteQuickReplyMessages": {"title": "actualizarEliminar mensajes de respuesta rápida", "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": "actualizarBotBusinessConnect", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotBusinessConnect"]}, "connection": {"type": "object", "x-tl-type": "BotBusinessConnection", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botBusinessConnection"]}}, "description": "Tipo de TL: BotBusinessConnection."}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection", "qts"], "additionalProperties": false}, "updateBotNewBusinessMessage": {"title": "actualizarBotNuevoMensaje de Negocios", "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": "Tipo TL: Mensaje."}, "reply_to_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje.", "x-tl-flag": "flags.0?Message"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection_id", "message", "qts"], "additionalProperties": false}, "updateBotEditBusinessMessage": {"title": "actualizarBotEditarNegocioMensaje", "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": "Tipo TL: Mensaje."}, "reply_to_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje.", "x-tl-flag": "flags.0?Message"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "connection_id", "message", "qts"], "additionalProperties": false}, "updateBotDeleteBusinessMessage": {"title": "actualizarBotDeleteBusinessMessage", "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": "Tipo TL: Par."}, "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": "actualizarNuevaHistoriaReacción", "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": "Tipo TL: Par."}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "Tipo TL: Reacción."}}, "required": ["_", "story_id", "peer", "reaction"], "additionalProperties": false}, "updateStarsBalance": {"title": "actualizarStarsBalance", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarsBalance"]}, "balance": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Tipo TL: Cantidad de estrellas."}}, "required": ["_", "balance"], "additionalProperties": false}, "updateBusinessBotCallbackQuery": {"title": "actualizarBusinessBotCallbackQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBusinessBotCallbackQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Mensaje."}, "reply_to_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje.", "x-tl-flag": "flags.2?Message"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarStarsRevenueStatus", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarsRevenueStatus"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "status": {"type": "object", "x-tl-type": "StarsRevenueStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRevenueStatus"]}}, "description": "Tipo de TL: StarsRevenueStatus."}}, "required": ["_", "peer", "status"], "additionalProperties": false}, "updateBotPurchasedPaidMedia": {"title": "actualizarBotCompradoPaidMedia", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotPurchasedPaidMedia"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarReacciónPagadaPrivacidad", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePaidReactionPrivacy"]}, "private": {"type": "object", "x-tl-type": "PaidReactionPrivacy", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paidReactionPrivacyDefault", "paidReactionPrivacyAnonymous", "paidReactionPrivacyPeer"]}}, "description": "Tipo de TL: Privacidad de reacción pagada."}}, "required": ["_", "private"], "additionalProperties": false}, "updateSentPhoneCode": {"title": "actualizarSentPhoneCode", "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": "Escribe TL: auth.SentCode."}}, "required": ["_", "sent_code"], "additionalProperties": false}, "updateGroupCallChainBlocks": {"title": "actualizarGroupCallChainBlocks", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCallChainBlocks"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de 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": "actualizarLeerMonoForumBandeja de entrada", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadMonoForumInbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "saved_peer_id", "read_max_id"], "additionalProperties": false}, "updateReadMonoForumOutbox": {"title": "actualizarReadMonoForumOutbox", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateReadMonoForumOutbox"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "read_max_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "channel_id", "saved_peer_id", "read_max_id"], "additionalProperties": false}, "updateMonoForumNoPaidException": {"title": "actualizarMonoForumNoPaidException", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "saved_peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}}, "required": ["_", "channel_id", "saved_peer_id"], "additionalProperties": false}, "updateGroupCallMessage": {"title": "actualizarGroupCallMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCallMessage"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de TL: InputGroupCall."}, "message": {"type": "object", "x-tl-type": "GroupCallMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallMessage"]}}, "description": "Tipo de TL: GroupCallMessage."}}, "required": ["_", "call", "message"], "additionalProperties": false}, "updateGroupCallEncryptedMessage": {"title": "actualizarGroupCallEncryptedMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateGroupCallEncryptedMessage"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de TL: InputGroupCall."}, "from_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "encrypted_message": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "call", "from_id", "encrypted_message"], "additionalProperties": false}, "updatePinnedForumTopic": {"title": "actualizarTema del foro fijado", "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": "Tipo TL: Par."}, "topic_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "topic_id"], "additionalProperties": false}, "updatePinnedForumTopics": {"title": "actualizarTemas del foro fijados", "type": "object", "properties": {"_": {"type": "string", "enum": ["updatePinnedForumTopics"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "actualizarDeleteGroupCallMessages", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateDeleteGroupCallMessages"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de 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": "actualizarStarGiftAuctionState", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarGiftAuctionState"]}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "state": {"type": "object", "x-tl-type": "StarGiftAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified", "starGiftAuctionState", "starGiftAuctionStateFinished"]}}, "description": "Tipo de TL: StarGiftAuctionState."}}, "required": ["_", "gift_id", "state"], "additionalProperties": false}, "updateStarGiftAuctionUserState": {"title": "actualizarStarGiftAuctionUserState", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarGiftAuctionUserState"]}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_state": {"type": "object", "x-tl-type": "StarGiftAuctionUserState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}}, "description": "Tipo de TL: StarGiftAuctionUserState."}}, "required": ["_", "gift_id", "user_state"], "additionalProperties": false}, "updateEmojiGameInfo": {"title": "actualizarEmojiGameInfo", "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": "Tipo TL: messages.EmojiGameInfo."}}, "required": ["_", "info"], "additionalProperties": false}, "updateStarGiftCraftFail": {"title": "actualizarStarGiftCraftFail", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateStarGiftCraftFail"]}}, "required": ["_"], "additionalProperties": false}, "updateChatParticipantRank": {"title": "actualizarChatParticipantRank", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateChatParticipantRank"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "actualizarMangedBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateManagedBot"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "user_id", "bot_id", "qts"], "additionalProperties": false}, "updateBotGuestChatQuery": {"title": "actualizarBotGuestChatQuery", "type": "object", "properties": {"_": {"type": "string", "enum": ["updateBotGuestChatQuery"]}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}, "reference_messages": {"type": "array", "items": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}, "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": "actualizarAiComposeTones", "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": "Tipo TL: Par."}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par."}, "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par."}, "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "inline_message_id": {"type": "object", "x-tl-type": "InputBotInlineMessageID", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBotInlineMessageID", "inputBotInlineMessageID64"]}}, "description": "Tipo de TL: InputBotInlineMessageID."}, "chat_instance": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par."}, "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Estado de las actualizaciones.", "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": "Número de eventos ocurridos en un cuadro de texto", "x-telegram-field-docs": true}, "qts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Posición en una secuencia de actualizaciones en chats secretos. Para más detalles consulte el artículo [chats secretos](https://core.telegram.org/api/end-to-end.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha de condición", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de actualizaciones enviadas", "x-telegram-field-docs": true}, "unread_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de mensajes no leídos", "x-telegram-field-docs": true}}, "required": ["_", "pts", "qts", "date", "seq", "unread_count"], "additionalProperties": false}, "updates.differenceEmpty": {"title": "updates.differenceEmpty", "description": "Sin eventos.", "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": "fecha actual", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de actualizaciones enviadas", "x-telegram-field-docs": true}}, "required": ["_", "date", "seq"], "additionalProperties": false}, "updates.difference": {"title": "updates.difference", "description": "Lista completa de eventos ocurridos.", "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": "Tipo de TL: Tema del foro."}, "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Lista de mensajes nuevos", "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": "Tipo de TL: Mensaje cifrado."}, "x-tl-type": "Vector<EncryptedMessage>", "description": "Lista de nuevos mensajes de chat secretos cifrados", "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": "Tipo TL: Actualización."}, "x-tl-type": "Vector<Update>", "description": "Lista de actualizaciones", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados en eventos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados en eventos", "x-telegram-field-docs": true}, "state": {"type": "object", "x-tl-type": "updates.State", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updates.state"]}}, "description": "Estado actual", "x-telegram-field-docs": true}}, "required": ["_", "new_messages", "new_encrypted_messages", "other_updates", "chats", "users", "state"], "additionalProperties": false}, "updates.differenceSlice": {"title": "updates.differenceSlice", "description": "Lista incompleta de eventos ocurridos.", "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": "Tipo de TL: Tema del foro."}, "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Lista de mensajes nuevos", "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": "Tipo de TL: Mensaje cifrado."}, "x-tl-type": "Vector<EncryptedMessage>", "description": "Nuevos mensajes de la [secuencia de eventos cifrados](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": "Tipo TL: Actualización."}, "x-tl-type": "Vector<Update>", "description": "Lista de actualizaciones", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados en eventos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados en eventos", "x-telegram-field-docs": true}, "intermediate_state": {"type": "object", "x-tl-type": "updates.State", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updates.state"]}}, "description": "Estado intermediario", "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": "La diferencia es [demasiado larga](https://core.telegram.org/api/updates.md#recovering-gaps) y se debe utilizar el estado especificado para volver a recuperar las actualizaciones.", "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": "El nuevo estado a utilizar.", "x-telegram-field-docs": true}}, "required": ["_", "pts"], "additionalProperties": false}, "updatesTooLong": {"title": "actualizacionesDemasiado largo", "description": "La cantidad de actualizaciones en cola en el cuadro de mensaje común es demasiado grande para entregarse pasivamente a través del socket; invoque [updates.getDifference](https://core.telegram.org/method/updates.getDifference.md) para obtener la diferencia como se especifica en la [documentación »](https://core.telegram.org/api/updates.md).\n\n**No** indica necesariamente que [se alcanzó el límite de tamaño del cuadro de mensaje](https://core.telegram.org/api/updates.md#recovering-gaps-for-very-old-messages), simplemente indica que la cantidad de actualizaciones en cola en un cuadro de mensaje es demasiado grande para entregarse pasivamente a través del socket.", "externalDocs": {"url": "https://core.telegram.org/constructor/updatesTooLong"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["updatesTooLong"]}}, "required": ["_"], "additionalProperties": false}, "updateShortMessage": {"title": "actualizarmensaje corto", "description": "Información sobre un mensaje enviado a (recibido de) otro usuario", "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": "Si el mensaje es saliente", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "mentioned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si fuimos mencionados en el mensaje.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "media_unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si hay algunas menciones **no leídas** en este mensaje", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si es verdadero, el mensaje es silencioso y no se deben activar notificaciones.", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La identificación del mensaje", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El ID del remitente (si `outgoing` será el ID del destino) del mensaje", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "el mensaje", "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 cuenta](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[fecha](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": "Información sobre un mensaje reenviado", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?MessageFwdHeader"}, "via_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Información sobre el bot en línea utilizado para generar este mensaje", "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": "Respuesta e información del [hilo](https://core.telegram.org/api/threads.md)", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades](https://core.telegram.org/api/entities.md) para texto con estilo", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo de vida del mensaje, una vez message.date+message.ttl_period === time(), el mensaje se eliminará en el servidor y también deberá eliminarse localmente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?int"}}, "required": ["_", "id", "user_id", "message", "pts", "pts_count", "date"], "additionalProperties": false}, "updateShortChatMessage": {"title": "actualizarmensaje de chat corto", "description": "Constructor abreviado que contiene información sobre un nuevo mensaje de texto entrante de un chat", "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": "Si el mensaje es saliente", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "mentioned": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si fuimos mencionados en este mensaje", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "media_unread": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el mensaje contiene algunas menciones **no leídas**", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "silent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si es verdadero, el mensaje es silencioso y no se deben activar notificaciones.", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje", "x-telegram-field-docs": true}, "from_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del remitente del mensaje", "x-tl-type": "long", "x-telegram-field-docs": true}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del chat donde se envió el mensaje", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensaje", "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 cuenta](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[fecha](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": "Información sobre un mensaje reenviado", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?MessageFwdHeader"}, "via_bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Información sobre el bot en línea utilizado para generar este mensaje", "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": "Información de respuesta (hilo)", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades](https://core.telegram.org/api/entities.md) para texto con estilo", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo de vida del mensaje, una vez updateShortChatMessage.date+updateShortChatMessage.ttl_period === time(), el mensaje se eliminará en el servidor y también deberá eliminarse localmente.", "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": "actualizarCorto", "description": "Constructor abreviado que contiene información sobre una actualización que no requiere datos auxiliares", "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": "Actualizar", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "fecha del evento", "x-telegram-field-docs": true}}, "required": ["_", "update", "date"], "additionalProperties": false}, "updatesCombined": {"title": "actualizacionesCombinadas", "description": "Constructor para un grupo de actualizaciones.", "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": "Tipo TL: Actualización."}, "x-tl-type": "Vector<Update>", "description": "Lista de actualizaciones", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados en actualizaciones", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados en actualizaciones", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "fecha actual", "x-telegram-field-docs": true}, "seq_start": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor **seq** para la primera actualización de un grupo", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Valor **seq** para la última actualización de un grupo", "x-telegram-field-docs": true}}, "required": ["_", "updates", "users", "chats", "date", "seq_start", "seq"], "additionalProperties": false}, "updates": {"title": "actualizaciones", "description": "Constructor completo de actualizaciones.", "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": "Tipo TL: Actualización."}, "x-tl-type": "Vector<Update>", "description": "Lista de actualizaciones", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados en actualizaciones", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Lista de chats mencionados en actualizaciones", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "fecha actual", "x-telegram-field-docs": true}, "seq": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de actualizaciones enviadas", "x-telegram-field-docs": true}}, "required": ["_", "updates", "users", "chats", "date", "seq"], "additionalProperties": false}, "updateShortSentMessage": {"title": "actualizar mensaje corto enviado", "description": "Constructor abreviado que contiene información sobre un mensaje saliente a un contacto (el chat de destino debe extraerse de la llamada al método que devolvió este objeto).", "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": "Si el mensaje es saliente", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje enviado", "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 cuenta](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[fecha](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": "Medios adjuntos", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades](https://core.telegram.org/api/entities.md) para texto con estilo", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?Vector<MessageEntity>"}, "ttl_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo de vida del mensaje, una vez message.date+message.ttl_period === time(), el mensaje se eliminará en el servidor y también deberá eliminarse localmente.", "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": "Listado completo de fotografías con datos auxiliares.", "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": "Tipo TL: Foto."}, "x-tl-type": "Vector<Photo>", "description": "Lista de 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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "photos", "users"], "additionalProperties": false}, "photos.photosSlice": {"title": "photos.photosSlice", "description": "Lista incompleta de fotografías con datos auxiliares.", "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": "Número total de 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": "Tipo TL: Foto."}, "x-tl-type": "Vector<Photo>", "description": "Lista de 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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "photos", "users"], "additionalProperties": false}, "photos.photo": {"title": "photos.photo", "description": "Foto con datos auxiliares.", "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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "x-telegram-field-docs": true}}, "required": ["_", "photo", "users"], "additionalProperties": false}, "upload.file": {"title": "upload.file", "description": "Contenido del archivo.", "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": "tipo de archivo", "x-telegram-field-docs": true}, "mtime": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "tiempo de modificación", "x-telegram-field-docs": true}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datos binarios, contenido de archivos.", "x-telegram-field-docs": true}}, "required": ["_", "type", "mtime", "bytes"], "additionalProperties": false}, "upload.fileCdnRedirect": {"title": "upload.fileCdnRedirect", "description": "El archivo debe descargarse desde un archivo [CDN DC](https://core.telegram.org/cdn.md).", "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": "Token de archivo (ver [CDN archivos](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}, "encryption_key": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Clave de cifrado (ver [CDN archivos](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}, "encryption_iv": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Cifrado IV (ver [CDN archivos](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": "Tipo de TL: FileHash."}, "x-tl-type": "Vector<FileHash>", "description": "Hashes de archivos (ver [CDN archivos](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": "opción dc", "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": "configuración", "description": "Configuración actual", "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": "Si el cliente debe usar P2P de forma predeterminada para llamadas telefónicas con contactos", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "preload_featured_stickers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el cliente debe precargar stickers destacados", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "revoke_pm_inbox": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si los mensajes privados entrantes se pueden eliminar para ambos participantes", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "blocked_mode": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Indicates that telegram is *probably* censored by governments/ISPs in the current region", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "force_try_ipv6": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se debe conectar de manera forzada usando IPv6 [dcOptions](https://core.telegram.org/type/DcOption.md), incluso si el cliente sabe que IPv4 está disponible.", "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": "Fecha actual en el servidor.", "x-telegram-field-docs": true}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha de vencimiento de esta configuración: cuando caduque, deberá recuperarse usando [help.getConfig](https://core.telegram.org/method/help.getConfig.md)", "x-telegram-field-docs": true}, "test_mode": {"type": "boolean", "x-tl-type": "Bool", "description": "Si estamos conectados a los DC de prueba", "x-telegram-field-docs": true}, "this_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del DC que devolvió la respuesta", "x-telegram-field-docs": true}, "dc_options": {"type": "array", "items": {"type": "object", "x-tl-type": "DcOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dcOption"]}}, "description": "Tipo TL: DcOption."}, "x-tl-type": "Vector<DcOption>", "description": "Lista de IP de CC", "x-telegram-field-docs": true}, "dc_txt_domain_name": {"type": "string", "x-tl-type": "string", "description": "Nombre de dominio para obtener la lista de DC cifrados del registro DNS TXT", "x-telegram-field-docs": true}, "chat_size_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Recuento máximo de miembros para [grupos](https://core.telegram.org/api/channel.md) normales", "x-telegram-field-docs": true}, "megagroup_size_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Recuento máximo de miembros para [supergrupos](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true}, "forwarded_count_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de mensajes que se pueden reenviar a la vez usando [messages.forwardMessages](https://core.telegram.org/method/messages.forwardMessages.md).", "x-telegram-field-docs": true}, "online_update_period_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El cliente debe [actualizar su estado en línea](https://core.telegram.org/method/account.updateStatus.md) cada N milisegundos", "x-telegram-field-docs": true}, "offline_blur_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Retraso antes de que sea necesario enviar el estado fuera de línea al servidor", "x-telegram-field-docs": true}, "offline_idle_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo sin actividad del usuario después del cual debe tratarse sin conexión", "x-telegram-field-docs": true}, "online_cloud_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si estamos desconectados, pero estuvimos conectados desde algún otro cliente en los últimos `online_cloud_timeout_ms` milisegundos después de habernos desconectado, entonces retrasamos la notificación sin conexión durante `notify_cloud_delay_ms` milisegundos.", "x-telegram-field-docs": true}, "notify_cloud_delay_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si estamos desconectados, pero en línea desde algún otro cliente, retrasamos el envío de la notificación fuera de línea durante `notify_cloud_delay_ms` milisegundos.", "x-telegram-field-docs": true}, "notify_default_delay_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si algún otro cliente está en línea, retrase la notificación durante `notification_default_delay_ms` milisegundos", "x-telegram-field-docs": true}, "push_chat_period_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "No para uso del cliente", "x-telegram-field-docs": true}, "push_chat_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "No para uso del cliente", "x-telegram-field-docs": true}, "edit_time_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Solo se pueden editar los mensajes con una antigüedad (en segundos) menor que la especificada en este campo.", "x-telegram-field-docs": true}, "revoke_time_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Solo se pueden eliminar los mensajes de canal/supergrupo con una edad inferior a la especificada", "x-telegram-field-docs": true}, "revoke_pm_time_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Solo se pueden eliminar mensajes privados con una antigüedad menor a la especificada", "x-telegram-field-docs": true}, "rating_e_decay": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tasa de caída exponencial para la informática [calificación de pares superior](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": "Número máximo de stickers recientes", "x-telegram-field-docs": true}, "channels_read_media_period": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Indica que los videos redondos (notas de video) y los mensajes de voz enviados en canales y anteriores al período especificado deben marcarse como leídos", "x-telegram-field-docs": true}, "tmp_sessions": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de [sesiones paralelas](https://core.telegram.org/api/datacenter.md#parallel-sessions) que el cliente puede abrir a la conexión principal de su DC local para aumentar el rendimiento; si está ausente o `≤ 1`, se debe utilizar una única sesión principal", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "call_receive_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo máximo de timbre saliente permitido en llamadas VoIP: si el usuario al que llamamos no responde en el tiempo especificado (en milisegundos), debemos colgar la llamada", "x-telegram-field-docs": true}, "call_ring_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo de timbre entrante máximo permitido en llamadas VoIP: si el usuario actual no responde dentro del tiempo especificado (en milisegundos), la llamada será rechazada automáticamente", "x-telegram-field-docs": true}, "call_connect_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo de espera de conexión VoIP: si la instancia de libtgvoip en el otro lado de la llamada no se conecta a nuestra instancia de libtgvoip dentro del tiempo especificado (en milisegundos), la llamada debe cancelarse", "x-telegram-field-docs": true}, "call_packet_timeout_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si durante una llamada VoIP no se recibe un paquete durante el período de tiempo especificado, se debe cancelar la llamada.", "x-telegram-field-docs": true}, "me_url_prefix": {"type": "string", "x-tl-type": "string", "description": "El dominio que se utilizará para analizar [enlaces profundos »](https://core.telegram.org/api/links.md).", "x-telegram-field-docs": true}, "autoupdate_url_prefix": {"type": "string", "x-tl-type": "string", "description": "URL para usar para actualizar automáticamente la aplicación actual", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?string"}, "gif_search_username": {"type": "string", "x-tl-type": "string", "description": "Username of the bot to use to search for GIFs", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?string"}, "venue_search_username": {"type": "string", "x-tl-type": "string", "description": "Nombre de usuario del bot a utilizar para buscar lugares", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?string"}, "img_search_username": {"type": "string", "x-tl-type": "string", "description": "Nombre de usuario del bot que se utilizará para la búsqueda de imágenes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?string"}, "static_maps_provider": {"type": "string", "x-tl-type": "string", "description": "ID del proveedor de mapas que se utilizará en los lugares", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?string"}, "caption_length_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud máxima del título (longitud en puntos de código utf8)", "x-telegram-field-docs": true}, "message_length_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud máxima de mensajes (longitud en puntos de código utf8)", "x-telegram-field-docs": true}, "webfile_dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de DC que se utilizará para descargar [webfiles](https://core.telegram.org/api/files.md#downloading-webfiles)", "x-telegram-field-docs": true}, "suggested_lang_code": {"type": "string", "x-tl-type": "string", "description": "Código de idioma sugerido", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "lang_pack_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versión del paquete de idioma", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "base_lang_pack_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versión básica del paquete de idioma", "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": "Predeterminado [reacción al mensaje](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": "Token de inicio de sesión automático, [haga clic aquí para obtener más información sobre la autorización URL »](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": "más cercanoDc", "description": "Centro de datos más cercano, según 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": "Código de país determinado por geo-ip", "x-telegram-field-docs": true}, "this_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de centro de datos actual", "x-telegram-field-docs": true}, "nearest_dc": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de centro de datos más cercano", "x-telegram-field-docs": true}}, "required": ["_", "country", "this_dc", "nearest_dc"], "additionalProperties": false}, "help.appUpdate": {"title": "help.appUpdate", "description": "Hay una actualización disponible para la aplicación.", "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": "No se puede omitir, la nueva información debe mostrarse al usuario (con una ventana emergente o algo más)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Actualizar ID", "x-telegram-field-docs": true}, "version": {"type": "string", "x-tl-type": "string", "description": "Nombre de la nueva versión", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Descripción de texto de la actualización.", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](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": "Aplicación binaria", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Document"}, "url": {"type": "string", "x-tl-type": "string", "description": "Descarga de la aplicación 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": "Etiqueta asociada", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Document"}}, "required": ["_", "id", "version", "text", "entities"], "additionalProperties": false}, "help.noAppUpdate": {"title": "help.noAppUpdate", "description": "No hay actualizaciones disponibles para la aplicación.", "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": "Texto de un mensaje de texto con una invitación para instalar 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": "Texto del mensaje", "x-telegram-field-docs": true}}, "required": ["_", "message"], "additionalProperties": false}, "encryptedChatEmpty": {"title": "cifradoChatVacío", "description": "Constructor vacío.", "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": "ID de chat", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "encryptedChatWaiting": {"title": "cifradoChatEsperando", "description": "Chat esperando la aprobación del segundo participante.", "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": "ID de chat", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Suma de cheques dependiendo de la identificación del usuario", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha de creación del chat", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del creador del chat", "x-tl-type": "long", "x-telegram-field-docs": true}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del segundo participante del chat", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id"], "additionalProperties": false}, "encryptedChatRequested": {"title": "cifradoChatSolicitado", "description": "Solicitud para crear un chat cifrado.", "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": "[ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](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": "ID de chat", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Suma de cheque dependiendo del ID de usuario", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha de creación del chat", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del creador del chat", "x-tl-type": "long", "x-telegram-field-docs": true}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del segundo participante del chat", "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`, ver [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": "chat cifrado", "description": "Chat cifrado", "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": "ID de chat", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Suma de cheque que depende del ID de usuario", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha en que se creó el chat", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del creador del chat", "x-tl-type": "long", "x-telegram-field-docs": true}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del segundo participante del chat", "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`, si el usuario actualmente autorizado es el creador del chat, o `A = g ^ a mod p` en caso contrario Consulte [Wikipedia](https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange) para obtener más información", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "Huella digital de 64 bits de la clave recibida", "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": "cifradoChatDescartado", "description": "Chat descartado o eliminado.", "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": "Si ambos usuarios de este chat secreto también deberían eliminar todos sus mensajes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de chat", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputEncryptedChat": {"title": "entradaChat cifrado", "description": "Un [chat cifrado e2e](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": "ID de chat", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Acceda al hash desde [encryptedChat](https://core.telegram.org/constructor/encryptedChat.md), [encryptedChatWaiting](https://core.telegram.org/constructor/encryptedChatWaiting.md) o [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": "archivo cifradovacío", "description": "Constructor vacío, archivo inexistente.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedFileEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedFileEmpty"]}}, "required": ["_"], "additionalProperties": false}, "encryptedFile": {"title": "archivo cifrado", "description": "Archivo cifrado.", "externalDocs": {"url": "https://core.telegram.org/constructor/encryptedFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de archivo", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Suma de cheques dependiendo de la identificación del usuario", "x-tl-type": "long", "x-telegram-field-docs": true}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamaño del archivo en bytes", "x-tl-type": "long", "x-telegram-field-docs": true}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de centro de datos", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Huella digital de 32 bits de la clave utilizada para cifrar archivos", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "size", "dc_id", "key_fingerprint"], "additionalProperties": false}, "inputEncryptedFileEmpty": {"title": "entradaArchivocifradoVacío", "description": "Constructor vacío.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputEncryptedFileUploaded": {"title": "entradaArchivoCifradoSubido", "description": "Establece un nuevo archivo cifrado guardado por partes usando el método upload.saveFilePart.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileUploaded"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileUploaded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de archivo aleatorio creado por el cliente", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de piezas guardadas", "x-telegram-field-docs": true}, "md5_checksum": {"type": "string", "x-tl-type": "string", "description": "En caso de que se haya transmitido [md5-HASH](https://en.wikipedia.org/wiki/MD5) del archivo (ya cifrado), se comprobará el contenido del archivo antes de su uso.", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Huella digital de 32 bits de la clave utilizada para cifrar un archivo", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "md5_checksum", "key_fingerprint"], "additionalProperties": false}, "inputEncryptedFile": {"title": "entradaArchivoCifrado", "description": "Establece el archivo cifrado reenviado para adjuntarlo.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de archivo, valor del parámetro **id** de [encryptedFile](https://core.telegram.org/constructor/encryptedFile.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Suma de verificación, valor del parámetro **access_hash** de [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": "entradaEncryptedFileBigUploaded", "description": "Asigna un nuevo archivo cifrado de gran tamaño (más de 10 MB de tamaño), guardado en partes utilizando el método [upload.saveBigFilePart](https://core.telegram.org/method/upload.saveBigFilePart.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEncryptedFileBigUploaded"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEncryptedFileBigUploaded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de archivo aleatorio, creado por el cliente", "x-tl-type": "long", "x-telegram-field-docs": true}, "parts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de piezas guardadas", "x-telegram-field-docs": true}, "key_fingerprint": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Impresión de 32 bits de la clave utilizada para cifrar el archivo", "x-telegram-field-docs": true}}, "required": ["_", "id", "parts", "key_fingerprint"], "additionalProperties": false}, "encryptedMessage": {"title": "mensaje cifrado", "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedMessage"]}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Archivo cifrado."}}, "required": ["_", "random_id", "chat_id", "date", "bytes", "file"], "additionalProperties": false}, "encryptedMessageService": {"title": "servicio de mensajes cifrados", "type": "object", "properties": {"_": {"type": "string", "enum": ["encryptedMessageService"]}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "La configuración de los parámetros no cambió.", "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": "Secuencia aleatoria de bytes de longitud asignada.", "x-telegram-field-docs": true}}, "required": ["_", "random"], "additionalProperties": false}, "messages.dhConfig": {"title": "messages.dhConfig", "description": "Nuevo conjunto de parámetros de configuración.", "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": "Nuevo valor **raíz primitiva**, consulte [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": "Nuevo valor **principal**, consulte [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": "Versión del conjunto de parámetros.", "x-telegram-field-docs": true}, "random": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Secuencia aleatoria de bytes de longitud asignada.", "x-telegram-field-docs": true}}, "required": ["_", "g", "p", "version", "random"], "additionalProperties": false}, "messages.sentEncryptedMessage": {"title": "messages.sentEncryptedMessage", "description": "Mensaje sin archivos adjuntos enviado a un archivo cifrado.", "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": "Fecha de envío", "x-telegram-field-docs": true}}, "required": ["_", "date"], "additionalProperties": false}, "messages.sentEncryptedFile": {"title": "messages.sentEncryptedFile", "description": "Mensaje con un archivo adjunto enviado a un chat protegido", "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": "Fecha de envío", "x-telegram-field-docs": true}, "file": {"type": "object", "x-tl-type": "EncryptedFile", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["encryptedFileEmpty", "encryptedFile"]}}, "description": "Archivo adjunto", "x-telegram-field-docs": true}}, "required": ["_", "date", "file"], "additionalProperties": false}, "inputDocumentEmpty": {"title": "entradaDocumentoVacío", "description": "Constructor vacío.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDocumentEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputDocument": {"title": "entradaDocumento", "description": "Define un documento para su posterior interacción.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputDocument"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación del documento", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "**access_hash** parámetro del constructor [document](https://core.telegram.org/constructor/document.md)", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Referencia del archivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash", "file_reference"], "additionalProperties": false}, "documentEmpty": {"title": "documentovacío", "description": "Constructor vacío, el documento no existe.", "externalDocs": {"url": "https://core.telegram.org/constructor/documentEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["documentEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Documento de identidad o `0`", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "document": {"title": "documento", "description": "Documento", "externalDocs": {"url": "https://core.telegram.org/constructor/document"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["document"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación del documento", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Suma de cheque, dependiendo del ID del documento", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_reference": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "[Referencia del archivo](https://core.telegram.org/api/file-references.md)", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha de creación", "x-telegram-field-docs": true}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "MIME tipo", "x-telegram-field-docs": true}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamaño", "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": "Tipo TL: Tamaño de foto."}, "x-tl-type": "Vector<PhotoSize>", "description": "Miniaturas", "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": "Tipo TL: Tamaño del vídeo."}, "x-tl-type": "Vector<VideoSize>", "description": "Miniaturas de vídeos", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<VideoSize>"}, "dc_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de CC", "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": "Tipo de TL: Atributo de documento."}, "x-tl-type": "Vector<DocumentAttribute>", "description": "Atributos", "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": "Información sobre el usuario de soporte.", "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": "Número de teléfono", "x-telegram-field-docs": true}, "user": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Usuario", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "user"], "additionalProperties": false}, "notifyPeer": {"title": "notificarPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyPeer"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}}, "required": ["_", "peer"], "additionalProperties": false}, "notifyUsers": {"title": "notificar a los usuarios", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyUsers"]}}, "required": ["_"], "additionalProperties": false}, "notifyChats": {"title": "notificarChats", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyChats"]}}, "required": ["_"], "additionalProperties": false}, "notifyBroadcasts": {"title": "notificarTransmisiones", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyBroadcasts"]}}, "required": ["_"], "additionalProperties": false}, "notifyForumTopic": {"title": "notificarForoTema", "type": "object", "properties": {"_": {"type": "string", "enum": ["notifyForumTopic"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "community_id"], "additionalProperties": false}, "sendMessageTypingAction": {"title": "enviar mensaje escribiendo acción", "description": "El usuario está escribiendo.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "enviar mensaje cancelar acción", "description": "Invalida todas las actualizaciones de acciones anteriores. E.g. cuando el usuario elimina el texto ingresado o cancela la carga de un video.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "enviar mensaje grabar vídeo acción", "description": "El usuario está grabando un vídeo.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "enviarMensajeSubirVideoAcción", "description": "El usuario está subiendo un vídeo.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Porcentaje de progreso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageRecordAudioAction": {"title": "enviar mensaje grabar acción de audio", "description": "El usuario está grabando un mensaje de voz.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "enviar mensaje subir acción de audio", "description": "El usuario está cargando un mensaje de voz.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Porcentaje de progreso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageUploadPhotoAction": {"title": "enviarMensajeSubirFotoAcción", "description": "El usuario está subiendo una foto.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Porcentaje de progreso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageUploadDocumentAction": {"title": "enviarMensajeSubirDocumentoAcción", "description": "El usuario está cargando un archivo.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Porcentaje de progreso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageGeoLocationAction": {"title": "enviarMessageGeoLocationAction", "description": "El usuario está seleccionando una ubicación para compartir.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "enviarMensajeElegirContactoAcción", "description": "El usuario está seleccionando un contacto para compartir.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "enviarMensajeJuegoReproducirAcción", "description": "El usuario está jugando un juego.", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageGamePlayAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageGamePlayAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageRecordRoundAction": {"title": "enviarMessageRecordRoundAction", "description": "El usuario está grabando un vídeo redondo para compartir.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "enviar mensaje subir acción redonda", "description": "El usuario está subiendo un vídeo redondo.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Porcentaje de progreso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "speakingInGroupCallAction": {"title": "hablando en grupo llamada acción", "description": "El usuario está hablando actualmente en la llamada grupal.", "externalDocs": {"url": "https://core.telegram.org/constructor/speakingInGroupCallAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["speakingInGroupCallAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageHistoryImportAction": {"title": "enviar mensajeHistoriaImportarAcción", "description": "Se está importando el historial de chat", "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": "Porcentaje de progreso", "x-telegram-field-docs": true}}, "required": ["_", "progress"], "additionalProperties": false}, "sendMessageChooseStickerAction": {"title": "enviarMensajeElegirStickerAction", "description": "El usuario está eligiendo una pegatina.", "externalDocs": {"url": "https://core.telegram.org/constructor/sendMessageChooseStickerAction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["sendMessageChooseStickerAction"]}}, "required": ["_"], "additionalProperties": false}, "sendMessageEmojiInteraction": {"title": "enviarMensajeEmojiInteracción", "description": "El usuario hizo clic en un emoji animado que provocó una [reacción, haga clic aquí para obtener más información »](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": "emojis", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje del emoji animado en el que se hizo clic", "x-telegram-field-docs": true}, "interaction": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Un objeto JSON con información de interacción, [haga clic aquí para obtener más información »](https://core.telegram.org/api/animated-emojis.md#emoji-reactions)", "x-telegram-field-docs": true}}, "required": ["_", "emoticon", "msg_id", "interaction"], "additionalProperties": false}, "sendMessageEmojiInteractionSeen": {"title": "enviarMensajeEmojiInteracciónVisto", "description": "El usuario está viendo una reacción emoji animada provocada por otro usuario, [haga clic aquí para obtener más información »](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": "emojis", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "sendMessageTextDraftAction": {"title": "enviarMessageTextDraftAction", "description": "Utilizado por bots para implementar [transmisión de mensajes en vivo »](https://core.telegram.org/api/bots/ai.md#live-response-streaming).", "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": "ID de borrador en vivo: utilizado por clientes gráficos para cambiar ligeramente el comportamiento de renderizado; consulte [aquí »](https://core.telegram.org/api/bots/ai.md#live-response-streaming) para obtener más información. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "text": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "El contenido del borrador en vivo.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "random_id"], "additionalProperties": false}, "contacts.found": {"title": "contacts.found", "description": "Usuarios encontrados por subcadena de nombre y datos auxiliares.", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "description": "Resultados personalizados", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "description": "Lista de identificadores de usuarios encontrados", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats encontrados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Lista de usuarios", "x-telegram-field-docs": true}}, "required": ["_", "my_results", "results", "chats", "users"], "additionalProperties": false}, "inputPrivacyKeyStatusTimestamp": {"title": "entradaPrivacidadClaveEstadoMarca de tiempo", "description": "Si las personas podrán ver nuestra última marca de tiempo exacta en línea.\n\nTenga en cuenta que si *nosotros* decidimos ocultar nuestra última marca de tiempo en línea exacta a alguien (i.e., usuarios A, B, C o todos los usuarios) **y** no tenemos una suscripción [Premium](https://core.telegram.org/api/premium.md), no podremos ver la última marca de tiempo en línea exacta de esos usuarios (A, B, C o todos los usuarios), incluso si esos usuarios *lo* comparten con nosotros.\n\nSi esos usuarios *comparten* su estado exacto en línea con nosotros, pero no podemos verlo debido al motivo mencionado anteriormente, se establecerá el indicador `by_me` de [userStatusRecently](https://core.telegram.org/constructor/userStatusRecently.md), [userStatusLastWeek](https://core.telegram.org/constructor/userStatusLastWeek.md), [userStatusLastMonth](https://core.telegram.org/constructor/userStatusLastMonth.md)].", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyStatusTimestamp"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyStatusTimestamp"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyChatInvite": {"title": "entradaPrivacidadClaveChatInvitar", "description": "Si las personas podrán invitarte a chats", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyChatInvite"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyChatInvite"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyPhoneCall": {"title": "entradaPrivacidadClaveTeléfonoLlamar", "description": "Si aceptará llamadas telefónicas", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyPhoneCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyPhoneCall"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyPhoneP2P": {"title": "entradaPrivacidadClaveTeléfonoP2P", "description": "Si se debe permitir la comunicación P2P durante las llamadas VoIP", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyPhoneP2P"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyPhoneP2P"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyForwards": {"title": "entradaPrivacyKeyForwards", "description": "Si los mensajes reenviados por usted serán [anónimos](https://telegram.org/blog/unsend-privacy-emoji#anonymous-forwarding)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyForwards"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyForwards"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyProfilePhoto": {"title": "entradaPrivacidadClavePerfilFoto", "description": "Si las personas podrán ver tu foto de perfil", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyProfilePhoto"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyProfilePhoto"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyPhoneNumber": {"title": "entradaPrivacidadClaveTeléfonoNúmero", "description": "Si las personas podrán ver su número de teléfono", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyPhoneNumber"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyPhoneNumber"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyAddedByPhone": {"title": "inputPrivacyKeyAddedByPhone", "description": "Si las personas pueden agregarte a su lista de contactos mediante tu número de teléfono", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyAddedByPhone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyAddedByPhone"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyVoiceMessages": {"title": "entradaPrivacidadClaveVozMensajes", "description": "Si las personas pueden enviarte mensajes de voz o videos redondos (solo usuarios [Premium](https://core.telegram.org/api/premium.md)).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyVoiceMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyVoiceMessages"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyAbout": {"title": "inputPrivacidadClaveAcerca de", "description": "Si las personas pueden ver tu biografía", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyAbout"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyAbout"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyBirthday": {"title": "entradaPrivacidadClaveCumpleaños", "description": "Si el usuario puede ver nuestro cumpleaños.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyBirthday"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyBirthday"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyStarGiftsAutoSave": {"title": "entradaPrivacidadClaveEstrellaGiftsAutoGuardar", "description": "Si los [regalos](https://core.telegram.org/api/gifts.md) recibidos se mostrarán automáticamente en nuestro perfil", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyStarGiftsAutoSave"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyStarGiftsAutoSave"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeyNoPaidMessages": {"title": "inputPrivacyKeyNoPaidMessages", "description": "Quién puede enviarte mensajes sin pagar, si [mensajes pagos»](https://core.telegram.org/api/paid-messages.md) están habilitados.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeyNoPaidMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeyNoPaidMessages"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyKeySavedMusic": {"title": "entradaPrivacidadClaveGuardadaMúsica", "description": "Si el usuario puede ver las [canciones que fijamos en nuestro perfil »](https://core.telegram.org/api/profile.md#music).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyKeySavedMusic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyKeySavedMusic"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyStatusTimestamp": {"title": "privacidadClaveEstadoMarca de tiempo", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyStatusTimestamp"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyChatInvite": {"title": "privacidadClaveChatInvitar", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyChatInvite"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyPhoneCall": {"title": "privacidadClaveTeléfonoLlamada", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyPhoneCall"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyPhoneP2P": {"title": "privacidadClaveTeléfonoP2P", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyPhoneP2P"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyForwards": {"title": "privacidadKeyForwards", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyForwards"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyProfilePhoto": {"title": "privacidadClavePerfilFoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyProfilePhoto"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyPhoneNumber": {"title": "privacidadClaveNúmero de teléfono", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyPhoneNumber"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyAddedByPhone": {"title": "clave de privacidad agregada por teléfono", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyAddedByPhone"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyVoiceMessages": {"title": "privacidadClaveVozMensajes", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyVoiceMessages"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyAbout": {"title": "privacidadClaveAcerca de", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyAbout"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyBirthday": {"title": "privacidadClaveCumpleaños", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyBirthday"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyStarGiftsAutoSave": {"title": "privacidadKeyStarGiftsAutoSave", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyStarGiftsAutoSave"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeyNoPaidMessages": {"title": "privacidadClaveSinMensajesPagados", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeyNoPaidMessages"]}}, "required": ["_"], "additionalProperties": false}, "privacyKeySavedMusic": {"title": "privacidadClaveGuardadaMúsica", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyKeySavedMusic"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowContacts": {"title": "entradaPrivacidadValorPermitirContactos", "description": "Permitir solo contactos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowContacts"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowAll": {"title": "entradaPrivacidadValorPermitirTodo", "description": "Permitir a todos los usuarios", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowAll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowAll"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowUsers": {"title": "inputPrivacyValueAllowUsers", "description": "Permitir solo ciertos usuarios", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Usuarios permitidos", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "inputPrivacyValueDisallowContacts": {"title": "entradaPrivacidadValorNo permitirContactos", "description": "No permitir solo contactos", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowContacts"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueDisallowAll": {"title": "entradaPrivacidadValorDisallowAll", "description": "No permitir todo", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowAll"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowAll"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueDisallowUsers": {"title": "inputPrivacyValueDisallowUsers", "description": "No permitir solo ciertos usuarios", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Usuarios para no permitir", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "inputPrivacyValueAllowChatParticipants": {"title": "entradaPrivacidadValorPermitirChatParticipantes", "description": "Permitir solo participantes de ciertos chats", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "ID de chat permitidos (ya sea un [chat](https://core.telegram.org/constructor/chat.md) o un [supergrupo](https://core.telegram.org/constructor/channel.md) ID, textualmente la forma en que se recibe en el constructor (i.e. a diferencia de los ID de bot API, aquí los ID de grupo y supergrupo deben tratarse de la misma manera)).", "x-telegram-field-docs": true}}, "required": ["_", "chats"], "additionalProperties": false}, "inputPrivacyValueDisallowChatParticipants": {"title": "entradaPrivacidadValorNo permitirChatParticipantes", "description": "No permitir solo participantes de ciertos chats", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "ID de chat no permitidos (ya sea un [chat](https://core.telegram.org/constructor/chat.md) o un [supergrupo](https://core.telegram.org/constructor/channel.md) ID, textualmente la forma en que se recibe en el constructor (i.e. a diferencia de los ID de bot API, aquí los ID de grupo y supergrupo deben tratarse de la misma manera)).", "x-telegram-field-docs": true}}, "required": ["_", "chats"], "additionalProperties": false}, "inputPrivacyValueAllowCloseFriends": {"title": "inputPrivacidadValorPermitirCerrarAmigos", "description": "Permitir solo [amigos cercanos »](https://core.telegram.org/api/privacy.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowCloseFriends"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowCloseFriends"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueAllowPremium": {"title": "entradaPrivacidadValorPermitirPremium", "description": "Permitir solo usuarios con una [suscripción Premium »](https://core.telegram.org/api/premium.md), actualmente solo se puede utilizar para [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": "entradaPrivacidadValorAllowBots", "description": "Permitir bots y miniaplicaciones", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueAllowBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueAllowBots"]}}, "required": ["_"], "additionalProperties": false}, "inputPrivacyValueDisallowBots": {"title": "entradaPrivacidadValorDisallowBots", "description": "No permitir bots y miniaplicaciones", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPrivacyValueDisallowBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPrivacyValueDisallowBots"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowContacts": {"title": "privacidadValorPermitirContactos", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowContacts"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowAll": {"title": "privacidadValorPermitirTodo", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowAll"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowUsers": {"title": "privacidadValorAllowUsers", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowUsers"]}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "users"], "additionalProperties": false}, "privacyValueDisallowContacts": {"title": "privacidadValorNo permitirContactos", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowContacts"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueDisallowAll": {"title": "privacidadValorDisallowAll", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowAll"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueDisallowUsers": {"title": "privacidadValorDisallowUsers", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowUsers"]}, "users": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "users"], "additionalProperties": false}, "privacyValueAllowChatParticipants": {"title": "privacidadValorPermitirChatParticipantes", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowChatParticipants"]}, "chats": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "chats"], "additionalProperties": false}, "privacyValueDisallowChatParticipants": {"title": "privacidadValorDisallowChatParticipantes", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowChatParticipants"]}, "chats": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "chats"], "additionalProperties": false}, "privacyValueAllowCloseFriends": {"title": "privacidadValorPermitirCerrarAmigos", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowCloseFriends"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowPremium": {"title": "privacidadValorPermitirPremium", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowPremium"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueAllowBots": {"title": "privacidadValorAllowBots", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueAllowBots"]}}, "required": ["_"], "additionalProperties": false}, "privacyValueDisallowBots": {"title": "privacidadValorDisallowBots", "type": "object", "properties": {"_": {"type": "string", "enum": ["privacyValueDisallowBots"]}}, "required": ["_"], "additionalProperties": false}, "account.privacyRules": {"title": "account.privacyRules", "description": "Reglas de privacidad", "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": "Tipo de TL: Regla de privacidad."}, "x-tl-type": "Vector<PrivacyRule>", "description": "Reglas de privacidad", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats a los que se aplican las reglas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios a los que se aplican las reglas", "x-telegram-field-docs": true}}, "required": ["_", "rules", "chats", "users"], "additionalProperties": false}, "accountDaysTTL": {"title": "cuentaDaysTTL", "description": "Tiempo de vivir en días de la cuenta corriente.", "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": "Esta cuenta se autodestruirá en el número de días especificado", "x-telegram-field-docs": true}}, "required": ["_", "days"], "additionalProperties": false}, "documentAttributeImageSize": {"title": "documentoAtributoImagenTamaño", "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": "documentoAtributoAnimado", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeAnimated"]}}, "required": ["_"], "additionalProperties": false}, "documentAttributeSticker": {"title": "documentoAtributoEtiqueta", "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": "Tipo TL: InputStickerSet."}, "mask_coords": {"type": "object", "x-tl-type": "MaskCoords", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["maskCoords"]}}, "description": "Tipo TL: MaskCoords.", "x-tl-flag": "flags.0?MaskCoords"}}, "required": ["_", "alt", "stickerset"], "additionalProperties": false}, "documentAttributeVideo": {"title": "documentoAtributoVideo", "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": "documentoAtributoAudio", "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": "documentoAtributoNombre de archivo", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeFilename"]}, "file_name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "file_name"], "additionalProperties": false}, "documentAttributeHasStickers": {"title": "documentoAtributoTieneStickers", "type": "object", "properties": {"_": {"type": "string", "enum": ["documentAttributeHasStickers"]}}, "required": ["_"], "additionalProperties": false}, "documentAttributeCustomEmoji": {"title": "documentoAtributoPersonalizadoEmoji", "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": "Tipo TL: InputStickerSet."}}, "required": ["_", "alt", "stickerset"], "additionalProperties": false}, "messages.stickersNotModified": {"title": "messages.stickersNotModified", "description": "No se encontraron nuevos stickers para la consulta dada", "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": "pegatinas encontradas", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Pegatinas", "x-telegram-field-docs": true}}, "required": ["_", "hash", "stickers"], "additionalProperties": false}, "stickerPack": {"title": "paquete de pegatinas", "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerPack"]}, "emoticon": {"type": "string", "x-tl-type": "string"}, "documents": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}}, "required": ["_", "emoticon", "documents"], "additionalProperties": false}, "messages.allStickersNotModified": {"title": "messages.allStickersNotModified", "description": "La información sobre todas las pegatinas instaladas no ha cambiado.", "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": "Información sobre todas las pegatinas instaladas.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.allStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.allStickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Juego de pegatinas."}, "x-tl-type": "Vector<StickerSet>", "description": "Todos los juegos de pegatinas", "x-telegram-field-docs": true}}, "required": ["_", "hash", "sets"], "additionalProperties": false}, "messages.affectedMessages": {"title": "messages.affectedMessages", "description": "Eventos afectados por la operación", "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": "[Recuento de eventos tras generación](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Número de eventos que se generaron](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}}, "required": ["_", "pts", "pts_count"], "additionalProperties": false}, "webPageEmpty": {"title": "página web vacía", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "id"], "additionalProperties": false}, "webPagePending": {"title": "Página webPendiente", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPagePending"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "página web", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Foto.", "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": "Tipo TL: Documento.", "x-tl-flag": "flags.9?Document"}, "cached_page": {"type": "object", "x-tl-type": "Page", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["page"]}}, "description": "Tipo TL: Página.", "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": "Tipo de TL: WebPageAttribute."}, "x-tl-type": "Vector<WebPageAttribute>", "x-tl-flag": "flags.12?Vector<WebPageAttribute>"}}, "required": ["_", "id", "url", "display_url", "hash"], "additionalProperties": false}, "webPageNotModified": {"title": "página web no modificada", "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": "autorización", "description": "Sesión iniciada", "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": "Si esta es la sesión actual", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "official_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si la sesión es desde una aplicación oficial", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "password_pending": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si la sesión todavía está esperando una contraseña 2FA", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "encrypted_requests_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si esta sesión aceptará chats cifrados", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "call_requests_disabled": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si esta sesión aceptará llamadas telefónicas", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "unconfirmed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si la sesión está [sin confirmar, consulte aquí »](https://core.telegram.org/api/auth.md#confirming-login) para obtener más información.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador", "x-tl-type": "long", "x-telegram-field-docs": true}, "device_model": {"type": "string", "x-tl-type": "string", "description": "Modelo de dispositivo", "x-telegram-field-docs": true}, "platform": {"type": "string", "x-tl-type": "string", "description": "Plataforma", "x-telegram-field-docs": true}, "system_version": {"type": "string", "x-tl-type": "string", "description": "Versión del sistema", "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": "Nombre de la aplicación", "x-telegram-field-docs": true}, "app_version": {"type": "string", "x-tl-type": "string", "description": "Versión de la aplicación", "x-telegram-field-docs": true}, "date_created": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "¿Cuándo se creó la sesión?", "x-telegram-field-docs": true}, "date_active": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "¿Cuándo estuvo activa la sesión por última vez?", "x-telegram-field-docs": true}, "ip": {"type": "string", "x-tl-type": "string", "description": "Última IP conocida", "x-telegram-field-docs": true}, "country": {"type": "string", "x-tl-type": "string", "description": "País determinado a partir de IP", "x-telegram-field-docs": true}, "region": {"type": "string", "x-tl-type": "string", "description": "Región determinada a partir de IP", "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": "Sesiones iniciadas", "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": "Tiempo de vida de la sesión", "x-telegram-field-docs": true}, "authorizations": {"type": "array", "items": {"type": "object", "x-tl-type": "Authorization", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["authorization"]}}, "description": "Tipo TL: Autorización."}, "x-tl-type": "Vector<Authorization>", "description": "Sesiones iniciadas", "x-telegram-field-docs": true}}, "required": ["_", "authorization_ttl_days", "authorizations"], "additionalProperties": false}, "account.password": {"title": "account.password", "description": "Configuración para autorización de dos factores", "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": "Si el usuario tiene un método de recuperación configurado", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "has_secure_values": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si Telegram [pasaporte](https://core.telegram.org/passport.md) está habilitado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "has_password": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el usuario tiene una contraseña", "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": "El [KDF algoritmo para SRP autenticación de dos factores](https://core.telegram.org/api/srp.md) de la contraseña actual", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?PasswordKdfAlgo"}, "srp_B": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Parámetro Srp B para [SRP autorización](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": "Parámetro de ID Srp para [SRP autorización](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": "Sugerencia de texto para la contraseña", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "email_unconfirmed_pattern": {"type": "string", "x-tl-type": "string", "description": "Un [correo electrónico de recuperación de contraseña](https://core.telegram.org/api/srp.md#email-verification) con el [patrón](https://core.telegram.org/api/pattern.md) especificado todavía está pendiente de verificación", "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": "El [KDF algoritmo para SRP autenticación de dos factores](https://core.telegram.org/api/srp.md) para usar al crear nuevas contraseñas", "x-telegram-field-docs": true}, "new_secure_algo": {"type": "object", "x-tl-type": "SecurePasswordKdfAlgo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoUnknown", "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000", "securePasswordKdfAlgoSHA512"]}}, "description": "El algoritmo KDF para Telegram [pasaporte](https://core.telegram.org/passport.md)", "x-telegram-field-docs": true}, "secure_random": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Cadena aleatoria segura", "x-telegram-field-docs": true}, "pending_reset_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La contraseña 2FA se eliminará automáticamente en esta fecha, a menos que el usuario cancele la operación.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?int"}, "login_email_pattern": {"type": "string", "x-tl-type": "string", "description": "Se configura un correo electrónico de inicio de sesión verificado con el [patrón](https://core.telegram.org/api/pattern.md) especificado", "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": "Información privada asociada a la información de la contraseña (correo electrónico de recuperación, telegrama [pasaporte](https://core.telegram.org/passport.md) información, etc.)", "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": "[Correo electrónico de recuperación 2FA](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": "Telegram [pasaporte](https://core.telegram.org/passport.md) configuración", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?SecureSecretSettings"}}, "required": ["_"], "additionalProperties": false}, "account.passwordInputSettings": {"title": "account.passwordInputSettings", "description": "Configuraciones para configurar una nueva contraseña", "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": "El [SRP algoritmo](https://core.telegram.org/api/srp.md) a utilizar", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?PasswordKdfAlgo"}, "new_password_hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "El [hash de contraseña calculado](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": "Sugerencia de texto para la contraseña", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "email": {"type": "string", "x-tl-type": "string", "description": "Correo electrónico de recuperación de contraseña", "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": "Telegram [pasaporte](https://core.telegram.org/passport.md) configuración", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?SecureSecretSettings"}}, "required": ["_"], "additionalProperties": false}, "auth.passwordRecovery": {"title": "auth.passwordRecovery", "description": "Información de recuperación de una [contraseña 2FA](https://core.telegram.org/api/srp.md), solo para cuentas con un [correo electrónico de recuperación configurado](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": "El correo electrónico al que se envió el código de recuperación debe coincidir con este [patrón](https://core.telegram.org/api/pattern.md).", "x-telegram-field-docs": true}}, "required": ["_", "email_pattern"], "additionalProperties": false}, "receivedNotifyMessage": {"title": "recibidoNotificarMensaje", "description": "ID de mensaje, para el cual se cancelaron PUSH-notificaciones.", "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": "ID de mensaje, para el cual se cancelaron PUSH-notificaciones", "x-telegram-field-docs": true}, "flags": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Reservado para uso futuro", "x-telegram-field-docs": true}}, "required": ["_", "id", "flags"], "additionalProperties": false}, "chatInviteExported": {"title": "chatInvitarExportado", "description": "Invitación de chat exportada", "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": "Si esta invitación al chat fue revocada", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "permanent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si esta invitación de chat no tiene vencimiento", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "request_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si los usuarios que importen este enlace de invitación deberán ser aprobados para unirse al canal o grupo", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "link": {"type": "string", "x-tl-type": "string", "description": "Enlace de invitación al chat", "x-telegram-field-docs": true}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del administrador que creó esta invitación de chat", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "¿Cuándo se creó esta invitación de chat?", "x-telegram-field-docs": true}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "¿Cuándo se modificó por última vez esta invitación de chat?", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "expire_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "¿Cuándo caduca esta invitación de chat?", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "usage_limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número máximo de usuarios que pueden unirse usando este enlace", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "usage": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "¿Cuántos usuarios se unieron usando este enlace?", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "requested": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de usuarios que ya han utilizado este enlace para unirse", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?int"}, "subscription_expired": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [suscripciones a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contiene la cantidad de miembros del chat que ya se unieron al chat usando el enlace, pero que ya lo abandonaron debido a la expiración de su suscripción.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?int"}, "title": {"type": "string", "x-tl-type": "string", "description": "Descripción personalizada para el enlace de invitación, visible solo para administradores", "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": "Para [suscripciones a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contiene el precio de la suscripción que el usuario debe activar para unirse al canal privado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?StarsSubscriptionPricing"}}, "required": ["_", "link", "admin_id", "date"], "additionalProperties": false}, "chatInvitePublicJoinRequests": {"title": "chatInvitarPúblicoUnirSolicitudes", "description": "Se utiliza en actualizaciones y en el registro del canal para indicar cuándo un usuario solicita unirse o se ha unido a un [grupo de discusión](https://core.telegram.org/api/discussion.md#requiring-users-to-join-the-group)", "externalDocs": {"url": "https://core.telegram.org/constructor/chatInvitePublicJoinRequests"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatInvitePublicJoinRequests"]}}, "required": ["_"], "additionalProperties": false}, "chatInviteAlready": {"title": "chatInvitarYa", "description": "El usuario ya se ha unido a este chat.", "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": "El chat conectado a la invitación.", "x-telegram-field-docs": true}}, "required": ["_", "chat"], "additionalProperties": false}, "chatInvite": {"title": "chatInvitar", "description": "Información de invitación al chat", "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": "Si se trata de un [canal/supergrupo](https://core.telegram.org/api/channel.md) o un [grupo normal](https://core.telegram.org/api/channel.md)]", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "broadcast": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este es un [canal](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "public": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de un [canal/supergrupo](https://core.telegram.org/api/channel.md) público", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "megagroup": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se trata de un [supergrupo](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "request_needed": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si la [solicitud de unión »](https://core.telegram.org/api/invites.md#join-requests) debe ser aprobada primero por un administrador", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "verified": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "¿Este chat o canal está verificado por Telegram?", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "scam": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Este chat probablemente sea una estafa.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "fake": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se configura, muchos usuarios reportaron que este chat era falso o una estafa: tenga cuidado al interactuar con él.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "can_refulfill_subscription": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, indica que el usuario ya pagó las [suscripciones a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions) asociadas y aún no ha caducado, por lo que puede volver a unirse al canal usando [messages.importChatInvite](https://core.telegram.org/method/messages.importChatInvite.md) sin repetir el pago.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "title": {"type": "string", "x-tl-type": "string", "description": "Título del chat/supergrupo/canal", "x-telegram-field-docs": true}, "about": {"type": "string", "x-tl-type": "string", "description": "Descripción del grupo de canales.", "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/supergrupo/foto del canal", "x-telegram-field-docs": true}, "participants_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Recuento de participantes", "x-telegram-field-docs": true}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Algunos de los participantes que están en el grupo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Vector<User>"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID de paleta de colores del perfil](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": "Para [suscripciones a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), contiene el precio de la suscripción que el usuario debe activar para unirse al canal privado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?StarsSubscriptionPricing"}, "subscription_form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Para [suscripciones a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions), el ID del formulario de pago de la suscripción.", "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": "Describe un [icono de verificación de bot »](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": "chatInvitarPeek", "description": "Una invitación de chat que también permite echar un vistazo al grupo para leer mensajes sin unirse a él.", "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": "Información de chat", "x-telegram-field-docs": true}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El acceso anónimo de solo lectura a este grupo será revocado en esta fecha", "x-telegram-field-docs": true}}, "required": ["_", "chat", "expires"], "additionalProperties": false}, "inputStickerSetEmpty": {"title": "entradaStickerSetVacío", "description": "constructor vacio\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "entradaStickerSetID", "description": "Conjunto de pegatinas por ID", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "identificación", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "hash de acceso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputStickerSetShortName": {"title": "entradaStickerSetShortName", "description": "Conjunto de pegatinas por nombre corto, desde un [enlace profundo del conjunto de pegatinas »](https://core.telegram.org/api/links.md#stickerset-links)\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Nombre corto de un [enlace profundo del conjunto de pegatinas »](https://core.telegram.org/api/links.md#stickerset-links)", "x-telegram-field-docs": true}}, "required": ["_", "short_name"], "additionalProperties": false}, "inputStickerSetAnimatedEmoji": {"title": "entradaStickerSetAnimatedEmoji", "description": "Conjunto de pegatinas de emojis animados", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetAnimatedEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetAnimatedEmoji"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetDice": {"title": "entradaStickerSetDados", "description": "Se utiliza para buscar [pegatinas de dados animadas](https://core.telegram.org/api/dice.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetDice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetDice"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Los emoji, por ahora 🏀, 🎲 y 🎯 son compatibles", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "inputStickerSetAnimatedEmojiAnimations": {"title": "inputStickerSetAnimatedEmojiAnimaciones", "description": "Conjunto de pegatinas de reacción de emoji animadas (contiene animaciones que se reproducen cuando un usuario hace clic en un emoji animado determinado)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetAnimatedEmojiAnimations"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetAnimatedEmojiAnimations"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetPremiumGifts": {"title": "entradaStickerSetPremiumRegalos", "description": "Pegatinas para mostrar al recibir una suscripción Premium de Telegram regalada", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetPremiumGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetPremiumGifts"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetEmojiGenericAnimations": {"title": "inputStickerSetEmojiGenericAnimations", "description": "Conjunto de stickers de animación genéricos que contienen animaciones para reproducir al [reaccionar a mensajes usando un emoji normal sin una animación personalizada](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": "Predeterminado [estado de emoji personalizado](https://core.telegram.org/api/emoji-status.md) conjunto de pegatinas", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetEmojiDefaultStatuses"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmojiDefaultStatuses"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetEmojiDefaultTopicIcons": {"title": "inputStickerSetEmojiDefaultTopicIcons", "description": "Predeterminado [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) conjunto de pegatinas para [iconos de temas del foro](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": "Predeterminado [estado de emoji personalizado](https://core.telegram.org/api/emoji-status.md) conjunto de pegatinas para estados de canal", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetEmojiChannelDefaultStatuses"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetEmojiChannelDefaultStatuses"]}}, "required": ["_"], "additionalProperties": false}, "inputStickerSetTonGifts": {"title": "entradaStickerSetTonRegalos", "description": "TON juego de pegatinas de regalos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStickerSetTonGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStickerSetTonGifts"]}}, "required": ["_"], "additionalProperties": false}, "stickerSet": {"title": "conjunto de pegatinas", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Tamaño de foto."}, "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 bits de velocidad en десятичной записи.", "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": "Conjunto de pegatinas y pegatinas en su interior.", "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": "El juego de pegatinas", "x-telegram-field-docs": true}, "packs": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerPack", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerPack"]}}, "description": "Tipo TL: Paquete de pegatinas."}, "x-tl-type": "Vector<StickerPack>", "description": "Información emoji para pegatinas", "x-telegram-field-docs": true}, "keywords": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerKeyword", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerKeyword"]}}, "description": "Tipo TL: Palabra clave adhesiva."}, "x-tl-type": "Vector<StickerKeyword>", "description": "Palabras clave para algunas o todas las pegatinas del conjunto de pegatinas.", "x-telegram-field-docs": true}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Pegatinas en juego de pegatinas", "x-telegram-field-docs": true}}, "required": ["_", "set", "packs", "keywords", "documents"], "additionalProperties": false}, "messages.stickerSetNotModified": {"title": "messages.stickerSetNotModified", "description": "El conjunto de pegatinas no ha cambiado.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.stickerSetNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.stickerSetNotModified"]}}, "required": ["_"], "additionalProperties": false}, "botCommand": {"title": "comandobot", "description": "Describe un comando de bot que se puede usar en un chat.", "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` nombre", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción del comando", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Foto.", "x-tl-flag": "flags.4?Photo"}, "description_document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento.", "x-tl-flag": "flags.5?Document"}, "commands": {"type": "array", "items": {"type": "object", "x-tl-type": "BotCommand", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botCommand"]}}, "description": "Tipo de TL: 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": "Tipo TL: 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": "Tipo de TL: BotAppSettings.", "x-tl-flag": "flags.8?BotAppSettings"}, "verifier_settings": {"type": "object", "x-tl-type": "BotVerifierSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["botVerifierSettings"]}}, "description": "Tipo de TL: BotVerifierSettings.", "x-tl-flag": "flags.9?BotVerifierSettings"}}, "required": ["_"], "additionalProperties": false}, "keyboardButton": {"title": "tecladoBotón", "description": "Botón del teclado robot\n\nDisponible solo en [teclados de respuesta](https://core.telegram.org/constructor/replyKeyboardMarkup.md).\n\nCuando se presiona, los clientes deben enviar `text` como mensaje al chat actual, respondiendo al mensaje que adjuntó el [replyKeyboardMarkup](https://core.telegram.org/constructor/replyKeyboardMarkup.md).", "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": "Estilo de botón, consulte [aquí »](https://core.telegram.org/api/bots/buttons.md#button-styles) para obtener más información sobre los estilos de botón.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?KeyboardButtonStyle"}, "text": {"type": "string", "x-tl-type": "string", "description": "Texto del botón", "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": "tecladoBotónFila", "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": "Tipo TL: Botón de teclado."}, "x-tl-type": "Vector<KeyboardButton>"}}, "required": ["_", "buttons"], "additionalProperties": false}, "replyKeyboardHide": {"title": "responderTecladoOcultar", "description": "Ocultar teclado de respuesta enviada", "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": "Utilice esta bandera si desea eliminar el teclado solo para usuarios específicos. Objetivos: 1) usuarios @mencionados en el texto del objeto Mensaje; 2) si el mensaje del bot es una respuesta (tiene reply_to_message_id), remitente del mensaje original.  Ejemplo: un usuario vota en una encuesta, el bot devuelve un mensaje de confirmación en respuesta a la votación y elimina el teclado de ese usuario, mientras sigue mostrando el teclado con opciones de encuesta a los usuarios que aún no han votado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}}, "required": ["_"], "additionalProperties": false}, "replyKeyboardForceReply": {"title": "responderKeyboardForceResponder", "description": "Obligar al usuario a enviar una respuesta", "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": "Solicita a los clientes que oculten el teclado tan pronto como se utilice. El teclado seguirá estando disponible, pero los clientes mostrarán automáticamente el teclado de letras habitual en el chat; el usuario puede presionar un botón especial en el campo de entrada para ver el teclado personalizado nuevamente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "selective": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Utilice este parámetro si desea mostrar el teclado solo a usuarios específicos. Objetivos: 1) usuarios @mencionados en el texto del objeto Mensaje; 2) si el mensaje del bot es una respuesta (tiene reply_to_message_id), remitente del mensaje original.  Ejemplo: un usuario solicita cambiar el idioma del bot, el bot responde a la solicitud con un teclado para seleccionar el nuevo idioma. Otros usuarios del grupo no ven el teclado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "placeholder": {"type": "string", "x-tl-type": "string", "description": "El marcador de posición que se mostrará en el campo de entrada cuando el teclado esté activo; 1-64 caracteres.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}}, "required": ["_"], "additionalProperties": false}, "replyKeyboardMarkup": {"title": "responderMarcado de teclado", "description": "Representa un teclado de respuesta.", "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": "Solicita a los clientes que cambien el tamaño del teclado verticalmente para un ajuste óptimo (e.g., haga el teclado más pequeño si solo hay dos filas de botones). Si no se configura, el teclado personalizado siempre tiene la misma altura que el teclado estándar de la aplicación.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "single_use": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Solicita a los clientes que oculten el teclado tan pronto como se utilice. El teclado seguirá estando disponible, pero los clientes mostrarán automáticamente el teclado de letras habitual en el chat; el usuario puede presionar un botón especial en el campo de entrada para ver el teclado personalizado nuevamente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "selective": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Utilice este parámetro si desea mostrar el teclado solo a usuarios específicos. Objetivos: 1) usuarios @mencionados en el texto del objeto Mensaje; 2) si el mensaje del bot es una respuesta (tiene reply_to_message_id), remitente del mensaje original.  Ejemplo: un usuario solicita cambiar el idioma del bot, el bot responde a la solicitud con un teclado para seleccionar el nuevo idioma. Otros usuarios del grupo no ven el teclado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "persistent": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Solicita a los clientes que muestren siempre el teclado cuando el teclado normal esté oculto.", "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": "Tipo TL: KeyboardButtonRow."}, "x-tl-type": "Vector<KeyboardButtonRow>", "description": "Fila de botones", "x-telegram-field-docs": true}, "placeholder": {"type": "string", "x-tl-type": "string", "description": "El marcador de posición que se mostrará en el campo de entrada cuando el teclado esté activo; 1-64 caracteres.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}}, "required": ["_", "rows"], "additionalProperties": false}, "replyInlineMarkup": {"title": "responderMarcado en línea", "description": "Representa un teclado en línea", "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 o filas de teclado en línea", "x-telegram-field-docs": true}}, "required": ["_", "rows"], "additionalProperties": false}, "messageEntityUnknown": {"title": "mensajeEntidadDesconocida", "description": "Entidad de mensaje desconocida\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityMention": {"title": "mensajeEntidadMención", "description": "Entidad de mensaje [mencionando](https://core.telegram.org/api/mentions.md) un usuario por `@username`; [messageEntityMentionName](https://core.telegram.org/constructor/messageEntityMentionName.md) también se puede utilizar para mencionar a los usuarios por su ID.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityHashtag": {"title": "mensajeEntidadHashtag", "description": "**\\#hashtag** entidad de mensaje\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityBotCommand": {"title": "mensajeEntityBotCommand", "description": "Entidad de mensaje que representa un bot/comando\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityUrl": {"title": "mensajeEntidadUrl", "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<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityEmail": {"title": "mensajeEntidadCorreo electrónico", "description": "Entidad de mensaje que representa un <email@example.com>.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityBold": {"title": "mensajeEntidadNegrita", "description": "Entidad de mensaje que representa **texto en negrita**.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityItalic": {"title": "mensajeEntidadCursiva", "description": "Entidad de mensaje que representa *texto en cursiva*.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityCode": {"title": "mensajeEntityCode", "description": "Entidad de mensaje que representa un `codeblock`.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityPre": {"title": "mensajeEntidadPre", "description": "Entidad de mensaje que representa un `codeblock` preformateado, lo que permite al usuario especificar un lenguaje de programación para el bloque de código.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "language": {"type": "string", "x-tl-type": "string", "description": "Lenguaje de programación del código.", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "language"], "additionalProperties": false}, "messageEntityTextUrl": {"title": "mensajeEntidadTextUrl", "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\nTenga en cuenta que se debe mostrar al usuario una ventana emergente de confirmación adicional con el URL completo antes de abrir este enlace, a menos que el dominio satisfaga las condiciones especificadas en la [documentación de la lista blanca de dominios »](https://core.telegram.org/api/config.md#whitelisted-domains).\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "El URL real", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "url"], "additionalProperties": false}, "messageEntityMentionName": {"title": "mensajeEntidadMenciónNombre", "description": "Entidad de mensaje que representa una [mención de usuario](https://core.telegram.org/api/mentions.md): para *crear* una mención use [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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador del usuario que fue mencionado", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "user_id"], "additionalProperties": false}, "inputMessageEntityMentionName": {"title": "inputMessageEntityMenciónNombre", "description": "Entidad de mensaje que se puede usar para crear un usuario [mención de usuario](https://core.telegram.org/api/mentions.md): las menciones recibidas usan el constructor [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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](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": "Identificador del usuario que fue mencionado", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "user_id"], "additionalProperties": false}, "messageEntityPhone": {"title": "mensajeEntidadTeléfono", "description": "Entidad de mensaje que representa un número de teléfono.", "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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityCashtag": {"title": "mensajeEntidadCashtag", "description": "Entidad de mensaje que representa una **$cashtag**.", "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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityUnderline": {"title": "mensajeEntidadSubrayado", "description": "Entidad de mensaje que representa texto subrayado.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityStrike": {"title": "mensajeEntityStrike", "description": "Entidad de mensaje que representa texto <del>tachado</del>.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityBankCard": {"title": "mensajeEntidadBancoTarjeta", "description": "Indica un número de tarjeta de crédito", "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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntitySpoiler": {"title": "mensajeEntidadSpoiler", "description": "Entidad de mensaje que representa un spoiler\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityCustomEmoji": {"title": "mensajeEntidadPersonalizadoEmoji", "description": "Representa un emoji personalizado.\nTenga en cuenta que esta entidad debe incluir exactamente un emoji normal (el contenido en [documentAttributeCustomEmoji](https://core.telegram.org/constructor/documentAttributeCustomEmoji.md).`alt`) en el texto relacionado; de lo contrario, el servidor lo ignorará.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del documento del [emoji personalizado](https://core.telegram.org/api/custom-emoji.md), use [messages.getCustomEmojiDocuments](https://core.telegram.org/method/messages.getCustomEmojiDocuments.md) para obtener la animación del emoji y el emoji real que representa.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "document_id"], "additionalProperties": false}, "messageEntityBlockquote": {"title": "mensajeEntityBlockquote", "description": "Entidad de mensaje que representa una cotización en bloque.\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Si la cotización está colapsada de forma predeterminada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityFormattedDate": {"title": "mensajeEntidadFormattedDate", "description": "Representa un momento específico, representado como se especifica [aquí »](https://core.telegram.org/api/entities.md#date-entities)\n\nTodas las banderas son opcionales, con las siguientes limitaciones:\n\n- `relative` no se puede combinar con ninguna otra bandera\n- `short_time` y `long_time` no se pueden combinar entre sí\n- `short_date` y `long_date` no se pueden combinar entre sí\n\nSi alguna de las banderas se combina, su orden de representación en el texto es el siguiente:\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": "Si está configurado, muestre una fecha relativa; consulte [aquí »](https://core.telegram.org/api/entities.md#date-entities) para obtener más información. No se puede combinar con ninguna de las otras banderas.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "short_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Representa la hora en formato corto: horas y minutos, según la configuración regional del usuario; no se puede combinar con `long_time`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "long_time": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Representa la hora en formato largo: horas, minutos, segundos y tal vez zona horaria, según la configuración regional del usuario; no se puede combinar con `short_time`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "short_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Representa la hora en formato corto: mes, fecha (y año, si es diferente del actual), todo según la configuración regional del usuario; no se puede combinar con `long_date`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "long_date": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Representa la hora en formato largo: siempre mes, fecha y año, todo según la configuración regional del usuario; no se puede combinar con `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": "Representa el día de la semana según la configuración regional del usuario.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La fecha como marca de tiempo UNIX: el valor permitido va desde `0` hasta la fecha actual más 1098 días (`time()+1098*86400`).", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "date"], "additionalProperties": false}, "messageEntityDiffInsert": {"title": "mensajeEntityDiffInsert", "description": "Representa una adición de diferencias: renderícela simplemente <u>subrayando</u> la sección especificada y coloreándola en verde; consulte [aquí »](https://core.telegram.org/api/entities.md#diff-entities) para obtener más información sobre cómo representar entidades de diferencias.", "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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length"], "additionalProperties": false}, "messageEntityDiffReplace": {"title": "mensajeEntityDiffReplace", "description": "Representa un reemplazo de diferencias, renderícelo de la siguiente manera:\n\n- Inserte `old_text` en el texto en el desplazamiento `offset`, <u>subrayelo</u> y coloréelo en rojo: tenga en cuenta que esta inserción no afecta los desplazamientos de las entidades que vienen después.\n- <u>subraya</u> la sección delimitada por `offset` y `limit` y coloréala de verde.\n\nConsulte [aquí »](https://core.telegram.org/api/entities.md#diff-entities) para obtener más información sobre cómo representar entidades diferenciales.", "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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "old_text": {"type": "string", "x-tl-type": "string", "description": "El fragmento de texto que se eliminó.", "x-telegram-field-docs": true}}, "required": ["_", "offset", "length", "old_text"], "additionalProperties": false}, "messageEntityDiffDelete": {"title": "mensajeEntityDiffDelete", "description": "Representa una eliminación de diferencias: renderícela simplemente <u>subrayando</u> la sección especificada y coloreándola en rojo; consulte [aquí »](https://core.telegram.org/api/entities.md#diff-entities) para obtener más información sobre cómo representar entidades de diferencias.", "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": "Desplazamiento de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](https://core.telegram.org/api/entities.md#entity-length))", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud de la entidad del mensaje dentro del mensaje (en [UTF-16 unidades de código](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": "canal de entrada vacío", "description": "Representa la ausencia de un canal.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChannelEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChannelEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputChannel": {"title": "canal de entrada", "description": "Representa un canal", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChannel"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de canal", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acceso tomado del constructor [canal](https://core.telegram.org/constructor/channel.md)]", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "channel_id", "access_hash"], "additionalProperties": false}, "inputChannelFromMessage": {"title": "canal de entrada desde mensaje", "description": "Define un canal [min](https://core.telegram.org/api/min.md) que se vio en un determinado mensaje de un determinado chat.", "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": "El chat donde se vio el canal.", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El ID del mensaje en el chat donde se vio el canal.", "x-telegram-field-docs": true}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "La identificación del canal", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id", "channel_id"], "additionalProperties": false}, "contacts.resolvedPeer": {"title": "contacts.resolvedPeer", "description": "compañero resuelto", "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": "el par", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Charlas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "x-telegram-field-docs": true}}, "required": ["_", "peer", "chats", "users"], "additionalProperties": false}, "messageRange": {"title": "mensajeRango", "description": "Indica una variedad de mensajes de chat.", "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": "Inicio del rango (ID de mensaje)", "x-telegram-field-docs": true}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fin del rango (ID de mensaje)", "x-telegram-field-docs": true}}, "required": ["_", "min_id", "max_id"], "additionalProperties": false}, "updates.channelDifferenceEmpty": {"title": "updates.channelDifferenceEmpty", "description": "No hay nuevas actualizaciones", "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": "Si hay más actualizaciones que deben recuperarse (siempre falso)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Lo último [PTS](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se supone que los clientes deben volver a buscar la diferencia de canal después de que hayan transcurrido los segundos de tiempo de espera, si el usuario está [actualmente viendo el chat, consulte aquí »](https://core.telegram.org/api/updates.md#subscribing-to-updates-of-channels-supergroups) para obtener más información.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "pts"], "additionalProperties": false}, "updates.channelDifferenceTooLong": {"title": "updates.channelDifferenceTooLong", "description": "El `pts` aprobado es demasiado antiguo: una o más actualizaciones a partir del PTS especificado se eliminaron del cuadro de mensajes de este canal.\n\nPara supergrupos/canales, esto generalmente sucede con actualizaciones anteriores a `latestPts - 100000` (aunque no confíe en este valor, es un detalle de implementación del lado del servidor que puede cambiar y los clientes no deben usarlo de ninguna manera).", "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": "Si hay más actualizaciones que deben recuperarse (siempre configuradas)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se supone que los clientes deben recuperar la diferencia de canal después de que hayan transcurrido los segundos del tiempo de espera.", "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": "Tipo de TL: Tema del foro."}, "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": "Cuadro de diálogo que contiene la última [PTS](https://core.telegram.org/api/updates.md) que se puede utilizar para restablecer el estado del canal", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Los mensajes más recientes (sin comenzar desde el `pts` pasado, solo los mensajes más recientes).", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats de mensajes", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios de mensajes", "x-telegram-field-docs": true}}, "required": ["_", "dialog", "messages", "chats", "users"], "additionalProperties": false}, "updates.channelDifference": {"title": "updates.channelDifference", "description": "las nuevas actualizaciones", "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": "Si hay más actualizaciones para obtener usando getDifference, a partir del `pts` proporcionado", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El [PTS](https://core.telegram.org/api/updates.md) desde el que empezar a recibir actualizaciones la próxima vez", "x-telegram-field-docs": true}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se supone que los clientes deben volver a buscar la diferencia de canal después de que hayan transcurrido los segundos de tiempo de espera, si el usuario está [actualmente viendo el chat, consulte aquí »](https://core.telegram.org/api/updates.md#subscribing-to-updates-of-channels-supergroups) para obtener más información.", "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": "Tipo de TL: Tema del foro."}, "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Nuevos mensajes", "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": "Tipo TL: Actualización."}, "x-tl-type": "Vector<Update>", "description": "Otras actualizaciones", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Charlas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "x-telegram-field-docs": true}}, "required": ["_", "pts", "new_messages", "other_updates", "chats", "users"], "additionalProperties": false}, "channelMessagesFilterEmpty": {"title": "canalMensajesFiltroVacío", "description": "Sin filtro", "externalDocs": {"url": "https://core.telegram.org/constructor/channelMessagesFilterEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelMessagesFilterEmpty"]}}, "required": ["_"], "additionalProperties": false}, "channelMessagesFilter": {"title": "canalMensajesFiltro", "description": "Filtre para recibir solo ciertos tipos de mensajes del canal.\n\nEste filtro no se puede utilizar para recuperar mensajes anteriores al tamaño del cuadro de mensajes del canal.", "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": "Si excluir mensajes nuevos de la búsqueda", "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": "Tipo de TL: Rango de mensajes."}, "x-tl-type": "Vector<MessageRange>", "description": "Una variedad de mensajes para recuperar", "x-telegram-field-docs": true}}, "required": ["_", "ranges"], "additionalProperties": false}, "channelParticipant": {"title": "canalParticipante", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipant"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "canalParticipanteAuto", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "canalParticipanteCreador", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantCreator"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "admin_rights": {"type": "object", "x-tl-type": "ChatAdminRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatAdminRights"]}}, "description": "Tipo de TL: ChatAdminRights."}, "rank": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}}, "required": ["_", "user_id", "admin_rights"], "additionalProperties": false}, "channelParticipantAdmin": {"title": "canalParticipanteAdmin", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "inviter_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "promoted_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de 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": "canalParticipanteProhibido", "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": "Tipo TL: Par."}, "kicked_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de 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": "canalParticipanteIzquierda", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantLeft"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}}, "required": ["_", "peer"], "additionalProperties": false}, "channelParticipantsRecent": {"title": "canalParticipantesRecientes", "description": "Obtener solo participantes recientes", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsRecent"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsRecent"]}}, "required": ["_"], "additionalProperties": false}, "channelParticipantsAdmins": {"title": "canalParticipantesAdministradores", "description": "Obtener solo participantes administradores", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsAdmins"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsAdmins"]}}, "required": ["_"], "additionalProperties": false}, "channelParticipantsKicked": {"title": "canalParticipantesPateados", "description": "Recuperar solo los participantes expulsados", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsKicked"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsKicked"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Filtro opcional para buscar participantes expulsados por nombre (de lo contrario, vacío)", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsBots": {"title": "canalParticipantesBots", "description": "Obtener solo participantes de bots", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsBots"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsBots"]}}, "required": ["_"], "additionalProperties": false}, "channelParticipantsBanned": {"title": "canalParticipantesProhibido", "description": "Obtener solo participantes prohibidos", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsBanned"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsBanned"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Filtro opcional para buscar participantes prohibidos por nombre (de lo contrario, vacío)", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsSearch": {"title": "canalParticipantesBúsqueda", "description": "Consultar a los participantes por nombre", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsSearch"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsSearch"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Consulta de búsqueda", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsContacts": {"title": "canalParticipantesContactos", "description": "Buscar solo participantes que también sean contactos", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsContacts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsContacts"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Consulta de búsqueda opcional para buscar participantes de contacto por nombre", "x-telegram-field-docs": true}}, "required": ["_", "q"], "additionalProperties": false}, "channelParticipantsMentions": {"title": "canalParticipantesMenciones", "description": "Este filtro se utiliza cuando se buscan miembros de un supergrupo para mencionar.\nEste filtro eliminará automáticamente a los administradores anónimos y devolverá incluso a los usuarios no participantes que respondieron a un [tema](https://core.telegram.org/api/threads.md) específico a través de la [sección de comentarios](https://core.telegram.org/api/threads.md#channel-comments) de un canal.", "externalDocs": {"url": "https://core.telegram.org/constructor/channelParticipantsMentions"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channelParticipantsMentions"]}, "q": {"type": "string", "x-tl-type": "string", "description": "Filtrar por nombre de usuario o nombre de usuario", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Busque solo los usuarios que publicaron en este [tema](https://core.telegram.org/api/threads.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_"], "additionalProperties": false}, "channels.channelParticipants": {"title": "channels.channelParticipants", "description": "Representa a múltiples participantes del canal.", "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": "Número total de participantes que corresponden a la consulta dada", "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": "Tipo de TL: Participante del canal."}, "x-tl-type": "Vector<ChannelParticipant>", "description": "Participantes", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en la información del participante.", "x-telegram-field-docs": true}}, "required": ["_", "count", "participants", "chats", "users"], "additionalProperties": false}, "channels.channelParticipantsNotModified": {"title": "channels.channelParticipantsNotModified", "description": "No se pudo encontrar información de nuevos participantes.", "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": "Representa un participante del canal.", "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": "El participante del canal.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "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": "Tipo de TL: 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": "Tipo de TL: entidad de mensaje."}, "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": "No se encontraron nuevos gifs guardados", "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 guardados", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.savedGifs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.savedGifs"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Lista de gifs guardados", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de 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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de 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": "Tipo de TL: Marcado de respuesta.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo_point", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "inputBotInlineMessageMediaContact": {"title": "inputBotInlineMessageMediaContacto", "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": "Tipo de TL: Marcado de respuesta.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard"], "additionalProperties": false}, "inputBotInlineMessageGame": {"title": "inputBotInlineMessageJuego", "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": "Tipo de TL: Marcado de respuesta.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_"], "additionalProperties": false}, "inputBotInlineMessageMediaInvoice": {"title": "inputBotInlineMessageMediaFactura", "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": "Tipo de TL: InputWebDocument.", "x-tl-flag": "flags.0?InputWebDocument"}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "Tipo TL: Factura."}, "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": "Tipo de TL: DataJSON."}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo de TL: Marcado de respuesta.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "title", "description", "invoice", "payload", "provider", "provider_data"], "additionalProperties": false}, "inputBotInlineMessageMediaWebPage": {"title": "inputBotInlineMessageMediaPágina web", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de TL: entidad de mensaje."}, "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "x-tl-flag": "flags.2?Vector<MessageEntity>"}}, "required": ["_", "widget_id", "message"], "additionalProperties": false}, "inputBotInlineResult": {"title": "inputBotInlineResult", "description": "Un resultado de bot en línea", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResult"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResult"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID del resultado", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Tipo de resultado (ver [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": "Título del resultado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción del resultado", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL de resultado", "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": "Miniatura del resultado", "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": "Contenido de resultados", "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": "Mensaje a enviar cuando se seleccione el resultado", "x-telegram-field-docs": true}}, "required": ["_", "id", "type", "send_message"], "additionalProperties": false}, "inputBotInlineResultPhoto": {"title": "inputBotInlineResultFoto", "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": "ID de resultado", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Tipo de resultado (ver [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 para enviar", "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": "Mensaje a enviar cuando se seleccione el resultado", "x-telegram-field-docs": true}}, "required": ["_", "id", "type", "photo", "send_message"], "additionalProperties": false}, "inputBotInlineResultDocument": {"title": "inputBotInlineResultDocumento", "description": "Documento (medios de cualquier tipo excepto fotografías)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResultDocument"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResultDocument"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID de resultado", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "Tipo de resultado (ver [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": "Título del resultado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción del resultado", "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": "Documento para enviar", "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": "Mensaje a enviar cuando se seleccione el resultado", "x-telegram-field-docs": true}}, "required": ["_", "id", "type", "document", "send_message"], "additionalProperties": false}, "inputBotInlineResultGame": {"title": "inputBotInlineResultJuego", "description": "juego", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotInlineResultGame"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotInlineResultGame"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID de resultado", "x-telegram-field-docs": true}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Nombre corto del juego", "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": "Mensaje a enviar cuando se seleccione el resultado", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo 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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo 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": "Tipo de TL: Marcado de respuesta.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "geo", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "botInlineMessageMediaContact": {"title": "botInlineMessageMediaContacto", "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": "Tipo de TL: Marcado de respuesta.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "phone_number", "first_name", "last_name", "vcard"], "additionalProperties": false}, "botInlineMessageMediaInvoice": {"title": "botInlineMessageMediaFactura", "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": "Tipo de TL: Documento web.", "x-tl-flag": "flags.0?WebDocument"}, "currency": {"type": "string", "x-tl-type": "string"}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "reply_markup": {"type": "object", "x-tl-type": "ReplyMarkup", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]}}, "description": "Tipo de TL: Marcado de respuesta.", "x-tl-flag": "flags.2?ReplyMarkup"}}, "required": ["_", "title", "description", "currency", "total_amount"], "additionalProperties": false}, "botInlineMessageMediaWebPage": {"title": "botInlineMessageMediaPágina web", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Marcado de respuesta.", "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": "Tipo de TL: Marcado de respuesta.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Marcado de respuesta.", "x-tl-flag": "flags.2?ReplyMarkup"}, "widget_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Documento web.", "x-tl-flag": "flags.4?WebDocument"}, "content": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo de TL: Documento web.", "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": "Tipo de TL: BotInlineMessage."}}, "required": ["_", "id", "type", "send_message"], "additionalProperties": false}, "botInlineMediaResult": {"title": "botInlineMediaResultado", "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": "Tipo TL: Foto.", "x-tl-flag": "flags.0?Photo"}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento.", "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": "Tipo de TL: BotInlineMessage."}}, "required": ["_", "id", "type", "send_message"], "additionalProperties": false}, "messages.botResults": {"title": "messages.botResults", "description": "Resultado de una consulta a un bot en línea", "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": "Si el resultado es una galería de imágenes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de consulta", "x-tl-type": "long", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "El siguiente desplazamiento a utilizar al navegar por los resultados", "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": "Se muestra como un botón encima de la lista de resultados en línea restante; si se hace clic, redirige al usuario a un chat privado con el bot con el parámetro de inicio especificado.", "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": "Se muestra como un botón encima de la lista de resultados en línea restante; si se hace clic, se abre la [miniaplicación de modo en línea](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps) especificada.", "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": "Tipo de TL: BotInlineResult."}, "x-tl-type": "Vector<BotInlineResult>", "description": "Los resultados", "x-telegram-field-docs": true}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Validez del almacenamiento en caché de los resultados.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en los resultados.", "x-telegram-field-docs": true}}, "required": ["_", "query_id", "results", "cache_time", "users"], "additionalProperties": false}, "exportedMessageLink": {"title": "enlace de mensaje exportado", "description": "Enlace a un mensaje en un supergrupo/canal", "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": "código para insertar", "x-telegram-field-docs": true}}, "required": ["_", "link", "html"], "additionalProperties": false}, "messageFwdHeader": {"title": "mensajeFwdHeader", "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": "Tipo TL: Par.", "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": "Tipo TL: Par.", "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": "Tipo TL: Par.", "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 bits de velocidad en десятичной записи.", "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": "Respuesta de devolución de llamada enviada por el bot en respuesta a presionar un botón", "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": "Si se debe mostrar una alerta al usuario en lugar de una notificación del sistema", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "has_url": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si hay un URL presente", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "native_ui": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ya sea para mostrar juegos en WebView o en la interfaz de usuario nativa.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "message": {"type": "string", "x-tl-type": "string", "description": "Alerta para mostrar", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "url": {"type": "string", "x-tl-type": "string", "description": "URL para abrir", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "¿Durante cuánto tiempo se debe almacenar en caché esta respuesta?", "x-telegram-field-docs": true}}, "required": ["_", "cache_time"], "additionalProperties": false}, "messages.messageEditData": {"title": "messages.messageEditData", "description": "Datos de edición de mensajes para medios", "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": "Título del medio, si el título del medio especificado se puede editar", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "inputBotInlineMessageID": {"title": "inputBotInlineMessageID", "description": "Representa un mensaje en línea enviado desde la perspectiva de un bot (constructor heredado)", "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": "ID de DC que se utilizará al trabajar con este mensaje en línea", "x-telegram-field-docs": true}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del mensaje, contiene tanto el ID del propietario (32 bits, heredado) como el ID del mensaje, que se usa solo para la compatibilidad con versiones anteriores de Bot API con el ID de usuario de 32 bits.", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Acceder al hash del mensaje", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "id", "access_hash"], "additionalProperties": false}, "inputBotInlineMessageID64": {"title": "inputBotInlineMessageID64", "description": "Representa un mensaje en línea enviado desde la perspectiva de un bot.", "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": "ID de DC que se utilizará al trabajar con este mensaje en línea", "x-telegram-field-docs": true}, "owner_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del propietario de este mensaje", "x-tl-type": "long", "x-telegram-field-docs": true}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Acceder al hash del mensaje", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "owner_id", "id", "access_hash"], "additionalProperties": false}, "inlineBotSwitchPM": {"title": "inlineBotSwitchPM", "description": "El bot solicitó al usuario que le enviara un mensaje en privado.", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineBotSwitchPM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineBotSwitchPM"]}, "text": {"type": "string", "x-tl-type": "string", "description": "Texto para el botón que cambia al usuario a un chat privado con el bot y envía al bot un mensaje de inicio con el parámetro `start_parameter` (puede estar vacío)", "x-telegram-field-docs": true}, "start_param": {"type": "string", "x-tl-type": "string", "description": "El parámetro para el `/start parameter`", "x-telegram-field-docs": true}}, "required": ["_", "text", "start_param"], "additionalProperties": false}, "messages.peerDialogs": {"title": "messages.peerDialogs", "description": "Información de diálogo de varios pares", "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": "Tipo de TL: Tema del foro."}, "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": "Tipo TL: Diálogo."}, "x-tl-type": "Vector<Dialog>", "description": "Información del diálogo", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Mensajes mencionados en la información del diálogo.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Charlas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "x-telegram-field-docs": true}, "state": {"type": "object", "x-tl-type": "updates.State", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["updates.state"]}}, "description": "Actual [actualizar estado del diálogo](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": "Tipo TL: Par."}, "rating": {"type": "number", "format": "double", "x-tl-type": "double"}}, "required": ["_", "peer", "rating"], "additionalProperties": false}, "topPeerCategoryBotsPM": {"title": "topPeerCategoryBotsPM", "description": "Bots más usados", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsPM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsPM"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryBotsInline": {"title": "topPeerCategoryBotsEn línea", "description": "Bots en línea más utilizados", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsInline"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsInline"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryCorrespondents": {"title": "topPeerCategoryCorresponsales", "description": "Usuarios con los que hemos chateado más frecuentemente", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryCorrespondents"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryCorrespondents"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryGroups": {"title": "topPeerCategoryGroups", "description": "Grupos y supergrupos abiertos con frecuencia", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryGroups"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryGroups"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryChannels": {"title": "topPeerCategoryChannels", "description": "Canales más visitados", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryChannels"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryChannels"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryPhoneCalls": {"title": "topPeerCategoryPhoneCalls", "description": "Usuarios llamados con más frecuencia", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryPhoneCalls"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryPhoneCalls"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryForwardUsers": {"title": "topPeerCategoryForwardUsers", "description": "Usuarios a los que los usuarios suelen reenviar mensajes", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryForwardUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryForwardUsers"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryForwardChats": {"title": "topPeerCategoryForwardChats", "description": "Chats a los que los usuarios suelen reenviar mensajes", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryForwardChats"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryForwardChats"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryBotsApp": {"title": "topPeerCategoryBotsApp", "description": "Las [Aplicaciones principales de Mini Bot](https://core.telegram.org/api/bots/webapps.md#main-mini-apps)] más utilizadas.", "externalDocs": {"url": "https://core.telegram.org/constructor/topPeerCategoryBotsApp"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["topPeerCategoryBotsApp"]}}, "required": ["_"], "additionalProperties": false}, "topPeerCategoryBotsGuestChat": {"title": "topPeerCategoryBotsGuestChat", "description": "Principales [bots invitados »](https://core.telegram.org/api/bots/guest-mode.md), i.e. Bots invocados con mayor frecuencia como invitados en los chats.", "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": "Tipo de 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": "Tipo de TL: TopPeer."}, "x-tl-type": "Vector<TopPeer>"}}, "required": ["_", "category", "count", "peers"], "additionalProperties": false}, "contacts.topPeersNotModified": {"title": "contacts.topPeersNotModified", "description": "La información de los pares principales no ha cambiado", "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": "mejores compañeros", "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": "Tipo de TL: TopPeerCategoryPeers."}, "x-tl-type": "Vector<TopPeerCategoryPeers>", "description": "Principales pares por categoría de pares principales", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Charlas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "x-telegram-field-docs": true}}, "required": ["_", "categories", "chats", "users"], "additionalProperties": false}, "contacts.topPeersDisabled": {"title": "contacts.topPeersDisabled", "description": "Compañeros principales inhabilitados", "externalDocs": {"url": "https://core.telegram.org/constructor/contacts.topPeersDisabled"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["contacts.topPeersDisabled"]}}, "required": ["_"], "additionalProperties": false}, "draftMessageEmpty": {"title": "borradorMensajeVacío", "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": "borrador de mensaje", "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": "Tipo de 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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Medios de entrada.", "x-tl-flag": "flags.5?InputMedia"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "effect": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Publicación sugerida.", "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": "Las pegatinas destacadas no han cambiado", "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": "Número total de stickers destacados", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "messages.featuredStickers": {"title": "messages.featuredStickers", "description": "Conjuntos de pegatinas destacados", "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": "Si se trata de un juego de pegatinas premium", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Número total de stickers destacados", "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": "Tipo TL: Juego de pegatinasCubierto."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Conjuntos de pegatinas destacados", "x-telegram-field-docs": true}, "unread": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "ID de nuevos conjuntos de stickers destacados", "x-telegram-field-docs": true}}, "required": ["_", "hash", "count", "sets", "unread"], "additionalProperties": false}, "messages.recentStickersNotModified": {"title": "messages.recentStickersNotModified", "description": "No se encontró ninguna etiqueta nueva reciente", "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": "Pegatinas usadas recientemente", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.recentStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.recentStickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Paquete de pegatinas."}, "x-tl-type": "Vector<StickerPack>", "description": "Emojis asociados a stickers", "x-telegram-field-docs": true}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Pegatinas recientes", "x-telegram-field-docs": true}, "dates": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "¿Cuándo se utilizó cada pegatina por última vez?", "x-telegram-field-docs": true}}, "required": ["_", "hash", "packs", "stickers", "dates"], "additionalProperties": false}, "messages.archivedStickers": {"title": "messages.archivedStickers", "description": "Conjuntos de stickers archivados", "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": "Número de pegatinas archivadas", "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": "Tipo TL: Juego de pegatinasCubierto."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Conjuntos de stickers archivados", "x-telegram-field-docs": true}}, "required": ["_", "count", "sets"], "additionalProperties": false}, "messages.stickerSetInstallResultSuccess": {"title": "messages.stickerSetInstallResultSuccess", "description": "El conjunto de pegatinas se instaló correctamente.", "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": "El conjunto de pegatinas se instaló, pero como hay demasiados conjuntos de pegatinas, algunos se archivaron.", "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": "Tipo TL: Juego de pegatinasCubierto."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Conjuntos de stickers archivados", "x-telegram-field-docs": true}}, "required": ["_", "sets"], "additionalProperties": false}, "stickerSetCovered": {"title": "pegatinaConjuntoCubierto", "description": "Conjunto de pegatinas con una sola pegatina como vista previa", "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": "conjunto de pegatinas", "x-telegram-field-docs": true}, "cover": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Vista previa", "x-telegram-field-docs": true}}, "required": ["_", "set", "cover"], "additionalProperties": false}, "stickerSetMultiCovered": {"title": "pegatinaSetMultiCubierto", "description": "Conjunto de pegatinas, con varias pegatinas como vista previa", "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": "conjunto de pegatinas", "x-telegram-field-docs": true}, "covers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Vista previa de pegatinas", "x-telegram-field-docs": true}}, "required": ["_", "set", "covers"], "additionalProperties": false}, "stickerSetFullCovered": {"title": "pegatinaConjuntoCompletoCubierto", "description": "Vista previa del conjunto de pegatinas con todas las pegatinas del conjunto de pegatinas incluidas.\nActualmente se usa solo para [conjuntos de stickers emoji personalizados](https://core.telegram.org/api/custom-emoji.md), para evitar una nueva llamada a [messages.getStickerSet](https://core.telegram.org/method/messages.getStickerSet.md).", "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": "conjunto de pegatinas", "x-telegram-field-docs": true}, "packs": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerPack", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerPack"]}}, "description": "Tipo TL: Paquete de pegatinas."}, "x-tl-type": "Vector<StickerPack>", "description": "Información emoji sobre cada pegatina del conjunto de pegatinas", "x-telegram-field-docs": true}, "keywords": {"type": "array", "items": {"type": "object", "x-tl-type": "StickerKeyword", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["stickerKeyword"]}}, "description": "Tipo TL: Palabra clave adhesiva."}, "x-tl-type": "Vector<StickerKeyword>", "description": "Palabras clave para algunas o todas las pegatinas del conjunto de pegatinas.", "x-telegram-field-docs": true}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Pegatinas", "x-telegram-field-docs": true}}, "required": ["_", "set", "packs", "keywords", "documents"], "additionalProperties": false}, "stickerSetNoCovered": {"title": "pegatinaEstablecerNoCubierto", "description": "Sólo la información del conjunto de pegatinas, sin vistas previas.", "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": "Información del juego de pegatinas.", "x-telegram-field-docs": true}}, "required": ["_", "set"], "additionalProperties": false}, "maskCoords": {"title": "máscaraCoords", "description": "Posición en una foto donde se debe colocar una máscara al [adherir pegatinas al medio »](https://core.telegram.org/api/stickers.md#attached-stickers)\n\nLa posición `n` indica dónde se debe colocar la mascarilla:\n\n- 0 => Relativo a la frente\n- 1 => Relativo a los ojos\n- 2 => Relativo a la boca\n- 3 => Relativo al mentón", "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": "Parte de la cara sobre la que se debe colocar la mascarilla.", "x-telegram-field-docs": true}, "x": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Desplazamiento por el eje X medido en anchos de la máscara escalada al tamaño de la cara, de izquierda a derecha. (Por ejemplo, -1.0 colocará la máscara justo a la izquierda de la posición predeterminada de la máscara)", "x-telegram-field-docs": true}, "y": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Desplazamiento por el eje Y medido en anchos de la máscara escalada al tamaño de la cara, de izquierda a derecha. (Por ejemplo, -1.0 colocará la máscara justo debajo de la posición predeterminada de la máscara)", "x-telegram-field-docs": true}, "zoom": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Coeficiente de escala de máscara. (Por ejemplo, 2.0 significa un tamaño duplicado)", "x-telegram-field-docs": true}}, "required": ["_", "n", "x", "y", "zoom"], "additionalProperties": false}, "inputStickeredMediaPhoto": {"title": "entradaStickeredMediaFoto", "description": "Una foto con pegatinas adjuntas.", "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": "la foto", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputStickeredMediaDocument": {"title": "entradaStickeredMediaDocumento", "description": "Un documento con pegatinas adjuntas.", "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": "el documento", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "game": {"title": "juego", "type": "object", "properties": {"_": {"type": "string", "enum": ["game"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Foto."}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento.", "x-tl-flag": "flags.0?Document"}}, "required": ["_", "id", "access_hash", "short_name", "title", "description", "photo"], "additionalProperties": false}, "inputGameID": {"title": "entradaGameID", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGameID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputGameShortName": {"title": "entradaJuegoNombreCorto", "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": "Tipo de TL: Usuario de entrada."}, "short_name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "bot_id", "short_name"], "additionalProperties": false}, "highScore": {"title": "puntuación más alta", "type": "object", "properties": {"_": {"type": "string", "enum": ["highScore"]}, "pos": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Puntuaciones más altas en un juego", "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": "Tipo de TL: Puntuación alta."}, "x-tl-type": "Vector<HighScore>", "description": "Puntuaciones más altas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios asociados a las puntuaciones más altas.", "x-telegram-field-docs": true}}, "required": ["_", "scores", "users"], "additionalProperties": false}, "textEmpty": {"title": "texto vacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["textEmpty"]}}, "required": ["_"], "additionalProperties": false}, "textPlain": {"title": "texto simple", "type": "object", "properties": {"_": {"type": "string", "enum": ["textPlain"]}, "text": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text"], "additionalProperties": false}, "textBold": {"title": "textoNegrita", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "textItalic": {"title": "texto cursiva", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "textUnderline": {"title": "textoSubrayado", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "textStrike": {"title": "textoHuelga", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "textFixed": {"title": "textoFijo", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "textUrl": {"title": "URL del texto", "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": "Tipo de TL: Texto enriquecido."}, "url": {"type": "string", "x-tl-type": "string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "text", "url", "webpage_id"], "additionalProperties": false}, "textEmail": {"title": "textoCorreo electrónico", "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": "Tipo de TL: Texto enriquecido."}, "email": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "email"], "additionalProperties": false}, "textConcat": {"title": "textoConcat", "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": "Tipo de TL: Texto enriquecido."}, "x-tl-type": "Vector<RichText>"}}, "required": ["_", "texts"], "additionalProperties": false}, "textSubscript": {"title": "textoSubíndice", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "textSuperscript": {"title": "textoSuperíndice", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "textMarked": {"title": "textoMarcado", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "textPhone": {"title": "textoTeléfono", "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": "Tipo de TL: Texto enriquecido."}, "phone": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "phone"], "additionalProperties": false}, "textImage": {"title": "textoImagen", "type": "object", "properties": {"_": {"type": "string", "enum": ["textImage"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "textoAncla", "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": "Tipo de TL: Texto enriquecido."}, "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Texto enriquecido."}, "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": "Tipo de TL: Texto enriquecido."}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}, "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockUnsupported": {"title": "bloque de página no compatible", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockUnsupported"]}}, "required": ["_"], "additionalProperties": false}, "pageBlockTitle": {"title": "título de bloque de página", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockSubtitle": {"title": "páginaBloqueSubtítulo", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockAuthorDate": {"title": "páginaBloqueAutorFecha", "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": "Tipo de TL: Texto enriquecido."}, "published_date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "author", "published_date"], "additionalProperties": false}, "pageBlockHeader": {"title": "encabezado de bloque de página", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockSubheader": {"title": "páginaBloqueSubencabezado", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockParagraph": {"title": "páginaBloquePárrafo", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockPreformatted": {"title": "bloque de páginapreformateado", "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": "Tipo de TL: Texto enriquecido."}, "language": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "text", "language"], "additionalProperties": false}, "pageBlockFooter": {"title": "páginaBloquePie de página", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockDivider": {"title": "páginaBlockDivider", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockDivider"]}}, "required": ["_"], "additionalProperties": false}, "pageBlockAnchor": {"title": "páginaBloqueAncla", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockAnchor"]}, "name": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "name"], "additionalProperties": false}, "pageBlockList": {"title": "lista de bloques de página", "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": "Tipo de TL: PageListItem."}, "x-tl-type": "Vector<PageListItem>"}}, "required": ["_", "items"], "additionalProperties": false}, "pageBlockBlockquote": {"title": "páginaBloqueBloquecita", "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": "Tipo de TL: Texto enriquecido."}, "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text", "caption"], "additionalProperties": false}, "pageBlockPullquote": {"title": "páginaBloquePullquote", "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": "Tipo de TL: Texto enriquecido."}, "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text", "caption"], "additionalProperties": false}, "pageBlockPhoto": {"title": "páginaBloqueFoto", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo de TL: Título de página."}, "url": {"type": "string", "x-tl-type": "string", "x-tl-flag": "flags.0?string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "photo_id", "caption"], "additionalProperties": false}, "pageBlockVideo": {"title": "páginaBloqueVideo", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo de TL: Título de página."}}, "required": ["_", "video_id", "caption"], "additionalProperties": false}, "pageBlockCover": {"title": "páginaBloqueCubierta", "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": "Tipo TL: Bloque de página."}}, "required": ["_", "cover"], "additionalProperties": false}, "pageBlockEmbed": {"title": "páginaBloqueIncrustar", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Título de página."}}, "required": ["_", "caption"], "additionalProperties": false}, "pageBlockEmbedPost": {"title": "páginaBloqueIncrustarPublicar", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockEmbedPost"]}, "url": {"type": "string", "x-tl-type": "string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "author_photo_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Bloque de página."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo de TL: Título de página."}}, "required": ["_", "url", "webpage_id", "author_photo_id", "author", "date", "blocks", "caption"], "additionalProperties": false}, "pageBlockCollage": {"title": "páginaBloqueCollage", "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": "Tipo TL: Bloque de página."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo de TL: Título de página."}}, "required": ["_", "items", "caption"], "additionalProperties": false}, "pageBlockSlideshow": {"title": "páginaBloquePresentación de diapositivas", "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": "Tipo TL: Bloque de página."}, "x-tl-type": "Vector<PageBlock>"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo de TL: Título de página."}}, "required": ["_", "items", "caption"], "additionalProperties": false}, "pageBlockChannel": {"title": "páginaBlockChannel", "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": "Tipo TL: Chat."}}, "required": ["_", "channel"], "additionalProperties": false}, "pageBlockAudio": {"title": "páginaBlockAudio", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockAudio"]}, "audio_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo de TL: Título de página."}}, "required": ["_", "audio_id", "caption"], "additionalProperties": false}, "pageBlockKicker": {"title": "páginaBlockKicker", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "pageBlockTable": {"title": "tabla de bloques de página", "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": "Tipo de TL: Texto enriquecido."}, "rows": {"type": "array", "items": {"type": "object", "x-tl-type": "PageTableRow", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageTableRow"]}}, "description": "Tipo de TL: PageTableRow."}, "x-tl-type": "Vector<PageTableRow>"}}, "required": ["_", "title", "rows"], "additionalProperties": false}, "pageBlockOrderedList": {"title": "páginaBloqueListaOrdenada", "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": "Tipo de 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": "páginaBloqueDetalles", "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": "Tipo TL: Bloque de página."}, "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "blocks", "title"], "additionalProperties": false}, "pageBlockRelatedArticles": {"title": "páginaBloqueArtículos relacionados", "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": "Tipo de TL: Texto enriquecido."}, "articles": {"type": "array", "items": {"type": "object", "x-tl-type": "PageRelatedArticle", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageRelatedArticle"]}}, "description": "Tipo de TL: artículo relacionado con la página."}, "x-tl-type": "Vector<PageRelatedArticle>"}}, "required": ["_", "title", "articles"], "additionalProperties": false}, "pageBlockMap": {"title": "páginaBloqueMapa", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageBlockMap"]}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Tipo 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": "Tipo de TL: Título de página."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de TL: Texto enriquecido."}}, "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": "Tipo de 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": "Tipo de TL: Título de página."}}, "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": "Tipo TL: Bloque de página."}, "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": "Tipo de TL: Texto enriquecido."}}, "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "caption": {"type": "object", "x-tl-type": "PageCaption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pageCaption"]}}, "description": "Tipo de TL: Título de página."}}, "required": ["_", "document_id", "caption"], "additionalProperties": false}, "phoneCallDiscardReasonMissed": {"title": "teléfonoLlamadaDescartarRazónPerdida", "description": "La llamada telefónica se perdió; consulte [aquí »](https://core.telegram.org/api/calls.md) para obtener más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonMissed"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMissed"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonDisconnect": {"title": "teléfonoLlamadaDescartarRazónDesconectar", "description": "La llamada telefónica se desconectó; consulte [aquí »](https://core.telegram.org/api/calls.md) para obtener más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonDisconnect"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonDisconnect"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonHangup": {"title": "teléfonoLlamadaDescartarMotivoColgar", "description": "La llamada telefónica finalizó normalmente; consulte [aquí »](https://core.telegram.org/api/calls.md) para obtener más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonHangup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonHangup"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonBusy": {"title": "teléfonoLlamadaDescartarRazónOcupado", "description": "La llamada telefónica fue descartada porque el usuario está ocupado en otra llamada, consulte [aquí »](https://core.telegram.org/api/calls.md) para obtener más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonBusy"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonBusy"]}}, "required": ["_"], "additionalProperties": false}, "phoneCallDiscardReasonMigrateConferenceCall": {"title": "teléfonoLlamadaDescartarRazónMigrarConferenciaLlamar", "description": "Esta llamada telefónica se migró a una [llamada de conferencia](https://core.telegram.org/api/end-to-end/group-calls.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/phoneCallDiscardReasonMigrateConferenceCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMigrateConferenceCall"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "[Enlace conferencia» ](https://core.telegram.org/api/links.md#conference-links) slug.", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "dataJSON": {"title": "datosJSON", "description": "Representa un objeto codificado en json.", "externalDocs": {"url": "https://core.telegram.org/constructor/dataJSON"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dataJSON"]}, "data": {"type": "string", "x-tl-type": "string", "description": "JSON-objeto codificado", "x-telegram-field-docs": true}}, "required": ["_", "data"], "additionalProperties": false}, "labeledPrice": {"title": "etiquetadoPrecio", "type": "object", "properties": {"_": {"type": "string", "enum": ["labeledPrice"]}, "label": {"type": "string", "x-tl-type": "string"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "label", "amount"], "additionalProperties": false}, "invoice": {"title": "factura", "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": "Tipo TL: Precio etiquetado."}, "x-tl-type": "Vector<LabeledPrice>"}, "max_tip_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.8?long"}, "suggested_tip_amounts": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "pagoCargo", "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": "dirección postal", "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": "pagoRequestedInfo", "description": "Información del pedido proporcionada por el usuario.", "externalDocs": {"url": "https://core.telegram.org/constructor/paymentRequestedInfo"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}, "name": {"type": "string", "x-tl-type": "string", "description": "Nombre completo del usuario", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "phone": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono del usuario", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "email": {"type": "string", "x-tl-type": "string", "description": "Dirección de correo electrónico del usuario", "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": "Dirección de envío del usuario", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?PostAddress"}}, "required": ["_"], "additionalProperties": false}, "paymentSavedCredentialsCard": {"title": "pagoGuardadoCredencialesTarjeta", "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": "documento web", "type": "object", "properties": {"_": {"type": "string", "enum": ["webDocument"]}, "url": {"type": "string", "x-tl-type": "string"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Atributo de documento."}, "x-tl-type": "Vector<DocumentAttribute>"}}, "required": ["_", "url", "access_hash", "size", "mime_type", "attributes"], "additionalProperties": false}, "webDocumentNoProxy": {"title": "webDocumentoNoProxy", "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": "Tipo de TL: Atributo de documento."}, "x-tl-type": "Vector<DocumentAttribute>"}}, "required": ["_", "url", "size", "mime_type", "attributes"], "additionalProperties": false}, "inputWebDocument": {"title": "entradaWebDocumento", "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": "Tipo de TL: Atributo de documento."}, "x-tl-type": "Vector<DocumentAttribute>"}}, "required": ["_", "url", "size", "mime_type", "attributes"], "additionalProperties": false}, "inputWebFileLocation": {"title": "entradaWebFileLocation", "description": "Ubicación de un archivo HTTP(s) remoto", "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 de archivo", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "hash de acceso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "url", "access_hash"], "additionalProperties": false}, "inputWebFileGeoPointLocation": {"title": "entradaWebFileGeoPointUbicación", "description": "Se utiliza para descargar una imagen generada por el servidor con la vista previa del mapa desde un [geoPoint](https://core.telegram.org/constructor/geoPoint.md); consulte los [documentos del archivo web para obtener más información »](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": "Generado a partir de los parámetros `lat`, `long` y `accuracy_radius` del [geoPoint](https://core.telegram.org/constructor/geoPoint.md)", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Acceda al hash del [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": "Ancho del mapa en píxeles antes de aplicar la escala; 16-1024", "x-telegram-field-docs": true}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Altura del mapa en píxeles antes de aplicar la escala; 16-1024", "x-telegram-field-docs": true}, "zoom": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nivel de zoom del mapa; 13-20", "x-telegram-field-docs": true}, "scale": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Escala del mapa; 1-3", "x-telegram-field-docs": true}}, "required": ["_", "geo_point", "access_hash", "w", "h", "zoom", "scale"], "additionalProperties": false}, "inputWebFileAudioAlbumThumbLocation": {"title": "entradaWebArchivoAudioÁlbumPulgarUbicación", "description": "Se utiliza para descargar la portada de un álbum para cualquier archivo de música usando [upload.getWebFile](https://core.telegram.org/method/upload.getWebFile.md); consulte los [documentos del archivo web para obtener más información »](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": "Se utiliza para devolver una miniatura con resolución `100x100` (en lugar de la predeterminada `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": "El archivo de audio en cuestión: debe NOT proporcionarse en chats secretos; en su lugar, proporcione los campos `title` y `performer`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputDocument"}, "title": {"type": "string", "x-tl-type": "string", "description": "Título de la canción: solo debe usarse en chats secretos; en chats normales, proporcione `document`, ya que tiene límites de velocidad más laxos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "performer": {"type": "string", "x-tl-type": "string", "description": "Intérprete de canciones: solo debe usarse en chats secretos; en chats normales, proporcione `document`, ya que tiene límites de velocidad más laxos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_"], "additionalProperties": false}, "upload.webFile": {"title": "upload.webFile", "description": "Representa una parte de un [HTTP archivo web](https://core.telegram.org/api/files.md) descargado a través de los servidores MTProto seguros de Telegram", "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": "Tamaño del archivo", "x-telegram-field-docs": true}, "mime_type": {"type": "string", "x-tl-type": "string", "description": "tipo mimo", "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": "tipo de archivo", "x-telegram-field-docs": true}, "mtime": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "hora modificada", "x-telegram-field-docs": true}, "bytes": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Datos", "x-telegram-field-docs": true}}, "required": ["_", "size", "mime_type", "file_type", "mtime", "bytes"], "additionalProperties": false}, "payments.paymentForm": {"title": "payments.paymentForm", "description": "Forma de pago", "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": "Si el usuario puede optar por guardar las credenciales.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "password_missing": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Indica que el usuario puede guardar las credenciales de pago, pero solo después de configurar una [contraseña 2FA](https://core.telegram.org/api/srp.md) (actualmente la cuenta no tiene una [contraseña 2FA](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": "ID del formulario", "x-tl-type": "long", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del robot", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Título del formulario", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Foto del producto", "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": "factura", "x-telegram-field-docs": true}, "provider_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del proveedor de pago.", "x-tl-type": "long", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "Forma de pago URL", "x-telegram-field-docs": true}, "native_provider": {"type": "string", "x-tl-type": "string", "description": "Nombre del proveedor de pago. Uno de los siguientes: - `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": "Contiene información sobre el proveedor de pago, si está disponible, para admitirlo de forma nativa sin necesidad de abrir el URL. Un objeto JSON que puede contener los siguientes campos: - `apple_pay_merchant_id`: ID de comerciante de Apple Pay - `google_pay_public_key`: clave pública de Google Pay - `need_country`: Verdadero, si se debe proporcionar el país del usuario, - `need_zip`: Verdadero, si se debe proporcionar el usuario ZIP/código postal, - `need_cardholder_name`: Verdadero, si se debe proporcionar el nombre del titular de la tarjeta\\", "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": "Tipo de TL: Método de formulario de pago."}, "x-tl-type": "Vector<PaymentFormMethod>", "description": "Métodos de pago adicionales", "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": "Información de pedido guardada del lado del servidor", "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": "Tipo de TL: Credenciales guardadas de pago."}, "x-tl-type": "Vector<PaymentSavedCredentials>", "description": "Contiene información sobre las credenciales de la tarjeta guardadas.", "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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "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": "Representa un formulario de pago, para los pagos se utilizará [Telegram Stars, consulte aquí »](https://core.telegram.org/api/stars.md) para obtener más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentFormStars"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentFormStars"]}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación del formulario.", "x-tl-type": "long", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación del robot.", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Título del formulario", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Foto del producto", "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": "factura", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información sobre los usuarios mencionados en los demás campos.", "x-telegram-field-docs": true}}, "required": ["_", "form_id", "bot_id", "title", "description", "invoice", "users"], "additionalProperties": false}, "payments.paymentFormStarGift": {"title": "payments.paymentFormStarGift", "description": "Representa un formulario de pago para un [regalo, consulte aquí »](https://core.telegram.org/api/gifts.md) para obtener más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/payments.paymentFormStarGift"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["payments.paymentFormStarGift"]}, "form_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación del formulario.", "x-tl-type": "long", "x-telegram-field-docs": true}, "invoice": {"type": "object", "x-tl-type": "Invoice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["invoice"]}}, "description": "factura", "x-telegram-field-docs": true}}, "required": ["_", "form_id", "invoice"], "additionalProperties": false}, "payments.validatedRequestedInfo": {"title": "payments.validatedRequestedInfo", "description": "Información validada proporcionada por el usuario", "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": "identificación", "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": "Tipo TL: Opción de envío."}, "x-tl-type": "Vector<ShippingOption>", "description": "Opciones de envío", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<ShippingOption>"}}, "required": ["_"], "additionalProperties": false}, "payments.paymentResult": {"title": "payments.paymentResult", "description": "Resultado del pago", "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": "Información sobre el pago", "x-telegram-field-docs": true}}, "required": ["_", "updates"], "additionalProperties": false}, "payments.paymentVerificationNeeded": {"title": "payments.paymentVerificationNeeded", "description": "El pago no se realizó correctamente; se necesita verificación adicional", "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 para verificación adicional de credenciales de pago", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "payments.paymentReceipt": {"title": "payments.paymentReceipt", "description": "Recibo", "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": "Fecha de generación", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del robot", "x-tl-type": "long", "x-telegram-field-docs": true}, "provider_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del proveedor", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Título", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción", "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": "factura", "x-telegram-field-docs": true}, "info": {"type": "object", "x-tl-type": "PaymentRequestedInfo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["paymentRequestedInfo"]}}, "description": "Información", "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": "Opción de envío seleccionada", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?ShippingOption"}, "tip_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Monto de propina", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?long"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Importe total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "credentials_title": {"type": "string", "x-tl-type": "string", "description": "Nombre de la credencial de pago", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "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": "Recibo de [pago realizado mediante 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": "Fecha de generación", "x-telegram-field-docs": true}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del robot", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Título", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción", "x-telegram-field-docs": true}, "photo": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Foto del producto", "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": "factura", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Moneda, siempre `XTR`.", "x-telegram-field-docs": true}, "total_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Cantidad de [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": "ID de transacción", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información sobre los usuarios mencionados en los demás campos.", "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": "Información de pedido guardada del lado del servidor", "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": "Si el usuario tiene algunas credenciales de pago guardadas", "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": "Información de pedido guardada del lado del servidor", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?PaymentRequestedInfo"}}, "required": ["_"], "additionalProperties": false}, "inputPaymentCredentialsSaved": {"title": "entradaPagoCredencialesGuardado", "description": "Credenciales de pago guardadas", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPaymentCredentialsSaved"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPaymentCredentialsSaved"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID de credencial", "x-telegram-field-docs": true}, "tmp_password": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Contraseña temporal", "x-telegram-field-docs": true}}, "required": ["_", "id", "tmp_password"], "additionalProperties": false}, "inputPaymentCredentials": {"title": "entradaPagoCredenciales", "description": "Credenciales de pago", "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": "Guarde la credencial de pago para uso futuro", "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": "Credenciales de pago", "x-telegram-field-docs": true}}, "required": ["_", "data"], "additionalProperties": false}, "inputPaymentCredentialsApplePay": {"title": "entradaPagoCredencialesApplePay", "description": "Credenciales de pago de Apple Pay", "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": "Datos de pago", "x-telegram-field-docs": true}}, "required": ["_", "payment_data"], "additionalProperties": false}, "inputPaymentCredentialsGooglePay": {"title": "entradaPagoCredencialesGooglePay", "description": "Credenciales de pago de Google Pay", "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": "ficha de pago", "x-telegram-field-docs": true}}, "required": ["_", "payment_token"], "additionalProperties": false}, "account.tmpPassword": {"title": "account.tmpPassword", "description": "Contraseña de pago temporal", "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": "Contraseña temporal", "x-telegram-field-docs": true}, "valid_until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Periodo de validez", "x-telegram-field-docs": true}}, "required": ["_", "tmp_password", "valid_until"], "additionalProperties": false}, "shippingOption": {"title": "opción de envío", "description": "Opción de envío", "externalDocs": {"url": "https://core.telegram.org/constructor/shippingOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["shippingOption"]}, "id": {"type": "string", "x-tl-type": "string", "description": "ID de opción", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Título", "x-telegram-field-docs": true}, "prices": {"type": "array", "items": {"type": "object", "x-tl-type": "LabeledPrice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["labeledPrice"]}}, "description": "Tipo TL: Precio etiquetado."}, "x-tl-type": "Vector<LabeledPrice>", "description": "Lista de porciones de precios", "x-telegram-field-docs": true}}, "required": ["_", "id", "title", "prices"], "additionalProperties": false}, "inputStickerSetItem": {"title": "entradaStickerSetItem", "description": "Pegatina en un juego de pegatinas", "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": "la pegatina", "x-telegram-field-docs": true}, "emoji": {"type": "string", "x-tl-type": "string", "description": "emojis asociados", "x-telegram-field-docs": true}, "mask_coords": {"type": "object", "x-tl-type": "MaskCoords", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["maskCoords"]}}, "description": "Coordenadas para pegatina de mascarilla", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?MaskCoords"}, "keywords": {"type": "string", "x-tl-type": "string", "description": "Conjunto de palabras clave, separadas por comas (no se puede proporcionar para pegatinas de máscaras)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_", "document", "emoji"], "additionalProperties": false}, "inputPhoneCall": {"title": "entradaTeléfonoLlamada", "description": "Identifica una [llamada telefónica](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": "ID de llamada", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "hash de acceso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "phoneCallEmpty": {"title": "teléfonollamadavacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["phoneCallEmpty"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "phoneCallWaiting": {"title": "teléfonollamadaesperando", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Tipo de 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": "teléfonoLlamadaSolicitada", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: PhoneCallProtocol."}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "g_a_hash", "protocol"], "additionalProperties": false}, "phoneCallAccepted": {"title": "teléfonoLlamadaAceptado", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: PhoneCallProtocol."}}, "required": ["_", "id", "access_hash", "date", "admin_id", "participant_id", "g_b", "protocol"], "additionalProperties": false}, "phoneCall": {"title": "teléfonoLlamar", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "admin_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "participant_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "g_a_or_b": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "key_fingerprint": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "protocol": {"type": "object", "x-tl-type": "PhoneCallProtocol", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallProtocol"]}}, "description": "Tipo de TL: PhoneCallProtocol."}, "connections": {"type": "array", "items": {"type": "object", "x-tl-type": "PhoneConnection", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneConnection", "phoneConnectionWebrtc"]}}, "description": "Tipo TL: Conexión telefónica."}, "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": "Tipo de TL: 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": "teléfonoLlamadaDescartado", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "reason": {"type": "object", "x-tl-type": "PhoneCallDiscardReason", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["phoneCallDiscardReasonMissed", "phoneCallDiscardReasonDisconnect", "phoneCallDiscardReasonHangup", "phoneCallDiscardReasonBusy", "phoneCallDiscardReasonMigrateConferenceCall"]}}, "description": "Tipo de 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": "teléfonoConexión", "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 bits de velocidad en десятичной записи.", "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": "teléfonoConexiónWebrtc", "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 bits de velocidad en десятичной записи.", "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": "teléfonoLlamadaProtocolo", "description": "Información del protocolo para la biblioteca VoIP, consulte [aquí »](https://core.telegram.org/api/calls.md#populating-phonecallprotocol) para obtener detalles sobre cómo completarla.", "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": "Si se debe permitir la conexión P2P con el otro participante", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "udp_reflector": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se debe permitir la conexión con los demás participantes a través de los servidores reflectores", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "min_layer": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Capa mínima para libtgvoip remoto", "x-telegram-field-docs": true}, "max_layer": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Capa máxima para libtgvoip remoto", "x-telegram-field-docs": true}, "library_versions": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Cuando utilice [phone.requestCall](https://core.telegram.org/method/phone.requestCall.md) y [phone.acceptCall](https://core.telegram.org/method/phone.acceptCall.md), especifique todas las versiones de biblioteca admitidas por el cliente.  El servidor se fusionará y elegirá la mejor versión de biblioteca admitida por ambos pares, devolviendo solo el mejor valor en el resultado de la actualización [phone.acceptCall](https://core.telegram.org/method/phone.acceptCall.md) del destinatario de la llamada y en la actualización [phoneCallAccepted](https://core.telegram.org/constructor/phoneCallAccepted.md) recibida por la persona que llama.", "x-telegram-field-docs": true}}, "required": ["_", "min_layer", "max_layer", "library_versions"], "additionalProperties": false}, "phone.phoneCall": {"title": "phone.phoneCall", "description": "Una llamada telefónica VoIP", "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": "La llamada telefónica VoIP", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Participantes de llamadas telefónicas VoIP", "x-telegram-field-docs": true}}, "required": ["_", "phone_call", "users"], "additionalProperties": false}, "upload.cdnFileReuploadNeeded": {"title": "upload.cdnFileReuploadNeeded", "description": "El archivo se borró del caché temporal RAM del [CDN](https://core.telegram.org/cdn.md) y debe volver a cargarse.", "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": "Solicitar token (ver [CDN](https://core.telegram.org/cdn.md))", "x-telegram-field-docs": true}}, "required": ["_", "request_token"], "additionalProperties": false}, "upload.cdnFile": {"title": "upload.cdnFile", "description": "Representa una parte de un archivo [CDN](https://core.telegram.org/cdn.md).", "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": "los datos", "x-telegram-field-docs": true}}, "required": ["_", "bytes"], "additionalProperties": false}, "cdnPublicKey": {"title": "cdnClavePública", "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": "Configuración para descargas de archivos [CDN](https://core.telegram.org/cdn.md).", "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": "Tipo de TL: CdnPublicKey."}, "x-tl-type": "Vector<CdnPublicKey>", "description": "Vector de claves públicas para usar **solo** durante los protocolos de enlace con [CDN](https://core.telegram.org/cdn.md) DC.", "x-telegram-field-docs": true}}, "required": ["_", "public_keys"], "additionalProperties": false}, "langPackString": {"title": "idiomaPackString", "description": "Cadena de localización traducida", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackString"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackString"]}, "key": {"type": "string", "x-tl-type": "string", "description": "Tecla de idioma", "x-telegram-field-docs": true}, "value": {"type": "string", "x-tl-type": "string", "description": "Valor", "x-telegram-field-docs": true}}, "required": ["_", "key", "value"], "additionalProperties": false}, "langPackStringPluralized": {"title": "langPackStringPluralizado", "description": "Una cadena de paquete de idioma que tiene diferentes formas según el número de algún objeto que menciona. Consulte [https://www.unicode.org/cldr/charts/latest/supplemental/language\\_plural\\_rules.html](https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html) para obtener más información", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackStringPluralized"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackStringPluralized"]}, "key": {"type": "string", "x-tl-type": "string", "description": "Clave de localización", "x-telegram-field-docs": true}, "zero_value": {"type": "string", "x-tl-type": "string", "description": "Valor para objetos cero", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "one_value": {"type": "string", "x-tl-type": "string", "description": "Valor para un objeto", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "two_value": {"type": "string", "x-tl-type": "string", "description": "Valor para dos objetos", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "few_value": {"type": "string", "x-tl-type": "string", "description": "Valor para algunos objetos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "many_value": {"type": "string", "x-tl-type": "string", "description": "Valor para muchos objetos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "other_value": {"type": "string", "x-tl-type": "string", "description": "Valor predeterminado", "x-telegram-field-docs": true}}, "required": ["_", "key", "other_value"], "additionalProperties": false}, "langPackStringDeleted": {"title": "langPackStringDeleted", "description": "Cadena de localización eliminada", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackStringDeleted"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackStringDeleted"]}, "key": {"type": "string", "x-tl-type": "string", "description": "Clave de localización", "x-telegram-field-docs": true}}, "required": ["_", "key"], "additionalProperties": false}, "langPackDifference": {"title": "langPackDiferencia", "description": "Cambios en el paquete de localización de la aplicación.", "externalDocs": {"url": "https://core.telegram.org/constructor/langPackDifference"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["langPackDifference"]}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "código de idioma", "x-telegram-field-docs": true}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de versión anterior", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Nuevo número de versión", "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": "Tipo TL: LangPackString."}, "x-tl-type": "Vector<LangPackString>", "description": "Cadenas localizadas", "x-telegram-field-docs": true}}, "required": ["_", "lang_code", "from_version", "version", "strings"], "additionalProperties": false}, "langPackLanguage": {"title": "idiomaPackIdioma", "description": "Identifica un paquete de localización.", "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": "Si el paquete de idioma es oficial", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "rtl": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "¿Es este un paquete de localización para un idioma RTL?", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "beta": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "¿Es este un paquete de localización beta?", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "name": {"type": "string", "x-tl-type": "string", "description": "Nombre del idioma", "x-telegram-field-docs": true}, "native_name": {"type": "string", "x-tl-type": "string", "description": "Nombre del idioma en el propio idioma.", "x-telegram-field-docs": true}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código de idioma (identificador de paquete)", "x-telegram-field-docs": true}, "base_lang_code": {"type": "string", "x-tl-type": "string", "description": "Identificador de un paquete de idioma base; puede estar vacío. Si falta una cadena en el paquete de idioma, entonces se debe recuperar del paquete de idioma base. No compatible con paquetes de idiomas personalizados", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "plural_code": {"type": "string", "x-tl-type": "string", "description": "Un código de idioma que se utilizará para aplicar formas plurales. Consulte [https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html](https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html) para obtener más información", "x-telegram-field-docs": true}, "strings_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de cadenas no eliminadas del paquete de idioma", "x-telegram-field-docs": true}, "translated_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de cadenas traducidas del paquete de idioma", "x-telegram-field-docs": true}, "translations_url": {"type": "string", "x-tl-type": "string", "description": "Enlace a la interfaz de traducción de idiomas; vacío para paquetes de idioma local personalizados", "x-telegram-field-docs": true}}, "required": ["_", "name", "native_name", "lang_code", "plural_code", "strings_count", "translated_count", "translations_url"], "additionalProperties": false}, "channelAdminLogEventActionChangeTitle": {"title": "canalAdminLogEventActionChangeTitle", "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": "canalAdminLogEventActionChangeAcerca de", "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": "canalAdminLogEventActionChangeUsername", "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": "canalAdminLogEventActionChangeFoto", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangePhoto"]}, "prev_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto."}, "new_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto."}}, "required": ["_", "prev_photo", "new_photo"], "additionalProperties": false}, "channelAdminLogEventActionToggleInvites": {"title": "canalAdminLogEventActionToggleInvites", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleInvites"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionToggleSignatures": {"title": "canalAdminLogEventActionToggleSignatures", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleSignatures"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionUpdatePinned": {"title": "canalAdminLogEventActionUpdateFijado", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionUpdatePinned"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionEditMessage": {"title": "canalAdminLogEventActionEditMessage", "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": "Tipo TL: Mensaje."}, "new_message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}}, "required": ["_", "prev_message", "new_message"], "additionalProperties": false}, "channelAdminLogEventActionDeleteMessage": {"title": "canalAdminLogEventActionDeleteMessage", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionDeleteMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionParticipantJoin": {"title": "canalAdminLogEventActionParticipantJoin", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantJoin"]}}, "required": ["_"], "additionalProperties": false}, "channelAdminLogEventActionParticipantLeave": {"title": "canalAdminLogEventoAcciónParticipanteSalir", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantLeave"]}}, "required": ["_"], "additionalProperties": false}, "channelAdminLogEventActionParticipantInvite": {"title": "canalAdminLogEventActionParticipantInvite", "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": "Tipo de TL: Participante del canal."}}, "required": ["_", "participant"], "additionalProperties": false}, "channelAdminLogEventActionParticipantToggleBan": {"title": "canalAdminLogEventActionParticipantToggleBan", "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": "Tipo de TL: Participante del canal."}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Tipo de TL: Participante del canal."}}, "required": ["_", "prev_participant", "new_participant"], "additionalProperties": false}, "channelAdminLogEventActionParticipantToggleAdmin": {"title": "canalAdminLogEventActionParticipantToggleAdmin", "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": "Tipo de TL: Participante del canal."}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Tipo de TL: Participante del canal."}}, "required": ["_", "prev_participant", "new_participant"], "additionalProperties": false}, "channelAdminLogEventActionChangeStickerSet": {"title": "canalAdminLogEventActionChangeStickerSet", "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": "Tipo TL: 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": "Tipo TL: InputStickerSet."}}, "required": ["_", "prev_stickerset", "new_stickerset"], "additionalProperties": false}, "channelAdminLogEventActionTogglePreHistoryHidden": {"title": "canalAdminLogEventActionTogglePreHistoryHidden", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionTogglePreHistoryHidden"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionDefaultBannedRights": {"title": "canalAdminLogEventActionDefaultBannedRights", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionDefaultBannedRights"]}, "prev_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Tipo de TL: ChatBannedRights."}, "new_banned_rights": {"type": "object", "x-tl-type": "ChatBannedRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatBannedRights"]}}, "description": "Tipo de TL: ChatBannedRights."}}, "required": ["_", "prev_banned_rights", "new_banned_rights"], "additionalProperties": false}, "channelAdminLogEventActionStopPoll": {"title": "canalAdminLogEventActionStopPoll", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionStopPoll"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionChangeLinkedChat": {"title": "canalAdminLogEventActionChangeLinkedChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeLinkedChat"]}, "prev_value": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "new_value": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeLocation": {"title": "canalAdminLogEventActionChangeLocation", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeLocation"]}, "prev_value": {"type": "object", "x-tl-type": "ChannelLocation", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty", "channelLocation"]}}, "description": "Tipo de TL: Ubicación del canal."}, "new_value": {"type": "object", "x-tl-type": "ChannelLocation", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty", "channelLocation"]}}, "description": "Tipo de TL: Ubicación del canal."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionToggleSlowMode": {"title": "canalAdminLogEventActionToggleSlowMode", "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": "canalAdminLogEventActionStartGroupCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionStartGroupCall"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de TL: InputGroupCall."}}, "required": ["_", "call"], "additionalProperties": false}, "channelAdminLogEventActionDiscardGroupCall": {"title": "canalAdminLogEventActionDiscardGroupCall", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionDiscardGroupCall"]}, "call": {"type": "object", "x-tl-type": "InputGroupCall", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputGroupCall", "inputGroupCallSlug", "inputGroupCallInviteMessage"]}}, "description": "Tipo de TL: InputGroupCall."}}, "required": ["_", "call"], "additionalProperties": false}, "channelAdminLogEventActionParticipantMute": {"title": "canalAdminLogEventActionParticipantMute", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantMute"]}, "participant": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Tipo de TL: GroupCallParticipant."}}, "required": ["_", "participant"], "additionalProperties": false}, "channelAdminLogEventActionParticipantUnmute": {"title": "canalAdminLogEventActionParticipantUnmute", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantUnmute"]}, "participant": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Tipo de TL: GroupCallParticipant."}}, "required": ["_", "participant"], "additionalProperties": false}, "channelAdminLogEventActionToggleGroupCallSetting": {"title": "canalAdminLogEventActionToggleGroupCallSetting", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleGroupCallSetting"]}, "join_muted": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "join_muted"], "additionalProperties": false}, "channelAdminLogEventActionParticipantJoinByInvite": {"title": "canalAdminLogEventActionParticipantJoinByInvite", "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": "Tipo de TL: ExportedChatInvite."}}, "required": ["_", "invite"], "additionalProperties": false}, "channelAdminLogEventActionExportedInviteDelete": {"title": "canalAdminLogEventActionExportedInviteDelete", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionExportedInviteDelete"]}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: ExportedChatInvite."}}, "required": ["_", "invite"], "additionalProperties": false}, "channelAdminLogEventActionExportedInviteRevoke": {"title": "canalAdminLogEventActionExportedInviteRevoke", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionExportedInviteRevoke"]}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: ExportedChatInvite."}}, "required": ["_", "invite"], "additionalProperties": false}, "channelAdminLogEventActionExportedInviteEdit": {"title": "canalAdminLogEventActionExportedInviteEditar", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionExportedInviteEdit"]}, "prev_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: ExportedChatInvite."}, "new_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: ExportedChatInvite."}}, "required": ["_", "prev_invite", "new_invite"], "additionalProperties": false}, "channelAdminLogEventActionParticipantVolume": {"title": "canalAdminLogEventActionParticipantVolume", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantVolume"]}, "participant": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Tipo de TL: GroupCallParticipant."}}, "required": ["_", "participant"], "additionalProperties": false}, "channelAdminLogEventActionChangeHistoryTTL": {"title": "canalAdminLogEventActionChangeHistoryTTL", "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": "canalAdminLogEventActionParticipantJoinByRequest", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantJoinByRequest"]}, "invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: ExportedChatInvite."}, "approved_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "invite", "approved_by"], "additionalProperties": false}, "channelAdminLogEventActionToggleNoForwards": {"title": "canalAdminLogEventActionToggleNoForwards", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleNoForwards"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionSendMessage": {"title": "canalAdminLogEventActionEnviar mensaje", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionSendMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}}, "required": ["_", "message"], "additionalProperties": false}, "channelAdminLogEventActionChangeAvailableReactions": {"title": "canalAdminLogEventActionChangeAvailableReactions", "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": "Tipo de TL: ChatReacciones."}, "new_value": {"type": "object", "x-tl-type": "ChatReactions", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatReactionsNone", "chatReactionsAll", "chatReactionsSome"]}}, "description": "Tipo de TL: ChatReacciones."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeUsernames": {"title": "canalAdminLogEventActionChangeUsernames", "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": "canalAdminLogEventActionToggleForum", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleForum"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionCreateTopic": {"title": "canalAdminLogEventActionCreateTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionCreateTopic"]}, "topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro."}}, "required": ["_", "topic"], "additionalProperties": false}, "channelAdminLogEventActionEditTopic": {"title": "canalAdminLogEventActionEditTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionEditTopic"]}, "prev_topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro."}, "new_topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro."}}, "required": ["_", "prev_topic", "new_topic"], "additionalProperties": false}, "channelAdminLogEventActionDeleteTopic": {"title": "canalAdminLogEventActionDeleteTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionDeleteTopic"]}, "topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro."}}, "required": ["_", "topic"], "additionalProperties": false}, "channelAdminLogEventActionPinTopic": {"title": "canalAdminLogEventActionPinTopic", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionPinTopic"]}, "prev_topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro.", "x-tl-flag": "flags.0?ForumTopic"}, "new_topic": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro.", "x-tl-flag": "flags.1?ForumTopic"}}, "required": ["_"], "additionalProperties": false}, "channelAdminLogEventActionToggleAntiSpam": {"title": "canalAdminLogEventActionToggleAntiSpam", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleAntiSpam"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangePeerColor": {"title": "canalAdminLogEventActionChangePeerColor", "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": "Tipo TL: PeerColor."}, "new_value": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Tipo TL: PeerColor."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeProfilePeerColor": {"title": "canalAdminLogEventActionChangeProfilePeerColor", "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": "Tipo TL: PeerColor."}, "new_value": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Tipo TL: PeerColor."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeWallpaper": {"title": "canalAdminLogEventActionChangeWallpaper", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionChangeWallpaper"]}, "prev_value": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "Tipo TL: Papel pintado."}, "new_value": {"type": "object", "x-tl-type": "WallPaper", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["wallPaper", "wallPaperNoFile"]}}, "description": "Tipo TL: Papel pintado."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeEmojiStatus": {"title": "canalAdminLogEventActionChangeEmojiStatus", "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": "Tipo de TL: EmojiStatus."}, "new_value": {"type": "object", "x-tl-type": "EmojiStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty", "emojiStatus", "emojiStatusCollectible", "inputEmojiStatusCollectible"]}}, "description": "Tipo de TL: EmojiStatus."}}, "required": ["_", "prev_value", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionChangeEmojiStickerSet": {"title": "canalAdminLogEventActionChangeEmojiStickerSet", "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": "Tipo TL: 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": "Tipo TL: InputStickerSet."}}, "required": ["_", "prev_stickerset", "new_stickerset"], "additionalProperties": false}, "channelAdminLogEventActionToggleSignatureProfiles": {"title": "canalAdminLogEventActionToggleSignatureProfiles", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleSignatureProfiles"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionParticipantSubExtend": {"title": "canalAdminLogEventActionParticipantSubExtend", "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": "Tipo de TL: Participante del canal."}, "new_participant": {"type": "object", "x-tl-type": "ChannelParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["channelParticipant", "channelParticipantSelf", "channelParticipantCreator", "channelParticipantAdmin", "channelParticipantBanned", "channelParticipantLeft"]}}, "description": "Tipo de TL: Participante del canal."}}, "required": ["_", "prev_participant", "new_participant"], "additionalProperties": false}, "channelAdminLogEventActionToggleAutotranslation": {"title": "canalAdminLogEventActionToggleAutotranslation", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionToggleAutotranslation"]}, "new_value": {"type": "boolean", "x-tl-type": "Bool"}}, "required": ["_", "new_value"], "additionalProperties": false}, "channelAdminLogEventActionParticipantEditRank": {"title": "canalAdminLogEventActionParticipantEditRank", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEventActionParticipantEditRank"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "canalAdminLogEvent", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelAdminLogEvent"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: ChannelAdminLogEventAction."}}, "required": ["_", "id", "date", "user_id", "action"], "additionalProperties": false}, "channels.adminLogResults": {"title": "channels.adminLogResults", "description": "Eventos de registro de administrador", "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": "Tipo de TL: ChannelAdminLogEvent."}, "x-tl-type": "Vector<ChannelAdminLogEvent>", "description": "Eventos de registro de administrador", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en eventos.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en eventos", "x-telegram-field-docs": true}}, "required": ["_", "events", "chats", "users"], "additionalProperties": false}, "channelAdminLogEventsFilter": {"title": "canalAdminLogEventsFilter", "description": "Filtrar solo ciertos eventos de registro de administrador", "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": "[Unirse a eventos](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoin.md), incluidas [unirse mediante enlaces de invitación](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantJoinByInvite.md) y [solicitudes de unirse](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": "[Dejar eventos](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": "[Invitar eventos](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": "[Prohibir eventos](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": "[Desbanear eventos](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": "[Eventos de patada](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": "[Desactivar eventos](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": "[Eventos de promoción de administrador](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": "[Eventos de degradación del administrador](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": "Eventos de cambio de información (cuando [acerca de](https://core.telegram.org/constructor/channelAdminLogEventActionChangeAbout.md), [chat vinculado](https://core.telegram.org/constructor/channelAdminLogEventActionChangeLinkedChat.md), [ubicación](https://core.telegram.org/constructor/channelAdminLogEventActionChangeLocation.md), [foto](https://core.telegram.org/constructor/channelAdminLogEventActionChangePhoto.md), [conjunto de pegatinas](https://core.telegram.org/constructor/channelAdminLogEventActionChangeStickerSet.md), [título](https://core.telegram.org/constructor/channelAdminLogEventActionChangeTitle.md) o [nombre de usuario](https://core.telegram.org/constructor/channelAdminLogEventActionChangeUsername.md), [modo lento](https://core.telegram.org/constructor/channelAdminLogEventActionToggleSlowMode.md), [historial TTL](https://core.telegram.org/constructor/channelAdminLogEventActionChangeHistoryTTL.md)] se obtienen las configuraciones de un canal modificado)", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "settings": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Eventos de cambio de configuración ([invitaciones](https://core.telegram.org/constructor/channelAdminLogEventActionToggleInvites.md), [prehistoria oculta](https://core.telegram.org/constructor/channelAdminLogEventActionTogglePreHistoryHidden.md), [firmas](https://core.telegram.org/constructor/channelAdminLogEventActionToggleSignatures.md), [derechos prohibidos predeterminados](https://core.telegram.org/constructor/channelAdminLogEventActionDefaultBannedRights.md), [eventos de alternancia de foro](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": "[Eventos de fijación de mensajes](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": "[Eventos de edición de mensajes](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": "[Eventos de eliminación de mensajes](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": "Eventos de llamadas grupales", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?true"}, "invites": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Invitar eventos", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "send": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Se publicó un mensaje en un canal.", "x-telegram-field-docs": true, "x-tl-flag": "flags.16?true"}, "forums": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Eventos relacionados con el Foro](https://core.telegram.org/api/forum.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.17?true"}, "sub_extend": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "[Eventos de extensión de suscripción a Telegram Star »](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": "Eventos en los que se cambió la [etiqueta (clasificación) »](https://core.telegram.org/api/rank.md) personalizada de un participante ([channelAdminLogEventActionParticipantEditRank](https://core.telegram.org/constructor/channelAdminLogEventActionParticipantEditRank.md)).", "x-telegram-field-docs": true, "x-tl-flag": "flags.19?true"}}, "required": ["_"], "additionalProperties": false}, "popularContact": {"title": "popularContacto", "type": "object", "properties": {"_": {"type": "string", "enum": ["popularContact"]}, "client_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "No se encontraron nuevos stickers favoritos", "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": "Pegatinas favoritas", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.favedStickers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.favedStickers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Paquete de pegatinas."}, "x-tl-type": "Vector<StickerPack>", "description": "Emojis asociados a stickers", "x-telegram-field-docs": true}, "stickers": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Pegatinas favoritas", "x-telegram-field-docs": true}}, "required": ["_", "hash", "packs", "stickers"], "additionalProperties": false}, "recentMeUrlUnknown": {"title": "recienteMeUrlDesconocido", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlUnknown"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "recentMeUrlUser": {"title": "usuarioUrlMe reciente", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlUser"]}, "url": {"type": "string", "x-tl-type": "string"}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "url", "user_id"], "additionalProperties": false}, "recentMeUrlChat": {"title": "recienteMeUrlChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["recentMeUrlChat"]}, "url": {"type": "string", "x-tl-type": "string"}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "url", "chat_id"], "additionalProperties": false}, "recentMeUrlChatInvite": {"title": "recienteMeUrlChatInvitar", "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": "Tipo de TL: ChatInvite."}}, "required": ["_", "url", "chat_invite"], "additionalProperties": false}, "recentMeUrlStickerSet": {"title": "recienteMeUrlStickerSet", "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": "Tipo TL: Juego de pegatinasCubierto."}}, "required": ["_", "url", "set"], "additionalProperties": false}, "help.recentMeUrls": {"title": "help.recentMeUrls", "description": "Recent 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": "Tipo de 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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Charlas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "x-telegram-field-docs": true}}, "required": ["_", "urls", "chats", "users"], "additionalProperties": false}, "inputSingleMedia": {"title": "entradaSingleMedia", "description": "Un único medio en un [álbum o medio agrupado](https://core.telegram.org/api/files.md#albums-grouped-media) enviado con [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": "los medios", "x-telegram-field-docs": true}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Se requiere un ID de medio de cliente único para evitar el reenvío de mensajes. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Un título para los medios.", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "Mensaje [entidades](https://core.telegram.org/api/entities.md) para texto con estilo", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Vector<MessageEntity>"}}, "required": ["_", "media", "random_id", "message"], "additionalProperties": false}, "webAuthorization": {"title": "webAutorización", "type": "object", "properties": {"_": {"type": "string", "enum": ["webAuthorization"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Autorizaciones web", "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": "Tipo de TL: Autorización web."}, "x-tl-type": "Vector<WebAuthorization>", "description": "Lista de autorización web", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "x-telegram-field-docs": true}}, "required": ["_", "authorizations", "users"], "additionalProperties": false}, "inputMessageID": {"title": "ID de mensaje de entrada", "description": "Mensaje por 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": "ID de mensaje", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMessageReplyTo": {"title": "entradaMensajeResponder a", "description": "Mensaje al que responde el mensaje especificado", "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 del mensaje que responde al mensaje que necesitamos", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "inputMessagePinned": {"title": "entradaMensajeFijado", "description": "Mensaje fijado", "externalDocs": {"url": "https://core.telegram.org/constructor/inputMessagePinned"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputMessagePinned"]}}, "required": ["_"], "additionalProperties": false}, "inputMessageCallbackQuery": {"title": "entradaMensajeCallbackQuery", "description": "Utilizado por bots para obtener información sobre el mensaje que originó una consulta de devolución de llamada", "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": "ID de mensaje", "x-telegram-field-docs": true}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de consulta de devolución de llamada", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "query_id"], "additionalProperties": false}, "inputDialogPeer": {"title": "inputDialogPeer", "description": "un compañero", "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": "compañero", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "inputDialogPeerFolder": {"title": "inputDialogPeerCarpeta", "description": "Todos los pares en una [carpeta de pares](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": "[ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](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": "Tipo TL: Canal de entrada."}}, "required": ["_", "community"], "additionalProperties": false}, "dialogPeer": {"title": "diálogoPeer", "description": "compañero", "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": "compañero", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "dialogPeerFolder": {"title": "diálogoPeerFolder", "description": "[Carpeta del mismo nivel](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": "[ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "community_id"], "additionalProperties": false}, "messages.foundStickerSetsNotModified": {"title": "messages.foundStickerSetsNotModified", "description": "No se encontraron más resultados", "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": "Conjuntos de pegatinas encontradas", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.foundStickerSets"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.foundStickerSets"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Juego de pegatinasCubierto."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Conjuntos de pegatinas encontradas", "x-telegram-field-docs": true}}, "required": ["_", "hash", "sets"], "additionalProperties": false}, "fileHash": {"title": "archivoHash", "description": "SHA256 Hash de un archivo cargado, cuya validez se comprobará después de la descarga", "externalDocs": {"url": "https://core.telegram.org/constructor/fileHash"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["fileHash"]}, "offset": {"type": "string", "pattern": "^-?\\d+$", "description": "Compensación desde donde comenzar a calcular SHA-256 hash", "x-tl-type": "long", "x-telegram-field-docs": true}, "limit": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Longitud", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "SHA-256 Hash del fragmento de archivo, cuya validez se comprobará después de la descarga", "x-telegram-field-docs": true}}, "required": ["_", "offset", "limit", "hash"], "additionalProperties": false}, "inputClientProxy": {"title": "entradaClienteProxy", "description": "Información sobre un [MTProxy](https://core.telegram.org/mtproto/mtproto-transports.md#transport-obfuscation) utilizado para conectarse.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputClientProxy"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputClientProxy"]}, "address": {"type": "string", "x-tl-type": "string", "description": "dirección proxy", "x-telegram-field-docs": true}, "port": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Puerto proxy", "x-telegram-field-docs": true}}, "required": ["_", "address", "port"], "additionalProperties": false}, "help.termsOfServiceUpdateEmpty": {"title": "help.termsOfServiceUpdateEmpty", "description": "No se realizaron cambios en los términos de servicio de Telegram.", "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": "Las nuevas actualizaciones TOS deberán consultarse usando [help.getTermsOfServiceUpdate](https://core.telegram.org/method/help.getTermsOfServiceUpdate.md) en `expires` segundos", "x-telegram-field-docs": true}}, "required": ["_", "expires"], "additionalProperties": false}, "help.termsOfServiceUpdate": {"title": "help.termsOfServiceUpdate", "description": "Información sobre una actualización de los términos de servicio de Telegram. Si se rechazan los términos de servicio, entonces se debe llamar al método [account.deleteAccount](https://core.telegram.org/method/account.deleteAccount.md) con el motivo \"Rechazar actualización de ToS\"", "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": "Las nuevas actualizaciones TOS deberán consultarse usando [help.getTermsOfServiceUpdate](https://core.telegram.org/method/help.getTermsOfServiceUpdate.md) en `expires` segundos", "x-telegram-field-docs": true}, "terms_of_service": {"type": "object", "x-tl-type": "help.TermsOfService", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["help.termsOfService"]}}, "description": "Nuevos términos de servicio", "x-telegram-field-docs": true}}, "required": ["_", "expires", "terms_of_service"], "additionalProperties": false}, "inputSecureFileUploaded": {"title": "entradaSecureFileSubido", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSecureFileUploaded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "entradaArchivoSeguro", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSecureFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "secureFileEmpty": {"title": "archivosegurovacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureFileEmpty"]}}, "required": ["_"], "additionalProperties": false}, "secureFile": {"title": "archivo seguro", "type": "object", "properties": {"_": {"type": "string", "enum": ["secureFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "size": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "datosseguros", "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": "seguroPlainPhone", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePlainPhone"]}, "phone": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "phone"], "additionalProperties": false}, "securePlainEmail": {"title": "seguroCorreo electrónico simple", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePlainEmail"]}, "email": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "email"], "additionalProperties": false}, "secureValueTypePersonalDetails": {"title": "SecureValueTypePersonalDetails", "description": "Datos personales", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePersonalDetails"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePersonalDetails"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypePassport": {"title": "SecureValueTypePasaporte", "description": "Pasaporte", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePassport"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePassport"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeDriverLicense": {"title": "SecureValueTypeDriverLicense", "description": "licencia de conducir", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeDriverLicense"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeDriverLicense"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeIdentityCard": {"title": "SecureValueTypeIdentityCard", "description": "Tarjeta de identidad", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeIdentityCard"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeIdentityCard"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeInternalPassport": {"title": "SecureValueTypeInternoPasaporte", "description": "Interno [pasaporte](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": "dirección de tipo de valor seguro", "description": "Dirección", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeAddress"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeAddress"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeUtilityBill": {"title": "SecureValueTypeUtilityBill", "description": "Factura de servicios públicos", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeUtilityBill"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeUtilityBill"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeBankStatement": {"title": "SecureValueTypeBankStatement", "description": "Extracto bancario", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeBankStatement"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeBankStatement"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeRentalAgreement": {"title": "SecureValueTypeRentalAgreement", "description": "Contrato de alquiler", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeRentalAgreement"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeRentalAgreement"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypePassportRegistration": {"title": "SecureValueTypePasaporteRegistro", "description": "Registro interno [pasaporte](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": "Registro temporal", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeTemporaryRegistration"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeTemporaryRegistration"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypePhone": {"title": "SecureValueTypePhone", "description": "Teléfono", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypePhone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypePhone"]}}, "required": ["_"], "additionalProperties": false}, "secureValueTypeEmail": {"title": "SecureValueTypeCorreo electrónico", "description": "Correo electrónico", "externalDocs": {"url": "https://core.telegram.org/constructor/secureValueTypeEmail"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["secureValueTypeEmail"]}}, "required": ["_"], "additionalProperties": false}, "secureValue": {"title": "valorseguro", "description": "Valor seguro", "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": "Tipo de valor seguro [pasaporte](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": "Datos cifrados del elemento [Telegram Passport](https://core.telegram.org/passport.md)]", "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": "Archivo [pasaporte](https://core.telegram.org/passport.md)] cifrado con el anverso del documento", "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": "Archivo [pasaporte](https://core.telegram.org/passport.md)] cifrado con el reverso del documento", "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": "Archivo [pasaporte](https://core.telegram.org/passport.md)] cifrado con una selfie del usuario que sostiene el documento", "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": "Tipo de TL: Archivo seguro."}, "x-tl-type": "Vector<SecureFile>", "description": "Conjunto de archivos [pasaporte](https://core.telegram.org/passport.md)] cifrados con versiones traducidas de los documentos proporcionados", "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": "Tipo de TL: Archivo seguro."}, "x-tl-type": "Vector<SecureFile>", "description": "Conjunto de archivos [pasaporte](https://core.telegram.org/passport.md)] cifrados con fotografías de los documentos", "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": "Texto sin formato verificado [pasaporte](https://core.telegram.org/passport.md) datos", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?SecurePlainData"}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "hash de datos", "x-telegram-field-docs": true}}, "required": ["_", "type", "hash"], "additionalProperties": false}, "inputSecureValue": {"title": "entradaValorSeguro", "description": "Valor seguro, [para más información consulte los documentos del pasaporte »](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": "Tipo de valor seguro [pasaporte](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": "Datos cifrados del elemento [Telegram Passport](https://core.telegram.org/passport.md)]", "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": "Archivo [pasaporte](https://core.telegram.org/passport.md)] cifrado con el anverso del documento", "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": "Archivo [pasaporte](https://core.telegram.org/passport.md)] cifrado con el reverso del documento", "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": "Archivo [pasaporte](https://core.telegram.org/passport.md)] cifrado con una selfie del usuario que sostiene el documento", "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": "Tipo de TL: InputSecureFile."}, "x-tl-type": "Vector<InputSecureFile>", "description": "Conjunto de archivos [pasaporte](https://core.telegram.org/passport.md)] cifrados con versiones traducidas de los documentos proporcionados", "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": "Tipo de TL: InputSecureFile."}, "x-tl-type": "Vector<InputSecureFile>", "description": "Conjunto de archivos [pasaporte](https://core.telegram.org/passport.md)] cifrados con fotografías de los documentos", "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": "Texto sin formato verificado [pasaporte](https://core.telegram.org/passport.md) datos", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?SecurePlainData"}}, "required": ["_", "type"], "additionalProperties": false}, "secureValueHash": {"title": "valorseguroHash", "description": "Hash de valor seguro", "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": "Tipo de valor seguro", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "picadillo", "x-telegram-field-docs": true}}, "required": ["_", "type", "hash"], "additionalProperties": false}, "secureValueErrorData": {"title": "valorseguroErrorDatos", "description": "Representa un problema en uno de los campos de datos proporcionados por el usuario. El error se considera resuelto cuando cambia el valor del campo.", "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": "La sección del Telegram Passport del usuario que tiene el error, uno de [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": "hash de datos", "x-telegram-field-docs": true}, "field": {"type": "string", "x-tl-type": "string", "description": "Nombre del campo de datos que tiene el error", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error", "x-telegram-field-docs": true}}, "required": ["_", "type", "data_hash", "field", "text"], "additionalProperties": false}, "secureValueErrorFrontSide": {"title": "valorseguroErrorFrontalLado", "description": "Representa un problema con el anverso de un documento. El error se considera resuelto cuando cambia el archivo con el anverso del documento.", "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": "Uno de [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": "hash de archivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorReverseSide": {"title": "SecureValueErrorReverseSide", "description": "Representa un problema con el reverso de un documento. El error se considera resuelto cuando cambia el archivo con el reverso del documento.", "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": "Uno de [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": "hash de archivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorSelfie": {"title": "valorseguroErrorSelfie", "description": "Representa un problema con el selfie con un documento. El error se considera resuelto cuando cambia el archivo con el selfie.", "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": "Uno de [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": "hash de archivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorFile": {"title": "archivo de error de valor seguro", "description": "Representa un problema con el escaneo de un documento. El error se considera resuelto cuando cambia el archivo con el documento escaneado.", "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": "Uno de [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": "hash de archivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorFiles": {"title": "archivos de error de valor seguro", "description": "Representa un problema con una lista de escaneos. El error se considera resuelto cuando cambia la lista de archivos que contienen los escaneos.", "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": "Uno de [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 de archivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueError": {"title": "errorvalorseguro", "description": "Error de valor seguro", "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": "Tipo de elemento que tiene el problema", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "picadillo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error", "x-telegram-field-docs": true}}, "required": ["_", "type", "hash", "text"], "additionalProperties": false}, "secureValueErrorTranslationFile": {"title": "archivo de traducción de error de valor seguro", "description": "Representa un problema con uno de los archivos que constituyen la traducción de un documento. El error se considera resuelto cuando el archivo cambia.", "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": "Uno de [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": "hash de archivo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureValueErrorTranslationFiles": {"title": "archivos de traducción de valor seguro de error", "description": "Representa un problema con la versión traducida de un documento. El error se considera resuelto cuando cambia un archivo con la traducción del documento.", "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": "Uno de [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": "picadillo", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Mensaje de error", "x-telegram-field-docs": true}}, "required": ["_", "type", "file_hash", "text"], "additionalProperties": false}, "secureCredentialsEncrypted": {"title": "credencialessegurasEncriptadas", "description": "Se requieren credenciales cifradas para descifrar los datos del [pasaporte de Telegram](https://core.telegram.org/passport.md).", "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": "Datos cifrados serializados JSON con carga útil de usuario única, hashes de datos y secretos necesarios para el descifrado y la autenticación de EncryptedPassportElement, como se describe en [descifrado de datos »](https://core.telegram.org/passport.md#decrypting-data)", "x-telegram-field-docs": true}, "hash": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Hash de datos para la autenticación de datos como se describe en [descifrar datos »](https://core.telegram.org/passport.md#decrypting-data)", "x-telegram-field-docs": true}, "secret": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Secreto, cifrado con la clave pública RSA del bot, necesario para descifrar los datos como se describe en [descifrar datos »](https://core.telegram.org/passport.md#decrypting-data)", "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) formulario de autorización", "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": "Tipo de TL: SecureRequiredType."}, "x-tl-type": "Vector<SecureRequiredType>", "description": "[Documentos Telegram Passport](https://core.telegram.org/passport.md) requeridos", "x-telegram-field-docs": true}, "values": {"type": "array", "items": {"type": "object", "x-tl-type": "SecureValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["secureValue"]}}, "description": "Tipo de TL: SecureValue."}, "x-tl-type": "Vector<SecureValue>", "description": "Ya enviado [Telegram Passport](https://core.telegram.org/passport.md) documentos", "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": "Tipo de TL: SecureValueError."}, "x-tl-type": "Vector<SecureValueError>", "description": "[Errores de Telegram Passport](https://core.telegram.org/passport.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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información sobre el bot al que se enviará el formulario", "x-telegram-field-docs": true}, "privacy_policy_url": {"type": "string", "x-tl-type": "string", "description": "URL de la política de privacidad del servicio", "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": "El código de correo electrónico enviado", "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": "El correo electrónico (al que se envió el código) debe coincidir con este [patrón](https://core.telegram.org/api/pattern.md)", "x-telegram-field-docs": true}, "length": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La longitud del código de verificación.", "x-telegram-field-docs": true}}, "required": ["_", "email_pattern", "length"], "additionalProperties": false}, "help.deepLinkInfoEmpty": {"title": "help.deepLinkInfoEmpty", "description": "Información del enlace profundo vacía", "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": "Información del enlace profundo, consulte [aquí para obtener más detalles](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": "Se requiere una actualización de la aplicación para analizar este enlace.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensaje para mostrar al usuario", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](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": "guardadoTeléfonoContacto", "description": "Contacto guardado", "externalDocs": {"url": "https://core.telegram.org/constructor/savedPhoneContact"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["savedPhoneContact"]}, "phone": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono", "x-telegram-field-docs": true}, "first_name": {"type": "string", "x-tl-type": "string", "description": "nombre", "x-telegram-field-docs": true}, "last_name": {"type": "string", "x-tl-type": "string", "description": "apellido", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha agregada", "x-telegram-field-docs": true}}, "required": ["_", "phone", "first_name", "last_name", "date"], "additionalProperties": false}, "account.takeout": {"title": "account.takeout", "description": "información para llevar", "externalDocs": {"url": "https://core.telegram.org/constructor/account.takeout"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.takeout"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación de comida para llevar", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "passwordKdfAlgoUnknown": {"title": "contraseñaKdfAlgoDesconocido", "type": "object", "properties": {"_": {"type": "string", "enum": ["passwordKdfAlgoUnknown"]}}, "required": ["_"], "additionalProperties": false}, "passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow": {"title": "contraseñaKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow", "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": "Contraseña seguraKdfAlgoDesconocido", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoUnknown"]}}, "required": ["_"], "additionalProperties": false}, "securePasswordKdfAlgoPBKDF2HMACSHA512iter100000": {"title": "Contraseña seguraKdfAlgoPBKDF2HMACSHA512iter100000", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoPBKDF2HMACSHA512iter100000"]}, "salt": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "salt"], "additionalProperties": false}, "securePasswordKdfAlgoSHA512": {"title": "contraseña seguraKdfAlgoSHA512", "type": "object", "properties": {"_": {"type": "string", "enum": ["securePasswordKdfAlgoSHA512"]}, "salt": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "salt"], "additionalProperties": false}, "secureSecretSettings": {"title": "configuraciónsecretasegura", "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": "Tipo de TL: Contraseña seguraKdfAlgo."}, "secure_secret": {"type": "string", "format": "byte", "x-tl-type": "bytes"}, "secure_secret_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "secure_algo", "secure_secret", "secure_secret_id"], "additionalProperties": false}, "inputCheckPasswordEmpty": {"title": "entradaVerificarContraseñaVacío", "description": "no hay contraseña", "externalDocs": {"url": "https://core.telegram.org/constructor/inputCheckPasswordEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputCheckPasswordEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputCheckPasswordSRP": {"title": "entradaVerificarContraseñaSRP", "description": "Constructor para comprobar la validez de una contraseña 2FA SRP (ver [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` parámetro (ver [SRP](https://core.telegram.org/api/srp.md))", "x-telegram-field-docs": true}, "M1": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "`M1` parámetro (ver [SRP](https://core.telegram.org/api/srp.md))", "x-telegram-field-docs": true}}, "required": ["_", "srp_id", "A", "M1"], "additionalProperties": false}, "secureRequiredType": {"title": "tiporequeridoseguro", "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": "Tipo de TL: SecureValueType."}}, "required": ["_", "type"], "additionalProperties": false}, "secureRequiredTypeOneOf": {"title": "seguroRequiredTypeOneOf", "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": "Tipo de TL: SecureRequiredType."}, "x-tl-type": "Vector<SecureRequiredType>"}}, "required": ["_", "types"], "additionalProperties": false}, "help.passportConfigNotModified": {"title": "help.passportConfigNotModified", "description": "Configuración de contraseña no modificada", "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": "Telegram [pasaporte](https://core.telegram.org/passport.md) configuración", "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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Localización", "x-telegram-field-docs": true}}, "required": ["_", "hash", "countries_langs"], "additionalProperties": false}, "inputAppEvent": {"title": "entradaAppEvent", "description": "Evento ocurrido en la aplicación.", "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": "Marca de tiempo exacta del cliente para el evento.", "x-telegram-field-docs": true}, "type": {"type": "string", "x-tl-type": "string", "description": "tipo de evento", "x-telegram-field-docs": true}, "peer": {"type": "string", "pattern": "^-?\\d+$", "description": "Valor numérico arbitrario para una selección más conveniente de ciertos tipos de eventos o eventos que se refieren a un determinado objeto", "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": "Detalles del evento", "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": "Tipo de TL: JSONValue."}}, "required": ["_", "key", "value"], "additionalProperties": false}, "jsonNull": {"title": "jsonNulo", "description": "valor nulo JSON\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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 valor booleano\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Valor", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "jsonNumber": {"title": "jsonNúmero", "description": "JSON valor numérico\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Valor", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "jsonString": {"title": "jsonCadena", "description": "JSON cuerda\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Valor", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "jsonArray": {"title": "jsonArray", "description": "JSON matriz\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Tipo de TL: JSONValue."}, "x-tl-type": "Vector<JSONValue>", "description": "JSON valores", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "jsonObject": {"title": "jsonObjeto", "description": "JSON valor del objeto\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Tipo de TL: JSONObjectValue."}, "x-tl-type": "Vector<JSONObjectValue>", "description": "Valores", "x-telegram-field-docs": true}}, "required": ["_", "value"], "additionalProperties": false}, "pageTableCell": {"title": "páginaTableCell", "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": "Tipo de TL: Texto enriquecido.", "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": "páginaTablaFila", "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": "Tipo de TL: PageTableCell."}, "x-tl-type": "Vector<PageTableCell>"}}, "required": ["_", "cells"], "additionalProperties": false}, "pageCaption": {"title": "título de página", "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": "Tipo de TL: Texto enriquecido."}, "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text", "credit"], "additionalProperties": false}, "pageListItemText": {"title": "páginaListItemText", "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": "Tipo de TL: Texto enriquecido."}}, "required": ["_", "text"], "additionalProperties": false}, "pageListItemBlocks": {"title": "bloques de elementos de lista de páginas", "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": "Tipo TL: Bloque de página."}, "x-tl-type": "Vector<PageBlock>"}}, "required": ["_", "blocks"], "additionalProperties": false}, "pageListOrderedItemText": {"title": "páginaListOrderedItemText", "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": "Tipo de TL: Texto enriquecido."}, "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": "Tipo TL: Bloque de página."}, "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": "páginaArtículo relacionado", "type": "object", "properties": {"_": {"type": "string", "enum": ["pageRelatedArticle"]}, "url": {"type": "string", "x-tl-type": "string"}, "webpage_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "página", "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": "Tipo TL: Bloque de página."}, "x-tl-type": "Vector<PageBlock>"}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto."}, "x-tl-type": "Vector<Photo>"}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "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": "Nombre localizado para soporte de Telegram", "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": "Nombre localizado", "x-telegram-field-docs": true}}, "required": ["_", "name"], "additionalProperties": false}, "help.userInfoEmpty": {"title": "help.userInfoEmpty", "description": "Uso interno", "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": "Uso interno", "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": "Información", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](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": "Fecha", "x-telegram-field-docs": true}}, "required": ["_", "message", "entities", "author", "date"], "additionalProperties": false}, "pollAnswer": {"title": "encuestaResponder", "description": "Una posible respuesta de una encuesta.", "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": "Representación textual de la respuesta (solo los usuarios [Premium](https://core.telegram.org/api/premium.md) pueden usar [entidades emoji personalizadas](https://core.telegram.org/api/custom-emoji.md) aquí).", "x-telegram-field-docs": true}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "El parámetro que se debe pasar a [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": "Archivo adjunto multimedia opcional que se muestra junto a la respuesta", "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": "El compañero que agregó esta respuesta; solo configurado para respuestas agregadas dinámicamente a una encuesta de respuesta abierta, consulte [encuestas »](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": "Cuando se agregó esta respuesta; solo configurado para respuestas agregadas dinámicamente a una encuesta de respuesta abierta", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "text", "option"], "additionalProperties": false}, "inputPollAnswer": {"title": "entradaEncuestaRespuesta", "description": "Una opción de respuesta para agregar a una [encuesta de respuesta abierta »](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": "El texto de respuesta.", "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": "Archivo adjunto multimedia opcional para mostrar junto a la respuesta", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputMedia"}}, "required": ["_", "text"], "additionalProperties": false}, "poll": {"title": "encuesta", "type": "object", "properties": {"_": {"type": "string", "enum": ["poll"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: TextoConEntidades."}, "answers": {"type": "array", "items": {"type": "object", "x-tl-type": "PollAnswer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["pollAnswer", "inputPollAnswer"]}}, "description": "Tipo TL: EncuestaRespuesta."}, "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "question", "answers", "hash"], "additionalProperties": false}, "pollAnswerVoters": {"title": "encuestaRespuestaVotantes", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "x-tl-flag": "flags.2?Vector<Peer>"}}, "required": ["_", "option"], "additionalProperties": false}, "pollResults": {"title": "resultados de la encuesta", "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": "Tipo de 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": "Tipo TL: Par."}, "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: MessageMedia.", "x-tl-flag": "flags.5?MessageMedia"}}, "required": ["_"], "additionalProperties": false}, "chatOnlines": {"title": "chatEn línea", "description": "Número de usuarios en línea en un 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": "Número de usuarios en línea", "x-telegram-field-docs": true}}, "required": ["_", "onlines"], "additionalProperties": false}, "statsURL": {"title": "estadísticasURL", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsURL"]}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "url"], "additionalProperties": false}, "chatAdminRights": {"title": "chatAdminDerechos", "description": "Representa los derechos de un administrador en un [canal/supergrupo](https://core.telegram.org/api/channel.md).", "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": "Si está configurado, permite al administrador modificar la descripción del [canal/supergrupo](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "post_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador publicar mensajes en el [canal](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "edit_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador editar también mensajes de otros administradores en el [canal](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "delete_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador eliminar también mensajes de otros administradores en el [canal](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "ban_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador prohibir usuarios del [canal/supergrupo](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "invite_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador invitar a usuarios en el [canal/supergrupo](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "pin_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador fijar mensajes en el [canal/supergrupo](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "add_admins": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador agregar otros administradores con los mismos (o más limitados) permisos en el [canal/supergrupo](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "anonymous": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este administrador es anónimo", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "manage_call": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador crear y administrar [chats de video/transmisiones en vivo »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams)", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "other": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Establezca este indicador si no está configurado ninguno de los otros indicadores, pero aún desea que el usuario sea administrador: si este o cualquiera de los otros indicadores está configurado, el administrador puede obtener el chat [registro de administrador](https://core.telegram.org/api/recent-actions.md), obtener [estadísticas de chat](https://core.telegram.org/api/stats.md), obtener [estadísticas de mensajes en canales](https://core.telegram.org/api/stats.md), obtener miembros del canal, ver administradores anónimos en supergrupos e ignorar el modo lento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "manage_topics": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador crear, eliminar o modificar [temas del foro »](https://core.telegram.org/api/forum.md#forum-topics).", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "post_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador publicar [historias](https://core.telegram.org/api/stories.md) como [canal](https://core.telegram.org/api/channel.md)].", "x-telegram-field-docs": true, "x-tl-flag": "flags.14?true"}, "edit_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador editar [historias](https://core.telegram.org/api/stories.md) publicadas por los otros administradores del [canal](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "delete_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador eliminar [historias](https://core.telegram.org/api/stories.md) publicadas por los otros administradores del [canal](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.16?true"}, "manage_direct_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador administrar el [monoforo de mensajes directos »](https://core.telegram.org/api/monoforum.md) y [rechazar publicaciones sugeridas »](https://core.telegram.org/api/suggested-posts.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.17?true"}, "manage_ranks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, permite al administrador modificar la [etiqueta de miembro »](https://core.telegram.org/api/rank.md) de cualquier usuario.", "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": "chatProhibidoDerechos", "description": "Representa los derechos de un usuario normal en un [supergrupo/canal/chat](https://core.telegram.org/api/channel.md). En este caso, las banderas están invertidas: si están configuradas, una bandera **no permite** que un usuario haga X.", "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": "Si está configurado, no permite que un usuario vea mensajes en un [supergrupo/canal/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "send_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe mensajes en un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "send_media": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe ningún medio en un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "send_stickers": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe pegatinas en un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "send_gifs": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe gifs en un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "send_games": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe juegos en un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "send_inline": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario use bots en línea en un [supergrupo/chat](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "embed_links": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario incruste enlaces en los mensajes de un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "send_polls": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe encuestas en un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "change_info": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario cambie la descripción de un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "invite_users": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario invite a usuarios en un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.15?true"}, "pin_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario fije mensajes en un [supergrupo/chat](https://core.telegram.org/api/channel.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.17?true"}, "manage_topics": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario cree, elimine o modifique [temas del foro »](https://core.telegram.org/api/forum.md#forum-topics).", "x-telegram-field-docs": true, "x-tl-flag": "flags.18?true"}, "send_photos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe fotos en un [supergrupo/chat](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.19?true"}, "send_videos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe videos en un [supergrupo/chat](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.20?true"}, "send_roundvideos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe videos redondos en un [supergrupo/chat](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.21?true"}, "send_audios": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe archivos de audio en un [supergrupo/chat](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.22?true"}, "send_voices": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe mensajes de voz en un [supergrupo/chat](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.23?true"}, "send_docs": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe documentos en un [supergrupo/chat](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.24?true"}, "send_plain": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, no permite que un usuario envíe mensajes de texto en un [supergrupo/chat](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?true"}, "edit_rank": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se configura, no permite que un usuario edite su propia [etiqueta (clasificación) »](https://core.telegram.org/api/rank.md) personalizada en un [supergrupo/chat](https://core.telegram.org/api/channel.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.26?true"}, "send_reactions": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se configura, no permite que un usuario reaccione a los mensajes en un chat.", "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": "Vigencia de dichos permisos (se considera para siempre cualquier valor menor a 30 segundos o mayor a 366 días).", "x-telegram-field-docs": true}}, "required": ["_", "until_date"], "additionalProperties": false}, "inputWallPaper": {"title": "entradaWallPaper", "description": "[Fondo de pantalla](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": "[Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) ID", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "hash de acceso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputWallPaperSlug": {"title": "entradaWallPaperSlug", "description": "[Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) por slug (una identificación única, obtenida de un [enlace de fondo de pantalla »](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": "ID de fondo de pantalla único", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputWallPaperNoFile": {"title": "entradaWallPaperNoFile", "description": "[Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) sin hash de acceso a archivos, usado por ejemplo al eliminar (`unsave=true`) fondos de pantalla usando [account.saveWallPaper](https://core.telegram.org/method/account.saveWallPaper.md), especificando solo el ID del fondo de pantalla.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputWallPaperNoFile"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputWallPaperNoFile"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificación del fondo de pantalla", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "account.wallPapersNotModified": {"title": "account.wallPapersNotModified", "description": "No se encontraron nuevos [fondos de pantalla](https://core.telegram.org/api/wallpapers.md)", "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": "Instalado [fondos de pantalla](https://core.telegram.org/api/wallpapers.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/account.wallPapers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.wallPapers"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Papel pintado."}, "x-tl-type": "Vector<WallPaper>", "description": "[Fondos de pantalla](https://core.telegram.org/api/wallpapers.md)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "wallpapers"], "additionalProperties": false}, "codeSettings": {"title": "códigoConfiguración", "description": "Configuraciones utilizadas por los servidores de Telegram para enviar el código de confirmación.\n\nImplementaciones de ejemplo: [telegram para 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": "Si se permite la verificación telefónica mediante [llamadas telefónicas](https://core.telegram.org/api/auth.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "current_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Pase verdadero si el número de teléfono se usa en el dispositivo actual. Se ignora si allow_flashcall no está configurado.", "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": "Si este dispositivo admite recibir el código usando el método [auth.codeTypeMissedCall](https://core.telegram.org/constructor/auth.codeTypeMissedCall.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "allow_firebase": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se admite la autenticación de Firebase", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "unknown_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Configure esta bandera si hay una tarjeta SIM en el dispositivo actual, pero no es posible verificar si el número de teléfono especificado coincide con el número de teléfono de SIM.", "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": "Tokens de autenticación futuros almacenados previamente, consulte [la documentación para obtener más información »](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": "Usado solo por aplicaciones oficiales de iOS para autenticación de Firebase: token de dispositivo para Apple Push.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?string"}, "app_sandbox": {"type": "boolean", "x-tl-type": "Bool", "description": "Usado solo por aplicaciones oficiales de iOS para la autenticación de Firebase: si se usará un certificado de espacio aislado durante la transmisión de la notificación push.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?Bool"}}, "required": ["_"], "additionalProperties": false}, "wallPaperSettings": {"title": "wallPaperConfiguración", "description": "[Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) información de representación.", "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": "Para [fondos de pantalla de imágenes »](https://core.telegram.org/api/wallpapers.md#image-wallpapers): si está configurado, el JPEG se debe reducir para que quepa en un cuadrado de 450x450 y luego se debe desenfocar en un cuadro con un radio de 12.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "motion": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, el fondo debe moverse ligeramente cuando se gira el dispositivo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se utiliza para rellenos [sólido »](https://core.telegram.org/api/wallpapers.md#solid-fill), [degradado »](https://core.telegram.org/api/wallpapers.md#gradient-fill) y [degradado de forma libre»](https://core.telegram.org/api/wallpapers.md#freeform-gradient-fill).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "second_background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se utiliza para rellenos de [gradiente »](https://core.telegram.org/api/wallpapers.md#gradient-fill) y [gradiente de forma libre »](https://core.telegram.org/api/wallpapers.md#freeform-gradient-fill).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "third_background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se utiliza para rellenos de [gradiente de forma libre »](https://core.telegram.org/api/wallpapers.md#freeform-gradient-fill).", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?int"}, "fourth_background_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se utiliza para rellenos de [gradiente de forma libre »](https://core.telegram.org/api/wallpapers.md#freeform-gradient-fill).", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?int"}, "intensity": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se utiliza para [fondos de pantalla con patrones »](https://core.telegram.org/api/wallpapers.md#pattern-wallpapers).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "rotation": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ángulo de rotación del gradiente en el sentido de las agujas del reloj, en grados; 0-359. Siempre debe ser divisible por 45.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Si está configurado, este fondo de pantalla se puede usar como fondo de pantalla del canal y está representado por el emoji UTF-8 especificado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?string"}}, "required": ["_"], "additionalProperties": false}, "autoDownloadSettings": {"title": "configuración de descarga automática", "description": "Configuración de descarga automática", "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": "¿Desactivar las descargas automáticas de medios?", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "video_preload_large": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se deben precargar los primeros segundos de videos mayores que el límite especificado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "audio_preload_next": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se debe precargar la siguiente pista de audio cuando estás escuchando música", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "phonecalls_less_data": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si habilitar el modo de ahorro de datos en llamadas telefónicas", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "stories_preload": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ya sea para precargar [historias](https://core.telegram.org/api/stories.md); en particular, se deben precargar los primeros [documentAttributeVideo](https://core.telegram.org/constructor/documentAttributeVideo.md).`preload_prefix_size` bytes de videos de historias.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "photo_size_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tamaño máximo de fotos para precargar", "x-telegram-field-docs": true}, "video_size_max": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamaño máximo de vídeos para precargar", "x-tl-type": "long", "x-telegram-field-docs": true}, "file_size_max": {"type": "string", "pattern": "^-?\\d+$", "description": "Tamaño máximo de otros archivos para precargar", "x-tl-type": "long", "x-telegram-field-docs": true}, "video_upload_maxbitrate": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tasa de bits máxima sugerida para **cargar** videos", "x-telegram-field-docs": true}, "small_queue_active_operations_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Un límite que especifica la cantidad máxima de archivos que se deben descargar en paralelo desde el mismo DC, para archivos de menos de 20 MB.", "x-telegram-field-docs": true}, "large_queue_active_operations_max": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Un límite que especifica la cantidad máxima de archivos que se deben descargar en paralelo desde el mismo DC, para archivos de más de 20 MB.", "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": "Configuración de descarga automática de medios", "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": "Preajuste de bajo uso de datos", "x-telegram-field-docs": true}, "medium": {"type": "object", "x-tl-type": "AutoDownloadSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoDownloadSettings"]}}, "description": "Preajuste de uso de datos medio", "x-telegram-field-docs": true}, "high": {"type": "object", "x-tl-type": "AutoDownloadSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoDownloadSettings"]}}, "description": "Preajuste de alto uso de datos", "x-telegram-field-docs": true}}, "required": ["_", "low", "medium", "high"], "additionalProperties": false}, "emojiKeyword": {"title": "emojiPalabra clave", "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": "emojiPalabra claveEliminado", "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": "emojiPalabras claveDiferencia", "description": "Cambios en las palabras clave emoji", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiKeywordsDifference"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiKeywordsDifference"]}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "Código de idioma para palabras clave", "x-telegram-field-docs": true}, "from_version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versión anterior de la lista de palabras clave emoji", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versión actual de la lista de palabras clave emoji", "x-telegram-field-docs": true}, "keywords": {"type": "array", "items": {"type": "object", "x-tl-type": "EmojiKeyword", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["emojiKeyword", "emojiKeywordDeleted"]}}, "description": "Tipo de TL: Palabra clave Emoji."}, "x-tl-type": "Vector<EmojiKeyword>", "description": "Emojis asociados a palabras clave", "x-telegram-field-docs": true}}, "required": ["_", "lang_code", "from_version", "version", "keywords"], "additionalProperties": false}, "emojiURL": {"title": "emojiURL", "description": "Un HTTP URL que se puede utilizar para iniciar sesión automáticamente en la plataforma de traducción y sugerir nuevos reemplazos de emoji. El URL tendrá una validez de 30 segundos después de su generación.", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiURL"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiURL"]}, "url": {"type": "string", "x-tl-type": "string", "description": "Un HTTP URL que se puede utilizar para iniciar sesión automáticamente en la plataforma de traducción y sugerir nuevos reemplazos de emoji. El URL tendrá una validez de 30 segundos después de su generación.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "emojiLanguage": {"title": "emojiIdioma", "description": "lenguaje emoji", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiLanguage"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiLanguage"]}, "lang_code": {"type": "string", "x-tl-type": "string", "description": "código de idioma", "x-telegram-field-docs": true}}, "required": ["_", "lang_code"], "additionalProperties": false}, "folder": {"title": "carpeta", "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": "Tipo TL: ChatFoto.", "x-tl-flag": "flags.3?ChatPhoto"}}, "required": ["_", "id", "title"], "additionalProperties": false}, "inputFolderPeer": {"title": "entradaCarpetaPeer", "description": "Mirar en una carpeta", "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": "compañero", "x-telegram-field-docs": true}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[ID de carpeta del mismo nivel, para obtener más información, haga clic aquí](https://core.telegram.org/api/folders.md#peer-folders)", "x-telegram-field-docs": true}}, "required": ["_", "peer", "folder_id"], "additionalProperties": false}, "folderPeer": {"title": "carpetaPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["folderPeer"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "folder_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "folder_id"], "additionalProperties": false}, "messages.searchCounter": {"title": "messages.searchCounter", "description": "Indica cuántos resultados se encontrarían con una llamada [messages.search](https://core.telegram.org/method/messages.search.md) con los mismos parámetros", "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": "Si se establece, los resultados pueden ser inexactos.", "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": "Filtro de mensajes proporcionado", "x-telegram-field-docs": true}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de resultados que se encontraron en el lado del servidor", "x-telegram-field-docs": true}}, "required": ["_", "filter", "count"], "additionalProperties": false}, "urlAuthResultRequest": {"title": "solicitud de resultado de autenticación URL", "description": "Detalles sobre la solicitud de autorización, para más información [haga clic aquí »](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": "Si el bot desea enviar mensajes al usuario", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "request_phone_number": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "La aplicación/sitio web solicita el número de teléfono del usuario; si el usuario da su consentimiento, configure `share_phone_number` al llamar a [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": "Sólo se puede configurar si `match_codes` también está configurado; Si está configurado, los clientes deben pedirle al usuario que seleccione el código coincidente *antes* de mostrar el resto de la interfaz de usuario de confirmación de inicio de sesión, y deben validar la selección con [messages.checkUrlAuthMatchCode](https://core.telegram.org/method/messages.checkUrlAuthMatchCode.md) antes de continuar", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "is_app": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Establezca si una solicitud de OAuth se originó desde una aplicación en lugar de un sitio web; cuando está configurado, `domain` debe reemplazarse en el mensaje de confirmación por `verified_app_name` (si está presente) o \"Aplicación no verificada\"", "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": "El nombre de dominio del sitio web en el que el usuario iniciará sesión.", "x-telegram-field-docs": true}, "browser": {"type": "string", "x-tl-type": "string", "description": "El navegador que utilizó el usuario para realizar la solicitud OAuth", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "platform": {"type": "string", "x-tl-type": "string", "description": "La plataforma (sistema operativo) del usuario que realizó la solicitud OAuth", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "ip": {"type": "string", "x-tl-type": "string", "description": "La dirección IP del usuario que realiza la solicitud OAuth.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "region": {"type": "string", "x-tl-type": "string", "description": "La ubicación del usuario, inferida de la dirección IP.", "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": "Una lista de emojis o códigos, uno de los cuales se muestra actualmente en la página de inicio de sesión del sitio web/aplicación; el usuario debe seleccionar el que coincida y pasarlo a [messages.acceptUrlAuth](https://core.telegram.org/method/messages.acceptUrlAuth.md).`match_code`", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<string>"}, "user_id_hint": {"type": "string", "pattern": "^-?\\d+$", "description": "Puede contener el ID de la cuenta para la cual se creó la solicitud de inicio de sesión; si coincide con una cuenta que inició sesión, los clientes deben cambiar automáticamente a esa cuenta y volver a invocar [messages.requestUrlAuth](https://core.telegram.org/method/messages.requestUrlAuth.md) antes de mostrar el mensaje", "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": "Solo se puede configurar si se configura `is_app` y se verifica la aplicación; debe reemplazar `domain` en el mensaje de confirmación cuando esté presente", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?string"}, "tc_session_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Detalles sobre una solicitud de autorización aceptada, para más información [haga clic aquí »](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": "Si está presente, el URL para abrir en el navegador externo (puede usar un esquema personalizado para cambiar directamente a otra aplicación); si no está presente, el inicio de sesión se realizó correctamente y los clientes simplemente deben mostrar un brindis de confirmación.  Siempre configurado para [botón bot URL autorización](https://core.telegram.org/api/url-authorization.md#bot-button-url-authorization) y [enlace URL autorización](https://core.telegram.org/api/url-authorization.md#link-url-authorization).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_"], "additionalProperties": false}, "urlAuthResultDefault": {"title": "URLAuthResultDefault", "description": "Detalles sobre una solicitud de autorización aceptada, para más información [haga clic aquí »](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": "canalUbicaciónVacío", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelLocationEmpty"]}}, "required": ["_"], "additionalProperties": false}, "channelLocation": {"title": "canalUbicación", "type": "object", "properties": {"_": {"type": "string", "enum": ["channelLocation"]}, "geo_point": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Tipo TL: GeoPoint."}, "address": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "geo_point", "address"], "additionalProperties": false}, "peerLocated": {"title": "peerUbicado", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerLocated"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "parAutoubicado", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerSelfLocated"]}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "expires"], "additionalProperties": false}, "restrictionReason": {"title": "restricciónRazón", "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": "tema de entrada", "description": "Tema", "externalDocs": {"url": "https://core.telegram.org/constructor/inputTheme"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputTheme"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "identificación", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "hash de acceso", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputThemeSlug": {"title": "entradaTemaSlug", "description": "Tema por ID de tema", "externalDocs": {"url": "https://core.telegram.org/constructor/inputThemeSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputThemeSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "ID de tema único obtenido de un [enlace profundo del tema »](https://core.telegram.org/api/links.md#theme-links)", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "theme": {"title": "tema", "description": "Tema", "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": "Si el usuario actual es el creador de este tema", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este es el tema predeterminado", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "for_chat": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si este tema debe usarse como [tema de chat](https://telegram.org/blog/chat-themes-interactive-emoji-read-receipts)", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del tema", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acceso al tema", "x-tl-type": "long", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "ID de tema único", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del tema", "x-telegram-field-docs": true}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tema", "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": "Tipo de TL: Configuración del tema."}, "x-tl-type": "Vector<ThemeSettings>", "description": "Configuración del tema", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<ThemeSettings>"}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Tema emoji", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?string"}, "installs_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Recuento de instalaciones", "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": "No se instalaron nuevos temas.", "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": "Temas instalados", "externalDocs": {"url": "https://core.telegram.org/constructor/account.themes"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.themes"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Tema."}, "x-tl-type": "Vector<Theme>", "description": "Temas", "x-telegram-field-docs": true}}, "required": ["_", "hash", "themes"], "additionalProperties": false}, "auth.loginToken": {"title": "auth.loginToken", "description": "Token de inicio de sesión (para [inicio de sesión con código QR](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": "Fecha de caducidad del código QR", "x-telegram-field-docs": true}, "token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Token para renderizar en código QR", "x-telegram-field-docs": true}}, "required": ["_", "expires", "token"], "additionalProperties": false}, "auth.loginTokenMigrateTo": {"title": "auth.loginTokenMigrateTo", "description": "Repita la consulta al DC especificado", "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": "ID de CC", "x-telegram-field-docs": true}, "token": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Token a utilizar para iniciar sesión", "x-telegram-field-docs": true}}, "required": ["_", "dc_id", "token"], "additionalProperties": false}, "auth.loginTokenSuccess": {"title": "auth.loginTokenSuccess", "description": "¡Inicie sesión mediante token (código QR) correctamente!", "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": "Información de autorización", "x-telegram-field-docs": true}}, "required": ["_", "authorization"], "additionalProperties": false}, "account.contentSettings": {"title": "account.contentSettings", "description": "Configuración de contenido sensible", "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": "Si está habilitada la visualización de contenido confidencial (NSFW)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "sensitive_can_change": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el cliente actual puede cambiar la configuración de contenido confidencial para ver contenido NSFW", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "messages.inactiveChats": {"title": "messages.inactiveChats", "description": "Lista de chat inactiva", "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": "¿Cuándo estuvo activo el chat por última vez?", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "lista de chat", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en la lista de chat.", "x-telegram-field-docs": true}}, "required": ["_", "dates", "chats", "users"], "additionalProperties": false}, "baseThemeClassic": {"title": "baseTemaClásico", "description": "Tema clásico", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeClassic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeClassic"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeDay": {"title": "baseTemaDía", "description": "tema del dia", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeDay"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeDay"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeNight": {"title": "baseNocheTemática", "description": "Tema nocturno", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeNight"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeNight"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeTinted": {"title": "baseTemaTeñido", "description": "Tema teñido", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeTinted"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeTinted"]}}, "required": ["_"], "additionalProperties": false}, "baseThemeArctic": {"title": "baseTemaÁrtico", "description": "tema ártico", "externalDocs": {"url": "https://core.telegram.org/constructor/baseThemeArctic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["baseThemeArctic"]}}, "required": ["_"], "additionalProperties": false}, "inputThemeSettings": {"title": "entradaTemaConfiguración", "description": "Configuración del tema", "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": "Si está configurado, el relleno degradado de forma libre debe animarse en cada mensaje enviado.", "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": "Tema predeterminado en el que se basa este tema.", "x-telegram-field-docs": true}, "accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Color de acento, formato ARGB", "x-telegram-field-docs": true}, "outbox_accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Color de acento de los mensajes salientes en formato ARGB", "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": "El relleno que se utilizará como fondo para los mensajes salientes, en formato RGB24.  Si solo se proporcionan uno o dos colores iguales, describe un relleno sólido de un fondo.  Si se proporcionan dos colores diferentes, describe los colores superior e inferior de un degradado de 0 grados. Si se proporcionan tres o cuatro colores, describe un relleno degradado de forma libre de un fondo.", "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) o [inputWallPaperSlug](https://core.telegram.org/constructor/inputWallPaper.md) al pasar archivos de fondo de pantalla para [image](https://core.telegram.org/api/wallpapers.md#image-wallpapers) o [pattern](https://core.telegram.org/api/wallpapers.md#pattern-wallpapers) fondos de pantalla, [inputWallPaperNoFile](https://core.telegram.org/constructor/inputWallPaperNoFile.md) con `id=0` en caso contrario.", "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": "[Fondo de pantalla](https://core.telegram.org/api/wallpapers.md) configuración.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?WallPaperSettings"}}, "required": ["_", "base_theme", "accent_color"], "additionalProperties": false}, "themeSettings": {"title": "temaConfiguraciones", "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": "Tipo de TL: Tema base."}, "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": "Tipo TL: Papel pintado.", "x-tl-flag": "flags.1?WallPaper"}}, "required": ["_", "base_theme", "accent_color"], "additionalProperties": false}, "webPageAttributeTheme": {"title": "Tema de atributo de página web", "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": "Tipo TL: Documento."}, "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": "Tipo de TL: Configuración del tema.", "x-tl-flag": "flags.1?ThemeSettings"}}, "required": ["_"], "additionalProperties": false}, "webPageAttributeStory": {"title": "HistoriaAtributoPágina Web", "type": "object", "properties": {"_": {"type": "string", "enum": ["webPageAttributeStory"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "Tipo de TL: Artículo de historia.", "x-tl-flag": "flags.0?StoryItem"}}, "required": ["_", "peer", "id"], "additionalProperties": false}, "webPageAttributeStickerSet": {"title": "conjunto de pegatinas de atributo de página web", "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": "Tipo TL: Documento."}, "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": "Tipo 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": "Tipo TL: Documento."}, "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": "Tipo 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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "emoji_id"], "additionalProperties": false}, "messages.votesList": {"title": "messages.votesList", "description": "Cómo votaron los usuarios en una encuesta", "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": "Número total de votos para todas las opciones (o solo para la elegida `option`, si se proporciona a [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": "Tipo de TL: MessagePeerVote."}, "x-tl-type": "Vector<MessagePeerVote>", "description": "Información de voto para cada usuario.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información sobre los usuarios que votaron en la encuesta.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para usar con la siguiente solicitud [messages.getPollVotes](https://core.telegram.org/method/messages.getPollVotes.md), cadena vacía si no hay más resultados disponibles.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "count", "votes", "chats", "users"], "additionalProperties": false}, "bankCardOpenUrl": {"title": "bancoTarjetaOpenUrl", "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": "Información de la tarjeta de crédito, proporcionada por el banco de la tarjeta.", "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": "título de la tarjeta de crédito", "x-telegram-field-docs": true}, "open_urls": {"type": "array", "items": {"type": "object", "x-tl-type": "BankCardOpenUrl", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["bankCardOpenUrl"]}}, "description": "Tipo de TL: BankCardOpenUrl."}, "x-tl-type": "Vector<BankCardOpenUrl>", "description": "Información URL(s) proporcionada(s) por el(los) banco(s) de la tarjeta", "x-telegram-field-docs": true}}, "required": ["_", "title", "open_urls"], "additionalProperties": false}, "dialogFilter": {"title": "filtro de diálogo", "description": "Filtro de diálogo AKA [carpeta](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": "Si se deben incluir todos los contactos en esta [carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se deben incluir todos los que no son contactos en esta [carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "groups": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se deben incluir todos los grupos en esta [carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "broadcasts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se deben incluir todos los canales en esta [carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "bots": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se deben incluir todos los bots en esta [carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "exclude_muted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se excluyen los chats silenciados de esta [carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "exclude_read": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se excluyen los chats de lectura de esta [carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "exclude_archived": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se excluyen los chats archivados de esta [carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}, "title_noanimate": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, los emojis animados presentes en `title` no deberían estar animados y, en cambio, deberían congelarse en el primer fotograma.", "x-telegram-field-docs": true, "x-tl-flag": "flags.28?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Carpeta](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": "[Carpeta](https://core.telegram.org/api/folders.md) nombre (máximo 12 UTF-8 caracteres)", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji para usar como ícono de la carpeta.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?string"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Un ID de color para la [etiqueta de carpeta asociada a esta carpeta, consulte aquí »](https://core.telegram.org/api/folders.md#folder-tags) para obtener más información.", "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Chats anclados, [carpetas](https://core.telegram.org/api/folders.md) pueden tener chats anclados ilimitados", "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Incluye los siguientes chats en esta [carpeta](https://core.telegram.org/api/folders.md)", "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Excluir los siguientes chats de esta [carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true}}, "required": ["_", "id", "title", "pinned_peers", "include_peers", "exclude_peers"], "additionalProperties": false}, "dialogFilterDefault": {"title": "dialogFilterDefault", "description": "Se usa solo al reordenar carpetas para indicar la carpeta predeterminada (todos los chats).", "externalDocs": {"url": "https://core.telegram.org/constructor/dialogFilterDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["dialogFilterDefault"]}}, "required": ["_"], "additionalProperties": false}, "dialogFilterChatlist": {"title": "dialogFilterChatlist", "description": "Una carpeta importada usando un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links).", "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": "Si el usuario actual ha creado algunos [vínculos profundos de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links) para compartir la carpeta también.", "x-telegram-field-docs": true, "x-tl-flag": "flags.26?true"}, "title_noanimate": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, los emojis animados presentes en `title` no deberían estar animados y, en cambio, deberían congelarse en el primer fotograma.", "x-telegram-field-docs": true, "x-tl-flag": "flags.28?true"}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de la carpeta", "x-telegram-field-docs": true}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Nombre de la carpeta (máximo 12 UTF-8 caracteres)", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji para usar como ícono de la carpeta.", "x-telegram-field-docs": true, "x-tl-flag": "flags.25?string"}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Un ID de color para la [etiqueta de carpeta asociada a esta carpeta, consulte aquí »](https://core.telegram.org/api/folders.md#folder-tags) para obtener más información.", "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Chats anclados, [carpetas](https://core.telegram.org/api/folders.md) pueden tener chats anclados ilimitados", "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Chats para incluir en la carpeta", "x-telegram-field-docs": true}}, "required": ["_", "id", "title", "pinned_peers", "include_peers"], "additionalProperties": false}, "dialogFilterSuggested": {"title": "dialogFilterSugerido", "description": "[carpetas](https://core.telegram.org/api/folders.md)] sugeridas", "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": "[Información de carpeta](https://core.telegram.org/api/folders.md)", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "[Carpeta](https://core.telegram.org/api/folders.md) descripción", "x-telegram-field-docs": true}}, "required": ["_", "filter", "description"], "additionalProperties": false}, "statsDateRangeDays": {"title": "estadísticasDateRangeDays", "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": "estadísticasAbsValueAndPrev", "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": "estadísticasPorcentajeValor", "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": "estadísticasGraphAsync", "description": "Este [gráfico de estadísticas del canal](https://core.telegram.org/api/stats.md) debe generarse de forma asincrónica usando [stats.loadAsyncGraph](https://core.telegram.org/method/stats.loadAsyncGraph.md) para reducir la carga del servidor", "externalDocs": {"url": "https://core.telegram.org/constructor/statsGraphAsync"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGraphAsync"]}, "token": {"type": "string", "x-tl-type": "string", "description": "Token que se utilizará para obtener el gráfico asíncrono", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "statsGraphError": {"title": "statsGraphError", "description": "Se produjo un error al generar el [gráfico de estadísticas](https://core.telegram.org/api/stats.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/statsGraphError"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGraphError"]}, "error": {"type": "string", "x-tl-type": "string", "description": "el error", "x-telegram-field-docs": true}}, "required": ["_", "error"], "additionalProperties": false}, "statsGraph": {"title": "estadísticasGráfico", "description": "[Gráfico de estadísticas del canal](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": "Datos estadísticos", "x-telegram-field-docs": true}, "zoom_token": {"type": "string", "x-tl-type": "string", "description": "Ficha de zoom", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "json"], "additionalProperties": false}, "stats.broadcastStats": {"title": "stats.broadcastStats", "description": "[Estadísticas del canal](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": "Periodo en consideración", "x-telegram-field-docs": true}, "followers": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Cambio en el recuento de seguidores para el período considerado", "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`, para publicaciones publicadas durante el período considerado.  Tenga en cuenta que en este caso, `current` se refiere al `period` en consideración (`min_date` hasta `max_date`), y `prev` se refiere al período anterior (`(min_date - (max_date - min_date))` hasta `min_date`).", "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`, para publicaciones publicadas durante el período considerado.  Tenga en cuenta que en este caso, `current` se refiere al `period` en consideración (`min_date` hasta `max_date`), y `prev` se refiere al período anterior (`(min_date - (max_date - min_date))` hasta `min_date`)", "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`, para publicaciones publicadas durante el período considerado.  Tenga en cuenta que en este caso, `current` se refiere al `period` en consideración (`min_date` hasta el `max_date`), y `prev` se refiere al período anterior (`(min_date - (max_date - min_date))` hasta el `min_date`)", "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`, para publicaciones publicadas durante el período considerado.  Tenga en cuenta que en este caso, `current` se refiere al `period` en consideración (`min_date` hasta `max_date`), y `prev` se refiere al período anterior (`(min_date - (max_date - min_date))` hasta `min_date`)", "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`, para publicaciones publicadas durante el período considerado.  Tenga en cuenta que en este caso, `current` se refiere al `period` en consideración (`min_date` hasta el `max_date`), y `prev` se refiere al período anterior (`(min_date - (max_date - min_date))` hasta el `min_date`)", "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`, para publicaciones publicadas durante el período considerado.  Tenga en cuenta que en este caso, `current` se refiere al `period` en consideración (`min_date` hasta `max_date`), y `prev` se refiere al período anterior (`(min_date - (max_date - min_date))` hasta `min_date`)", "x-telegram-field-docs": true}, "enabled_notifications": {"type": "object", "x-tl-type": "StatsPercentValue", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsPercentValue"]}}, "description": "Porcentaje de suscriptores con notificaciones habilitadas", "x-telegram-field-docs": true}, "growth_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de crecimiento del canal (recuento absoluto de suscriptores)", "x-telegram-field-docs": true}, "followers_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de crecimiento de seguidores (recuento relativo de suscriptores)", "x-telegram-field-docs": true}, "mute_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de usuarios silenciados (relativo)", "x-telegram-field-docs": true}, "top_hours_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de vistas por hora (absoluto)", "x-telegram-field-docs": true}, "interactions_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de interacciones (absoluto)", "x-telegram-field-docs": true}, "iv_interactions_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de interacciones IV (absoluta)", "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": "Vistas por gráfico fuente (absoluto)", "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": "Gráfico de nuevos seguidores por fuente (absoluto)", "x-telegram-field-docs": true}, "languages_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de idioma del suscriptor (gráfico circular)", "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": "Un gráfico que contiene el número de reacciones en publicaciones categorizadas por emoción.", "x-telegram-field-docs": true}, "story_interactions_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Un gráfico que contiene el número de vistas y acciones compartidas de la historia.", "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": "Un gráfico que contiene el número de reacciones a historias categorizadas por emoción.", "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": "Tipo de TL: PostInteractionCounters."}, "x-tl-type": "Vector<PostInteractionCounters>", "description": "Estadísticas detalladas sobre el número de visualizaciones y acciones compartidas de mensajes e historias enviados recientemente", "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": "No hay información de PSA/MTProxy disponible", "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": "Vuelva a buscar la información de PSA/MTProxy después del número de segundos especificado", "x-telegram-field-docs": true}}, "required": ["_", "expires"], "additionalProperties": false}, "help.promoData": {"title": "help.promoData", "description": "Un conjunto de sugerencias útiles y un par patrocinado por PSA/MTProxy; consulte [aquí »](https://core.telegram.org/api/config.md#suggestions) para obtener más información.", "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": "Se establece cuando se conecta usando un MTProxy que ha configurado un par asociado (que se pasará en `peer`, i.e. el canal que patrocinó el MTProxy) que debe fijarse en la parte superior de la lista de chat.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "expires": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Unixtime cuándo volver a invocar [help.getPromoData](https://core.telegram.org/method/help.getPromoData.md).", "x-telegram-field-docs": true}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "MTProxy/PSA par", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Peer"}, "psa_type": {"type": "string", "x-tl-type": "string", "description": "Para anuncios de servicio público `peer`s, indica el tipo de PSA.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "psa_message": {"type": "string", "x-tl-type": "string", "description": "Para anuncios de servicio público `peer`s, contiene el PSA en sí.", "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": "Contiene una lista de [sugerencias pendientes» ](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": "Contiene una lista de [sugerencias invertidas »](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": "Contiene una lista de [sugerencias personalizadas pendientes» ](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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "información de chat", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "información de usuario", "x-telegram-field-docs": true}}, "required": ["_", "expires", "pending_suggestions", "dismissed_suggestions", "chats", "users"], "additionalProperties": false}, "videoSize": {"title": "Tamaño del vídeo", "description": "Una [imagen de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) en formato MPEG4", "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 valor »](https://core.telegram.org/api/files.md#videosizetype-values)", "x-telegram-field-docs": true}, "w": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Ancho del vídeo", "x-telegram-field-docs": true}, "h": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Altura del vídeo", "x-telegram-field-docs": true}, "size": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tamaño del archivo", "x-telegram-field-docs": true}, "video_start_ts": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Marca de tiempo que debe mostrarse como vista previa estática al usuario (segundos)", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?double"}}, "required": ["_", "type", "w", "h", "size"], "additionalProperties": false}, "videoSizeEmojiMarkup": {"title": "videoTamañoEmojiMarkup", "description": "Una [imagen de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) basada en una [pegatina emoji personalizada](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": "[ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md): la pegatina de emoji personalizada se muestra en el centro de la imagen de perfil y ocupa como máximo el 67% de la misma.", "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 o 4 RBG-24 colores utilizados para generar un fondo sólido (1), degradado (2) o degradado de forma libre (3, 4), similar a cómo se generan [fondos de pantalla de relleno](https://core.telegram.org/api/wallpapers.md#fill-types). El ángulo de rotación para fondos degradados es 0.", "x-telegram-field-docs": true}}, "required": ["_", "emoji_id", "background_colors"], "additionalProperties": false}, "videoSizeStickerMarkup": {"title": "videoTamañoStickerMarkup", "description": "Una [imagen de perfil animada](https://core.telegram.org/api/files.md#animated-profile-pictures) basada en una [pegatina](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": "conjunto de pegatinas", "x-telegram-field-docs": true}, "sticker_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Etiqueta de identificación", "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 o 4 RBG-24 colores utilizados para generar un fondo sólido (1), degradado (2) o degradado de forma libre (3, 4), similar a cómo se generan [fondos de pantalla de relleno](https://core.telegram.org/api/wallpapers.md#fill-types). El ángulo de rotación para fondos degradados es 0.", "x-telegram-field-docs": true}}, "required": ["_", "stickerset", "sticker_id", "background_colors"], "additionalProperties": false}, "statsGroupTopPoster": {"title": "estadísticasGrupoTopPoster", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGroupTopPoster"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "estadísticasGrupoTopAdmin", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGroupTopAdmin"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "estadísticasGrupoTopInviter", "type": "object", "properties": {"_": {"type": "string", "enum": ["statsGroupTopInviter"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Supergrupo [estadísticas](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": "Periodo en consideración", "x-telegram-field-docs": true}, "members": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Cambio en el recuento de miembros para el período considerado", "x-telegram-field-docs": true}, "messages": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Cambio de número de mensaje para el período en consideración", "x-telegram-field-docs": true}, "viewers": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Número de usuarios que vieron mensajes, para el rango en consideración", "x-telegram-field-docs": true}, "posters": {"type": "object", "x-tl-type": "StatsAbsValueAndPrev", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsAbsValueAndPrev"]}}, "description": "Número de usuarios que publicaron mensajes, para el rango en consideración", "x-telegram-field-docs": true}, "growth_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de crecimiento del supergrupo (recuento absoluto de suscriptores)", "x-telegram-field-docs": true}, "members_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Crecimiento de miembros (recuento relativo de suscriptores)", "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": "Nuevos miembros por gráfico de fuente", "x-telegram-field-docs": true}, "languages_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de idioma del suscriptor (gráfico circular)", "x-telegram-field-docs": true}, "messages_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de actividad de mensajes (gráfico de barras apiladas, tipo de mensaje)", "x-telegram-field-docs": true}, "actions_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de actividad del grupo (mensajes eliminados, modificados, usuarios bloqueados)", "x-telegram-field-docs": true}, "top_hours_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de actividad por hora (absoluta)", "x-telegram-field-docs": true}, "weekdays_graph": {"type": "object", "x-tl-type": "StatsGraph", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGraphAsync", "statsGraphError", "statsGraph"]}}, "description": "Gráfico de actividad por día de la semana (absoluto)", "x-telegram-field-docs": true}, "top_posters": {"type": "array", "items": {"type": "object", "x-tl-type": "StatsGroupTopPoster", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGroupTopPoster"]}}, "description": "Tipo de TL: StatsGroupTopPoster."}, "x-tl-type": "Vector<StatsGroupTopPoster>", "description": "Información sobre los miembros más activos del grupo.", "x-telegram-field-docs": true}, "top_admins": {"type": "array", "items": {"type": "object", "x-tl-type": "StatsGroupTopAdmin", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGroupTopAdmin"]}}, "description": "Tipo de TL: StatsGroupTopAdmin."}, "x-tl-type": "Vector<StatsGroupTopAdmin>", "description": "Información sobre los administradores de grupo más activos", "x-telegram-field-docs": true}, "top_inviters": {"type": "array", "items": {"type": "object", "x-tl-type": "StatsGroupTopInviter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["statsGroupTopInviter"]}}, "description": "Tipo de TL: StatsGroupTopInviter."}, "x-tl-type": "Vector<StatsGroupTopInviter>", "description": "Información sobre los invitados a grupos más activos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información sobre los usuarios mencionados en las estadísticas.", "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": "Configuración de privacidad global", "description": "Configuración de privacidad global", "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": "Ya sea para archivar y silenciar nuevos chats de personas que no son contactos", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "keep_archived_unmuted": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si los chats no silenciados se mantendrán en la lista de chats de Archivo cuando reciban un mensaje nuevo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "keep_archived_folders": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Ya sea que los chats activados que siempre estén incluidos o fijados en una [carpeta](https://core.telegram.org/api/folders.md)] se mantengan en la lista de chats de Archivo cuando reciban un mensaje nuevo. Se ignora si se establece `keep_archived_unmuted`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "hide_read_marks": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se establece esta marca, la clave [inputPrivacyKeyStatusTimestamp](https://core.telegram.org/constructor/inputPrivacyKeyStatusTimestamp.md) también se aplicará a la capacidad de usar [messages.getOutboxReadDate](https://core.telegram.org/method/messages.getOutboxReadDate.md) en los mensajes que nos envíen.  Es decir, los usuarios que no pueden ver *nuestra* última fecha exacta en línea debido al valor actual de la clave [inputPrivacyKeyStatusTimestamp](https://core.telegram.org/constructor/inputPrivacyKeyStatusTimestamp.md) recibirán un error `403 USER_PRIVACY_RESTRICTED` al invocar [messages.getOutboxReadDate](https://core.telegram.org/method/messages.getOutboxReadDate.md) para obtener la fecha exacta de lectura de un mensaje que nos enviaron.  El indicador [userFull](https://core.telegram.org/constructor/userFull.md).`read_dates_private` se establecerá para los usuarios que tengan este indicador habilitado.", "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": "Consulte [aquí para obtener más información sobre esta bandera» ](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": "Habilita o deshabilita nuestra bandera [userFull](https://core.telegram.org/constructor/userFull.md).`display_gifts_button`: si la bandera [userFull](https://core.telegram.org/constructor/userFull.md).`display_gifts_button` de nosotros y de otro usuario está configurada, siempre se debe mostrar un botón de regalo en el campo de texto en los chats privados con el otro usuario: una vez que se hace clic, se debe mostrar la interfaz de usuario de regalo, ofreciendo al usuario opciones para regalar suscripciones [Telegram Premium »](https://core.telegram.org/api/premium.md#gifting-telegram-premium) o [Regalos Telegram »](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": "Si está configurado, especifica la cantidad de [estrellas](https://core.telegram.org/api/stars.md) que los usuarios deben pagarnos para enviarnos un mensaje; consulte [aquí »](https://core.telegram.org/api/paid-messages.md) para obtener más información sobre los mensajes pagos.", "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": "No permite la recepción de tipos de obsequios específicos.", "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": "Tipo TL: help.CountryCode."}, "x-tl-type": "Vector<help.CountryCode>"}}, "required": ["_", "iso2", "default_name", "country_codes"], "additionalProperties": false}, "help.countriesListNotModified": {"title": "help.countriesListNotModified", "description": "La lista de países no ha cambiado.", "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": "Nombre, código ISO, nombre localizado y códigos/patrones telefónicos de todos los países disponibles", "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": "Tipo TL: help.Country."}, "x-tl-type": "Vector<help.Country>", "description": "Nombre, código ISO, nombre localizado y códigos/patrones telefónicos de todos los países disponibles", "x-telegram-field-docs": true}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}}, "required": ["_", "countries", "hash"], "additionalProperties": false}, "messageViews": {"title": "mensajeVistas", "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": "Tipo de TL: Respuestas de mensajes.", "x-tl-flag": "flags.2?MessageReplies"}}, "required": ["_"], "additionalProperties": false}, "messages.messageViews": {"title": "messages.messageViews", "description": "Ver, reenviar contador + información sobre respuestas", "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": "Tipo de TL: Vistas de mensajes."}, "x-tl-type": "Vector<MessageViews>", "description": "Ver, reenviar contador + información sobre respuestas", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en el constructor.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en constructor.", "x-telegram-field-docs": true}}, "required": ["_", "views", "chats", "users"], "additionalProperties": false}, "messages.discussionMessage": {"title": "messages.discussionMessage", "description": "Información sobre un [hilo de mensajes](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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Los mensajes desde los que comienza el hilo. Los mensajes se devuelven en orden cronológico inverso (i.e., en orden decreciente de ID del mensaje).", "x-telegram-field-docs": true}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje de la última respuesta en este [tema](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": "ID de mensaje del último mensaje entrante leído en este [tema](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": "ID de mensaje del último mensaje saliente leído en este [hilo](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": "Número de mensajes no leídos", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en el constructor.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en constructor.", "x-telegram-field-docs": true}}, "required": ["_", "messages", "unread_count", "chats", "users"], "additionalProperties": false}, "messageReplyHeader": {"title": "mensajeResponderEncabezado", "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": "Tipo TL: Par.", "x-tl-flag": "flags.0?Peer"}, "reply_from": {"type": "object", "x-tl-type": "MessageFwdHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageFwdHeader"]}}, "description": "Tipo de 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": "Tipo de TL: 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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: Texto enriquecido."}, "x-tl-type": "Vector<RichText>", "x-tl-flag": "flags.14?Vector<RichText>"}}, "required": ["_"], "additionalProperties": false}, "messageReplyStoryHeader": {"title": "mensajeResponderHistoriaEncabezado", "type": "object", "properties": {"_": {"type": "string", "enum": ["messageReplyStoryHeader"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "story_id"], "additionalProperties": false}, "messageReplies": {"title": "mensajeRespuestas", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "x-tl-flag": "flags.1?Vector<Peer>"}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "parBloqueado", "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": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer_id", "date"], "additionalProperties": false}, "stats.messageStats": {"title": "stats.messageStats", "description": "Estadísticas de mensajes", "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": "Gráfico de vista de mensajes", "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": "Un gráfico que contiene el número de reacciones a historias categorizadas por emoción.", "x-telegram-field-docs": true}}, "required": ["_", "views_graph", "reactions_by_emotion_graph"], "additionalProperties": false}, "groupCallDiscarded": {"title": "grupoLlamadaDescartado", "type": "object", "properties": {"_": {"type": "string", "enum": ["groupCallDiscarded"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "duration": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "access_hash", "duration"], "additionalProperties": false}, "groupCall": {"title": "llamada grupal", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "x-tl-flag": "flags.21?Peer"}}, "required": ["_", "id", "access_hash", "participants_count", "unmuted_video_limit", "version"], "additionalProperties": false}, "inputGroupCall": {"title": "entradaGrupoLlamada", "description": "Señala una [llamada grupal](https://core.telegram.org/api/group-calls.md)] específica.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGroupCall"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGroupCall"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de llamada grupal", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acceso a llamadas grupales", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputGroupCallSlug": {"title": "entradaGrupoCallSlug", "description": "Identifique una [conferencia telefónica »](https://core.telegram.org/api/group-calls.md#conference-calls) usando el slug de su enlace de invitación.\n\nEste constructor sólo se puede utilizar para llamadas de conferencia. No se puede utilizar para videochats/transmisiones en vivo, historias en vivo ni ningún otro tipo de llamada grupal.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputGroupCallSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputGroupCallSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Slug del [enlace de la conferencia »](https://core.telegram.org/api/links.md#conference-links).", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputGroupCallInviteMessage": {"title": "entradaGrupoLlamadaInvitaciónMensaje", "description": "Identifica una [llamada de conferencia »](https://core.telegram.org/api/group-calls.md#conference-calls) utilizando su mensaje de servicio de invitación [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md).", "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 del [messageActionConferenceCall](https://core.telegram.org/constructor/messageActionConferenceCall.md).", "x-telegram-field-docs": true}}, "required": ["_", "msg_id"], "additionalProperties": false}, "groupCallParticipant": {"title": "grupoLlamadaParticipante", "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": "Tipo TL: Par."}, "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: GroupCallParticipantVideo.", "x-tl-flag": "flags.6?GroupCallParticipantVideo"}, "presentation": {"type": "object", "x-tl-type": "GroupCallParticipantVideo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipantVideo"]}}, "description": "Tipo de TL: GroupCallParticipantVideo.", "x-tl-flag": "flags.14?GroupCallParticipantVideo"}, "paid_stars_total": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.16?long"}}, "required": ["_", "peer", "date", "source"], "additionalProperties": false}, "phone.groupCall": {"title": "phone.groupCall", "description": "Contiene información de llamadas grupales y una página inicial de participantes, consulte [obtener información sobre una llamada grupal »](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": "Información sobre la llamada grupal", "x-telegram-field-docs": true}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Tipo de TL: GroupCallParticipant."}, "x-tl-type": "Vector<GroupCallParticipant>", "description": "Una lista parcial de participantes.", "x-telegram-field-docs": true}, "participants_next_offset": {"type": "string", "x-tl-type": "string", "description": "Siguiente desplazamiento a usar al buscar a los participantes restantes usando [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md)", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en el vector de participantes.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en el vector de participantes.", "x-telegram-field-docs": true}}, "required": ["_", "call", "participants", "participants_next_offset", "chats", "users"], "additionalProperties": false}, "phone.groupParticipants": {"title": "phone.groupParticipants", "description": "Contiene una página de participantes de llamadas grupales, consulte [obtener información sobre una llamada grupal »](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": "Número de participantes", "x-telegram-field-docs": true}, "participants": {"type": "array", "items": {"type": "object", "x-tl-type": "GroupCallParticipant", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["groupCallParticipant"]}}, "description": "Tipo de TL: GroupCallParticipant."}, "x-tl-type": "Vector<GroupCallParticipant>", "description": "Lista de participantes", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Si no está vacía, la lista especificada de participantes es parcial y se pueden recuperar más participantes especificando este parámetro como `offset` en [phone.getGroupParticipants](https://core.telegram.org/method/phone.getGroupParticipants.md).", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}, "version": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Versión actual de la lista de participantes, utilizada para aplicar y detectar lagunas en las actualizaciones versionadas de [updateGroupCallParticipants](https://core.telegram.org/constructor/updateGroupCallParticipants.md)", "x-telegram-field-docs": true}}, "required": ["_", "count", "participants", "next_offset", "chats", "users", "version"], "additionalProperties": false}, "inlineQueryPeerTypeSameBotPM": {"title": "inlineQueryPeerTypeSameBotPM", "description": "Tipo de par: chat privado con el propio bot", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineQueryPeerTypeSameBotPM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypeSameBotPM"]}}, "required": ["_"], "additionalProperties": false}, "inlineQueryPeerTypePM": {"title": "inlineQueryPeerTypePM", "description": "Tipo de par: chat privado", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineQueryPeerTypePM"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineQueryPeerTypePM"]}}, "required": ["_"], "additionalProperties": false}, "inlineQueryPeerTypeChat": {"title": "inlineQueryPeerTypeChat", "description": "Tipo de compañero: [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": "inlineQueryPeerTypeMegagrupo", "description": "Tipo de compañero: [supergrupo](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": "Tipo de par: [canal](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": "Tipo de par: chat privado con un 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 de una [sesión de importación de chat específica, haga clic aquí para obtener más información »](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": "[ID de importación del historial](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": "Contiene información sobre un archivo de exportación de chat [generado por una aplicación de chat extranjera, haga clic aquí para obtener más información](https://core.telegram.org/api/import.md).\nSi no están configurados los indicadores `pm` o `group`, la exportación de chat especificada se generó a partir de un chat de tipo desconocido.", "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": "El archivo de exportación del chat se generó a partir de un chat privado.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "group": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "El archivo de exportación del chat se generó a partir de un chat grupal.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "title": {"type": "string", "x-tl-type": "string", "description": "Título del chat.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}}, "required": ["_"], "additionalProperties": false}, "messages.affectedFoundMessages": {"title": "messages.affectedFoundMessages", "description": "Mensajes encontrados y afectados por cambios", "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": "[Recuento de eventos tras generación](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "pts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Número de eventos que se generaron](https://core.telegram.org/api/updates.md)", "x-telegram-field-docs": true}, "offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si es mayor que cero, la solicitud debe repetirse para eliminar más mensajes.", "x-telegram-field-docs": true}, "messages": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "ID de mensajes afectados", "x-telegram-field-docs": true}}, "required": ["_", "pts", "pts_count", "offset", "messages"], "additionalProperties": false}, "chatInviteImporter": {"title": "chatInvitarImportador", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "messages.exportedChatInvites": {"title": "messages.exportedChatInvites", "description": "Información sobre invitaciones de chat exportadas por un determinado administrador.", "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": "Número de invitaciones exportadas por el administrador", "x-telegram-field-docs": true}, "invites": {"type": "array", "items": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "Tipo de TL: ExportedChatInvite."}, "x-tl-type": "Vector<ExportedChatInvite>", "description": "Invitaciones exportadas", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información sobre el administrador", "x-telegram-field-docs": true}}, "required": ["_", "count", "invites", "users"], "additionalProperties": false}, "messages.exportedChatInvite": {"title": "messages.exportedChatInvite", "description": "Información sobre una invitación a chat", "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": "Información sobre la invitación al chat", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "invite", "users"], "additionalProperties": false}, "messages.exportedChatInviteReplaced": {"title": "messages.exportedChatInviteReplaced", "description": "La invitación de chat especificada fue reemplazada por otra", "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": "La invitación de chat reemplazada", "x-telegram-field-docs": true}, "new_invite": {"type": "object", "x-tl-type": "ExportedChatInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteExported", "chatInvitePublicJoinRequests"]}}, "description": "La invitación que reemplaza la invitación anterior.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "invite", "new_invite", "users"], "additionalProperties": false}, "messages.chatInviteImporters": {"title": "messages.chatInviteImporters", "description": "Información sobre los usuarios que se unieron al chat mediante una invitación de chat específica", "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": "Número de usuarios que se unieron", "x-telegram-field-docs": true}, "importers": {"type": "array", "items": {"type": "object", "x-tl-type": "ChatInviteImporter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["chatInviteImporter"]}}, "description": "Tipo de TL: ChatInviteImporter."}, "x-tl-type": "Vector<ChatInviteImporter>", "description": "Los usuarios que se unieron", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Los usuarios que se unieron", "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 bits de velocidad en десятичной записи.", "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": "Información sobre invitaciones de chat generadas por administradores.", "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": "Tipo de TL: ChatAdminWithInvites."}, "x-tl-type": "Vector<ChatAdminWithInvites>", "description": "Información sobre invitaciones de chat generadas por administradores.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "admins", "users"], "additionalProperties": false}, "messages.checkedHistoryImportPeer": {"title": "messages.checkedHistoryImportPeer", "description": "Contiene un texto de confirmación que se mostrará al usuario al [importar el historial de chat, haga clic aquí para obtener más información »](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": "Un texto de confirmación que se mostrará al usuario al [importar el historial de chat »](https://core.telegram.org/api/import.md).", "x-telegram-field-docs": true}}, "required": ["_", "confirm_text"], "additionalProperties": false}, "phone.joinAsPeers": {"title": "phone.joinAsPeers", "description": "Contiene los pares que pueden usarse para unirse a un chat de video/transmisión en vivo; consulte [unirse en nombre de canales propios»](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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "description": "Compañeros", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en el vector de pares.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en el vector de pares", "x-telegram-field-docs": true}}, "required": ["_", "peers", "chats", "users"], "additionalProperties": false}, "phone.exportedGroupCallInvite": {"title": "phone.exportedGroupCallInvite", "description": "Una invitación a una llamada grupal o transmisión en vivo", "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": "Enlace de invitación", "x-telegram-field-docs": true}}, "required": ["_", "link"], "additionalProperties": false}, "groupCallParticipantVideoSourceGroup": {"title": "grupoLlamadaParticipanteVideoFuenteGrupo", "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": "grupoLlamadaParticipanteVideo", "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": "Tipo de 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": "Un nombre corto sugerido para un paquete de pegatinas.", "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": "Nombre corto sugerido", "x-telegram-field-docs": true}}, "required": ["_", "short_name"], "additionalProperties": false}, "botCommandScopeDefault": {"title": "botCommandScopePor defecto", "description": "Los comandos serán válidos en todos los cuadros de diálogo.", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopeDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopeDefault"]}}, "required": ["_"], "additionalProperties": false}, "botCommandScopeUsers": {"title": "botCommandScopeUsers", "description": "Los comandos del bot especificados solo serán válidos en todos los chats privados con los usuarios.", "externalDocs": {"url": "https://core.telegram.org/constructor/botCommandScopeUsers"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botCommandScopeUsers"]}}, "required": ["_"], "additionalProperties": false}, "botCommandScopeChats": {"title": "botCommandScopeChats", "description": "Los comandos del bot especificados serán válidos en todos los [grupos y supergrupos](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": "Los comandos del bot especificados serán válidos solo para administradores de chat, en todos los [grupos y supergrupos](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": "Los comandos del bot especificados serán válidos solo en un cuadro de diálogo específico.", "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": "El dialogo", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "botCommandScopePeerAdmins": {"title": "botCommandScopePeerAdmins", "description": "Los comandos del bot especificados serán válidos para todos los administradores del [grupo o supergrupo](https://core.telegram.org/api/channel.md) especificado.", "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": "la charla", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "botCommandScopePeerUser": {"title": "botCommandScopePeerUser", "description": "Los comandos del bot especificados serán válidos solo para un usuario específico en el [grupo o supergrupo](https://core.telegram.org/api/channel.md) especificado.", "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": "la charla", "x-telegram-field-docs": true}, "user_id": {"type": "object", "x-tl-type": "InputUser", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]}}, "description": "el usuario", "x-telegram-field-docs": true}}, "required": ["_", "peer", "user_id"], "additionalProperties": false}, "account.resetPasswordFailedWait": {"title": "account.resetPasswordFailedWait", "description": "Recientemente solicitó un restablecimiento de contraseña que fue cancelado; espere hasta la fecha especificada antes de solicitar otro restablecimiento.", "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": "Espere hasta esta fecha antes de solicitar otro reinicio.", "x-telegram-field-docs": true}}, "required": ["_", "retry_date"], "additionalProperties": false}, "account.resetPasswordRequestedWait": {"title": "account.resetPasswordRequestedWait", "description": "Solicitó con éxito un restablecimiento de contraseña. Espere hasta la fecha especificada antes de finalizar el restablecimiento.", "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": "Espere hasta esta fecha antes de finalizar el reinicio.", "x-telegram-field-docs": true}}, "required": ["_", "until_date"], "additionalProperties": false}, "account.resetPasswordOk": {"title": "account.resetPasswordOk", "description": "La contraseña 2FA se restableció correctamente.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.resetPasswordOk"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.resetPasswordOk"]}}, "required": ["_"], "additionalProperties": false}, "chatTheme": {"title": "chatTema", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatTheme"]}, "emoticon": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "emoticon"], "additionalProperties": false}, "chatThemeUniqueGift": {"title": "chatTemaÚnicoRegalo", "type": "object", "properties": {"_": {"type": "string", "enum": ["chatThemeUniqueGift"]}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Tipo TL: StarGift."}, "theme_settings": {"type": "array", "items": {"type": "object", "x-tl-type": "ThemeSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["themeSettings"]}}, "description": "Tipo de TL: Configuración del tema."}, "x-tl-type": "Vector<ThemeSettings>"}}, "required": ["_", "gift", "theme_settings"], "additionalProperties": false}, "account.chatThemesNotModified": {"title": "account.chatThemesNotModified", "description": "Los temas de chat disponibles no fueron modificados", "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": "Disponibles [temas de chat](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 para pasar al método que devolvió este constructor, para evitar recuperar el resultado si no ha cambiado.", "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": "Tipo de TL: Tema de chat."}, "x-tl-type": "Vector<ChatTheme>", "description": "Temas.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en el campo `themes`.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en el campo `themes`.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Siguiente desplazamiento para la paginación.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "hash", "themes", "chats", "users"], "additionalProperties": false}, "sponsoredMessage": {"title": "mensaje patrocinado", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo TL: Foto.", "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": "Tipo de TL: MessageMedia.", "x-tl-flag": "flags.14?MessageMedia"}, "color": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Tipo 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": "Un conjunto de mensajes patrocinados asociados a un canal.", "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": "Si se establece, especifica el número mínimo de mensajes entre los mensajes patrocinados mostrados; de lo contrario, sólo se debe mostrar un mensaje patrocinado después de todos los mensajes ordinarios.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "start_delay": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para que [los mensajes patrocinados se muestren en los vídeos del canal» ](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements), el número de segundos que se deben esperar antes de mostrar el primer anuncio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "between_delay": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para [mensajes patrocinados para mostrar en videos del canal »](https://core.telegram.org/api/sponsored-messages.md#getting-sponsored-video-advertisements), la cantidad de segundos que se deben esperar después de que se oculta el anuncio anterior, antes de mostrar el siguiente anuncio.", "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": "Tipo de TL: Mensaje patrocinado."}, "x-tl-type": "Vector<SponsoredMessage>", "description": "Mensajes patrocinados", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en los mensajes patrocinados.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en los mensajes patrocinados.", "x-telegram-field-docs": true}}, "required": ["_", "messages", "chats", "users"], "additionalProperties": false}, "messages.sponsoredMessagesEmpty": {"title": "messages.sponsoredMessagesEmpty", "description": "No hay mensajes patrocinados disponibles.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.sponsoredMessagesEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.sponsoredMessagesEmpty"]}}, "required": ["_"], "additionalProperties": false}, "searchResultsCalendarPeriod": {"title": "buscarResultadosCalendarioPeríodo", "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": "Información sobre mensajes encontrados enviados en un día específico", "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": "Si está configurado, indica que los resultados pueden ser inexactos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de resultados que coinciden con la consulta", "x-telegram-field-docs": true}, "min_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Marca de tiempo inicial de los mensajes adjuntos", "x-telegram-field-docs": true}, "min_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Marca de tiempo final de los mensajes adjuntos", "x-telegram-field-docs": true}, "offset_id_offset": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Indica la posición absoluta de `messages[0]` dentro del resultado total establecido con el recuento `count`.  Esto es útil, por ejemplo, si necesitamos mostrar un contador `progress/total` (como `photo 134 of 200`, para todos los medios en un chat, simplemente podríamos usar `photo ${offset_id_offset} of ${count}`.", "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": "Tipo de TL: SearchResultsCalendarPeriod."}, "x-tl-type": "Vector<SearchResultsCalendarPeriod>", "description": "Se utiliza para dividir `messages` por días: se devuelven múltiples constructores [SearchResultsCalendarPeriod](https://core.telegram.org/type/SearchResultsCalendarPeriod.md), cada uno de los cuales contiene información sobre el primer, el último y el número total de mensajes que coinciden con el filtro que se enviaron en un día específico.   Esta información se puede utilizar fácilmente para dividir los `messages` devueltos por día.", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Mensajes", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "min_date", "min_msg_id", "periods", "messages", "chats", "users"], "additionalProperties": false}, "searchResultPosition": {"title": "posiciónResultadodebúsqueda", "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": "Información sobre posiciones dispersas de mensajes.", "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": "Número total de mensajes encontrados", "x-telegram-field-docs": true}, "positions": {"type": "array", "items": {"type": "object", "x-tl-type": "SearchResultsPosition", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["searchResultPosition"]}}, "description": "Tipo de TL: SearchResultsPosition."}, "x-tl-type": "Vector<SearchResultsPosition>", "description": "Lista de posiciones de mensajes", "x-telegram-field-docs": true}}, "required": ["_", "count", "positions"], "additionalProperties": false}, "channels.sendAsPeers": {"title": "channels.sendAsPeers", "description": "Una lista de pares que se pueden usar para enviar mensajes en un grupo específico", "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": "Tipo de TL: SendAsPeer."}, "x-tl-type": "Vector<SendAsPeer>", "description": "Compañeros que se pueden utilizar para enviar mensajes al grupo.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "peers", "chats", "users"], "additionalProperties": false}, "users.userFull": {"title": "users.userFull", "description": "Información completa del usuario", "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": "Información completa del usuario", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "full_user", "chats", "users"], "additionalProperties": false}, "messages.peerSettings": {"title": "messages.peerSettings", "description": "Configuración de pares", "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": "Configuración de pares", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "settings", "chats", "users"], "additionalProperties": false}, "auth.loggedOut": {"title": "auth.loggedOut", "description": "[Token de autenticación futura »](https://core.telegram.org/api/auth.md#future-auth-tokens) que se utilizará en autorizaciones posteriores", "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": "[Token de autenticación futura »](https://core.telegram.org/api/auth.md#future-auth-tokens) que se utilizará en autorizaciones posteriores", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?bytes"}}, "required": ["_"], "additionalProperties": false}, "reactionCount": {"title": "reacciónContar", "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": "Tipo TL: Reacción."}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "reaction", "count"], "additionalProperties": false}, "messageReactions": {"title": "mensajeReacciones", "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": "Tipo de 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": "Tipo de 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": "Tipo de TL: MessageReactor."}, "x-tl-type": "Vector<MessageReactor>", "x-tl-flag": "flags.4?Vector<MessageReactor>"}}, "required": ["_", "results"], "additionalProperties": false}, "messages.messageReactionsList": {"title": "messages.messageReactionsList", "description": "Lista de pares que reaccionaron a un mensaje específico", "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": "Número total de reacciones que coinciden con la consulta", "x-telegram-field-docs": true}, "reactions": {"type": "array", "items": {"type": "object", "x-tl-type": "MessagePeerReaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messagePeerReaction"]}}, "description": "Tipo de TL: MessagePeerReaction."}, "x-tl-type": "Vector<MessagePeerReaction>", "description": "Lista de pares que reaccionaron a un mensaje específico", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Si está configurado, indica el siguiente desplazamiento a usar para cargar más resultados invocando [messages.getMessageReactionsList](https://core.telegram.org/method/messages.getMessageReactionsList.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "count", "reactions", "chats", "users"], "additionalProperties": false}, "availableReaction": {"title": "disponibleReacción", "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": "Tipo TL: Documento."}, "appear_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "select_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "activate_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "effect_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "around_animation": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento.", "x-tl-flag": "flags.1?Document"}, "center_icon": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento.", "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": "No hay nuevas reacciones disponibles.", "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": "Animaciones y metadatos asociados a [reacciones de mensajes» ](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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo de TL: Reacción disponible."}, "x-tl-type": "Vector<AvailableReaction>", "description": "Animaciones y metadatos asociados a [reacciones de mensajes» ](https://core.telegram.org/api/reactions.md)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "reactions"], "additionalProperties": false}, "messagePeerReaction": {"title": "mensajePeerReaction", "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": "Tipo TL: Par."}, "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": "Tipo TL: Reacción."}}, "required": ["_", "peer_id", "date", "reaction"], "additionalProperties": false}, "groupCallStreamChannel": {"title": "grupoCallStreamChannel", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "channel", "scale", "last_timestamp_ms"], "additionalProperties": false}, "phone.groupCallStreamChannels": {"title": "phone.groupCallStreamChannels", "description": "Contiene los canales disponibles de una llamada grupal en modo RTMP, consulte [reproducir una transmisión en vivo RTMP »](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": "Tipo de TL: GroupCallStreamChannel."}, "x-tl-type": "Vector<GroupCallStreamChannel>", "description": "Disponibles RTMP canales de transmisión; puede estar vacío mientras el editor externo no esté enviando medios", "x-telegram-field-docs": true}}, "required": ["_", "channels"], "additionalProperties": false}, "phone.groupCallStreamRtmpUrl": {"title": "phone.groupCallStreamRtmpUrl", "description": "Contiene la RTMP publicación URL y la clave de transmisión secreta; consulte [crear y publicar una RTMP transmisión en vivo »](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": "Clave de transmisión secreta", "x-telegram-field-docs": true}}, "required": ["_", "url", "key"], "additionalProperties": false}, "attachMenuBotIconColor": {"title": "adjuntarMenúBotIconColor", "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": "adjuntarMenúBotIcon", "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": "Tipo TL: Documento."}, "colors": {"type": "array", "items": {"type": "object", "x-tl-type": "AttachMenuBotIconColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["attachMenuBotIconColor"]}}, "description": "Tipo TL: AdjuntarMenuBotIconColor."}, "x-tl-type": "Vector<AttachMenuBotIconColor>", "x-tl-flag": "flags.0?Vector<AttachMenuBotIconColor>"}}, "required": ["_", "name", "icon"], "additionalProperties": false}, "attachMenuBot": {"title": "adjuntarMenúBot", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: AdjuntarMenuPeerType."}, "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": "Tipo TL: AdjuntarMenuBotIcon."}, "x-tl-type": "Vector<AttachMenuBotIcon>"}}, "required": ["_", "bot_id", "short_name", "icons"], "additionalProperties": false}, "attachMenuBotsNotModified": {"title": "adjuntarMenuBotsNoModificado", "description": "La lista de miniaplicaciones de bots no ha cambiado.", "externalDocs": {"url": "https://core.telegram.org/constructor/attachMenuBotsNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuBotsNotModified"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuBots": {"title": "adjuntarMenuBots", "description": "Representa una lista de [miniaplicaciones de bots que se pueden iniciar desde el menú de archivos adjuntos »](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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: AdjuntarMenuBot."}, "x-tl-type": "Vector<AttachMenuBot>", "description": "Lista de [miniaplicaciones de bots que se pueden iniciar desde el menú de archivos adjuntos »](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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información sobre usuarios/bots relacionados", "x-telegram-field-docs": true}}, "required": ["_", "hash", "bots", "users"], "additionalProperties": false}, "attachMenuBotsBot": {"title": "adjuntarMenuBotsBot", "description": "Representa una [miniaplicación de bot que se puede iniciar desde el menú de archivos adjuntos »](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": "Representa una [miniaplicación de bot que se puede iniciar desde el menú de archivos adjuntos »](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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información sobre usuarios y bots relacionados", "x-telegram-field-docs": true}}, "required": ["_", "bot", "users"], "additionalProperties": false}, "webViewResultUrl": {"title": "webViewResultUrl", "description": "Contiene la vista web URL con el tema apropiado y los parámetros de información del usuario agregados", "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": "Si está configurada, la aplicación debe abrirse en modo de tamaño completo en lugar de en modo compacto.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "fullscreen": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, la aplicación debe abrirse en pantalla completa", "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": "ID de sesión de vista web (solo devuelto por [miniaplicaciones de botón en línea](https://core.telegram.org/api/bots/webapps.md#inline-button-mini-apps), [miniaplicaciones de botón de menú](https://core.telegram.org/api/bots/webapps.md#menu-button-mini-apps), [miniaplicaciones de menú adjunto](https://core.telegram.org/api/bots/webapps.md#attachment-menu-mini-apps)).", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?long"}, "url": {"type": "string", "x-tl-type": "string", "description": "Vista web URL para abrir", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "webViewMessageSent": {"title": "webVerMensajeEnviado", "description": "Información sobre un mensaje de vista web en línea enviado", "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": "ID de mensaje", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputBotInlineMessageID"}}, "required": ["_"], "additionalProperties": false}, "botMenuButtonDefault": {"title": "botMenúBotónPredeterminado", "description": "El marcador de posición [botón de menú del bot](https://core.telegram.org/api/bots/menu.md) nunca regresó a los usuarios: consulte [los documentos para obtener más información](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": "botMenúBotónComandos", "description": "[Botón de menú del bot](https://core.telegram.org/api/bots/menu.md) que abre la lista de comandos del bot cuando se hace clic.", "externalDocs": {"url": "https://core.telegram.org/constructor/botMenuButtonCommands"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botMenuButtonCommands"]}}, "required": ["_"], "additionalProperties": false}, "botMenuButton": {"title": "botMenúBotón", "description": "[Botón de menú del bot](https://core.telegram.org/api/bots/menu.md) que abre una [aplicación web](https://core.telegram.org/api/bots/webapps.md) cuando se hace clic.", "externalDocs": {"url": "https://core.telegram.org/constructor/botMenuButton"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["botMenuButton"]}, "text": {"type": "string", "x-tl-type": "string", "description": "Título que se mostrará en el botón de menú en lugar de 'Menú'", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "URL de una [aplicación web](https://core.telegram.org/api/bots/webapps.md) para abrir cuando el usuario hace clic en el botón", "x-telegram-field-docs": true}}, "required": ["_", "text", "url"], "additionalProperties": false}, "account.savedRingtonesNotModified": {"title": "account.savedRingtonesNotModified", "description": "La lista de sonidos de notificación no ha cambiado.", "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": "Una lista de sonidos de notificación guardados", "externalDocs": {"url": "https://core.telegram.org/constructor/account.savedRingtones"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.savedRingtones"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Sonidos de notificación guardados", "x-telegram-field-docs": true}}, "required": ["_", "hash", "ringtones"], "additionalProperties": false}, "notificationSoundDefault": {"title": "notificaciónSonidoPredeterminado", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundDefault"]}}, "required": ["_"], "additionalProperties": false}, "notificationSoundNone": {"title": "notificaciónSonidoNinguno", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundNone"]}}, "required": ["_"], "additionalProperties": false}, "notificationSoundLocal": {"title": "notificaciónSonidoLocal", "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": "notificaciónSonidoTono de llamada", "type": "object", "properties": {"_": {"type": "string", "enum": ["notificationSoundRingtone"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id"], "additionalProperties": false}, "account.savedRingtone": {"title": "account.savedRingtone", "description": "El sonido de notificación ya estaba en formato MP3 y se guardó sin ninguna modificación.", "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": "El sonido de notificación no estaba en formato MP3 y se convirtió y guardó correctamente. Utilice el [Documento](https://core.telegram.org/type/Document.md) devuelto para hacer referencia al sonido de notificación de ahora en adelante.", "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": "El sonido de notificación convertido.", "x-telegram-field-docs": true}}, "required": ["_", "document"], "additionalProperties": false}, "attachMenuPeerTypeSameBotPM": {"title": "adjuntarMenúPeerTypeSameBotPM", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeSameBotPM"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypeBotPM": {"title": "adjuntarMenúPeerTypeBotPM", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeBotPM"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypePM": {"title": "adjuntarMenúPeerTypePM", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypePM"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypeChat": {"title": "adjuntarMenúPeerTypeChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeChat"]}}, "required": ["_"], "additionalProperties": false}, "attachMenuPeerTypeBroadcast": {"title": "adjuntarMenúPeerTypeBroadcast", "type": "object", "properties": {"_": {"type": "string", "enum": ["attachMenuPeerTypeBroadcast"]}}, "required": ["_"], "additionalProperties": false}, "inputInvoiceMessage": {"title": "entradaFacturaMensaje", "description": "Una factura contenida en un mensaje [messageMediaInvoice](https://core.telegram.org/constructor/messageMediaInvoice.md) o [medio pago»](https://core.telegram.org/api/paid-media.md).", "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 donde se envió la factura/medio pago", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje", "x-telegram-field-docs": true}}, "required": ["_", "peer", "msg_id"], "additionalProperties": false}, "inputInvoiceSlug": {"title": "entradaFacturaSlug", "description": "Un fragmento de factura tomado de un [enlace profundo de factura](https://core.telegram.org/api/links.md#invoice-links) o del [`premium_invoice_slug` parámetro de configuración de la aplicación »](https://core.telegram.org/api/config.md#premium-invoice-slug)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "La babosa de la factura", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "inputInvoicePremiumGiftCode": {"title": "entradaFacturaPremiumCódigo de regalo", "description": "Se utiliza si el usuario desea iniciar un canal/supergrupo [sorteo](https://core.telegram.org/api/giveaways.md) o enviar algunos [códigos de regalo](https://core.telegram.org/api/giveaways.md) a los miembros de un canal/supergrupo, a cambio de [impulsos](https://core.telegram.org/api/boost.md).", "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": "Debe completarse con [inputStorePaymentPremiumGiveaway](https://core.telegram.org/constructor/inputStorePaymentPremiumGiveaway.md) para [sorteos](https://core.telegram.org/api/giveaways.md) y [inputStorePaymentPremiumGiftCode](https://core.telegram.org/constructor/inputStorePaymentPremiumGiftCode.md) para [regalos](https://core.telegram.org/api/giveaways.md).", "x-telegram-field-docs": true}, "option": {"type": "object", "x-tl-type": "PremiumGiftCodeOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["premiumGiftCodeOption"]}}, "description": "Debe completarse con una de las opciones de obsequio devueltas por [payments.getPremiumGiftCodeOptions](https://core.telegram.org/method/payments.getPremiumGiftCodeOptions.md); consulte la documentación de [sorteos »](https://core.telegram.org/api/giveaways.md) para obtener más información.", "x-telegram-field-docs": true}}, "required": ["_", "purpose", "option"], "additionalProperties": false}, "inputInvoiceStars": {"title": "entradaFacturaEstrellas", "description": "Se utiliza para recargar el saldo de [Telegram Stars](https://core.telegram.org/api/stars.md) de la cuenta corriente o de la cuenta de otra persona, o para iniciar un [Sorteo de Telegram Star »](https://core.telegram.org/api/giveaways.md#star-giveaways).", "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": "Un [inputStorePaymentStarsGiveaway](https://core.telegram.org/constructor/inputStorePaymentStarsGiveaway.md), [inputStorePaymentStarsTopup](https://core.telegram.org/constructor/inputStorePaymentStarsTopup.md) o [inputStorePaymentStarsGift](https://core.telegram.org/constructor/inputStorePaymentStarsGift.md).", "x-telegram-field-docs": true}}, "required": ["_", "purpose"], "additionalProperties": false}, "inputInvoiceChatInviteSubscription": {"title": "entradaFacturaChatInvitaciónSuscripción", "description": "Se utiliza para pagar una [suscripción a Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputInvoiceChatInviteSubscription"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputInvoiceChatInviteSubscription"]}, "hash": {"type": "string", "x-tl-type": "string", "description": "El [enlace de invitación de la suscripción Telegram Star »](https://core.telegram.org/api/stars.md#star-subscriptions)", "x-telegram-field-docs": true}}, "required": ["_", "hash"], "additionalProperties": false}, "inputInvoiceStarGift": {"title": "entradaFacturaEstrellaRegalo", "description": "Se utiliza para comprar un [Telegram Star Gift, consulte aquí »](https://core.telegram.org/api/gifts.md) para obtener más información.", "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": "Si está configurado, su nombre se ocultará si el usuario de destino decide mostrar el regalo en su perfil (aún verá que usted envió el regalo).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "include_upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Pague también por una eventual actualización del regalo a [obsequio coleccionable»](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": "Receptor del regalo.", "x-telegram-field-docs": true}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador del regalo, de [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": "Mensaje opcional, adjunto con el regalo.  La longitud máxima para este campo se especifica en el [stargifts_message_length_max valor de configuración del cliente »](https://core.telegram.org/api/config.md#stargifts-message-length-max).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "peer", "gift_id"], "additionalProperties": false}, "inputInvoiceStarGiftUpgrade": {"title": "entradaFacturaEstrellaRegaloActualizar", "description": "Se utiliza para [pagar para convertir un regalo en un regalo coleccionable](https://core.telegram.org/api/gifts.md#upgrade-a-gift-to-a-collectible-gift); consulte la documentación de [obsequios coleccionables »](https://core.telegram.org/api/gifts.md#collectible-gifts) para obtener más información sobre el flujo completo.", "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": "Configure esta marca para mantener el texto del regalo original, el remitente y el destinatario en el regalo actualizado como un atributo [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md).", "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": "El identificador del regalo recibido para actualizar.", "x-telegram-field-docs": true}}, "required": ["_", "stargift"], "additionalProperties": false}, "inputInvoiceStarGiftTransfer": {"title": "entradaFacturaEstrellaRegaloTransferencia", "description": "Se utiliza para [pagar para transferir un regalo coleccionable a otro compañero](https://core.telegram.org/api/gifts.md#transferring-collectible-gifts); consulte la documentación de [obsequios »](https://core.telegram.org/api/gifts.md#transferring-collectible-gifts) para obtener más información.", "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": "El identificador del regalo recibido.", "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": "El par de destino", "x-telegram-field-docs": true}}, "required": ["_", "stargift", "to_id"], "additionalProperties": false}, "inputInvoicePremiumGiftStars": {"title": "entradaFacturaPremiumRegaloEstrellas", "description": "Se utiliza para regalar una suscripción de [Telegram Premium](https://core.telegram.org/api/premium.md) a otro usuario, pagando con [Telegram Stars](https://core.telegram.org/api/stars.md).", "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": "Quién recibirá la suscripción regalada.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duración de la suscripción en meses, debe ser una de las opciones con `currency == \"XTR\"` devuelta por [payments.getPremiumGiftCodeOptions](https://core.telegram.org/method/payments.getPremiumGiftCodeOptions.md).", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Mensaje adjunto con el regalo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "user_id", "months"], "additionalProperties": false}, "inputInvoiceBusinessBotTransferStars": {"title": "entradaFacturaNegocioBotTransferEstrellas", "description": "Transfiera estrellas del saldo de una cuenta de usuario [conectada a un robot comercial](https://core.telegram.org/api/bots/connected-business-bots.md), al saldo del [bot comercial](https://core.telegram.org/api/bots/connected-business-bots.md); consulte [aquí»](https://core.telegram.org/api/stars.md#transferring-stars-from-a-business-account-to-the-business-bot) para obtener más información sobre el flujo completo.", "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": "Siempre [inputUserSelf](https://core.telegram.org/constructor/inputUserSelf.md).", "x-telegram-field-docs": true}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "El número de estrellas a transferir.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "bot", "stars"], "additionalProperties": false}, "inputInvoiceStarGiftResale": {"title": "entradaFacturaEstrellaRegaloReventa", "description": "Se utiliza para comprar un [regalo coleccionable](https://core.telegram.org/api/gifts.md#collectible-gifts) actualmente en reventa; consulte [aquí](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts) para obtener más información sobre el flujo completo.", "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": "Compra el regalo usando 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": "Babosa del regalo para comprar.", "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": "El receptor del regalo.", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo de TL: TextoConEntidades.", "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "slug", "to_id"], "additionalProperties": false}, "inputInvoiceStarGiftPrepaidUpgrade": {"title": "entradaFacturaEstrellaRegaloPrepagoActualización", "description": "[Pago por adelantado por separado para la actualización de un regalo »](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": "El par propietario del regalo.", "x-telegram-field-docs": true}, "hash": {"type": "string", "x-tl-type": "string", "description": "El hash de actualización de [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md).`prepaid_upgrade_hash` o [savedStarGift](https://core.telegram.org/constructor/savedStarGift.md).`prepaid_upgrade_hash`.", "x-telegram-field-docs": true}}, "required": ["_", "peer", "hash"], "additionalProperties": false}, "inputInvoicePremiumAuthCode": {"title": "entradaFacturaPremiumAuthCode", "description": "Se utiliza para pagar los códigos de inicio de sesión; en caso de que los códigos de verificación SMS para el país/proveedor del usuario sean elevados, consulte [aquí »](https://core.telegram.org/api/auth.md#paid-auth) para obtener más información.", "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": "Debe contener un [inputStorePaymentAuthCode](https://core.telegram.org/constructor/inputStorePaymentAuthCode.md).", "x-telegram-field-docs": true}}, "required": ["_", "purpose"], "additionalProperties": false}, "inputInvoiceStarGiftDropOriginalDetails": {"title": "entradaFacturaEstrellaRegaloDropOriginalDetalles", "description": "Se utiliza para pagar la eliminación del atributo [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md) de un regalo coleccionable; consulte [aquí »](https://core.telegram.org/api/gifts.md#dropping-the-original-details-of-an-upgraded-gift) para conocer el flujo completo.", "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": "El regalo coleccionable cuyo atributo [starGiftAttributeOriginalDetails](https://core.telegram.org/constructor/starGiftAttributeOriginalDetails.md) debe eliminarse.", "x-telegram-field-docs": true}}, "required": ["_", "stargift"], "additionalProperties": false}, "inputInvoiceStarGiftAuctionBid": {"title": "entradaFacturaEstrellaRegaloSubastaOferta", "description": "Se utiliza para realizar una oferta en una [subasta de regalos coleccionables»](https://core.telegram.org/api/auctions.md).", "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": "Si está configurado, su nombre se ocultará si el compañero de destino decide mostrar el regalo en su perfil (aún verá que usted envió el regalo).     No se debe establecer al actualizar una oferta existente, ya que el valor no se puede cambiar para las ofertas existentes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "update_bid": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Debe establecerse al aumentar una oferta ya existente.", "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": "Identificador del usuario o canal (solo si está configurado [channelFull](https://core.telegram.org/constructor/channelFull.md).`stargifts_available`) que recibirá el regalo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?InputPeer"}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador del regalo, de [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": "Importe total de la oferta en [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": "Mensaje opcional que se adjuntará con el regalo si terminamos ganando esta ronda: la longitud máxima para este campo se especifica en el [stargifts_message_length_max valor de configuración del cliente »](https://core.telegram.org/api/config.md#stargifts-message-length-max).     No se debe establecer al actualizar una oferta existente, ya que el valor no se puede cambiar para las ofertas existentes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "gift_id", "bid_amount"], "additionalProperties": false}, "payments.exportedInvoice": {"title": "payments.exportedInvoice", "description": "Exportado [enlace profundo de factura](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": "Exportado [enlace profundo de factura](https://core.telegram.org/api/links.md#invoice-links)", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "messages.transcribedAudio": {"title": "messages.transcribedAudio", "description": "[Texto transcrito de un mensaje de voz» ](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": "Si la transcripción es parcial porque la transcripción de audio aún está en progreso, si se configura, el usuario puede recibir más [updateTranscribedAudio](https://core.telegram.org/constructor/updateTranscribedAudio.md) actualizaciones con la transcripción actualizada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "transcription_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de transcripción", "x-tl-type": "long", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Texto transcrito", "x-telegram-field-docs": true}, "trial_remains_num": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para usuarios que no sean [Premium](https://core.telegram.org/api/premium.md), se establecerá esta bandera, indicando las transcripciones restantes en el período de prueba gratuito.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "trial_remains_until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Para usuarios que no sean [Premium](https://core.telegram.org/api/premium.md), se establecerá esta bandera, que indica la fecha en la que el contador `trial_remains_num` se restablecerá al valor máximo de [transcribe_audio_trial_weekly_number](https://core.telegram.org/api/config.md#transcribe-audio-trial-weekly-number).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "transcription_id", "text"], "additionalProperties": false}, "help.premiumPromo": {"title": "help.premiumPromo", "description": "Información de promoción de Telegram Premium\n\nTenga en cuenta que los campos `video_sections`+`videos` son una lista de videos y los identificadores de funciones premium correspondientes.\nSon equivalentes a una sección => video diccionario, con claves de `video_section` y valores de `videos`.\nLas claves en `video_sections` corresponden a un identificador de función específico y el video promocional asociado debe mostrarse cuando se hace clic en la fila de función asociada.", "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": "Descripción del estado actual de la suscripción Telegram Premium del usuario", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](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": "Una lista de [identificadores de funciones premium »](https://core.telegram.org/api/premium.md), asociados a cada vídeo", "x-telegram-field-docs": true}, "videos": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Una lista de vídeos", "x-telegram-field-docs": true}, "period_options": {"type": "array", "items": {"type": "object", "x-tl-type": "PremiumSubscriptionOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["premiumSubscriptionOption"]}}, "description": "Tipo de TL: Opción de suscripción premium."}, "x-tl-type": "Vector<PremiumSubscriptionOption>", "description": "Opciones de suscripción a Telegram Premium", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información de usuario relacionada", "x-telegram-field-docs": true}}, "required": ["_", "status_text", "status_entities", "video_sections", "videos", "period_options", "users"], "additionalProperties": false}, "inputStorePaymentPremiumSubscription": {"title": "entradaTiendaPagoPremiumSuscripción", "description": "Información sobre una compra de Telegram Premium", "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": "Pase verdadero si se trata de una restauración de una compra de Telegram Premium; sólo para la tienda de aplicaciones", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "upgrade": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Pase verdadero si se trata de una actualización de una suscripción mensual a una suscripción anual; solo para tienda de aplicaciones", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}}, "required": ["_"], "additionalProperties": false}, "inputStorePaymentGiftPremium": {"title": "entradaTiendaPagoRegaloPremium", "description": "Información sobre una compra de Telegram Premium regalado", "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": "El usuario al que se le regaló la suscripción Telegram Premium", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio del producto en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentPremiumGiftCode": {"title": "entradaTiendaPagoPremiumCódigo de regalo", "description": "Se utiliza para regalar suscripciones a [Telegram Premium](https://core.telegram.org/api/premium.md) solo a algunos suscriptores específicos de un canal/supergrupo o a algunos de nuestros contactos; consulte [aquí »](https://core.telegram.org/api/giveaways.md) para obtener más información sobre obsequios y obsequios.", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Los usuarios que recibirán las suscripciones [Telegram Premium](https://core.telegram.org/api/premium.md).", "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": "Si se configuran, los obsequios se enviarán en nombre de un canal/supergrupo del que seamos administradores, que también le asignará algunos [impulsos](https://core.telegram.org/api/boost.md). De lo contrario, el regalo será enviado directamente por el usuario actualmente conectado y obtendremos algunos [espacios de impulso](https://core.telegram.org/api/boost.md)] adicionales. Consulte [aquí »](https://core.telegram.org/api/giveaways.md) para obtener más información sobre obsequios y obsequios.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputPeer"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Mensaje adjunto con el regalo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "users", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentPremiumGiveaway": {"title": "entradaTiendaPagoPremiumSorteo", "description": "Solía ​​pagar un [sorteo, consulte aquí »](https://core.telegram.org/api/giveaways.md) para obtener más información.", "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": "Si se configura, solo los nuevos suscriptores a partir de la fecha de creación del sorteo podrán participar en el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "winners_are_visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se configuran, los ganadores del sorteo son públicos y aparecerán en un mensaje [messageMediaGiveawayResults](https://core.telegram.org/constructor/messageMediaGiveawayResults.md) que se enviará automáticamente al canal una vez que finalice el sorteo.", "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": "El canal/supergrupo que inicia el sorteo, al que el usuario debe unirse para participar, que recibirá el sorteo [boosts](https://core.telegram.org/api/boost.md); consulte [aquí »](https://core.telegram.org/api/giveaways.md) para obtener más información sobre obsequios.", "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Aquí se pueden especificar canales adicionales a los que el usuario debe unirse para participar en el sorteo.", "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": "El conjunto de usuarios que pueden participar en el sorteo se puede restringir pasando aquí una lista blanca explícita de hasta [giveaway_countries_max](https://core.telegram.org/api/config.md#giveaway-countries-max) países, especificados como códigos de país de dos letras ISO 3166-1 alfa-2.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<string>"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Puede contener una descripción textual de premios adicionales.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatorio para evitar reenviar el sorteo. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La fecha de finalización del sorteo debe ser como máximo [giveaway_period_max](https://core.telegram.org/api/config.md#giveaway-period-max) segundos en el futuro; consulte [aquí »](https://core.telegram.org/api/giveaways.md) para obtener más información sobre obsequios.", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "boost_peer", "random_id", "until_date", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentStarsTopup": {"title": "entradaTiendaPagoEstrellasRecarga", "description": "Se utiliza para recargar el [saldo de Telegram Stars](https://core.telegram.org/api/stars.md) de la cuenta corriente.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStorePaymentStarsTopup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStorePaymentStarsTopup"]}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Cantidad de estrellas a recargar", "x-tl-type": "long", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "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": "Debe completarse con el par donde se inició el proceso de recarga debido a fondos bajos (i.e. un bot para pagos de bot, un canal para medios/reacciones pagos, etc.); deje esta bandera sin completar si el flujo de recarga no se inició al intentar gastar más estrellas de las disponibles actualmente en el saldo de la cuenta.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?InputPeer"}}, "required": ["_", "stars", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentStarsGift": {"title": "entradaTiendaPagoEstrellasRegalo", "description": "Solía regalar [Telegram Stars](https://core.telegram.org/api/stars.md) a un amigo.", "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": "El usuario al que se le deben regalar las estrellas.", "x-telegram-field-docs": true}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Cantidad de estrellas a regalar", "x-tl-type": "long", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "stars", "currency", "amount"], "additionalProperties": false}, "inputStorePaymentStarsGiveaway": {"title": "entradaTiendaPagoEstrellasSorteo", "description": "Solía ​​pagar un [sorteo de estrellas, consulte aquí »](https://core.telegram.org/api/giveaways.md#star-giveaways) para obtener más información.", "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": "Si se configura, solo los nuevos suscriptores a partir de la fecha de creación del sorteo podrán participar en el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "winners_are_visible": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se configuran, los ganadores del sorteo son públicos y aparecerán en un mensaje [messageMediaGiveawayResults](https://core.telegram.org/constructor/messageMediaGiveawayResults.md) que se enviará automáticamente al canal una vez que finalice el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Número total de Telegram Stars que se regalarán (cada usuario recibirá `stars/users` estrellas).", "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": "El canal/supergrupo que inicia el sorteo, al que el usuario debe unirse para participar, que recibirá el sorteo [boosts](https://core.telegram.org/api/boost.md); consulte [aquí »](https://core.telegram.org/api/giveaways.md) para obtener más información sobre obsequios.", "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": "Tipo de TL: InputPeer."}, "x-tl-type": "Vector<InputPeer>", "description": "Aquí se pueden especificar canales adicionales a los que el usuario debe unirse para participar en el sorteo.", "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": "El conjunto de usuarios que pueden participar en el sorteo se puede restringir pasando aquí una lista blanca explícita de hasta [giveaway_countries_max](https://core.telegram.org/api/config.md#giveaway-countries-max) países, especificados como códigos de país de dos letras ISO 3166-1 alfa-2.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<string>"}, "prize_description": {"type": "string", "x-tl-type": "string", "description": "Puede contener una descripción textual de premios adicionales.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "random_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatorio para evitar reenviar el sorteo. Consulte [aquí »](https://core.telegram.org/api/updates.md#updatemessageid-updates) para obtener más información sobre la deduplicación aleatoria de ID y la asignación de updateMessageID.", "x-tl-type": "long", "x-telegram-field-docs": true}, "until_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La fecha de finalización del sorteo debe ser como máximo [giveaway_period_max](https://core.telegram.org/api/config.md#giveaway-period-max) segundos en el futuro; consulte [aquí »](https://core.telegram.org/api/giveaways.md) para obtener más información sobre obsequios.", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "users": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de ganadores.", "x-telegram-field-docs": true}}, "required": ["_", "stars", "boost_peer", "random_id", "until_date", "currency", "amount", "users"], "additionalProperties": false}, "inputStorePaymentAuthCode": {"title": "inputStorePaymentAuthCode", "description": "Indica el pago de un código de inicio de sesión.", "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": "Configure esta bandera para restaurar una compra realizada anteriormente.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono.", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "`phone_code_hash` devuelto por [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": "Duración en días de la suscripción de [Telegram Premium](https://core.telegram.org/api/premium.md) otorgada por esta compra, tal y como se indica en [auth.sentCodePaymentRequired](https://core.telegram.org/constructor/auth.sentCodePaymentRequired.md).`premium_days`.", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio del producto en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "phone_code_hash", "premium_days", "currency", "amount"], "additionalProperties": false}, "paymentFormMethod": {"title": "método de formulario de pago", "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": "emojiEstadoVacío", "description": "No se ha establecido ningún estado de emoji", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiStatusEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiStatusEmpty"]}}, "required": ["_"], "additionalProperties": false}, "emojiStatus": {"title": "emojiEstado", "description": "Un [estado de emoji](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": "[ID de documento emoji personalizado](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": "Si se establece, el estado del emoji estará activo hasta la hora unix especificada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "document_id"], "additionalProperties": false}, "emojiStatusCollectible": {"title": "emojiEstadoColeccionable", "description": "Un regalo coleccionable propio o alojado »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) como estado de emoji.\n\n**No** se puede pasar a [account.updateEmojiStatus](https://core.telegram.org/method/account.updateEmojiStatus.md), se debe convertir a [inputEmojiStatusCollectible](https://core.telegram.org/constructor/inputEmojiStatusCollectible.md) primero antes de pasarlo a ese método.", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiStatusCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiStatusCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del objeto de colección (de [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 del [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) que representa el estado.", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del coleccionable.", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "Identificador único del objeto de colección que se puede usar para crear un [enlace de regalo de colección »](https://core.telegram.org/api/links.md#collectible-gift-link) para el objeto de colección actual, o para obtener más información sobre el objeto de colección usando [payments.getUniqueStarGift](https://core.telegram.org/method/payments.getUniqueStarGift.md).", "x-telegram-field-docs": true}, "pattern_document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El ID de un patrón para aplicar en el fondo del perfil, correlacionado con el [starGiftAttributePattern](https://core.telegram.org/constructor/starGiftAttributePattern.md) del regalo en `slug`.", "x-tl-type": "long", "x-telegram-field-docs": true}, "center_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Color del centro del fondo del perfil en formato RGB24, del [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md)] del regalo.", "x-telegram-field-docs": true}, "edge_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Color de los bordes del fondo del perfil en formato RGB24, del [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md)] del regalo.", "x-telegram-field-docs": true}, "pattern_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Color del `pattern_document_id` aplicado en el fondo del perfil en formato RGB24, del [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md) del regalo.", "x-telegram-field-docs": true}, "text_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Color del texto en el fondo del perfil en formato RGB24, del [starGiftAttributeBackdrop](https://core.telegram.org/constructor/starGiftAttributeBackdrop.md)] del regalo.", "x-telegram-field-docs": true}, "until": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se establece, el estado del emoji estará activo hasta la hora unix especificada.", "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": "entradaEmojiEstadoColeccionable", "description": "Un [regalo coleccionable alojado o de propiedad»](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts) como estado emoji: solo se puede usar en [account.updateEmojiStatus](https://core.telegram.org/method/account.updateEmojiStatus.md), nunca es devuelto por el API.\n\nTenga en cuenta que una vez establecido, el estado se devolverá a los usuarios como un constructor [emojiStatusCollectible](https://core.telegram.org/constructor/emojiStatusCollectible.md) (que **no** puede pasarse a [account.updateEmojiStatus](https://core.telegram.org/method/account.updateEmojiStatus.md) y debe convertirse primero en un [inputEmojiStatusCollectible](https://core.telegram.org/constructor/inputEmojiStatusCollectible.md)).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputEmojiStatusCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputEmojiStatusCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del objeto de colección (de [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": "Si se establece, el estado del emoji estará activo hasta la hora unix especificada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "collectible_id"], "additionalProperties": false}, "account.emojiStatusesNotModified": {"title": "account.emojiStatusesNotModified", "description": "La lista del lado del servidor de [estados de emoji](https://core.telegram.org/api/emoji-status.md) no ha cambiado", "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": "Una lista de [estados de emoji](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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo de TL: EmojiStatus."}, "x-tl-type": "Vector<EmojiStatus>", "description": "[Estados de emoji](https://core.telegram.org/api/emoji-status.md)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "statuses"], "additionalProperties": false}, "reactionEmpty": {"title": "reacciónvacío", "description": "Sin reacción", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionEmpty"]}}, "required": ["_"], "additionalProperties": false}, "reactionEmoji": {"title": "reacciónEmoji", "description": "Reacción normal al mensaje emoji", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionEmoji"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "emojis", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "reactionCustomEmoji": {"title": "reacciónPersonalizadoEmoji", "description": "[Emoji personalizado](https://core.telegram.org/api/custom-emoji.md) reacción al mensaje", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionCustomEmoji"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionCustomEmoji"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID de documento emoji personalizado](https://core.telegram.org/api/custom-emoji.md)", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "document_id"], "additionalProperties": false}, "reactionPaid": {"title": "reacciónPagado", "description": "Representa una [reacción pagada de Telegram Star» ](https://core.telegram.org/api/reactions.md#paid-reactions).", "externalDocs": {"url": "https://core.telegram.org/constructor/reactionPaid"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionPaid"]}}, "required": ["_"], "additionalProperties": false}, "chatReactionsNone": {"title": "chatReaccionesNinguna", "description": "No se permiten reacciones", "externalDocs": {"url": "https://core.telegram.org/constructor/chatReactionsNone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["chatReactionsNone"]}}, "required": ["_"], "additionalProperties": false}, "chatReactionsAll": {"title": "chatReaccionesTodos", "description": "Se permiten todas las reacciones o todas las reacciones no personalizadas.", "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": "Si se permiten reacciones personalizadas", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}}, "required": ["_"], "additionalProperties": false}, "chatReactionsSome": {"title": "chatReaccionesAlgunas", "description": "Se permiten algunas reacciones.", "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": "Tipo TL: Reacción."}, "x-tl-type": "Vector<Reaction>", "description": "Conjunto de reacciones permitidas: el campo de configuración [reactions_in_chat_max](https://core.telegram.org/api/config.md#reactions-in-chat-max) indica el número máximo de reacciones que se pueden especificar en este campo.", "x-telegram-field-docs": true}}, "required": ["_", "reactions"], "additionalProperties": false}, "messages.reactionsNotModified": {"title": "messages.reactionsNotModified", "description": "La lista del lado del servidor de [reacciones de mensajes](https://core.telegram.org/api/reactions.md) no ha cambiado", "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": "Lista de [reacciones al mensaje](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": "El hash utilizado para el almacenamiento en caché también se puede regenerar localmente utilizando el algoritmo especificado [aquí »](https://core.telegram.org/api/reactions.md#recent-reactions).", "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": "Tipo TL: Reacción."}, "x-tl-type": "Vector<Reaction>", "description": "Reacciones", "x-telegram-field-docs": true}}, "required": ["_", "hash", "reactions"], "additionalProperties": false}, "emailVerifyPurposeLoginSetup": {"title": "correo electrónicoVerificarPropósitoIniciar sesiónConfiguración", "description": "Propósito de la verificación del correo electrónico: configurar el correo electrónico de inicio de sesión", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerifyPurposeLoginSetup"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerifyPurposeLoginSetup"]}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono", "x-telegram-field-docs": true}, "phone_code_hash": {"type": "string", "x-tl-type": "string", "description": "Hash del código telefónico según lo especificado en la [documentación](https://core.telegram.org/api/auth.md#email-verification)", "x-telegram-field-docs": true}}, "required": ["_", "phone_number", "phone_code_hash"], "additionalProperties": false}, "emailVerifyPurposeLoginChange": {"title": "correo electrónicoVerificarPropósitoIniciar sesiónCambiar", "description": "Propósito de la verificación del correo electrónico: cambiar el correo electrónico de inicio de sesión", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerifyPurposeLoginChange"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerifyPurposeLoginChange"]}}, "required": ["_"], "additionalProperties": false}, "emailVerifyPurposePassport": {"title": "correo electrónicoVerificarPropósitoPasaporte", "description": "Verificar un correo electrónico para usarlo en [telegram pass](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": "correo electrónicoCódigo de verificación", "description": "Código de verificación de correo electrónico", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerificationCode"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerificationCode"]}, "code": {"type": "string", "x-tl-type": "string", "description": "Código de verificación recibido", "x-telegram-field-docs": true}}, "required": ["_", "code"], "additionalProperties": false}, "emailVerificationGoogle": {"title": "correo electrónicoVerificaciónGoogle", "description": "Token de verificación de correo electrónico de ID de Google", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerificationGoogle"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerificationGoogle"]}, "token": {"type": "string", "x-tl-type": "string", "description": "ficha", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "emailVerificationApple": {"title": "correo electrónicoVerificaciónApple", "description": "Token de verificación de correo electrónico de ID de Apple", "externalDocs": {"url": "https://core.telegram.org/constructor/emailVerificationApple"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emailVerificationApple"]}, "token": {"type": "string", "x-tl-type": "string", "description": "ficha", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "account.emailVerified": {"title": "account.emailVerified", "description": "El correo electrónico se verificó correctamente.", "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": "La dirección de correo electrónico verificada.", "x-telegram-field-docs": true}}, "required": ["_", "email"], "additionalProperties": false}, "account.emailVerifiedLogin": {"title": "account.emailVerifiedLogin", "description": "El correo electrónico se verificó correctamente y se le acaba de enviar un código de inicio de sesión.", "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": "La dirección de correo electrónico verificada.", "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": "Información sobre el [código de inicio de sesión](https://core.telegram.org/api/auth.md) enviado", "x-telegram-field-docs": true}}, "required": ["_", "email", "sent_code"], "additionalProperties": false}, "premiumSubscriptionOption": {"title": "opción de suscripción premium", "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 bits de velocidad en десятичной записи.", "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": "enviar como par", "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": "Tipo TL: Par."}}, "required": ["_", "peer"], "additionalProperties": false}, "messageExtendedMediaPreview": {"title": "mensajeExtendedMediaPreview", "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": "Tipo TL: Tamaño de foto.", "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": "mensajeExtendedMedia", "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": "Tipo de TL: MessageMedia."}}, "required": ["_", "media"], "additionalProperties": false}, "stickerKeyword": {"title": "pegatinaPalabra clave", "type": "object", "properties": {"_": {"type": "string", "enum": ["stickerKeyword"]}, "document_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "nombre de usuario", "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": "foroTemaEliminado", "type": "object", "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id"], "additionalProperties": false}, "forumTopic": {"title": "foroTema", "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": "Tipo TL: Par."}, "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par."}, "notify_settings": {"type": "object", "x-tl-type": "PeerNotifySettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerNotifySettings"]}}, "description": "Tipo de TL: PeerNotifySettings."}, "draft": {"type": "object", "x-tl-type": "DraftMessage", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["draftMessageEmpty", "draftMessage"]}}, "description": "Tipo de TL: Borrador de mensaje.", "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": "Contiene información sobre múltiples [temas del foro](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": "Si los temas devueltos están ordenados por fecha de creación; si está configurada, la paginación por `offset_date` debe usar [forumTopic](https://core.telegram.org/constructor/forumTopic.md).`date`; de lo contrario, los temas se ordenan por la fecha del último mensaje, así que pagina por el `date` del [mensaje](https://core.telegram.org/type/Message.md) al que hace referencia [forumTopic](https://core.telegram.org/constructor/forumTopic.md).`top_message`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "top_icons": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Número total de temas que coinciden con la consulta; puede haber más temas que los contenidos en `topics`, en cuyo caso se requiere [paginación](https://core.telegram.org/api/offsets.md).", "x-telegram-field-docs": true}, "topics": {"type": "array", "items": {"type": "object", "x-tl-type": "ForumTopic", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["forumTopicDeleted", "forumTopic"]}}, "description": "Tipo de TL: Tema del foro."}, "x-tl-type": "Vector<ForumTopic>", "description": "Temas del foro", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Mensajes relacionados (contiene los mensajes mencionados por [forumTopic](https://core.telegram.org/constructor/forumTopic.md).`top_message`).", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats relacionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios relacionados", "x-telegram-field-docs": true}, "pts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Recuento de eventos tras generación](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": "Contiene información sobre el valor predeterminado de la configuración de tiempo de vida, que se aplica a todos los chats nuevos.", "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": "La configuración de tiempo de vida se aplicó a todos los chats nuevos.", "x-telegram-field-docs": true}}, "required": ["_", "period"], "additionalProperties": false}, "exportedContactToken": {"title": "exportadoContactToken", "description": "Describe un [enlace de perfil temporal](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": "El [enlace de perfil temporal](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": "Su fecha de caducidad", "x-telegram-field-docs": true}}, "required": ["_", "url", "expires"], "additionalProperties": false}, "requestPeerTypeUser": {"title": "solicitudPeerTypeUser", "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": "solicitudPeerTypeChat", "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": "Tipo de 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": "Tipo de TL: ChatAdminRights.", "x-tl-flag": "flags.2?ChatAdminRights"}}, "required": ["_"], "additionalProperties": false}, "requestPeerTypeBroadcast": {"title": "solicitudPeerTypeBroadcast", "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": "Tipo de 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": "Tipo de TL: ChatAdminRights.", "x-tl-flag": "flags.2?ChatAdminRights"}}, "required": ["_"], "additionalProperties": false}, "requestPeerTypeCreateBot": {"title": "solicitudPeerTypeCreateBot", "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": "La lista de [emojis personalizados](https://core.telegram.org/api/custom-emoji.md) no ha cambiado.", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiListNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiListNotModified"]}}, "required": ["_"], "additionalProperties": false}, "emojiList": {"title": "emojiLista", "description": "Representa una lista de [emojis personalizados](https://core.telegram.org/api/custom-emoji.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/emojiList"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiList"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "ID de emoji personalizados", "x-telegram-field-docs": true}}, "required": ["_", "hash", "document_id"], "additionalProperties": false}, "emojiGroup": {"title": "emojiGrupo", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiGroup"]}, "title": {"type": "string", "x-tl-type": "string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "emojiGrupoSaludo", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiGroupGreeting"]}, "title": {"type": "string", "x-tl-type": "string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "emojiGrupoPremium", "type": "object", "properties": {"_": {"type": "string", "enum": ["emojiGroupPremium"]}, "title": {"type": "string", "x-tl-type": "string"}, "icon_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "title", "icon_emoji_id"], "additionalProperties": false}, "messages.emojiGroupsNotModified": {"title": "messages.emojiGroupsNotModified", "description": "La lista de [categorías de emoji](https://core.telegram.org/api/emoji-categories.md) no ha cambiado.", "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": "Representa una lista de [categorías de emoji](https://core.telegram.org/api/emoji-categories.md).", "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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Grupo Emoji."}, "x-tl-type": "Vector<EmojiGroup>", "description": "Una lista de [categorías de emoji](https://core.telegram.org/api/emoji-categories.md).", "x-telegram-field-docs": true}}, "required": ["_", "hash", "groups"], "additionalProperties": false}, "textWithEntities": {"title": "textoConEntidades", "description": "Texto con estilo con [entidades de mensaje](https://core.telegram.org/api/entities.md)\n\n<!-- bloques-esquema -->\n#### [Esquema de un extremo a otro](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": "Texto", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](https://core.telegram.org/api/entities.md)", "x-telegram-field-docs": true}}, "required": ["_", "text", "entities"], "additionalProperties": false}, "messages.translateResult": {"title": "messages.translateResult", "description": "Texto traducido con [entidades](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": "Tipo de TL: TextoConEntidades."}, "x-tl-type": "Vector<TextWithEntities>", "description": "Texto+[entidades](https://core.telegram.org/api/entities.md), para cada mensaje de entrada.", "x-telegram-field-docs": true}}, "required": ["_", "result"], "additionalProperties": false}, "autoSaveSettings": {"title": "configuración de guardado automático", "description": "Configuración de guardado automático de medios", "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": "Si las fotos deben guardarse automáticamente en la galería.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "videos": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si los videos deben guardarse automáticamente en la galería.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "video_max_size": {"type": "string", "pattern": "^-?\\d+$", "description": "Si está configurado, especifica un límite de tamaño para videos que se pueden guardar automáticamente", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}}, "required": ["_"], "additionalProperties": false}, "autoSaveException": {"title": "excepción de guardado automático", "type": "object", "properties": {"_": {"type": "string", "enum": ["autoSaveException"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoSaveSettings"]}}, "description": "Tipo de TL: Configuración de guardado automático."}}, "required": ["_", "peer", "settings"], "additionalProperties": false}, "account.autoSaveSettings": {"title": "account.autoSaveSettings", "description": "Contiene configuraciones de guardado automático de medios", "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": "Configuración predeterminada de guardado automático de medios para chats privados", "x-telegram-field-docs": true}, "chats_settings": {"type": "object", "x-tl-type": "AutoSaveSettings", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["autoSaveSettings"]}}, "description": "Configuración predeterminada de guardado automático de medios para [grupos y supergrupos](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": "Configuración predeterminada de guardado automático de medios para [canales](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": "Tipo de TL: AutoSaveException."}, "x-tl-type": "Vector<AutoSaveException>", "description": "Configuración de guardado automático granular específica de pares", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en la configuración de guardado automático granular específico de pares", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en la configuración de guardado automático granular específica de pares", "x-telegram-field-docs": true}}, "required": ["_", "users_settings", "chats_settings", "broadcasts_settings", "exceptions", "chats", "users"], "additionalProperties": false}, "help.appConfigNotModified": {"title": "help.appConfigNotModified", "description": "Los parámetros de configuración del cliente no han cambiado.", "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": "Contiene varios [parámetros de configuración del cliente](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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "[Parámetros de configuración del cliente](https://core.telegram.org/api/config.md#client-configuration)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "config"], "additionalProperties": false}, "inputBotAppID": {"title": "entradaBotAppID", "description": "Se utiliza para obtener información sobre una [miniaplicación de enlace directo](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps) por su ID", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBotAppID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBotAppID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "[enlace directo Mini aplicación](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": "Hash de acceso, obtenido del constructor [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": "Se utiliza para obtener información sobre una [miniaplicación de enlace directo](https://core.telegram.org/api/bots/webapps.md#direct-link-mini-apps) por su nombre corto", "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 del bot propietario de la mini aplicación bot", "x-telegram-field-docs": true}, "short_name": {"type": "string", "x-tl-type": "string", "description": "Nombre corto, obtenido de un [enlace profundo de la mini aplicación Direct](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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Foto."}, "document": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento.", "x-tl-flag": "flags.0?Document"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "id", "access_hash", "short_name", "title", "description", "photo", "hash"], "additionalProperties": false}, "messages.botApp": {"title": "messages.botApp", "description": "Contiene información sobre una [miniaplicación de enlace directo](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": "Si el usuario nunca utilizó la aplicación web y se debe solicitar confirmación al usuario antes de abrirla.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "request_write_access": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "El bot solicita permiso para enviar mensajes al usuario: si el usuario está de acuerdo, configure el indicador `write_allowed` al invocar [messages.requestAppWebView](https://core.telegram.org/method/messages.requestAppWebView.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "has_settings": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Bandera obsoleta, se puede ignorar.", "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": "Información de la aplicación de bot", "x-telegram-field-docs": true}}, "required": ["_", "app"], "additionalProperties": false}, "inlineBotWebView": {"title": "inlineBotWebView", "description": "Especifica un botón [miniaplicación en modo en línea](https://core.telegram.org/api/bots/webapps.md#inline-mode-mini-apps), que se muestra en la parte superior de la lista de resultados de la consulta en línea.", "externalDocs": {"url": "https://core.telegram.org/constructor/inlineBotWebView"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inlineBotWebView"]}, "text": {"type": "string", "x-tl-type": "string", "description": "Texto del botón", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "Aplicación web URL", "x-telegram-field-docs": true}}, "required": ["_", "text", "url"], "additionalProperties": false}, "readParticipantDate": {"title": "leerParticipanteFecha", "description": "Contiene información sobre cuándo un determinado participante ha leído un mensaje.", "externalDocs": {"url": "https://core.telegram.org/constructor/readParticipantDate"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["readParticipantDate"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID de usuario", "x-tl-type": "long", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cuando el usuario lee el mensaje", "x-telegram-field-docs": true}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "inputChatlistDialogFilter": {"title": "entradaChatlistDialogFilter", "description": "ID de carpeta", "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": "[Carpeta](https://core.telegram.org/api/folders.md) ID", "x-telegram-field-docs": true}}, "required": ["_", "filter_id"], "additionalProperties": false}, "exportedChatlistInvite": {"title": "exportadoLista de chatInvitación", "description": "Exportado [enlace profundo de la carpeta de chat »](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": "Nombre del enlace", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "El [enlace profundo de la carpeta de chat »](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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "description": "Pares para importar", "x-telegram-field-docs": true}}, "required": ["_", "title", "url", "peers"], "additionalProperties": false}, "chatlists.exportedChatlistInvite": {"title": "chatlists.exportedChatlistInvite", "description": "Información sobre un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links) exportado.", "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": "ID de carpeta", "x-telegram-field-docs": true}, "invite": {"type": "object", "x-tl-type": "ExportedChatlistInvite", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["exportedChatlistInvite"]}}, "description": "El [enlace profundo de la carpeta de chat» exportado ](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": "Información sobre múltiples [enlaces profundos de la carpeta de chat »](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": "Tipo de TL: Invitación a lista de chat exportada."}, "x-tl-type": "Vector<ExportedChatlistInvite>", "description": "Los [enlaces profundos de la carpeta de chat »](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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Información de chat relacionada", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información de usuario relacionada", "x-telegram-field-docs": true}}, "required": ["_", "invites", "chats", "users"], "additionalProperties": false}, "chatlists.chatlistInviteAlready": {"title": "chatlists.chatlistInviteAlready", "description": "Información actualizada sobre un [enlace profundo de la carpeta de chat »](https://core.telegram.org/api/links.md#chat-folder-links) que ya importamos.", "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 de la carpeta importada", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "description": "Nuevos pares a importar", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "description": "Pares que ya fueron importados", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Información de chat relacionada", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información de usuario relacionada", "x-telegram-field-docs": true}}, "required": ["_", "filter_id", "missing_peers", "already_peers", "chats", "users"], "additionalProperties": false}, "chatlists.chatlistInvite": {"title": "chatlists.chatlistInvite", "description": "Información sobre un [enlace profundo de la carpeta de chat »](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": "Si está configurado, los emojis animados presentes en `title` no deberían estar animados y, en cambio, deberían congelarse en el primer fotograma.", "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": "Nombre del enlace", "x-telegram-field-docs": true}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Emoji para usar como ícono de la carpeta.", "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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "description": "Supergrupos y canales a los que unirse", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Información de chat relacionada", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información de usuario relacionada", "x-telegram-field-docs": true}}, "required": ["_", "title", "peers", "chats", "users"], "additionalProperties": false}, "chatlists.chatlistUpdates": {"title": "chatlists.chatlistUpdates", "description": "Información actualizada sobre un [enlace profundo de la carpeta de chat »](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": "Tipo TL: Par."}, "x-tl-type": "Vector<Peer>", "description": "Nuevos compañeros para unirse", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Información de chat relacionada", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información de usuario relacionada", "x-telegram-field-docs": true}}, "required": ["_", "missing_peers", "chats", "users"], "additionalProperties": false}, "bots.botInfo": {"title": "bots.botInfo", "description": "Información localizada sobre un 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": "Nombre del robot", "x-telegram-field-docs": true}, "about": {"type": "string", "x-tl-type": "string", "description": "Bot sobre texto", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Descripción del robot", "x-telegram-field-docs": true}}, "required": ["_", "name", "about", "description"], "additionalProperties": false}, "messagePeerVote": {"title": "mensajePeerVote", "type": "object", "properties": {"_": {"type": "string", "enum": ["messagePeerVote"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "mensajePeerVoteInputOption", "type": "object", "properties": {"_": {"type": "string", "enum": ["messagePeerVoteInputOption"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "date"], "additionalProperties": false}, "messagePeerVoteMultiple": {"title": "mensajePeerVoteMúltiple", "type": "object", "properties": {"_": {"type": "string", "enum": ["messagePeerVoteMultiple"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "historiaVistas", "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": "Tipo de 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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.0?Vector<long>"}}, "required": ["_", "views_count"], "additionalProperties": false}, "storyItemDeleted": {"title": "historiaArtículoEliminado", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyItemDeleted"]}, "id": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id"], "additionalProperties": false}, "storyItemSkipped": {"title": "historiaArtículo omitido", "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": "artículo de historia", "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": "Tipo TL: Par.", "x-tl-flag": "flags.18?Peer"}, "fwd_from": {"type": "object", "x-tl-type": "StoryFwdHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyFwdHeader"]}}, "description": "Tipo de 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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: 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": "Tipo de TL: 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": "Tipo de TL: Regla de privacidad."}, "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": "Tipo de 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": "Tipo TL: Reacción.", "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": "Tipo TL: Documento.", "x-tl-flag": "flags.20?Document"}}, "required": ["_", "id", "date", "expire_date", "media"], "additionalProperties": false}, "stories.allStoriesNotModified": {"title": "stories.allStoriesNotModified", "description": "La lista de [historias](https://core.telegram.org/api/stories.md#watching-stories) activas (o activas y ocultas) no ha cambiado.", "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": "Estado a utilizar para solicitar actualizaciones", "x-telegram-field-docs": true}, "stealth_mode": {"type": "object", "x-tl-type": "StoriesStealthMode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}}, "description": "Información actual del [modo oculto](https://core.telegram.org/api/stories.md#stealth-mode)", "x-telegram-field-docs": true}}, "required": ["_", "state", "stealth_mode"], "additionalProperties": false}, "stories.allStories": {"title": "stories.allStories", "description": "Lista completa de [historias](https://core.telegram.org/api/stories.md#watching-stories)] activas (o activas y ocultas).", "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": "Si se pueden obtener más resultados como [descrito aquí »](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": "Número total de historias activas (o activas y ocultas)", "x-telegram-field-docs": true}, "state": {"type": "string", "x-tl-type": "string", "description": "Estado a utilizar para la paginación", "x-telegram-field-docs": true}, "peer_stories": {"type": "array", "items": {"type": "object", "x-tl-type": "PeerStories", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerStories"]}}, "description": "Tipo TL: PeerStories."}, "x-tl-type": "Vector<PeerStories>", "description": "Historias", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}, "stealth_mode": {"type": "object", "x-tl-type": "StoriesStealthMode", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storiesStealthMode"]}}, "description": "Información actual del [modo oculto](https://core.telegram.org/api/stories.md#stealth-mode)", "x-telegram-field-docs": true}}, "required": ["_", "count", "state", "peer_stories", "chats", "users", "stealth_mode"], "additionalProperties": false}, "stories.stories": {"title": "stories.stories", "description": "Lista de [historias](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": "Número total de historias que se pueden recuperar", "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": "Tipo de TL: Artículo de historia."}, "x-tl-type": "Vector<StoryItem>", "description": "Historias", "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": "ID de historias fijadas.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "stories", "chats", "users"], "additionalProperties": false}, "storyView": {"title": "historiaVer", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Reacción.", "x-tl-flag": "flags.2?Reaction"}}, "required": ["_", "user_id", "date"], "additionalProperties": false}, "storyViewPublicForward": {"title": "historiaVerPúblicoAdelante", "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": "Tipo TL: Mensaje."}}, "required": ["_", "message"], "additionalProperties": false}, "storyViewPublicRepost": {"title": "historiaVerPúblicoVolver a publicar", "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": "Tipo TL: Par."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Tipo de TL: Artículo de historia."}}, "required": ["_", "peer_id", "story"], "additionalProperties": false}, "stories.storyViewsList": {"title": "stories.storyViewsList", "description": "Contadores de reacciones y vistas para una [historia](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": "Número total de resultados que se pueden obtener", "x-telegram-field-docs": true}, "views_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de vistas de la historia", "x-telegram-field-docs": true}, "forwards_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de historias reenviadas/reenviadas", "x-telegram-field-docs": true}, "reactions_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de reacciones que se agregaron a la historia.", "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": "Tipo TL: StoryView."}, "x-tl-type": "Vector<StoryView>", "description": "Fecha de visualización de la historia e información de reacción.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para paginación", "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": "Contadores de reacciones y vistas para obtener una lista de [historias](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": "Tipo de TL: StoryViews."}, "x-tl-type": "Vector<StoryViews>", "description": "Ver la fecha y la información de reacción de múltiples historias.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "views", "users"], "additionalProperties": false}, "inputReplyToMessage": {"title": "entradaResponder al mensaje", "description": "Responder a un mensaje.", "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": "El ID del mensaje al que responder.", "x-telegram-field-docs": true}, "top_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Este campo debe contener el ID del tema **solo** al responder a mensajes en temas del foro diferentes al tema \"General\" (i.e. `reply_to_msg_id` está configurado y `reply_to_msg_id != topicID` y `topicID != 1`).   Si el mensaje respondido se elimina antes de que el método finalice la ejecución, el valor de este campo se utilizará para enviar el mensaje al tema correcto, en lugar del tema \"General\".", "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": "Se usa para responder a mensajes enviados a otro chat (especificado aquí), solo se puede usar para chats y mensajes que no sean `protected`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?InputPeer"}, "quote_text": {"type": "string", "x-tl-type": "string", "description": "Se utiliza para citar y responder solo a una determinada sección (especificada aquí) del mensaje original. La longitud máxima UTF-8 para las comillas se especifica en la clave de configuración [quote_length_max](https://core.telegram.org/api/config.md#quote-length-max).", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](https://core.telegram.org/api/entities.md) desde el campo `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": "Desplazamiento del mensaje `quote_text` dentro del mensaje original (en [UTF-16 unidades de código](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": "Debe establecerse en el ID del tema al responder a un mensaje dentro de un [tema monoforo](https://core.telegram.org/api/monoforum.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?InputPeer"}, "todo_item_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Se puede configurar para responder al elemento especificado de una [lista de tareas pendientes »](https://core.telegram.org/api/todo.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?int"}, "poll_option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Si está configurado, envía el mensaje como [responder a una opción de respuesta de encuesta específica »](https://core.telegram.org/api/poll.md#replying-to-poll-options), que contiene los `option` bytes de la respuesta deseada.", "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": "Tipo de TL: Texto enriquecido."}, "x-tl-type": "Vector<RichText>", "x-tl-flag": "flags.8?Vector<RichText>"}}, "required": ["_", "reply_to_msg_id"], "additionalProperties": false}, "inputReplyToStory": {"title": "entradaResponder a la historia", "description": "Responder a una historia.", "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": "Remitente de la historia", "x-telegram-field-docs": true}, "story_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de la historia a la que responder.", "x-telegram-field-docs": true}}, "required": ["_", "peer", "story_id"], "additionalProperties": false}, "inputReplyToMonoForum": {"title": "entradaReplyToMonoForum", "description": "Se utiliza para enviar mensajes a un [tema monoforo](https://core.telegram.org/api/monoforum.md).", "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": "El identificador del tema.", "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": "exportadoStoryLink", "description": "Representa un [enlace profundo de la historia](https://core.telegram.org/api/stories.md#story-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/exportedStoryLink"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["exportedStoryLink"]}, "link": {"type": "string", "x-tl-type": "string", "description": "El [enlace profundo de la historia](https://core.telegram.org/api/stories.md#story-links).", "x-telegram-field-docs": true}}, "required": ["_", "link"], "additionalProperties": false}, "storiesStealthMode": {"title": "historiasModo Sigiloso", "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": "coordenadas de área de medios", "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": "área de medioslugar", "description": "Representa una etiqueta de ubicación adjunta a una [historia](https://core.telegram.org/api/stories.md), con información adicional del lugar.", "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": "El tamaño y la ubicación del área de medios correspondiente a la etiqueta de ubicación en la parte superior de los medios de la historia.", "x-telegram-field-docs": true}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Coordenadas del lugar", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del lugar", "x-telegram-field-docs": true}, "address": {"type": "string", "x-tl-type": "string", "description": "Dirección", "x-telegram-field-docs": true}, "provider": {"type": "string", "x-tl-type": "string", "description": "Proveedor del lugar: actualmente solo es necesario admitir \"foursquare\".", "x-telegram-field-docs": true}, "venue_id": {"type": "string", "x-tl-type": "string", "description": "ID del lugar en la base de datos del proveedor", "x-telegram-field-docs": true}, "venue_type": {"type": "string", "x-tl-type": "string", "description": "Tipo de lugar en la base de datos del proveedor", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "geo", "title", "address", "provider", "venue_id", "venue_type"], "additionalProperties": false}, "inputMediaAreaVenue": {"title": "entradaMediaAreaVenue", "description": "Representa una [etiqueta de ubicación](https://core.telegram.org/api/stories.md#media-areas) adjunta a una [historia](https://core.telegram.org/api/stories.md), con información adicional del lugar.", "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": "El tamaño y la ubicación del área de medios correspondiente a la etiqueta de ubicación en la parte superior de los medios de la historia.", "x-telegram-field-docs": true}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El `query_id` de [messages.botResults](https://core.telegram.org/constructor/messages.botResults.md), consulte [aquí »](https://core.telegram.org/api/stories.md#media-areas) para obtener más información.", "x-tl-type": "long", "x-telegram-field-docs": true}, "result_id": {"type": "string", "x-tl-type": "string", "description": "El `id` del resultado elegido, consulta [aquí »](https://core.telegram.org/api/stories.md#media-areas) para más información.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "query_id", "result_id"], "additionalProperties": false}, "mediaAreaGeoPoint": {"title": "área de mediosGeoPoint", "description": "Representa una etiqueta de geolocalización adjunta a una [historia](https://core.telegram.org/api/stories.md).", "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": "El tamaño y la posición del área de medios correspondiente a la etiqueta de ubicación en la parte superior de los medios de la historia.", "x-telegram-field-docs": true}, "geo": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Coordenadas de la etiqueta de geolocalización.", "x-telegram-field-docs": true}, "address": {"type": "object", "x-tl-type": "GeoPointAddress", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointAddress"]}}, "description": "Representación textual opcional de la dirección.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?GeoPointAddress"}}, "required": ["_", "coordinates", "geo"], "additionalProperties": false}, "mediaAreaSuggestedReaction": {"title": "área de mediosReacción sugerida", "description": "Representa una burbuja de reacción.", "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": "Si la burbuja de reacción tiene un fondo oscuro.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "flipped": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si la burbuja de reacción se refleja (consulte [aquí »](https://core.telegram.org/api/stories.md#reactions) para obtener más información).", "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": "Las coordenadas del área de medios correspondiente al botón de reacción.", "x-telegram-field-docs": true}, "reaction": {"type": "object", "x-tl-type": "Reaction", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["reactionEmpty", "reactionEmoji", "reactionCustomEmoji", "reactionPaid"]}}, "description": "La reacción que se debe enviar cuando se hace clic en esta área.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "reaction"], "additionalProperties": false}, "mediaAreaChannelPost": {"title": "mediosAreaChannelPost", "description": "Representa una publicación del canal.", "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": "El tamaño y la ubicación del área de medios correspondiente a la etiqueta de ubicación en la parte superior de los medios de la historia.", "x-telegram-field-docs": true}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El canal que publicó el mensaje.", "x-tl-type": "long", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje del canal", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "channel_id", "msg_id"], "additionalProperties": false}, "inputMediaAreaChannelPost": {"title": "entradaMediaAreaChannelPost", "description": "Representa una publicación del canal.", "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": "El tamaño y la ubicación del área de medios correspondiente a la etiqueta de ubicación en la parte superior de los medios de la historia.", "x-telegram-field-docs": true}, "channel": {"type": "object", "x-tl-type": "InputChannel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputChannelEmpty", "inputChannel", "inputChannelFromMessage"]}}, "description": "El canal que publicó el mensaje.", "x-telegram-field-docs": true}, "msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID del mensaje del canal", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "channel", "msg_id"], "additionalProperties": false}, "mediaAreaUrl": {"title": "mediaAreaUrl", "description": "Representa un [URL área de medios](https://core.telegram.org/api/stories.md#urls).", "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": "El tamaño y la ubicación del área de medios correspondiente al botón URL en la parte superior de los medios de la historia.", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "URL para abrir al hacer clic.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "url"], "additionalProperties": false}, "mediaAreaWeather": {"title": "mediosÁreaTiempo", "description": "Representa un [widget meteorológico» ](https://core.telegram.org/api/stories.md#weather).", "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": "El tamaño y la ubicación del área de medios correspondiente al widget en la parte superior de los medios de la historia.", "x-telegram-field-docs": true}, "emoji": {"type": "string", "x-tl-type": "string", "description": "El emoji del tiempo debe representarse como un [emoji animado](https://core.telegram.org/api/animated-emojis.md).", "x-telegram-field-docs": true}, "temperature_c": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Temperatura en grados centígrados.", "x-telegram-field-docs": true}, "color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ARGB color de fondo.", "x-telegram-field-docs": true}}, "required": ["_", "coordinates", "emoji", "temperature_c", "color"], "additionalProperties": false}, "mediaAreaStarGift": {"title": "mediaAreaEstrellaRegalo", "description": "Representa un [regalo coleccionable» ](https://core.telegram.org/api/gifts.md#collectible-gifts).", "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": "Coordenadas del área de medios.", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "`slug` de [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`slug`, que se puede resolver como [especificado aquí »](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": "historias de pares", "type": "object", "properties": {"_": {"type": "string", "enum": ["peerStories"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "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": "Tipo de TL: Artículo de historia."}, "x-tl-type": "Vector<StoryItem>"}}, "required": ["_", "peer", "stories"], "additionalProperties": false}, "stories.peerStories": {"title": "stories.peerStories", "description": "[Lista de historias activas](https://core.telegram.org/api/stories.md#watching-stories) de un compañero específico.", "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": "Historias", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "stories", "chats", "users"], "additionalProperties": false}, "messages.webPage": {"title": "messages.webPage", "description": "Representa una página web de Vista instantánea.", "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": "La página web de vista instantánea.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en la página web.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en la página web.", "x-telegram-field-docs": true}}, "required": ["_", "webpage", "chats", "users"], "additionalProperties": false}, "premiumGiftCodeOption": {"title": "premiumOpción de código de regalo", "description": "Contiene información sobre una opción de [sorteo/regalo](https://core.telegram.org/api/giveaways.md).", "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": "Número de usuarios que podrán activar los códigos regalo.", "x-telegram-field-docs": true}, "months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duración en meses de cada suscripción de [Telegram Premium](https://core.telegram.org/api/premium.md)] regalada.", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Identificador del producto de la tienda asociado a la opción, solo aplicaciones oficiales.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "store_quantity": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de veces que se debe pagar el producto de la tienda", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "users", "months", "currency", "amount"], "additionalProperties": false}, "payments.checkedGiftCode": {"title": "payments.checkedGiftCode", "description": "Contiene información sobre un [enlace de código de regalo de Telegram Premium](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": "Si este código de regalo fue creado mediante un [sorteo](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": "El par que creó el código de regalo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?Peer"}, "giveaway_msg_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de mensaje del sorteo en el canal especificado en `from_id`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?int"}, "to_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El usuario de destino del regalo.", "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": "Fecha de creación del código regalo.", "x-telegram-field-docs": true}, "days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Duración de la suscripción regalada de Telegram Premium, en días.", "x-telegram-field-docs": true}, "used_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cuándo se importó el código de regalo, si se importó.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "date", "days", "chats", "users"], "additionalProperties": false}, "payments.giveawayInfo": {"title": "payments.giveawayInfo", "description": "Contiene información sobre un [sorteo](https://core.telegram.org/api/giveaways.md)] en curso.\n\nSi no se configuran las banderas `participating`, `joined_too_early_date`, `admin_disallowed_chat_id` o `disallowed_country`, el usuario no participa actualmente en el sorteo, pero podría participar uniéndose a todos los canales especificados en el campo [messageMediaGiveaway](https://core.telegram.org/constructor/messageMediaGiveaway.md).`channels`.", "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": "El usuario actual está participando en el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "preparing_results": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se establece, el sorteo ha finalizado y se están preparando los resultados.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Cuando empezó el sorteo", "x-telegram-field-docs": true}, "joined_too_early_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El usuario actual no puede participar en el sorteo porque ya era miembro del canal cuando comenzó el sorteo y el `only_new_subscribers` se configuró al iniciar el sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "admin_disallowed_chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Si se establece, el usuario actual no puede participar en el sorteo porque es administrador de uno de los canales (ID especificado en esta bandera) que creó el sorteo.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}, "disallowed_country": {"type": "string", "x-tl-type": "string", "description": "Si se configura, el usuario actual no puede participar en este sorteo porque su número de teléfono es del país no permitido especificado (especificado como un código de país de dos letras ISO 3166-1 alfa-2).", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}}, "required": ["_", "start_date"], "additionalProperties": false}, "payments.giveawayInfoResults": {"title": "payments.giveawayInfoResults", "description": "Ha finalizado un [sorteo](https://core.telegram.org/api/giveaways.md).", "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": "Si somos uno de los ganadores de este sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "refunded": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el sorteo se canceló y se reembolsó en su totalidad.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "start_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha de inicio del sorteo", "x-telegram-field-docs": true}, "gift_code_slug": {"type": "string", "x-tl-type": "string", "description": "Si somos uno de los ganadores de este sorteo, contiene el [código de regalo premium](https://core.telegram.org/api/links.md#premium-giftcode-links), consulte [aquí »](https://core.telegram.org/api/giveaways.md) para obtener más información sobre el flujo completo del sorteo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?string"}, "stars_prize": {"type": "string", "pattern": "^-?\\d+$", "description": "Si somos uno de los ganadores de este [Sorteo de Telegram Star](https://core.telegram.org/api/giveaways.md#star-giveaways), el número [Telegram Stars](https://core.telegram.org/api/stars.md) que ganamos.", "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": "Fecha de finalización del sorteo. Puede ser mayor que la fecha de finalización especificada en los parámetros del sorteo.", "x-telegram-field-docs": true}, "winners_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de ganadores del sorteo", "x-telegram-field-docs": true}, "activated_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de ganadores que activaron sus [códigos de regalo](https://core.telegram.org/api/links.md#premium-giftcode-links).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}}, "required": ["_", "start_date", "finish_date", "winners_count"], "additionalProperties": false}, "prepaidGiveaway": {"title": "prepagoSorteo", "type": "object", "properties": {"_": {"type": "string", "enum": ["prepaidGiveaway"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "prepagoEstrellasSorteo", "type": "object", "properties": {"_": {"type": "string", "enum": ["prepaidStarsGiveaway"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "impulsar", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.6?long"}}, "required": ["_", "id", "date", "expires"], "additionalProperties": false}, "premium.boostsList": {"title": "premium.boostsList", "description": "Lista de [impulsos](https://core.telegram.org/api/boost.md) que varios usuarios aplicaron a un igual.", "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": "Número total de resultados", "x-telegram-field-docs": true}, "boosts": {"type": "array", "items": {"type": "object", "x-tl-type": "Boost", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["boost"]}}, "description": "Tipo TL: Impulso."}, "x-tl-type": "Vector<Boost>", "description": "[Aumenta](https://core.telegram.org/api/boost.md)", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento que se puede utilizar para [paginación](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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "boosts", "users"], "additionalProperties": false}, "myBoost": {"title": "miBoost", "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": "Tipo TL: Par.", "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": "Una lista de pares que actualmente estamos [impulsando](https://core.telegram.org/api/boost.md) y cuántos [espacios de impulso](https://core.telegram.org/api/boost.md) nos quedan.", "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": "Tipo TL: MyBoost."}, "x-tl-type": "Vector<MyBoost>", "description": "Información sobre los compañeros impulsados y los espacios de impulso restantes.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats referenciados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios referenciados", "x-telegram-field-docs": true}}, "required": ["_", "my_boosts", "chats", "users"], "additionalProperties": false}, "premium.boostsStatus": {"title": "premium.boostsStatus", "description": "Contiene información sobre el [estado de impulso](https://core.telegram.org/api/boost.md) actual de un par.", "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": "También se establecerá si estamos impulsando actualmente este canal/supergrupo, `my_boost_slots`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "level": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El nivel de impulso actual del canal/supergrupo.", "x-telegram-field-docs": true}, "current_level_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La cantidad de mejoras adquiridas hasta el momento en el nivel actual.", "x-telegram-field-docs": true}, "boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de potenciadores adquiridos hasta el momento.", "x-telegram-field-docs": true}, "gift_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La cantidad de mejoras adquiridas a partir de Telegram Premium creado [códigos de regalo](https://core.telegram.org/api/giveaways.md) y [obsequios](https://core.telegram.org/api/giveaways.md); solo devuelto a los administradores de canal/supergrupo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "next_level_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de impulsos necesarios para alcanzar el siguiente nivel; si está ausente, el siguiente nivel no está disponible.", "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": "Solo devuelto a administradores de canal/supergrupo: contiene el número aproximado de usuarios Premium suscritos al canal/supergrupo, en relación con el número total de suscriptores.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?StatsPercentValue"}, "boost_url": {"type": "string", "x-tl-type": "string", "description": "[Impulsar enlace profundo »](https://core.telegram.org/api/links.md#boost-links) que se puede utilizar para impulsar el chat.", "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": "Tipo TL: Sorteo Prepago."}, "x-tl-type": "Vector<PrepaidGiveaway>", "description": "Una lista de [obsequios](https://core.telegram.org/api/giveaways.md) prepagos disponibles para el chat; solo devuelto a los administradores de canal/supergrupo.", "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": "Indica cuál de nuestros [espacios de impulso](https://core.telegram.org/api/boost.md) hemos asignado a este par (se completa si `my_boost` está configurado).", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?Vector<int>"}}, "required": ["_", "level", "current_level_boosts", "boosts", "boost_url"], "additionalProperties": false}, "storyFwdHeader": {"title": "historiaFwdHeader", "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": "Tipo TL: Par.", "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": "postInteracciónContadoresMensaje", "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": "postInteracciónContadoresHistoria", "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": "Contiene [estadísticas](https://core.telegram.org/api/stats.md) sobre una [historia](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": "Un gráfico que contiene el número de vistas y acciones compartidas de la historia.", "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": "Un gráfico de barras que contiene el número de reacciones a la historia categorizadas por \"emoción\" (i.e. Positivas, Negativas, Otras, etc.)", "x-telegram-field-docs": true}}, "required": ["_", "views_graph", "reactions_by_emotion_graph"], "additionalProperties": false}, "publicForwardMessage": {"title": "mensaje público hacia adelante", "type": "object", "properties": {"_": {"type": "string", "enum": ["publicForwardMessage"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}}, "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": "Tipo TL: Par."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Tipo de TL: Artículo de historia."}}, "required": ["_", "peer", "story"], "additionalProperties": false}, "stats.publicForwards": {"title": "stats.publicForwards", "description": "Contiene información sobre los reenvíos de una [historia](https://core.telegram.org/api/stories.md) como mensaje para chats públicos y reenvíos por canales públicos.", "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": "Número total de resultados", "x-telegram-field-docs": true}, "forwards": {"type": "array", "items": {"type": "object", "x-tl-type": "PublicForward", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["publicForwardMessage", "publicForwardStory"]}}, "description": "Tipo de TL: PublicForward."}, "x-tl-type": "Vector<PublicForward>", "description": "Información sobre los avances de una historia.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento utilizado para [paginación](https://core.telegram.org/api/offsets.md).", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "forwards", "chats", "users"], "additionalProperties": false}, "peerColor": {"title": "parColor", "description": "Representa una [paleta de colores» ](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": "[ID de la paleta de colores, consulte aquí »](https://core.telegram.org/api/colors.md) para obtener más información; si no se establece, se debe utilizar la paleta predeterminada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "background_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "Opcional [ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) utilizado para generar el patrón.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?long"}}, "required": ["_"], "additionalProperties": false}, "peerColorCollectible": {"title": "peerColorColeccionable", "description": "Representa una [paleta de colores »](https://core.telegram.org/api/colors.md) asociada a un [regalo coleccionable »](https://core.telegram.org/api/gifts.md#collectible-gifts), consulta [aquí »](https://core.telegram.org/api/colors.md#collectible-gift-palettes) para más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/peerColorCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["peerColorCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID of the [collectible gift »](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": "[ID de emoji personalizado »](https://core.telegram.org/api/custom-emoji.md) del regalo coleccionable: una única copia de este emoji personalizado debe mostrarse tal cual (sin volver a colorearlo, a diferencia de `background_emoji_id`) en la esquina superior derecha de la paleta.", "x-tl-type": "long", "x-telegram-field-docs": true}, "background_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID de emoji personalizado »](https://core.telegram.org/api/custom-emoji.md) utilizado para generar el patrón.", "x-tl-type": "long", "x-telegram-field-docs": true}, "accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Color de acento en formato RGB24, utilizado para fondos de respuesta y el nombre del usuario en los mensajes.", "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 colores a utilizar en la tira de respuesta.", "x-telegram-field-docs": true}, "dark_accent_color": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Color de acento en formato RGB24, utilizado para fondos de respuesta y el nombre del usuario en mensajes en modo oscuro (retroceda a `accent_color` si está ausente).", "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 colores para usar en la tira de respuesta en modo oscuro (retroceda a `colors` si está ausente).", "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": "entradaPeerColorColeccionable", "description": "Representa una [paleta de colores »](https://core.telegram.org/api/colors.md) asociada a un [regalo coleccionable »](https://core.telegram.org/api/gifts.md#collectible-gifts), consulta [aquí »](https://core.telegram.org/api/colors.md#collectible-gift-palettes) para más información.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPeerColorCollectible"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPeerColorCollectible"]}, "collectible_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID of the [collectible gift »](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": "Tipo 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": "Tipo 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": "La lista de paletas de colores no ha cambiado.", "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": "Contiene información sobre múltiples [paletas de colores »](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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Escribe TL: help.PeerColorOption."}, "x-tl-type": "Vector<help.PeerColorOption>", "description": "Utilizables [paletas de colores](https://core.telegram.org/api/colors.md).", "x-telegram-field-docs": true}}, "required": ["_", "hash", "colors"], "additionalProperties": false}, "storyReaction": {"title": "historiaReacción", "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": "Tipo TL: Par."}, "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": "Tipo TL: Reacción."}}, "required": ["_", "peer_id", "date", "reaction"], "additionalProperties": false}, "storyReactionPublicForward": {"title": "historiaReacciónPúblicoAdelante", "type": "object", "properties": {"_": {"type": "string", "enum": ["storyReactionPublicForward"]}, "message": {"type": "object", "x-tl-type": "Message", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageEmpty", "message", "messageService"]}}, "description": "Tipo TL: Mensaje."}}, "required": ["_", "message"], "additionalProperties": false}, "storyReactionPublicRepost": {"title": "historiaReacciónPúblicoVolver a publicar", "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": "Tipo TL: Par."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Tipo de TL: Artículo de historia."}}, "required": ["_", "peer_id", "story"], "additionalProperties": false}, "stories.storyReactionsList": {"title": "stories.storyReactionsList", "description": "Lista de compañeros que reaccionaron o interactuaron con una [historia](https://core.telegram.org/api/stories.md)] específica", "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": "Número total de reacciones que coinciden con la consulta", "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": "Tipo de TL: StoryReaction."}, "x-tl-type": "Vector<StoryReaction>", "description": "Lista de pares que reaccionaron o interactuaron con una historia específica", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Si está configurado, indica el siguiente desplazamiento a usar para cargar más resultados invocando [stories.getStoryReactionsList](https://core.telegram.org/method/stories.getStoryReactionsList.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}}, "required": ["_", "count", "reactions", "chats", "users"], "additionalProperties": false}, "savedDialog": {"title": "cuadro de diálogo guardado", "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": "Tipo TL: Par."}, "top_message": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "peer", "top_message"], "additionalProperties": false}, "monoForumDialog": {"title": "monoForoDiálogo", "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": "Tipo TL: Par."}, "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": "Tipo de TL: Borrador de mensaje.", "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": "Representa algunos [diálogos de mensajes guardados »](https://core.telegram.org/api/saved-messages.md).", "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": "Tipo de TL: Diálogo guardado."}, "x-tl-type": "Vector<SavedDialog>", "description": "[Diálogos de mensajes guardados» ](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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Lista de últimos mensajes de cada diálogo guardado", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.savedDialogsSlice": {"title": "messages.savedDialogsSlice", "description": "Lista incompleta de [diálogos de mensajes guardados »](https://core.telegram.org/api/saved-messages.md) con mensajes y datos auxiliares.", "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": "Número total de cuadros de diálogo de mensajes guardados", "x-telegram-field-docs": true}, "dialogs": {"type": "array", "items": {"type": "object", "x-tl-type": "SavedDialog", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["savedDialog", "monoForumDialog"]}}, "description": "Tipo de TL: Diálogo guardado."}, "x-tl-type": "Vector<SavedDialog>", "description": "Lista de cuadros de diálogo de mensajes guardados", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Lista de últimos mensajes de diálogos", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "dialogs", "messages", "chats", "users"], "additionalProperties": false}, "messages.savedDialogsNotModified": {"title": "messages.savedDialogsNotModified", "description": "Los cuadros de diálogo guardados no han cambiado.", "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": "Número de [diálogos guardados](https://core.telegram.org/api/saved-messages.md) encontrados en el lado del servidor mediante la consulta", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "savedReactionTag": {"title": "etiqueta de reacción guardada", "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": "Tipo TL: Reacción."}, "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": "La lista de [etiqueta de reacción »](https://core.telegram.org/api/saved-messages.md#tags) nombres asignados por el usuario no ha cambiado.", "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": "Lista de [etiqueta de reacción »](https://core.telegram.org/api/saved-messages.md#tags) nombres asignados por el usuario.", "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": "Tipo de TL: SavedReactionTag."}, "x-tl-type": "Vector<SavedReactionTag>", "description": "Etiquetas de reacción guardadas.", "x-telegram-field-docs": true}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché; para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation). También se puede regenerar manualmente, si es necesario, utilizando el [algoritmo personalizado especificado aquí »](https://core.telegram.org/api/saved-messages.md#tags).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "tags", "hash"], "additionalProperties": false}, "outboxReadDate": {"title": "bandeja de salidaLeerFecha", "description": "Fecha exacta de lectura de un mensaje privado que enviamos a otro usuario.", "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 marca de tiempo con la fecha de lectura.", "x-telegram-field-docs": true}}, "required": ["_", "date"], "additionalProperties": false}, "smsjobs.eligibleToJoin": {"title": "smsjobs.eligibleToJoin", "description": "SMS elegibilidad de empleos", "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": "Términos de servicio 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": "Estado", "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": "Permitir números internacionales", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "recent_sent": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Enviado recientemente", "x-telegram-field-docs": true}, "recent_since": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "desde", "x-telegram-field-docs": true}, "recent_remains": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "restante", "x-telegram-field-docs": true}, "total_sent": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Total enviado", "x-telegram-field-docs": true}, "total_since": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Total desde", "x-telegram-field-docs": true}, "last_gift_slug": {"type": "string", "x-tl-type": "string", "description": "Enlace profundo del último regalo", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "terms_url": {"type": "string", "x-tl-type": "string", "description": "Términos de servicio URL", "x-telegram-field-docs": true}}, "required": ["_", "recent_sent", "recent_since", "recent_remains", "total_sent", "total_since", "terms_url"], "additionalProperties": false}, "smsJob": {"title": "smsTrabajo", "description": "Información sobre un trabajo SMS.", "externalDocs": {"url": "https://core.telegram.org/constructor/smsJob"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["smsJob"]}, "job_id": {"type": "string", "x-tl-type": "string", "description": "ID de trabajo", "x-telegram-field-docs": true}, "phone_number": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono de destino", "x-telegram-field-docs": true}, "text": {"type": "string", "x-tl-type": "string", "description": "Texto", "x-telegram-field-docs": true}}, "required": ["_", "job_id", "phone_number", "text"], "additionalProperties": false}, "businessWeeklyOpen": {"title": "negocioSemanalAbierto", "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": "negocioHoras de trabajo", "description": "Especifica un conjunto de [horario de apertura de Telegram Business](https://core.telegram.org/api/business.md#opening-hours).", "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": "Se ignora si se establece al invocar [account.updateBusinessWorkHours](https://core.telegram.org/method/account.updateBusinessWorkHours.md), solo lo devuelve el servidor en [userFull](https://core.telegram.org/constructor/userFull.md).`business_work_hours`, indicando si el negocio está abierto actualmente según la hora actual y los valores en `weekly_open` y `timezone`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "timezone_id": {"type": "string", "x-tl-type": "string", "description": "Una identificación de una de las zonas horarias devuelta por [help.getTimezonesList](https://core.telegram.org/method/help.getTimezonesList.md).     El ID de la zona horaria está contenido [timezone](https://core.telegram.org/constructor/timezone.md).`id`, un nombre localizado y legible por humanos de la zona horaria está disponible en [timezone](https://core.telegram.org/constructor/timezone.md).`name` y el campo [timezone](https://core.telegram.org/constructor/timezone.md).`utc_offset` contiene el desplazamiento UTC en segundos, que el cliente puede mostrar en formato hh:mm junto con el nombre legible por humanos (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": "Tipo de TL: BusinessWeeklyOpen."}, "x-tl-type": "Vector<BusinessWeeklyOpen>", "description": "Una lista de intervalos de tiempo (máximo 28) representados por [businessWeeklyOpen »](https://core.telegram.org/constructor/businessWeeklyOpen.md), indicando el horario de apertura de su negocio.", "x-telegram-field-docs": true}}, "required": ["_", "timezone_id", "weekly_open"], "additionalProperties": false}, "businessLocation": {"title": "negocioubicación", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessLocation"]}, "geo_point": {"type": "object", "x-tl-type": "GeoPoint", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["geoPointEmpty", "geoPoint"]}}, "description": "Tipo TL: GeoPoint.", "x-tl-flag": "flags.0?GeoPoint"}, "address": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "address"], "additionalProperties": false}, "inputBusinessRecipients": {"title": "entradaNegocioDestinatarios", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "x-tl-flag": "flags.4?Vector<InputUser>"}}, "required": ["_"], "additionalProperties": false}, "businessRecipients": {"title": "negocioDestinatarios", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.4?Vector<long>"}}, "required": ["_"], "additionalProperties": false}, "businessAwayMessageScheduleAlways": {"title": "negocioAusenteMensajeProgramarSiempre", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleAlways"]}}, "required": ["_"], "additionalProperties": false}, "businessAwayMessageScheduleOutsideWorkHours": {"title": "negocioAusenteMensajeHorarioFueraTrabajoHoras", "type": "object", "properties": {"_": {"type": "string", "enum": ["businessAwayMessageScheduleOutsideWorkHours"]}}, "required": ["_"], "additionalProperties": false}, "businessAwayMessageScheduleCustom": {"title": "negocioAusenteMensajeProgramaciónPersonalizado", "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": "entradaNegocioSaludoMensaje", "description": "Describe un [saludo de Telegram Business](https://core.telegram.org/api/business.md#greeting-messages), enviado automáticamente a los nuevos usuarios que nos escriben en privado por primera vez o después de un cierto período de inactividad.", "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 de un [acceso directo de respuesta rápida, que contiene los mensajes de saludo para enviar, consulte aquí » para obtener más información](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": "Destinatarios permitidos para los mensajes de saludo.", "x-telegram-field-docs": true}, "no_activity_days": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "El número de días después de los cuales un chat privado se considerará inactivo; Actualmente, debe ser uno de 7, 14, 21 o 28.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut_id", "recipients", "no_activity_days"], "additionalProperties": false}, "businessGreetingMessage": {"title": "negociosaludomensaje", "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": "Tipo de TL: Destinatarios comerciales."}, "no_activity_days": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "shortcut_id", "recipients", "no_activity_days"], "additionalProperties": false}, "inputBusinessAwayMessage": {"title": "entradaNegocioAusenteMensaje", "description": "Describe un [mensaje de ausencia de Telegram Business](https://core.telegram.org/api/business.md#away-messages), enviado automáticamente a los usuarios que nos escriben cuando no estamos conectados, durante el horario de cierre, mientras estamos de vacaciones o en algún otro período de tiempo personalizado cuando no podemos responder inmediatamente al usuario.", "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": "Si está configurado, los mensajes no se enviarán si la cuenta estuvo en línea en los últimos 10 minutos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "shortcut_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "ID de un [atajo de respuesta rápida, que contiene los mensajes de ausencia para enviar, consulte aquí » para obtener más información](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": "Especifica cuándo deben enviarse los mensajes de ausencia.", "x-telegram-field-docs": true}, "recipients": {"type": "object", "x-tl-type": "InputBusinessRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputBusinessRecipients"]}}, "description": "Destinatarios permitidos para los mensajes de ausencia.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut_id", "schedule", "recipients"], "additionalProperties": false}, "businessAwayMessage": {"title": "negocioAusenteMensaje", "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": "Tipo de TL: BusinessAwayMessageSchedule."}, "recipients": {"type": "object", "x-tl-type": "BusinessRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessRecipients"]}}, "description": "Tipo de TL: Destinatarios comerciales."}}, "required": ["_", "shortcut_id", "schedule", "recipients"], "additionalProperties": false}, "timezone": {"title": "zona horaria", "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": "La lista de zonas horarias no ha cambiado.", "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": "Información de zona horaria que se puede utilizar en otros lugares del API, como para establecer el [horario de apertura de 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": "Escriba TL: Zona horaria."}, "x-tl-type": "Vector<Timezone>", "description": "Zonas horarias", "x-telegram-field-docs": true}, "hash": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](https://core.telegram.org/api/offsets.md#hash-generation)", "x-telegram-field-docs": true}}, "required": ["_", "timezones", "hash"], "additionalProperties": false}, "quickReply": {"title": "respuesta rápida", "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": "entradaRespuestaRápidaAtajo", "description": "Selecciona un [atajo de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts) por nombre.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputQuickReplyShortcut"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputQuickReplyShortcut"]}, "shortcut": {"type": "string", "x-tl-type": "string", "description": "Nombre del acceso directo.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut"], "additionalProperties": false}, "inputQuickReplyShortcutId": {"title": "ID de acceso directo de respuesta rápida de entrada", "description": "Selecciona un [atajo de respuesta rápida](https://core.telegram.org/api/business.md#quick-reply-shortcuts) por su ID numérico.", "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": "Identificación de acceso directo.", "x-telegram-field-docs": true}}, "required": ["_", "shortcut_id"], "additionalProperties": false}, "messages.quickReplies": {"title": "messages.quickReplies", "description": "Información sobre [atajos de respuesta rápida »](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": "Tipo TL: Respuesta rápida."}, "x-tl-type": "Vector<QuickReply>", "description": "Atajos de respuesta rápida.", "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": "Tipo TL: Mensaje."}, "x-tl-type": "Vector<Message>", "description": "Mensajes mencionados en `quick_replies`.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "quick_replies", "messages", "chats", "users"], "additionalProperties": false}, "messages.quickRepliesNotModified": {"title": "messages.quickRepliesNotModified", "description": "La información sobre [atajos de respuesta rápida »](https://core.telegram.org/api/business.md#quick-reply-shortcuts) no ha cambiado.", "externalDocs": {"url": "https://core.telegram.org/constructor/messages.quickRepliesNotModified"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["messages.quickRepliesNotModified"]}}, "required": ["_"], "additionalProperties": false}, "connectedBot": {"title": "conectadoBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["connectedBot"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "recipients": {"type": "object", "x-tl-type": "BusinessBotRecipients", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessBotRecipients"]}}, "description": "Tipo de TL: BusinessBotRecipients."}, "rights": {"type": "object", "x-tl-type": "BusinessBotRights", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["businessBotRights"]}}, "description": "Tipo de 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": "Información sobre los [bots empresariales](https://core.telegram.org/api/bots/connected-business-bots.md)] actualmente conectados.", "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": "Tipo TL: ConnectedBot."}, "x-tl-type": "Vector<ConnectedBot>", "description": "Información sobre los bots conectados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información del robot", "x-telegram-field-docs": true}}, "required": ["_", "connected_bots", "users"], "additionalProperties": false}, "messages.dialogFilters": {"title": "messages.dialogFilters", "description": "[Carpetas y etiquetas de carpetas](https://core.telegram.org/api/folders.md) información", "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": "Si las [etiquetas de carpeta](https://core.telegram.org/api/folders.md#folder-tags) están habilitadas.", "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": "Tipo de TL: Filtro de diálogo."}, "x-tl-type": "Vector<DialogFilter>", "description": "Carpetas.", "x-telegram-field-docs": true}}, "required": ["_", "filters"], "additionalProperties": false}, "birthday": {"title": "cumpleaños", "description": "[Información de cumpleaños](https://core.telegram.org/api/profile.md#birthday) para un usuario.\n\nTambién se utiliza para invitar a los usuarios a regalar [suscripciones a Telegram Premium »](https://core.telegram.org/api/premium.md#gifting-telegram-premium) a otros usuarios con cumpleaños dentro de un rango de tiempo de +1/-1 día, relacionado con el día actual.", "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": "dia de nacimiento", "x-telegram-field-docs": true}, "month": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Mes de nacimiento", "x-telegram-field-docs": true}, "year": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "(Opcional) año de nacimiento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "day", "month"], "additionalProperties": false}, "botBusinessConnection": {"title": "botNegocioConexión", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: BusinessBotRights.", "x-tl-flag": "flags.2?BusinessBotRights"}}, "required": ["_", "connection_id", "user_id", "dc_id", "date"], "additionalProperties": false}, "inputBusinessIntro": {"title": "entradaNegocioIntroducción", "description": "[Introducción a Telegram Business »](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": "Título del mensaje de introducción.", "x-telegram-field-docs": true}, "description": {"type": "string", "x-tl-type": "string", "description": "Introducción al perfil", "x-telegram-field-docs": true}, "sticker": {"type": "object", "x-tl-type": "InputDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputDocumentEmpty", "inputDocument"]}}, "description": "Introducción opcional [pegatina](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": "negocioIntroducción", "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": "Tipo TL: Documento.", "x-tl-flag": "flags.0?Document"}}, "required": ["_", "title", "description"], "additionalProperties": false}, "messages.myStickers": {"title": "messages.myStickers", "description": "La lista de [conjuntos de pegatinas propiedad de la cuenta corriente »](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": "Número total de conjuntos de stickers propios.", "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": "Tipo TL: Juego de pegatinasCubierto."}, "x-tl-type": "Vector<StickerSetCovered>", "description": "Juegos de pegatinas", "x-telegram-field-docs": true}}, "required": ["_", "count", "sets"], "additionalProperties": false}, "inputCollectibleUsername": {"title": "entradaColeccionableNombre de usuario", "description": "Representa un [fragmento de nombre de usuario coleccionable](https://core.telegram.org/api/fragment.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputCollectibleUsername"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputCollectibleUsername"]}, "username": {"type": "string", "x-tl-type": "string", "description": "Nombre de usuario", "x-telegram-field-docs": true}}, "required": ["_", "username"], "additionalProperties": false}, "inputCollectiblePhone": {"title": "entradaColeccionableTeléfono", "description": "Representa un [fragmento de número de teléfono coleccionable](https://core.telegram.org/api/fragment.md)", "externalDocs": {"url": "https://core.telegram.org/constructor/inputCollectiblePhone"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputCollectiblePhone"]}, "phone": {"type": "string", "x-tl-type": "string", "description": "Número de teléfono", "x-telegram-field-docs": true}}, "required": ["_", "phone"], "additionalProperties": false}, "fragment.collectibleInfo": {"title": "fragment.collectibleInfo", "description": "Información sobre un [fragmento coleccionable](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": "Fecha de compra (unixtime)", "x-telegram-field-docs": true}, "currency": {"type": "string", "x-tl-type": "string", "description": "Tres letras ISO 4217 [código de moneda](https://core.telegram.org/bots/payments.md#supported-currencies) para `amount`", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}, "crypto_currency": {"type": "string", "x-tl-type": "string", "description": "Nombre de la criptomoneda.", "x-telegram-field-docs": true}, "crypto_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio, en las unidades más pequeñas de la criptomoneda.", "x-tl-type": "long", "x-telegram-field-docs": true}, "url": {"type": "string", "x-tl-type": "string", "description": "[Fragmento](https://fragment.com) URL con más información sobre el coleccionable", "x-telegram-field-docs": true}}, "required": ["_", "purchase_date", "currency", "amount", "crypto_currency", "crypto_amount", "url"], "additionalProperties": false}, "inputBusinessBotRecipients": {"title": "inputBusinessBotDestinatarios", "description": "Especifica los chats privados con los que puede interactuar un [bot empresarial conectado »](https://core.telegram.org/api/bots/connected-business-bots.md).", "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": "Selecciona todos los chats privados existentes.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "new_chats": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Selecciona todos los chats privados nuevos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Selecciona todos los chats privados con contactos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "non_contacts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Selecciona todos los chats privados con personas que no son contactos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "exclude_selected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurado, se eligen todos los chats privados *excepto* los seleccionados por `existing_chats`, `new_chats`, `contacts`, `non_contacts` y `users`.  Tenga en cuenta que si se establece esta bandera, cualquier valor pasado en `exclude_users` será fusionado y movido a `users` por el servidor.", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Chats privados explícitamente seleccionados.", "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": "Tipo de TL: Usuario de entrada."}, "x-tl-type": "Vector<InputUser>", "description": "Identificadores de chats privados que siempre están excluidos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?Vector<InputUser>"}}, "required": ["_"], "additionalProperties": false}, "businessBotRecipients": {"title": "businessBotDestinatarios", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "x-tl-flag": "flags.6?Vector<long>"}}, "required": ["_"], "additionalProperties": false}, "contactBirthday": {"title": "contactoCumpleaños", "type": "object", "properties": {"_": {"type": "string", "enum": ["contactBirthday"]}, "contact_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "birthday": {"type": "object", "x-tl-type": "Birthday", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["birthday"]}}, "description": "Tipo TL: Cumpleaños."}}, "required": ["_", "contact_id", "birthday"], "additionalProperties": false}, "contacts.contactBirthdays": {"title": "contacts.contactBirthdays", "description": "Información de cumpleaños de nuestros contactos.", "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": "Tipo TL: ContactoCumpleaños."}, "x-tl-type": "Vector<ContactBirthday>", "description": "información de cumpleaños", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información del usuario", "x-telegram-field-docs": true}}, "required": ["_", "contacts", "users"], "additionalProperties": false}, "missingInvitee": {"title": "desaparecidoInvitado", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "user_id"], "additionalProperties": false}, "messages.invitedUsers": {"title": "messages.invitedUsers", "description": "Contiene información sobre usuarios [invitados »](https://core.telegram.org/api/invites.md#direct-invites) con éxito o sin éxito.", "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": "Lista de actualizaciones sobre usuarios invitados exitosamente (y eventualmente información sobre el grupo creado)", "x-telegram-field-docs": true}, "missing_invitees": {"type": "array", "items": {"type": "object", "x-tl-type": "MissingInvitee", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["missingInvitee"]}}, "description": "Tipo de TL: Invitado desaparecido."}, "x-tl-type": "Vector<MissingInvitee>", "description": "Una lista de usuarios que no se pudieron invitar, junto con el motivo por el cual no se pudo invitar.", "x-telegram-field-docs": true}}, "required": ["_", "updates", "missing_invitees"], "additionalProperties": false}, "inputBusinessChatLink": {"title": "entradaNegocioChatEnlace", "description": "Contiene información sobre un [enlace profundo de chat empresarial »](https://core.telegram.org/api/business.md#business-chat-links) que creará la cuenta actual.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputBusinessChatLink"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputBusinessChatLink"]}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensaje para precompletar el campo de entrada del mensaje.", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](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": "Nombre del enlace legible por humanos, para simplificar la administración en la interfaz de usuario (solo visible para el creador del enlace).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}}, "required": ["_", "message"], "additionalProperties": false}, "businessChatLink": {"title": "negocioChatEnlace", "description": "Contiene información sobre un [enlace profundo de chat empresarial »](https://core.telegram.org/api/business.md#business-chat-links) creado por la cuenta actual.", "externalDocs": {"url": "https://core.telegram.org/constructor/businessChatLink"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["businessChatLink"]}, "link": {"type": "string", "x-tl-type": "string", "description": "[Enlace profundo del chat empresarial](https://core.telegram.org/api/links.md#business-chat-links).", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensaje para precompletar el campo de entrada del mensaje.", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](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": "Nombre del enlace legible por humanos, para simplificar la administración en la interfaz de usuario (solo visible para el creador del enlace).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?string"}, "views": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de veces que se resolvió el enlace (se hizo clic/escaneó/etc...).", "x-telegram-field-docs": true}}, "required": ["_", "link", "message", "views"], "additionalProperties": false}, "account.businessChatLinks": {"title": "account.businessChatLinks", "description": "Contiene información sobre [enlaces profundos del chat empresarial »](https://core.telegram.org/api/business.md#business-chat-links) creados por la cuenta actual.", "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": "Tipo de TL: BusinessChatLink."}, "x-tl-type": "Vector<BusinessChatLink>", "description": "Enlaces", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "links", "chats", "users"], "additionalProperties": false}, "account.resolvedBusinessChatLinks": {"title": "account.resolvedBusinessChatLinks", "description": "Contiene información sobre un único [enlace profundo del chat empresarial »](https://core.telegram.org/api/business.md#business-chat-links) resuelto.", "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": "Par de destino", "x-telegram-field-docs": true}, "message": {"type": "string", "x-tl-type": "string", "description": "Mensaje para precompletar el campo de entrada del mensaje.", "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": "Tipo de TL: entidad de mensaje."}, "x-tl-type": "Vector<MessageEntity>", "description": "[Entidades de mensaje para texto con estilo](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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "peer", "message", "chats", "users"], "additionalProperties": false}, "requestedPeerUser": {"title": "solicitadoPeerUser", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestedPeerUser"]}, "user_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Foto.", "x-tl-flag": "flags.2?Photo"}}, "required": ["_", "user_id"], "additionalProperties": false}, "requestedPeerChat": {"title": "solicitadoPeerChat", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestedPeerChat"]}, "chat_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Foto.", "x-tl-flag": "flags.2?Photo"}}, "required": ["_", "chat_id"], "additionalProperties": false}, "requestedPeerChannel": {"title": "solicitadoPeerChannel", "type": "object", "properties": {"_": {"type": "string", "enum": ["requestedPeerChannel"]}, "channel_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Foto.", "x-tl-flag": "flags.2?Photo"}}, "required": ["_", "channel_id"], "additionalProperties": false}, "sponsoredMessageReportOption": {"title": "opción de informe de mensaje patrocinado", "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": "El usuario debe elegir una opción de informe entre las opciones localizadas disponibles en `options`, y después de la selección, se debe invocar [messages.reportSponsoredMessage](https://core.telegram.org/method/messages.reportSponsoredMessage.md) nuevamente, pasando el campo `option` de la opción al parámetro `option` del método.", "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": "Título de la ventana emergente de selección de opciones.", "x-telegram-field-docs": true}, "options": {"type": "array", "items": {"type": "object", "x-tl-type": "SponsoredMessageReportOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["sponsoredMessageReportOption"]}}, "description": "Tipo de TL: Opción de informe de mensaje patrocinado."}, "x-tl-type": "Vector<SponsoredMessageReportOption>", "description": "Lista localizada de opciones.", "x-telegram-field-docs": true}}, "required": ["_", "title", "options"], "additionalProperties": false}, "channels.sponsoredMessageReportResultAdsHidden": {"title": "channels.sponsoredMessageReportResultAdsHidden", "description": "Los mensajes patrocinados estaban ocultos para el usuario en todos los chats.", "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": "El mensaje patrocinado se informó con éxito.", "externalDocs": {"url": "https://core.telegram.org/constructor/channels.sponsoredMessageReportResultReported"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["channels.sponsoredMessageReportResultReported"]}}, "required": ["_"], "additionalProperties": false}, "reactionNotificationsFromContacts": {"title": "reacciónNotificacionesDeContactos", "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionNotificationsFromContacts"]}}, "required": ["_"], "additionalProperties": false}, "reactionNotificationsFromAll": {"title": "reacciónNotificacionesDeTodos", "type": "object", "properties": {"_": {"type": "string", "enum": ["reactionNotificationsFromAll"]}}, "required": ["_"], "additionalProperties": false}, "reactionsNotifySettings": {"title": "reaccionesNotificarConfiguración", "description": "Configuración de notificación de reacción, consulte [aquí »](https://core.telegram.org/api/reactions.md#notifications-about-reactions) para obtener más información.", "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": "La configuración de notificación de reacción de mensajes, si no está configurada, deshabilita completamente las notificaciones/actualizaciones sobre reacciones de mensajes.", "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": "La configuración de notificación de reacción de la historia, si no está configurada, deshabilita completamente las notificaciones/actualizaciones sobre las reacciones a las historias.", "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": "[Voto de encuesta no anónimo »](https://core.telegram.org/api/poll.md#unread-poll-votes) configuración de notificación, si no se establece completamente, deshabilita las notificaciones/actualizaciones sobre los votos emitidos en las encuestas no anónimas del usuario.", "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": "[Sonido de notificación para reacciones »](https://core.telegram.org/api/ringtones.md)", "x-telegram-field-docs": true}, "show_previews": {"type": "boolean", "x-tl-type": "Bool", "description": "Si es falso, las [notificaciones push »](https://core.telegram.org/api/push-updates.md) sobre reacciones a mensajes/historias solo serán del tipo `REACT_HIDDEN`/`REACT_STORY_HIDDEN`, sin ninguna información sobre la historia a la que se reaccionó o la reacción en sí.", "x-telegram-field-docs": true}}, "required": ["_", "sound", "show_previews"], "additionalProperties": false}, "availableEffect": {"title": "disponibleEfecto", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "emoticon": {"type": "string", "x-tl-type": "string"}, "static_icon_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "effect_sticker_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "effect_animation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}}, "required": ["_", "id", "emoticon", "effect_sticker_id"], "additionalProperties": false}, "messages.availableEffectsNotModified": {"title": "messages.availableEffectsNotModified", "description": "La lista completa de [efectos de mensajes animados »](https://core.telegram.org/api/effects.md) utilizables no ha cambiado.", "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": "La lista completa de [efectos de mensajes animados» utilizables »](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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Efecto disponible."}, "x-tl-type": "Vector<AvailableEffect>", "description": "Efectos del mensaje", "x-telegram-field-docs": true}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Documentos especificados en los constructores `effects`.", "x-telegram-field-docs": true}}, "required": ["_", "hash", "effects", "documents"], "additionalProperties": false}, "factCheck": {"title": "hechoVerificar", "description": "Representa una [verificación de hechos »](https://core.telegram.org/api/factcheck.md) creada por un verificador de hechos independiente.", "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": "Si se configuran, los campos `country`/`text` **no** se configurarán, y el cliente debe recuperar manualmente la verificación de datos (si aún no está almacenada en caché con la clave especificada en `hash`) usando solicitudes [messages.getFactCheck](https://core.telegram.org/method/messages.getFactCheck.md)] empaquetadas, cuando el mensaje con la verificación de datos aparece en la vista.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "country": {"type": "string", "x-tl-type": "string", "description": "Un código de país de dos letras ISO 3166-1 alpha-2 del país para el cual se debe mostrar la verificación de datos.", "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": "La verificación de hechos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?TextWithEntities"}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "estrellasTransactionPeerAppStore", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerAppStore"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerPlayMarket": {"title": "estrellasTransacciónPeerPlayMarket", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerPlayMarket"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerPremiumBot": {"title": "estrellasTransacciónPeerPremiumBot", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerPremiumBot"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerFragment": {"title": "estrellasTransacciónPeerFragment", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerFragment"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeer": {"title": "estrellasTransacciónPeer", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeer"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}}, "required": ["_", "peer"], "additionalProperties": false}, "starsTransactionPeerAds": {"title": "estrellasTransacciónPeerAds", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerAds"]}}, "required": ["_"], "additionalProperties": false}, "starsTransactionPeerAPI": {"title": "estrellasTransactionPeerAPI", "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTransactionPeerAPI"]}}, "required": ["_"], "additionalProperties": false}, "starsTopupOption": {"title": "estrellasTopupOption", "description": "[Opción de recarga de Telegram Stars](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": "Si está configurada, la opción solo debe mostrarse en la lista completa de opciones de recarga.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Cantidad de estrellas de Telegram.", "x-tl-type": "long", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Identificador del producto de la tienda asociado a la opción, solo aplicaciones oficiales.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio del producto en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars", "currency", "amount"], "additionalProperties": false}, "starsTransaction": {"title": "estrellasTransacción", "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": "Tipo TL: Cantidad de estrellas."}, "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": "Tipo de 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": "Tipo de TL: Documento web.", "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": "Tipo de TL: 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": "Tipo 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": "Tipo TL: Par.", "x-tl-flag": "flags.17?Peer"}, "starref_amount": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Tipo TL: Cantidad de estrellas.", "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": "Información sobre las [suscripciones, saldo e historial de transacciones de Telegram Star] actuales »](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": "Saldo actual de Telegram Star.", "x-telegram-field-docs": true}, "subscriptions": {"type": "array", "items": {"type": "object", "x-tl-type": "StarsSubscription", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsSubscription"]}}, "description": "Tipo TL: Suscripción Estrellas."}, "x-tl-type": "Vector<StarsSubscription>", "description": "Información sobre las suscripciones actuales de Telegram Star, que solo se devuelve al invocar [payments.getStarsTransactions](https://core.telegram.org/method/payments.getStarsTransactions.md) y [payments.getStarsSubscriptions](https://core.telegram.org/method/payments.getStarsSubscriptions.md).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<StarsSubscription>"}, "subscriptions_next_offset": {"type": "string", "x-tl-type": "string", "description": "Compensación por paginación de suscripciones: solo utilizable y devuelta al invocar [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": "La cantidad de Telegram Stars que el usuario debe comprar para poder extender las suscripciones vencidas pronto (i.e. el saldo actual no es suficiente para extender todas las suscripciones vencidas).", "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": "Tipo TL: StarsTransaction."}, "x-tl-type": "Vector<StarsTransaction>", "description": "Lista de transacciones de Telegram Star (parcial si está configurado `next_offset`).", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?Vector<StarsTransaction>"}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Compensación a utilizar para recuperar más transacciones del historial de transacciones usando [payments.getStarsTransactions](https://core.telegram.org/method/payments.getStarsTransactions.md).", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en `history`.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en `history`.", "x-telegram-field-docs": true}}, "required": ["_", "balance", "chats", "users"], "additionalProperties": false}, "foundStory": {"title": "historia encontrada", "type": "object", "properties": {"_": {"type": "string", "enum": ["foundStory"]}, "peer": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "story": {"type": "object", "x-tl-type": "StoryItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["storyItemDeleted", "storyItemSkipped", "storyItem"]}}, "description": "Tipo de TL: Artículo de historia."}}, "required": ["_", "peer", "story"], "additionalProperties": false}, "stories.foundStories": {"title": "stories.foundStories", "description": "Historias encontradas mediante [búsqueda global de historias»](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": "Número total de resultados encontrados para la consulta.", "x-telegram-field-docs": true}, "stories": {"type": "array", "items": {"type": "object", "x-tl-type": "FoundStory", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["foundStory"]}}, "description": "Tipo de TL: FoundStory."}, "x-tl-type": "Vector<FoundStory>", "description": "Historias coincidentes.", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento utilizado para buscar la página siguiente; si no se establece, esta es la página final.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "x-telegram-field-docs": true}}, "required": ["_", "count", "stories", "chats", "users"], "additionalProperties": false}, "geoPointAddress": {"title": "dirección de punto geográfico", "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": "estrellasIngresosEstado", "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": "Tipo TL: Cantidad de estrellas."}, "available_balance": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Tipo TL: Cantidad de estrellas."}, "overall_revenue": {"type": "object", "x-tl-type": "StarsAmount", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsAmount", "starsTonAmount"]}}, "description": "Tipo TL: Cantidad de estrellas."}, "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": "[Estadísticas de ingresos de estrellas, consulte aquí »](https://core.telegram.org/api/stars.md) para obtener más información.\n\nTenga en cuenta que todos los saldos, importes de divisas y valores de gráficos están en estrellas.", "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": "Para estadísticas de ingresos publicitarios, gráfico de impresiones de anuncios", "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": "Gráfico de ingresos por estrellas (número de estrellas obtenidas)", "x-telegram-field-docs": true}, "status": {"type": "object", "x-tl-type": "StarsRevenueStatus", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starsRevenueStatus"]}}, "description": "Saldo actual, saldo retirable actual y estrellas de Telegram obtenidas en general", "x-telegram-field-docs": true}, "usd_rate": {"type": "number", "format": "double", "x-tl-type": "double", "description": "Tasa de conversión actual de Telegram Stars a USD", "x-telegram-field-docs": true}}, "required": ["_", "revenue_graph", "status", "usd_rate"], "additionalProperties": false}, "payments.starsRevenueWithdrawalUrl": {"title": "payments.starsRevenueWithdrawalUrl", "description": "Contiene el URL para usar para [retirar los ingresos de Telegram Star](https://core.telegram.org/api/stars.md#withdrawing-revenue).", "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": "Contiene el URL para usar para [retirar los ingresos de Telegram Star](https://core.telegram.org/api/stars.md#withdrawing-revenue).", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "payments.starsRevenueAdsAccountUrl": {"title": "payments.starsRevenueAdsAccountUrl", "description": "Contiene un URL que conduce a una página donde el usuario podrá colocar anuncios para el canal/bot, pagando con [Telegram Stars](https://core.telegram.org/api/stars.md#paying-for-ads).", "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 para abrir.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "inputStarsTransaction": {"title": "entradaEstrellasTransacción", "description": "Se utiliza para obtener información sobre una [transacción de Telegram Star »](https://core.telegram.org/api/stars.md#balance-and-transaction-history).", "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": "Si está configurado, obtiene información sobre la transacción de reembolso para esta transacción.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "string", "x-tl-type": "string", "description": "Identificación de transacción.", "x-telegram-field-docs": true}}, "required": ["_", "id"], "additionalProperties": false}, "starsGiftOption": {"title": "estrellasRegaloOpción", "description": "[Opción de regalo de Telegram Stars](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": "Si está configurada, la opción solo debe mostrarse en la lista completa de opciones de recarga.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Cantidad de estrellas de Telegram.", "x-tl-type": "long", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Identificador del producto de la tienda asociado a la opción, solo aplicaciones oficiales.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?string"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio del producto en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars", "currency", "amount"], "additionalProperties": false}, "bots.popularAppBots": {"title": "bots.popularAppBots", "description": "Populares [Mini aplicaciones principales](https://core.telegram.org/api/bots/webapps.md#main-mini-apps), para usar en la [pestaña de aplicaciones de la búsqueda global »](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": "Desplazamiento para [paginación](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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Los bots asociados a cada [Mini aplicación principal, consulte aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-apps) para obtener más información.", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "botPreviewMedia": {"title": "botPreviewMedia", "description": "Representa un [medio de vista previa de la miniaplicación principal, consulte aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información.", "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": "¿Cuándo se actualizó este medio por última vez?", "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": "La foto/vídeo real.", "x-telegram-field-docs": true}}, "required": ["_", "date", "media"], "additionalProperties": false}, "bots.previewInfo": {"title": "bots.previewInfo", "description": "Contiene información sobre [Vistas previas de la mini aplicación principal, consulte aquí »](https://core.telegram.org/api/bots/webapps.md#main-mini-app-previews) para obtener más información.", "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": "Tipo de TL: BotPreviewMedia."}, "x-tl-type": "Vector<BotPreviewMedia>", "description": "Todos los medios de vista previa para el código de idioma pasados a [bots.getPreviewInfo](https://core.telegram.org/method/bots.getPreviewInfo.md).", "x-telegram-field-docs": true}, "lang_codes": {"type": "array", "items": {"type": "string", "x-tl-type": "string"}, "x-tl-type": "Vector<string>", "description": "Todos los códigos de idioma disponibles para los cuales se cargaron medios de vista previa (independientemente del código de idioma pasado a [bots.getPreviewInfo](https://core.telegram.org/method/bots.getPreviewInfo.md)).", "x-telegram-field-docs": true}}, "required": ["_", "media", "lang_codes"], "additionalProperties": false}, "starsSubscriptionPricing": {"title": "estrellasSuscripciónPrecio", "description": "Precio de una [suscripción a Telegram Star »](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": "El usuario debe pagar `amount` estrellas cada `period` segundos para obtener y mantener el acceso al canal.  Actualmente el único periodo de suscripción permitido es `30*24*60*60`, i.e. al usuario se le debitará la cantidad de estrellas cada mes.", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio de la suscripción en Telegram Stars.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "period", "amount"], "additionalProperties": false}, "starsSubscription": {"title": "estrellasSuscripción", "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": "Tipo TL: Par."}, "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": "Tipo de TL: EstrellasPrecios de suscripción."}, "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": "Tipo de TL: Documento web.", "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": "mensajeReactor", "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": "Tipo TL: Par.", "x-tl-flag": "flags.3?Peer"}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "count"], "additionalProperties": false}, "starsGiveawayOption": {"title": "estrellasSorteoOpción", "description": "Contiene información sobre una opción de [Sorteo Telegram Star](https://core.telegram.org/api/giveaways.md#star-giveaways).", "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": "Si está configurada, esta opción solo debe mostrarse en la lista completa de opciones de obsequio (i.e. deben agregarse a la lista solo cuando el usuario hace clic en el botón expandir).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "default": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si está configurada, esta opción debe estar preseleccionada de forma predeterminada en la lista de opciones.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "El número de Telegram Stars que se repartirán entre los ganadores", "x-tl-type": "long", "x-telegram-field-docs": true}, "yearly_boosts": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de veces que se impulsará el chat durante un año si se completa la bandera [inputStorePaymentStarsGiveaway](https://core.telegram.org/constructor/inputStorePaymentStarsGiveaway.md).`boost_peer`", "x-telegram-field-docs": true}, "store_product": {"type": "string", "x-tl-type": "string", "description": "Identificador del producto de la tienda asociado a la opción, solo aplicaciones oficiales.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?string"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies)", "x-telegram-field-docs": true}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio total en las unidades más pequeñas de la moneda (entero, no flotante/doble). Por ejemplo, por un precio de `US$ 1.45` pasa `amount = 145`. Consulte el parámetro exp en [currencies.json](https://core.telegram.org/bots/payments/currencies.json), muestra el número de dígitos después del punto decimal para cada moneda (2 para la mayoría de las monedas).", "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": "Tipo de TL: EstrellasGiveawayWinnersOption."}, "x-tl-type": "Vector<StarsGiveawayWinnersOption>", "description": "Opciones permitidas para la cantidad de ganadores del sorteo.", "x-telegram-field-docs": true}}, "required": ["_", "stars", "yearly_boosts", "currency", "amount", "winners"], "additionalProperties": false}, "starsGiveawayWinnersOption": {"title": "estrellasSorteoGanadoresOpción", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "users", "per_user_stars"], "additionalProperties": false}, "starGift": {"title": "estrellaRegalo", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "sticker": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "convert_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}, "resell_min_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "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": "Tipo TL: StarGiftBackground.", "x-tl-flag": "flags.13?StarGiftBackground"}}, "required": ["_", "id", "sticker", "stars", "convert_stars"], "additionalProperties": false}, "starGiftUnique": {"title": "estrellaRegaloÚnico", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "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": "Tipo de 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": "Tipo TL: Cantidad de estrellas."}, "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": "Tipo TL: Par.", "x-tl-flag": "flags.5?Peer"}, "value_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "x-tl-flag": "flags.10?Peer"}, "peer_color": {"type": "object", "x-tl-type": "PeerColor", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerColor", "peerColorCollectible", "inputPeerColorCollectible"]}}, "description": "Tipo 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": "Tipo TL: Par.", "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": "La lista de [regalos »](https://core.telegram.org/api/gifts.md) disponibles no ha cambiado.", "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": "Disponibles [regalos» ](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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: StarGift."}, "x-tl-type": "Vector<StarGift>", "description": "Lista de regalos disponibles.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en el campo `gifts`.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en el campo `gifts`.", "x-telegram-field-docs": true}}, "required": ["_", "hash", "gifts", "chats", "users"], "additionalProperties": false}, "messageReportOption": {"title": "mensajeInformeOpción", "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": "informarResultadoElegirOpción", "description": "El usuario debe elegir una de las siguientes opciones, y luego se debe volver a invocar [messages.report](https://core.telegram.org/method/messages.report.md), pasando el identificador `option` de la opción a [messages.report](https://core.telegram.org/method/messages.report.md).`option`.", "externalDocs": {"url": "https://core.telegram.org/constructor/reportResultChooseOption"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reportResultChooseOption"]}, "title": {"type": "string", "x-tl-type": "string", "description": "Título de la ventana emergente de opciones", "x-telegram-field-docs": true}, "options": {"type": "array", "items": {"type": "object", "x-tl-type": "MessageReportOption", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReportOption"]}}, "description": "Tipo de TL: MessageReportOption."}, "x-tl-type": "Vector<MessageReportOption>", "description": "Opciones disponibles, representadas como entradas de menú.", "x-telegram-field-docs": true}}, "required": ["_", "title", "options"], "additionalProperties": false}, "reportResultAddComment": {"title": "informarResultadoAgregarComentario", "description": "El usuario deberá ingresar un comentario adicional para los moderadores, y luego se debe volver a invocar a [messages.report](https://core.telegram.org/method/messages.report.md), pasando el comentario a [messages.report](https://core.telegram.org/method/messages.report.md).`message`.", "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": "Si el usuario puede omitir este paso, pasando un `message` vacío a [messages.report](https://core.telegram.org/method/messages.report.md), o si un `message` no vacío es obligatorio.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "option": {"type": "string", "format": "byte", "x-tl-type": "bytes", "description": "Se debe volver a invocar el método [messages.report](https://core.telegram.org/method/messages.report.md), pasando esta opción a `option`", "x-telegram-field-docs": true}}, "required": ["_", "option"], "additionalProperties": false}, "reportResultReported": {"title": "informarResultadoReportado", "description": "El informe se envió correctamente, no se requieren más acciones.", "externalDocs": {"url": "https://core.telegram.org/constructor/reportResultReported"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["reportResultReported"]}}, "required": ["_"], "additionalProperties": false}, "messages.botPreparedInlineMessage": {"title": "messages.botPreparedInlineMessage", "description": "Representa un [mensaje en línea preparado y guardado por un bot, que se enviará al usuario a través de una aplicación web »](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": "El ID del mensaje guardado, que se pasará al campo `id` del [web_app_send_prepared_message evento »](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": "Fecha de vencimiento del mensaje.", "x-telegram-field-docs": true}}, "required": ["_", "id", "expire_date"], "additionalProperties": false}, "messages.preparedInlineMessage": {"title": "messages.preparedInlineMessage", "description": "Representa un [mensaje en línea preparado recibido a través de la mini aplicación de un bot, que se puede enviar a algunos chats »](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": "El `query_id` para pasar a [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": "El contenido del mensaje, que se mostrará en una vista previa.", "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": "Tipo de TL: InlineQueryPeerType."}, "x-tl-type": "Vector<InlineQueryPeerType>", "description": "Tipos de chats donde se puede enviar este mensaje", "x-telegram-field-docs": true}, "cache_time": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Validez del almacenamiento en caché de los resultados.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en los resultados.", "x-telegram-field-docs": true}}, "required": ["_", "query_id", "result", "peer_types", "cache_time", "users"], "additionalProperties": false}, "botAppSettings": {"title": "configuración de la aplicación bot", "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": "programarefestrella", "description": "Información sobre un [programa de afiliados ofrecido por un bot](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 del bot que ofrece el programa", "x-tl-type": "long", "x-telegram-field-docs": true}, "commission_permille": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Un afiliado recibe una comisión de [starRefProgram](https://core.telegram.org/constructor/starRefProgram.md).`commission_permille`‰ [Telegram Stars](https://core.telegram.org/api/stars.md) por cada transacción de mini aplicación realizada por los usuarios que recomienda", "x-telegram-field-docs": true}, "duration_months": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Un afiliado recibe una comisión por cada transacción de miniaplicación realizada por los usuarios que recomienda, durante `duration_months` meses después de importar un enlace de referencia, iniciando el bot por primera vez.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "end_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Momento (marca de tiempo Unix) en el que se cerrará el programa de afiliados (opcional; si no se establece, el cierre del programa de afiliados no está programado)", "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": "La cantidad de ingresos diarios por usuario en Telegram Stars del bot que creó el programa de afiliados.  Para obtener los ingresos aproximados por usuario referido, multiplique este valor por `commission_permille` y divida por `1000`.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?StarsAmount"}}, "required": ["_", "bot_id", "commission_permille"], "additionalProperties": false}, "connectedBotStarRef": {"title": "conectadoBotStarRef", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "revenue": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "url", "date", "bot_id", "commission_permille", "participants", "revenue"], "additionalProperties": false}, "payments.connectedStarRefBots": {"title": "payments.connectedStarRefBots", "description": "Activo [afiliaciones](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": "Número total de afiliaciones activas", "x-telegram-field-docs": true}, "connected_bots": {"type": "array", "items": {"type": "object", "x-tl-type": "ConnectedBotStarRef", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["connectedBotStarRef"]}}, "description": "Tipo TL: ConnectedBotStarRef."}, "x-tl-type": "Vector<ConnectedBotStarRef>", "description": "las afiliaciones", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Compañeros mencionados en `connected_bots`", "x-telegram-field-docs": true}}, "required": ["_", "count", "connected_bots", "users"], "additionalProperties": false}, "payments.suggestedStarRefBots": {"title": "payments.suggestedStarRefBots", "description": "Una lista de [miniaplicaciones](https://core.telegram.org/api/bots/webapps.md) sugeridas con [programas de afiliados](https://core.telegram.org/api/bots/referrals.md)] disponibles", "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": "Número total de resultados (para paginación)", "x-telegram-field-docs": true}, "suggested_bots": {"type": "array", "items": {"type": "object", "x-tl-type": "StarRefProgram", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starRefProgram"]}}, "description": "Tipo TL: StarRefProgram."}, "x-tl-type": "Vector<StarRefProgram>", "description": "Programas de afiliados sugeridos (la lista completa o parcial se obtendrá mediante paginación)", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Compañeros mencionados en `suggested_bots`", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Siguiente desplazamiento para [paginación](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": "estrellasCantidad", "description": "Describe una cantidad real (i.e. posiblemente decimal) de [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": "La cantidad entera de Telegram Stars.", "x-tl-type": "long", "x-telegram-field-docs": true}, "nanos": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "La cantidad decimal de Telegram Stars, expresada como nanoestrellas (i.e. 1 nanoestrella es igual a `1/1_000_000_000`th (una milmillonésima) de una Telegram Star).  Este campo también puede ser negativo (el rango permitido es de `-999_999_999` a `999_999_999`).", "x-telegram-field-docs": true}}, "required": ["_", "amount", "nanos"], "additionalProperties": false}, "starsTonAmount": {"title": "estrellasTonCantidad", "description": "Describe una cantidad de gramo en nanogramos (i.e. `1/1_000_000_000` de un gramo).", "externalDocs": {"url": "https://core.telegram.org/constructor/starsTonAmount"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["starsTonAmount"]}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "La cantidad en nanogramos.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "amount"], "additionalProperties": false}, "messages.foundStickersNotModified": {"title": "messages.foundStickersNotModified", "description": "No se encontraron nuevos stickers para la consulta especificada", "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": "Desplazamiento para [paginación](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": "pegatinas encontradas", "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": "Desplazamiento para [paginación](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 utilizado para el almacenamiento en caché, para obtener más información, haga clic aquí](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": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "pegatinas encontradas", "x-telegram-field-docs": true}}, "required": ["_", "hash", "stickers"], "additionalProperties": false}, "botVerifierSettings": {"title": "botVerifierConfiguración", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: TextoConEntidades.", "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "icon", "company"], "additionalProperties": false}, "botVerification": {"title": "botVerificación", "type": "object", "properties": {"_": {"type": "string", "enum": ["botVerification"]}, "bot_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "icon": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "description": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo de TL: TextoConEntidades."}}, "required": ["_", "bot_id", "icon", "description"], "additionalProperties": false}, "starGiftAttributeModel": {"title": "estrellaRegaloAtributoModelo", "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": "Tipo TL: Documento."}, "rarity": {"type": "object", "x-tl-type": "StarGiftAttributeRarity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity", "starGiftAttributeRarityUncommon", "starGiftAttributeRarityRare", "starGiftAttributeRarityEpic", "starGiftAttributeRarityLegendary"]}}, "description": "Tipo de TL: StarGiftAttributeRarity."}}, "required": ["_", "name", "document", "rarity"], "additionalProperties": false}, "starGiftAttributePattern": {"title": "estrellaRegaloAtributoPatrón", "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": "Tipo TL: Documento."}, "rarity": {"type": "object", "x-tl-type": "StarGiftAttributeRarity", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity", "starGiftAttributeRarityUncommon", "starGiftAttributeRarityRare", "starGiftAttributeRarityEpic", "starGiftAttributeRarityLegendary"]}}, "description": "Tipo de TL: StarGiftAttributeRarity."}}, "required": ["_", "name", "document", "rarity"], "additionalProperties": false}, "starGiftAttributeBackdrop": {"title": "estrellaRegaloAtributoTelón de fondo", "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": "Tipo de TL: StarGiftAttributeRarity."}}, "required": ["_", "name", "backdrop_id", "center_color", "edge_color", "pattern_color", "text_color", "rarity"], "additionalProperties": false}, "starGiftAttributeOriginalDetails": {"title": "estrellaRegaloAtributoOriginalDetalles", "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": "Tipo TL: Par.", "x-tl-flag": "flags.0?Peer"}, "recipient_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo de TL: TextoConEntidades.", "x-tl-flag": "flags.1?TextWithEntities"}}, "required": ["_", "recipient_id", "date"], "additionalProperties": false}, "payments.starGiftUpgradePreview": {"title": "payments.starGiftUpgradePreview", "description": "Una vista previa de los posibles atributos (elegidos al azar) que un [regalo »](https://core.telegram.org/api/gifts.md) puede recibir después de actualizarlo a [regalo coleccionable »](https://core.telegram.org/api/gifts.md#collectible-gifts); consulte [aquí »](https://core.telegram.org/api/gifts.md#collectible-gifts) para obtener más información.", "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": "Tipo de TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>", "description": "Posibles atributos del regalo", "x-telegram-field-docs": true}, "prices": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftUpgradePrice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftUpgradePrice"]}}, "description": "Tipo de TL: StarGiftUpgradePrice."}, "x-tl-type": "Vector<StarGiftUpgradePrice>", "description": "Contiene una lista similar de precios de actualización y marcas de tiempo, no tan granular como en `next_prices` (i.e. Los precios tienen una diferencia de aproximadamente 1 mes), que se utilizará principalmente para escalar el gráfico de precios y para mostrar una descripción futura más general del precio de actualización.", "x-telegram-field-docs": true}, "next_prices": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftUpgradePrice", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftUpgradePrice"]}}, "description": "Tipo de TL: StarGiftUpgradePrice."}, "x-tl-type": "Vector<StarGiftUpgradePrice>", "description": "Contiene el precio de actualización actual y una lista de precios futuros, cada uno asociado a una marca de tiempo UNIX que indica cuándo el precio entra en vigor (el precio actual es válido sólo hasta que el siguiente entre en vigor, y así sucesivamente para todos los precios de la lista).", "x-telegram-field-docs": true}}, "required": ["_", "sample_attributes", "prices", "next_prices"], "additionalProperties": false}, "users.users": {"title": "users.users", "description": "Describe una lista de usuarios (o 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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios", "x-telegram-field-docs": true}}, "required": ["_", "users"], "additionalProperties": false}, "users.usersSlice": {"title": "users.usersSlice", "description": "Describe una lista parcial de usuarios.", "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": "Número total de usuarios (mayor que los usuarios especificados en `users`)", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Subconjunto de usuarios.", "x-telegram-field-docs": true}}, "required": ["_", "count", "users"], "additionalProperties": false}, "payments.uniqueStarGift": {"title": "payments.uniqueStarGift", "description": "Representa un [regalo coleccionable» ](https://core.telegram.org/api/gifts.md#collectible-gifts).", "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": "El constructor [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en el campo `gift`.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en el campo `gift`.", "x-telegram-field-docs": true}}, "required": ["_", "gift", "chats", "users"], "additionalProperties": false}, "messages.webPagePreview": {"title": "messages.webPagePreview", "description": "Representa una vista previa de la página web.", "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": "El [messageMediaWebPage](https://core.telegram.org/constructor/messageMediaWebPage.md) o un [messageMediaEmpty](https://core.telegram.org/constructor/messageMediaEmpty.md) si no hay vista previa.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en el campo `gift`.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados dentro del objeto `media`.", "x-telegram-field-docs": true}}, "required": ["_", "media", "chats", "users"], "additionalProperties": false}, "savedStarGift": {"title": "guardadoEstrellaRegalo", "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": "Tipo TL: Par.", "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": "Tipo TL: StarGift."}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo de TL: TextoConEntidades.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.11?long"}, "convert_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.4?long"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Representa una lista de [regalos](https://core.telegram.org/api/gifts.md).", "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": "Número total de resultados (puede ser menor que el `gifts` devuelto, en cuyo caso se establecerá `next_offset`).", "x-telegram-field-docs": true}, "chat_notifications_enabled": {"type": "boolean", "x-tl-type": "Bool", "description": "Valor ternario: no se puede establecer, establecer & verdadero, establecer & falso.  Solo se puede configurar para canales de nuestra propiedad: el valor indica si [habilitamos notificaciones de regalos](https://core.telegram.org/api/gifts.md#notifications-for-received-channel-gifts) para este canal.", "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": "Tipo de TL: SavedStarGift."}, "x-tl-type": "Vector<SavedStarGift>", "description": "Regalos", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Compensar para pasar a [payments.getSavedStarGifts](https://core.telegram.org/method/payments.getSavedStarGifts.md) para buscar la siguiente página de resultados.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Canales mencionados en `gifts`", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en `gifts`", "x-telegram-field-docs": true}}, "required": ["_", "count", "gifts", "chats", "users"], "additionalProperties": false}, "inputSavedStarGiftUser": {"title": "entradaGuardadoEstrellaRegaloUsuario", "description": "Un regalo recibido en un chat privado con otro usuario.", "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 del [messageService](https://core.telegram.org/constructor/messageService.md) con el [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md) con el regalo.", "x-telegram-field-docs": true}}, "required": ["_", "msg_id"], "additionalProperties": false}, "inputSavedStarGiftChat": {"title": "entradaGuardadoEstrellaRegaloChat", "description": "Un regalo recibido por un canal de nuestra propiedad.", "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": "El canal.", "x-telegram-field-docs": true}, "saved_id": {"type": "string", "pattern": "^-?\\d+$", "description": "El ID del regalo debe ser el `saved_id` de un constructor [messageActionStarGift](https://core.telegram.org/constructor/messageActionStarGift.md)/[messageActionStarGiftUnique](https://core.telegram.org/constructor/messageActionStarGiftUnique.md)].", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "peer", "saved_id"], "additionalProperties": false}, "inputSavedStarGiftSlug": {"title": "entradaEstrellaGuardadaGiftSlug", "description": "Apunta a un [obsequio coleccionable obtenido a partir de un enlace de regalo coleccionable» ](https://core.telegram.org/api/links.md#collectible-gift-link).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputSavedStarGiftSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputSavedStarGiftSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Babosa del enlace.", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "payments.starGiftWithdrawalUrl": {"title": "payments.starGiftWithdrawalUrl", "description": "Un URL que se puede usar para importar el NFT exportado en Fragmento.", "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": "El URL para abrir.", "x-telegram-field-docs": true}}, "required": ["_", "url"], "additionalProperties": false}, "paidReactionPrivacyDefault": {"title": "pagadoReacciónPrivacidadPredeterminado", "description": "Utiliza la privacidad de reacción predeterminada, configurada usando [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": "pagadoReacciónPrivacidadAnónimo", "description": "Envíe reacciones pagadas de forma anónima.", "externalDocs": {"url": "https://core.telegram.org/constructor/paidReactionPrivacyAnonymous"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["paidReactionPrivacyAnonymous"]}}, "required": ["_"], "additionalProperties": false}, "paidReactionPrivacyPeer": {"title": "pagadoReacciónPrivacidadPar", "description": "Envíe reacciones pagas como el par especificado, obtenidas usando [channels.getSendAs](https://core.telegram.org/method/channels.getSendAs.md) con el indicador `for_paid_reactions` configurado.", "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": "El par para enviar reacciones como.", "x-telegram-field-docs": true}}, "required": ["_", "peer"], "additionalProperties": false}, "account.paidMessagesRevenue": {"title": "account.paidMessagesRevenue", "description": "Número total de [Telegram Stars](https://core.telegram.org/api/stars.md) no reembolsadas que un usuario ha gastado en enviarnos mensajes directamente o a través de un canal; consulte [aquí »](https://core.telegram.org/api/paid-messages.md) para obtener más información sobre mensajes pagos.", "externalDocs": {"url": "https://core.telegram.org/constructor/account.paidMessagesRevenue"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["account.paidMessagesRevenue"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "Cantidad en [Estrellas](https://core.telegram.org/api/stars.md).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "stars_amount"], "additionalProperties": false}, "requirementToContactEmpty": {"title": "requisitoParaContactoVacío", "description": "Este usuario puede ser contactado libremente.", "externalDocs": {"url": "https://core.telegram.org/constructor/requirementToContactEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["requirementToContactEmpty"]}}, "required": ["_"], "additionalProperties": false}, "requirementToContactPremium": {"title": "requisitoParaContactarPremium", "description": "Este usuario requiere que compremos una suscripción [Premium](https://core.telegram.org/api/premium.md) para poder contactarlo.", "externalDocs": {"url": "https://core.telegram.org/constructor/requirementToContactPremium"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["requirementToContactPremium"]}}, "required": ["_"], "additionalProperties": false}, "requirementToContactPaidMessages": {"title": "requisitoParaContactarMensajesPagados", "description": "Este usuario requiere que paguemos la cantidad especificada de [Telegram Stars](https://core.telegram.org/api/stars.md) para enviarle un mensaje; consulte [aquí »](https://core.telegram.org/api/paid-messages.md) para ver el flujo completo.", "externalDocs": {"url": "https://core.telegram.org/constructor/requirementToContactPaidMessages"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["requirementToContactPaidMessages"]}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "La cantidad requerida de [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": "negociosBotDerechos", "description": "[Derechos del robot empresarial](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": "Si el bot puede enviar y editar mensajes en chats privados que tuvieron mensajes entrantes en las últimas 24 horas.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "read_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede marcar los mensajes privados entrantes como leídos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "delete_sent_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede eliminar los mensajes enviados por el bot.", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?true"}, "delete_received_messages": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede eliminar mensajes privados recibidos en chats administrados.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?true"}, "edit_name": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede editar el nombre y apellido de la cuenta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?true"}, "edit_bio": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede editar la biografía de la cuenta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?true"}, "edit_profile_photo": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede editar la foto de perfil de la cuenta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "edit_username": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede editar el nombre de usuario de la cuenta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.7?true"}, "view_gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede ver los regalos y la cantidad de Telegram Stars que posee la cuenta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.8?true"}, "sell_gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede convertir los obsequios habituales de la cuenta comercial en Telegram Stars.", "x-telegram-field-docs": true, "x-tl-flag": "flags.9?true"}, "change_gift_settings": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede cambiar la configuración de privacidad relacionada con los obsequios para la cuenta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.10?true"}, "transfer_and_upgrade_gifts": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede transferir y actualizar obsequios propiedad de la cuenta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.11?true"}, "transfer_stars": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede transferir las Telegram Stars recibidas por la cuenta comercial a su propia cuenta o usarlas para actualizar y transferir regalos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.12?true"}, "manage_stories": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si el bot puede publicar, editar y eliminar historias en nombre de la cuenta comercial.", "x-telegram-field-docs": true, "x-tl-flag": "flags.13?true"}}, "required": ["_"], "additionalProperties": false}, "disallowedGiftsSettings": {"title": "no permitidoRegalosConfiguración", "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": "patrocinadoPeer", "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": "Tipo TL: Par."}, "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": "No hay pares patrocinados para esta consulta.", "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": "Compañeros patrocinados.", "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": "Tipo de TL: PatrocinadoPeer."}, "x-tl-type": "Vector<SponsoredPeer>", "description": "Compañeros patrocinados.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Información sobre chats y canales patrocinados.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Información sobre usuarios patrocinados", "x-telegram-field-docs": true}}, "required": ["_", "peers", "chats", "users"], "additionalProperties": false}, "starGiftAttributeIdModel": {"title": "estrellaRegaloAtributoIdModelo", "description": "The ID of a model of a [collectible gift »](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": "La [pegatina](https://core.telegram.org/api/stickers.md) que representa el regalo mejorado", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "document_id"], "additionalProperties": false}, "starGiftAttributeIdPattern": {"title": "estrellaRegaloAtributoIdPatrón", "description": "El ID de un patrón de un [regalo coleccionable» ](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": "La [pegatina](https://core.telegram.org/api/stickers.md) que representa el símbolo", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "document_id"], "additionalProperties": false}, "starGiftAttributeIdBackdrop": {"title": "estrellaRegaloAtributoIdFondo", "description": "El ID de un telón de fondo de un [regalo coleccionable» ](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": "Identificación única del telón de fondo.", "x-telegram-field-docs": true}}, "required": ["_", "backdrop_id"], "additionalProperties": false}, "starGiftAttributeCounter": {"title": "estrellaRegaloAtributoContador", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeCounter"]}, "attribute": {"type": "object", "x-tl-type": "StarGiftAttributeId", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeIdModel", "starGiftAttributeIdPattern", "starGiftAttributeIdBackdrop"]}}, "description": "Tipo de TL: StarGiftAttributeId."}, "count": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "attribute", "count"], "additionalProperties": false}, "payments.resaleStarGifts": {"title": "payments.resaleStarGifts", "description": "Lista de regalos actualmente en [reventa »](https://core.telegram.org/api/gifts.md#reselling-collectible-gifts).", "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": "Número total de resultados.", "x-telegram-field-docs": true}, "gifts": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Tipo TL: StarGift."}, "x-tl-type": "Vector<StarGift>", "description": "Obsequios coleccionables en reventa (pueden ser inferiores a `count`, en cuyo caso se establecerá `next_offset`).", "x-telegram-field-docs": true}, "next_offset": {"type": "string", "x-tl-type": "string", "description": "Desplazamiento para paginación, pase esto a [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`offset` para obtener los siguientes resultados.", "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": "Tipo de TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>", "description": "Posibles atributos de regalo, solo se establecen si se establece [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`attributes_hash` (en la primera llamada, debe ser igual a `0`).", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Vector<StarGiftAttribute>"}, "attributes_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash del campo `attributes`, páselo a [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`attributes_hash` para evitar devolver atributos (bandera no establecida) si no han cambiado.", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en los atributos.", "x-telegram-field-docs": true}, "counters": {"type": "array", "items": {"type": "object", "x-tl-type": "StarGiftAttributeCounter", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAttributeCounter"]}}, "description": "Tipo de TL: StarGiftAttributeCounter."}, "x-tl-type": "Vector<StarGiftAttributeCounter>", "description": "Indica el número total de regalos que tienen un atributo específico, solo se establece si [payments.getResaleStarGifts](https://core.telegram.org/method/payments.getResaleStarGifts.md).`offset` está vacío (dado que este campo no está relacionado con la página de resultados actual sino con todas, solo se devuelve en la primera página).", "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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en los atributos.", "x-telegram-field-docs": true}}, "required": ["_", "count", "gifts", "chats", "users"], "additionalProperties": false}, "stories.canSendStoryCount": {"title": "stories.canSendStoryCount", "description": "Contiene la cantidad de espacios de historias activas disponibles (igual al valor del [`story_expiring_limit_*` parámetro de configuración del cliente](https://core.telegram.org/api/config.md#story-expiring-limit-default) menos la cantidad de historias actualmente activas).", "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": "Espacios de historia activos restantes.", "x-telegram-field-docs": true}}, "required": ["_", "count_remains"], "additionalProperties": false}, "pendingSuggestion": {"title": "pendiente de sugerencia", "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": "Tipo de TL: TextoConEntidades."}, "description": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo de TL: TextoConEntidades."}, "url": {"type": "string", "x-tl-type": "string"}}, "required": ["_", "suggestion", "title", "description", "url"], "additionalProperties": false}, "todoItem": {"title": "todoItem", "description": "Un elemento de una [lista de tareas pendientes »](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 del elemento, un número entero positivo (distinto de cero) único dentro de la lista actual.", "x-telegram-field-docs": true}, "title": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Texto del artículo, longitud máxima igual a [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": "lista de tareas pendientes", "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": "Tipo de TL: TextoConEntidades."}, "list": {"type": "array", "items": {"type": "object", "x-tl-type": "TodoItem", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["todoItem"]}}, "description": "Tipo de TL: TodoItem."}, "x-tl-type": "Vector<TodoItem>"}}, "required": ["_", "title", "list"], "additionalProperties": false}, "todoCompletion": {"title": "todoFinalización", "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": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "id", "completed_by", "date"], "additionalProperties": false}, "suggestedPost": {"title": "publicación sugerida", "description": "Contiene información sobre una [publicación sugerida »](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": "Si la publicación sugerida fue aceptada.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "rejected": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si la publicación sugerida fue rechazada.", "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": "Precio del post sugerido.", "x-telegram-field-docs": true, "x-tl-flag": "flags.3?StarsAmount"}, "schedule_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha de programación.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_"], "additionalProperties": false}, "starsRating": {"title": "estrellasCalificación", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "next_level_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "level", "current_level_stars", "stars"], "additionalProperties": false}, "starGiftCollection": {"title": "estrellaRegaloColección", "description": "Representa una [colección de regalos de estrellas» ](https://core.telegram.org/api/gifts.md#gift-collections).", "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": "El ID de la colección.", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Título de la colección.", "x-telegram-field-docs": true}, "icon": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Ícono opcional para la colección, tomado del primer regalo de la colección.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?Document"}, "gifts_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de regalos de la colección.", "x-telegram-field-docs": true}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Campo a utilizar **en lugar de `collection_id`** al generar el hash para pasar a [payments.getStarGiftCollections](https://core.telegram.org/method/payments.getStarGiftCollections.md).", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "collection_id", "title", "gifts_count", "hash"], "additionalProperties": false}, "payments.starGiftCollectionsNotModified": {"title": "payments.starGiftCollectionsNotModified", "description": "La lista de [colecciones de regalos estrella »](https://core.telegram.org/api/gifts.md#gift-collections) no ha cambiado.", "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": "Representa una lista de [colecciones de regalos estrella» ](https://core.telegram.org/api/gifts.md#gift-collections).", "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": "Tipo TL: StarGiftCollection."}, "x-tl-type": "Vector<StarGiftCollection>", "description": "Colecciones de regalos estrella.", "x-telegram-field-docs": true}}, "required": ["_", "collections"], "additionalProperties": false}, "storyAlbum": {"title": "historiaálbum", "description": "Representa un [álbum de cuentos» ](https://core.telegram.org/api/stories.md#story-albums).", "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 del álbum.", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del álbum.", "x-telegram-field-docs": true}, "icon_photo": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Foto de la primera historia del álbum, si es foto.", "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": "Vídeo de la primera historia del álbum, si es vídeo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?Document"}}, "required": ["_", "album_id", "title"], "additionalProperties": false}, "stories.albumsNotModified": {"title": "stories.albumsNotModified", "description": "La [lista de álbumes de historias»](https://core.telegram.org/api/stories.md#story-albums) no ha cambiado.", "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": "[Álbumes de cuentos» ](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 para pasar a [stories.getAlbums](https://core.telegram.org/method/stories.getAlbums.md) para evitar devolver resultados si no han cambiado.", "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": "Tipo TL: StoryAlbum."}, "x-tl-type": "Vector<StoryAlbum>", "description": "Los álbumes.", "x-telegram-field-docs": true}}, "required": ["_", "hash", "albums"], "additionalProperties": false}, "searchPostsFlood": {"title": "buscarPublicacionesInundación", "description": "Indica si la [búsqueda global de publicaciones »](https://core.telegram.org/api/search.md#posts-tab) especificada requiere pago.", "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": "La consulta especificada es gratuita (y **no consumirá espacios de búsqueda gratuitos**).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "total_daily": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número total de espacios de búsqueda gratuitos diarios.", "x-telegram-field-docs": true}, "remains": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número restante de espacios de búsqueda libres.", "x-telegram-field-docs": true}, "wait_till": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si no hay más espacios de búsqueda, especifica el tiempo Unix en el que estarán disponibles más espacios de búsqueda.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}, "stars_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "La cantidad de [Telegram Stars](https://core.telegram.org/api/stars.md) a pagar por cada búsqueda no gratuita.", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "total_daily", "remains", "stars_amount"], "additionalProperties": false}, "payments.uniqueStarGiftValueInfo": {"title": "payments.uniqueStarGiftValueInfo", "description": "Información sobre el valor de un [regalo coleccionable» ](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": "Si se establece, la última venta se completó en Fragmento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?true"}, "value_is_average": {"type": "boolean", "enum": [true], "x-tl-type": "true", "description": "Si se establece, el `value` se calcula a partir del valor promedio de los obsequios vendidos del mismo tipo. En caso contrario, se basa en el precio de venta del regalo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.6?true"}, "currency": {"type": "string", "x-tl-type": "string", "description": "Código de tres letras ISO 4217 [moneda](https://core.telegram.org/bots/payments.md#supported-currencies) (una moneda fiduciaria localizada utilizada para representar precios y estimaciones de precios en este constructor).", "x-telegram-field-docs": true}, "value": {"type": "string", "pattern": "^-?\\d+$", "description": "Valor estimado del obsequio, en la unidad más pequeña de la moneda especificada en `currency`.", "x-tl-type": "long", "x-telegram-field-docs": true}, "initial_sale_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha de compra inicial del regalo.", "x-telegram-field-docs": true}, "initial_sale_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio de compra inicial en Estrellas.", "x-tl-type": "long", "x-telegram-field-docs": true}, "initial_sale_price": {"type": "string", "pattern": "^-?\\d+$", "description": "Precio de compra inicial en la unidad más pequeña de la moneda especificada en `currency` (convertida automáticamente de `initial_sale_stars`).", "x-tl-type": "long", "x-telegram-field-docs": true}, "last_sale_date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Última fecha de reventa del regalo.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}, "last_sale_price": {"type": "string", "pattern": "^-?\\d+$", "description": "Último precio de reventa, en la unidad más pequeña de la moneda especificada en `currency`.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?long"}, "floor_price": {"type": "string", "pattern": "^-?\\d+$", "description": "El precio mínimo actual de obsequios coleccionables del mismo tipo, en la unidad más pequeña de la moneda especificada en `currency`.", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?long"}, "average_price": {"type": "string", "pattern": "^-?\\d+$", "description": "El precio de venta promedio actual de obsequios coleccionables del mismo tipo, en la unidad más pequeña de la moneda especificada en `currency`.", "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": "Número de regalos del mismo tipo que se revenden actualmente en Telegram.", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?int"}, "fragment_listed_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de obsequios del mismo tipo que se revenden actualmente por fragmento.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?int"}, "fragment_listed_url": {"type": "string", "x-tl-type": "string", "description": "Enlace del fragmento a la lista de obsequios del mismo tipo que actualmente se revenden en el fragmento.", "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": "perfilTabPublicaciones", "description": "Representa la pestaña [historias](https://core.telegram.org/api/stories.md) de una página de perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabPosts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabPosts"]}}, "required": ["_"], "additionalProperties": false}, "profileTabGifts": {"title": "perfilTabRegalos", "description": "Representa la pestaña [regalos](https://core.telegram.org/api/gifts.md) de una página de perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabGifts"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabGifts"]}}, "required": ["_"], "additionalProperties": false}, "profileTabMedia": {"title": "perfilTabMedia", "description": "Representa la pestaña multimedia de una página de perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabMedia"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabMedia"]}}, "required": ["_"], "additionalProperties": false}, "profileTabFiles": {"title": "perfilTabFiles", "description": "Representa la pestaña de archivos compartidos de un perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabFiles"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabFiles"]}}, "required": ["_"], "additionalProperties": false}, "profileTabMusic": {"title": "perfilTabMúsica", "description": "Representa la pestaña [música](https://core.telegram.org/api/profile.md#music) de una página de perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabMusic"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabMusic"]}}, "required": ["_"], "additionalProperties": false}, "profileTabVoice": {"title": "perfilTabVoice", "description": "Representa la pestaña de mensajes de voz de una página de perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabVoice"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabVoice"]}}, "required": ["_"], "additionalProperties": false}, "profileTabLinks": {"title": "perfilTabEnlaces", "description": "Representa la pestaña de enlaces compartidos de una página de perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabLinks"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabLinks"]}}, "required": ["_"], "additionalProperties": false}, "profileTabGifs": {"title": "perfilTabGifs", "description": "Representa la pestaña de gifs de una página de perfil.", "externalDocs": {"url": "https://core.telegram.org/constructor/profileTabGifs"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["profileTabGifs"]}}, "required": ["_"], "additionalProperties": false}, "users.savedMusicNotModified": {"title": "users.savedMusicNotModified", "description": "Este subconjunto de canciones actualmente fijadas en el perfil de un usuario no ha cambiado; consulte [aquí »](https://core.telegram.org/api/profile.md#music) para obtener más información.", "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": "Número total de canciones en el perfil del usuario.", "x-telegram-field-docs": true}}, "required": ["_", "count"], "additionalProperties": false}, "users.savedMusic": {"title": "users.savedMusic", "description": "Lista de canciones actualmente fijadas en el perfil de un usuario; consulte [aquí »](https://core.telegram.org/api/profile.md#music) para obtener más información.", "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": "Número total de canciones (puede ser mayor que `documents` dependiendo del `limit` pasado y el máximo predeterminado `limit`, en cuyo caso se requiere paginación).", "x-telegram-field-docs": true}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "x-tl-type": "Vector<Document>", "description": "Canciones.", "x-telegram-field-docs": true}}, "required": ["_", "count", "documents"], "additionalProperties": false}, "account.savedMusicIdsNotModified": {"title": "account.savedMusicIdsNotModified", "description": "La lista de ID de canciones ([document](https://core.telegram.org/constructor/document.md).`id`s) actualmente fijadas en nuestro perfil no ha cambiado.", "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": "Lista de ID de canciones ([document](https://core.telegram.org/constructor/document.md).`id`s) actualmente fijadas en nuestro perfil; consulte [aquí »](https://core.telegram.org/api/profile.md#music) para obtener más información.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>", "description": "Lista completa de [documento](https://core.telegram.org/constructor/document.md).`id`s", "x-telegram-field-docs": true}}, "required": ["_", "ids"], "additionalProperties": false}, "payments.checkCanSendGiftResultOk": {"title": "payments.checkCanSendGiftResultOk", "description": "Se puede enviar el regalo especificado.", "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": "El regalo especificado aún no se puede enviar por el motivo especificado.", "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": "La razón por la que aún no se puede enviar.", "x-telegram-field-docs": true}}, "required": ["_", "reason"], "additionalProperties": false}, "inputChatThemeEmpty": {"title": "entradaChatTemaVacío", "description": "Elimina cualquier tema configurado actualmente.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatThemeEmpty"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatThemeEmpty"]}}, "required": ["_"], "additionalProperties": false}, "inputChatTheme": {"title": "entradaChatTema", "description": "Establece un tema de chat basado en emojis, devuelto por [account.getChatThemes](https://core.telegram.org/method/account.getChatThemes.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatTheme"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatTheme"]}, "emoticon": {"type": "string", "x-tl-type": "string", "description": "Los emojis.", "x-telegram-field-docs": true}}, "required": ["_", "emoticon"], "additionalProperties": false}, "inputChatThemeUniqueGift": {"title": "entradaChatTemaÚnicoRegalo", "description": "Establezca un tema basado en un [obsequio coleccionable alojado o propio» ](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts), devuelto por [account.getUniqueGiftChatThemes](https://core.telegram.org/method/account.getUniqueGiftChatThemes.md).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputChatThemeUniqueGift"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputChatThemeUniqueGift"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "La babosa de [starGiftUnique](https://core.telegram.org/constructor/starGiftUnique.md).`slug`.", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "starGiftUpgradePrice": {"title": "estrellaRegaloMejoraPrecio", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftUpgradePrice"]}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "upgrade_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "date", "upgrade_stars"], "additionalProperties": false}, "groupCallMessage": {"title": "grupollamadamensaje", "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": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "message": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Tipo de TL: TextoConEntidades."}, "paid_message_stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}}, "required": ["_", "id", "from_id", "date", "message"], "additionalProperties": false}, "groupCallDonor": {"title": "grupoLlamadaDonante", "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": "Tipo TL: Par.", "x-tl-flag": "flags.3?Peer"}, "stars": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "stars"], "additionalProperties": false}, "phone.groupCallStars": {"title": "phone.groupCallStars", "description": "Contiene las donaciones totales de una historia en vivo y los principales donantes, consulte [donaciones pagadas de historias en vivo »](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": "Total de estrellas donadas a la historia en vivo", "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": "Tipo de TL: GroupCallDonor."}, "x-tl-type": "Vector<GroupCallDonor>", "description": "Principales donantes", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados en `top_donors`", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados en `top_donors`", "x-telegram-field-docs": true}}, "required": ["_", "total_stars", "top_donors", "chats", "users"], "additionalProperties": false}, "recentStory": {"title": "historia reciente", "description": "Resumen de las [historias activas»](https://core.telegram.org/api/stories.md#recent-story-summaries) de un par, incrustadas en [usuario](https://core.telegram.org/constructor/user.md).`stories_max_id` y [canal](https://core.telegram.org/constructor/channel.md).`stories_max_id` y devueltas por [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": "Si el par está transmitiendo actualmente una [historia en vivo »](https://core.telegram.org/api/stories.md#live-stories).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "max_id": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Si se establece `live`, ID de la [historia en vivo »](https://core.telegram.org/api/stories.md#live-stories) activa del par; de lo contrario, ID de la historia activa máxima del par.", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_"], "additionalProperties": false}, "auctionBidLevel": {"title": "nivel de oferta de subasta", "type": "object", "properties": {"_": {"type": "string", "enum": ["auctionBidLevel"]}, "pos": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "pos", "amount", "date"], "additionalProperties": false}, "starGiftAuctionStateNotModified": {"title": "estrellaRegaloSubastaEstadoNoModificado", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAuctionState": {"title": "estrellaRegaloSubastaEstado", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "bid_levels": {"type": "array", "items": {"type": "object", "x-tl-type": "AuctionBidLevel", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["auctionBidLevel"]}}, "description": "Tipo de TL: AuctionBidLevel."}, "x-tl-type": "Vector<AuctionBidLevel>"}, "top_bidders": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo 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": "estrellaRegaloSubastaEstadoTerminado", "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 bits de velocidad en десятичной записи.", "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": "estrellaRegaloSubastaUsuarioEstado", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par.", "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": "Describe una [subasta de regalos coleccionables»](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": "El regalo que se está distribuyendo actualmente en la subasta.", "x-telegram-field-docs": true}, "state": {"type": "object", "x-tl-type": "StarGiftAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified", "starGiftAuctionState", "starGiftAuctionStateFinished"]}}, "description": "Estado de subasta.", "x-telegram-field-docs": true}, "user_state": {"type": "object", "x-tl-type": "StarGiftAuctionUserState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}}, "description": "Estado de la subasta relacionado con el usuario actual (i.e. información sobre ofertas realizadas, obsequios ganados, etc.).", "x-telegram-field-docs": true}, "timeout": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Vuelva a invocar el método [payments.getStarGiftAuctionState](https://core.telegram.org/method/payments.getStarGiftAuctionState.md) después de `timeout` segundos para seguir recibiendo actualizaciones de la subasta; consulte [aquí »](https://core.telegram.org/api/auctions.md) para obtener más información sobre el flujo completo.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}}, "required": ["_", "gift", "state", "user_state", "timeout", "users", "chats"], "additionalProperties": false}, "starGiftAuctionAcquiredGift": {"title": "estrellaRegaloSubastaAdquiridoRegalo", "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": "Tipo TL: Par."}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "bid_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: TextoConEntidades.", "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": "Describe todos los regalos que el usuario actual ganó en una [subasta](https://core.telegram.org/api/auctions.md).", "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": "Tipo de TL: StarGiftAuctionAcquiredGift."}, "x-tl-type": "Vector<StarGiftAuctionAcquiredGift>", "description": "los regalos", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}}, "required": ["_", "gifts", "users", "chats"], "additionalProperties": false}, "starGiftActiveAuctionState": {"title": "estrellaRegaloActivoEstadodesubasta", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftActiveAuctionState"]}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Tipo TL: StarGift."}, "state": {"type": "object", "x-tl-type": "StarGiftAuctionState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionStateNotModified", "starGiftAuctionState", "starGiftAuctionStateFinished"]}}, "description": "Tipo de TL: StarGiftAuctionState."}, "user_state": {"type": "object", "x-tl-type": "StarGiftAuctionUserState", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGiftAuctionUserState"]}}, "description": "Tipo de TL: StarGiftAuctionUserState."}}, "required": ["_", "gift", "state", "user_state"], "additionalProperties": false}, "payments.starGiftActiveAuctionsNotModified": {"title": "payments.starGiftActiveAuctionsNotModified", "description": "La lista de [subastas de regalos](https://core.telegram.org/api/auctions.md) actualmente activas **donde el usuario ha realizado una oferta** no ha cambiado.", "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": "Describe todas las [subastas de regalos](https://core.telegram.org/api/auctions.md) actualmente activas **donde el usuario ha realizado una oferta**.", "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": "Tipo de TL: StarGiftActiveAuctionState."}, "x-tl-type": "Vector<StarGiftActiveAuctionState>", "description": "Subastas donde el usuario ha realizado una oferta", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados", "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": "Tipo TL: Chat."}, "x-tl-type": "Vector<Chat>", "description": "Chats mencionados", "x-telegram-field-docs": true}}, "required": ["_", "auctions", "users", "chats"], "additionalProperties": false}, "inputStarGiftAuction": {"title": "entradaEstrellaRegaloSubasta", "description": "Se utiliza para buscar [subastas](https://core.telegram.org/api/auctions.md) utilizando el ID del [regalo coleccionable](https://core.telegram.org/api/gifts.md#collectible-gifts)] vinculado.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStarGiftAuction"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStarGiftAuction"]}, "gift_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID de regalo coleccionable](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": "entradaEstrellaGiftAuctionSlug", "description": "Se utiliza para buscar [subastas](https://core.telegram.org/api/auctions.md) usando el [slug de un enlace profundo de subasta »](https://core.telegram.org/api/links.md#auction-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputStarGiftAuctionSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputStarGiftAuctionSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "[Slug de enlace profundo de subasta» ](https://core.telegram.org/api/links.md#auction-links).", "x-telegram-field-docs": true}}, "required": ["_", "slug"], "additionalProperties": false}, "passkey": {"title": "clave de acceso", "description": "Información legible por humanos sobre una clave de acceso asociada a una cuenta, devuelta al [crear una clave de acceso »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) o [enumerar claves de acceso »](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": "ID de clave de acceso única, utilizable, por ejemplo, en [account.deletePasskey](https://core.telegram.org/method/account.deletePasskey.md).", "x-telegram-field-docs": true}, "name": {"type": "string", "x-tl-type": "string", "description": "Nombre de clave de acceso legible por humanos", "x-telegram-field-docs": true}, "date": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Fecha de creación de la clave de acceso", "x-telegram-field-docs": true}, "software_emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del [emoji personalizado](https://core.telegram.org/api/custom-emoji.md) utilizado como ícono para el software o administrador de contraseñas que creó la clave de acceso", "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": "Fecha en la que se utilizó la clave de acceso por última vez para iniciar sesión", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?int"}}, "required": ["_", "id", "name", "date"], "additionalProperties": false}, "account.passkeys": {"title": "account.passkeys", "description": "Listado de [contraseñas »](https://core.telegram.org/api/passkeys.md#list-passkeys) asociadas a la cuenta corriente.", "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": "Tipo TL: Clave de acceso."}, "x-tl-type": "Vector<Passkey>", "description": "Lista de claves de acceso que se pueden utilizar para iniciar sesión en la cuenta actual", "x-telegram-field-docs": true}}, "required": ["_", "passkeys"], "additionalProperties": false}, "account.passkeyRegistrationOptions": {"title": "account.passkeyRegistrationOptions", "description": "Opciones de registro de clave de acceso, consulte [aquí »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) para obtener más información sobre el flujo completo.", "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": "Objeto codificado con JSON cuyo campo `publicKey` contiene un objeto [`PublicKeyCredentialCreationOptions`](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredentialCreationOptions).", "x-telegram-field-docs": true}}, "required": ["_", "options"], "additionalProperties": false}, "auth.passkeyLoginOptions": {"title": "auth.passkeyLoginOptions", "description": "Opciones de inicio de sesión con contraseña, consulte [aquí »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para obtener más información sobre el flujo completo.", "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": "Objeto codificado con JSON cuyo campo `publicKey` contiene un objeto [`PublicKeyCredentialRequestOptions`](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredentialRequestOptions).", "x-telegram-field-docs": true}}, "required": ["_", "options"], "additionalProperties": false}, "inputPasskeyResponseRegister": {"title": "entradaClave de contraseñaRespuestaRegistro", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPasskeyResponseRegister"]}, "client_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo de TL: DataJSON."}, "attestation_data": {"type": "string", "format": "byte", "x-tl-type": "bytes"}}, "required": ["_", "client_data", "attestation_data"], "additionalProperties": false}, "inputPasskeyResponseLogin": {"title": "entradaClave de contraseñaRespuestaIniciar sesión", "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPasskeyResponseLogin"]}, "client_data": {"type": "object", "x-tl-type": "DataJSON", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["dataJSON"]}}, "description": "Tipo de TL: 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": "entradaClave de contraseñaCredencialClave pública", "description": "Credencial de clave de acceso de clave pública utilizada tanto para el registro como para iniciar sesión; consulte [crear una clave de acceso »](https://core.telegram.org/api/passkeys.md#creating-a-passkey) e [iniciar sesión con una clave de acceso »](https://core.telegram.org/api/passkeys.md#logging-in-with-a-passkey) para conocer los flujos completos.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputPasskeyCredentialPublicKey"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputPasskeyCredentialPublicKey"]}, "id": {"type": "string", "x-tl-type": "string", "description": "`id` campo de un [PublicKeyCredential](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential), pasado tal cual sin decodificación base64url cuando se usa la representación JSON", "x-telegram-field-docs": true}, "raw_id": {"type": "string", "x-tl-type": "string", "description": "`rawId` campo de [PublicKeyCredential](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential), pasado tal cual sin decodificación base64url cuando se usa la representación JSON", "x-telegram-field-docs": true}, "response": {"type": "object", "x-tl-type": "InputPasskeyResponse", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPasskeyResponseRegister", "inputPasskeyResponseLogin"]}}, "description": "Registro o respuesta de inicio de sesión.", "x-telegram-field-docs": true}}, "required": ["_", "id", "raw_id", "response"], "additionalProperties": false}, "starGiftBackground": {"title": "estrellaregalofondo", "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": "estrellaRegaloSubastaRonda", "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": "estrellaRegaloSubastaRondaExtensible", "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": "Lista de los atributos coleccionables que pueden aparecer para un tipo de regalo una vez que se actualiza a [regalo coleccionable »](https://core.telegram.org/api/gifts.md#collectible-gifts).", "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": "Tipo de TL: StarGiftAttribute."}, "x-tl-type": "Vector<StarGiftAttribute>", "description": "Lista completa de posibles atributos que se pueden asignar cuando los obsequios del tipo especificado se convierten en [obsequios coleccionables »](https://core.telegram.org/api/gifts.md#collectible-gifts), incluidos los modelos exclusivos para manualidades marcados con [starGiftAttributeModel](https://core.telegram.org/constructor/starGiftAttributeModel.md).`crafted`.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "ton_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}}, "required": ["_", "seed", "stake_ton_amount", "ton_amount"], "additionalProperties": false}, "messages.emojiGameUnavailable": {"title": "messages.emojiGameUnavailable", "description": "Información del juego de dados.", "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": "Información del juego de dados.", "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": "Hachís del juego.", "x-telegram-field-docs": true}, "prev_stake": {"type": "string", "pattern": "^-?\\d+$", "description": "Estaca anterior.", "x-tl-type": "long", "x-telegram-field-docs": true}, "current_streak": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Racha actual.", "x-telegram-field-docs": true}, "params": {"type": "array", "items": {"type": "integer", "format": "int32", "x-tl-type": "int"}, "x-tl-type": "Vector<int>", "description": "Parámetros.", "x-telegram-field-docs": true}, "plays_left": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Juega a la izquierda.", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?int"}}, "required": ["_", "game_hash", "prev_stake", "current_streak", "params"], "additionalProperties": false}, "starGiftAttributeRarity": {"title": "estrellaRegaloAtributoRareza", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarity"]}, "permille": {"type": "integer", "format": "int32", "x-tl-type": "int"}}, "required": ["_", "permille"], "additionalProperties": false}, "starGiftAttributeRarityUncommon": {"title": "estrellaRegaloAtributoRarezaPoco común", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityUncommon"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAttributeRarityRare": {"title": "estrellaRegaloAtributoRarezaRaro", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityRare"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAttributeRarityEpic": {"title": "estrellaRegaloAtributoRarezaEpic", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityEpic"]}}, "required": ["_"], "additionalProperties": false}, "starGiftAttributeRarityLegendary": {"title": "estrellaRegaloAtributoRarezaLegendario", "type": "object", "properties": {"_": {"type": "string", "enum": ["starGiftAttributeRarityLegendary"]}}, "required": ["_"], "additionalProperties": false}, "keyboardButtonStyle": {"title": "tecladoBotónEstilo", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.3?long"}}, "required": ["_"], "additionalProperties": false}, "inputMessageReadMetric": {"title": "entradaMensajeLecturaMétrica", "description": "Lea la métrica para la exposición de un solo mensaje, que describe cuánto tiempo estuvo visible el mensaje en la ventana gráfica del chat.", "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 del mensaje", "x-telegram-field-docs": true}, "view_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID aleatorio distinto de cero de 64 bits generado para esta exposición", "x-tl-type": "long", "x-telegram-field-docs": true}, "time_in_view_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Tiempo total de exposición en milisegundos de al menos un píxel del mensaje, después del período de gracia de entrada de 300 ms", "x-telegram-field-docs": true}, "active_time_in_view_ms": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Parte de `time_in_view_ms` acumulado mientras el usuario está activo", "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)`, puede exceder 1000 cuando el mensaje es más alto que la ventana gráfica", "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)`, fijado en el rango 0-1000", "x-telegram-field-docs": true}, "recommendation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "El token de bot de un [bot administrado »](https://core.telegram.org/api/bots/managed-bots.md#managing-a-managed-bot), exportado por el bot administrador.", "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": "El token de bot del bot administrado", "x-telegram-field-docs": true}}, "required": ["_", "token"], "additionalProperties": false}, "bots.requestedButton": {"title": "bots.requestedButton", "description": "Contiene el ID de solicitud que un bot debe pasar a una [Mini aplicación](https://core.telegram.org/api/bots/webapps.md) después de preparar un botón de solicitud de pares con [bots.requestWebViewButton](https://core.telegram.org/method/bots.requestWebViewButton.md); consulte [aquí »](https://core.telegram.org/api/bots/buttons.md#requesting-peers-via-mini-apps) para obtener más información.", "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": "ID de solicitud de la mini aplicación, que el bot pasará a la mini aplicación y luego regresará a [bots.getRequestedWebViewButton](https://core.telegram.org/method/bots.getRequestedWebViewButton.md) y [messages.sendBotRequestedPeer](https://core.telegram.org/method/messages.sendBotRequestedPeer.md)", "x-telegram-field-docs": true}}, "required": ["_", "webapp_req_id"], "additionalProperties": false}, "messages.composedMessageWithAI": {"title": "messages.composedMessageWithAI", "description": "Representa un mensaje modificado por IA.", "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": "El mensaje modificado.", "x-telegram-field-docs": true}, "diff_text": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "Si **solo** el modo de revisión ([messages.composeMessageWithAI](https://core.telegram.org/method/messages.composeMessageWithAI.md).`proofread`) está habilitado, este campo se completará con una diferencia \"prepresentada\" entre el texto del mensaje antiguo y el nuevo usando **solo** [entidades de diferencia »](https://core.telegram.org/api/entities.md#diff-entities).", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?TextWithEntities"}}, "required": ["_", "result_text"], "additionalProperties": false}, "stats.pollStats": {"title": "stats.pollStats", "description": "[Estadísticas](https://core.telegram.org/api/stats.md#poll-statistics) para una encuesta enviada en un mensaje.", "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": "Un gráfico que contiene el número de votos emitidos en la encuesta a lo largo del tiempo.", "x-telegram-field-docs": true}}, "required": ["_", "votes_graph"], "additionalProperties": false}, "inputAiComposeToneDefault": {"title": "entradaAiComposeToneDefault", "description": "Hace referencia a un [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) predeterminado integrado por su identificador de cadena.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputAiComposeToneDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneDefault"]}, "tone": {"type": "string", "x-tl-type": "string", "description": "Identificador de cadena del tono incorporado, como se devuelve en [aiComposeToneDefault](https://core.telegram.org/constructor/aiComposeToneDefault.md).`tone`", "x-telegram-field-docs": true}}, "required": ["_", "tone"], "additionalProperties": false}, "inputAiComposeToneID": {"title": "entradaAiComposeToneID", "description": "Hace referencia a un [tono de compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado mediante su ID y hash de acceso.", "externalDocs": {"url": "https://core.telegram.org/constructor/inputAiComposeToneID"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneID"]}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de tono, como se devuelve en [aiComposeTone](https://core.telegram.org/constructor/aiComposeTone.md).`id`", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Tono [hash de acceso](https://core.telegram.org/api/peers.md#access-hash), como se devuelve en [aiComposeTone](https://core.telegram.org/constructor/aiComposeTone.md).`access_hash`", "x-tl-type": "long", "x-telegram-field-docs": true}}, "required": ["_", "id", "access_hash"], "additionalProperties": false}, "inputAiComposeToneSlug": {"title": "entradaAiComposeToneSlug", "description": "Hace referencia a un [tono de compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado mediante su slug público, utilizado al abrir un [enlace de tono de composición AI »](https://core.telegram.org/api/links.md#ai-compose-tone-links).", "externalDocs": {"url": "https://core.telegram.org/constructor/inputAiComposeToneSlug"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["inputAiComposeToneSlug"]}, "slug": {"type": "string", "x-tl-type": "string", "description": "Slug de tono público, como se devuelve en [aiComposeTone](https://core.telegram.org/constructor/aiComposeTone.md).`slug`", "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": "Un [tono del compositor AI»](https://core.telegram.org/api/ai.md#ai-compose-tones) personalizado, que se utiliza para reformular mensajes en un estilo específico con el [compositor de mensajes AI](https://core.telegram.org/api/ai.md#compose-messages).", "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": "Si el usuario actual es el creador de este tono", "x-telegram-field-docs": true, "x-tl-flag": "flags.0?true"}, "id": {"type": "string", "pattern": "^-?\\d+$", "description": "Identificador de tono", "x-tl-type": "long", "x-telegram-field-docs": true}, "access_hash": {"type": "string", "pattern": "^-?\\d+$", "description": "Hash de acceso al tono", "x-tl-type": "long", "x-telegram-field-docs": true}, "slug": {"type": "string", "x-tl-type": "string", "description": "Slug de tono único, utilizado para compartir e instalar el tono a través de [enlaces de tono de composición AI »](https://core.telegram.org/api/links.md#ai-compose-tone-links)", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre de tono legible por humanos, hasta [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 caracteres de longitud", "x-telegram-field-docs": true}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) del ícono del tono", "x-tl-type": "long", "x-telegram-field-docs": true, "x-tl-flag": "flags.1?long"}, "prompt": {"type": "string", "x-tl-type": "string", "description": "El mensaje que describe cómo la IA debe reformular los mensajes usando este tono, hasta [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 caracteres de largo; sólo presente para tonos creados por el usuario actual", "x-telegram-field-docs": true, "x-tl-flag": "flags.4?string"}, "installs_count": {"type": "integer", "format": "int32", "x-tl-type": "int", "description": "Número de usuarios que han instalado este tono", "x-telegram-field-docs": true, "x-tl-flag": "flags.2?int"}, "author_id": {"type": "string", "pattern": "^-?\\d+$", "description": "ID del usuario que creó este tono, si lo hizo público el autor.", "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": "Un ejemplo que muestra cómo se reformula un mensaje de muestra en inglés con este tono; use [aicompose.getToneExample](https://core.telegram.org/method/aicompose.getToneExample.md) para buscar más ejemplos.", "x-telegram-field-docs": true, "x-tl-flag": "flags.5?AiComposeToneExample"}}, "required": ["_", "id", "access_hash", "slug", "title"], "additionalProperties": false}, "aiComposeToneDefault": {"title": "aiComposeToneDefault", "description": "Un [tono de compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) predeterminado integrado, identificado mediante un identificador de cadena en lugar de un ID numérico.", "externalDocs": {"url": "https://core.telegram.org/constructor/aiComposeToneDefault"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["aiComposeToneDefault"]}, "tone": {"type": "string", "x-tl-type": "string", "description": "Identificador de cadena del tono incorporado, que se pasará a [inputAiComposeToneDefault](https://core.telegram.org/constructor/inputAiComposeToneDefault.md)", "x-telegram-field-docs": true}, "emoji_id": {"type": "string", "pattern": "^-?\\d+$", "description": "[ID de emoji personalizado](https://core.telegram.org/api/custom-emoji.md) del ícono del tono", "x-tl-type": "long", "x-telegram-field-docs": true}, "title": {"type": "string", "x-tl-type": "string", "description": "Nombre del tono localizado y legible por humanos", "x-telegram-field-docs": true}}, "required": ["_", "tone", "emoji_id", "title"], "additionalProperties": false}, "aicompose.tonesNotModified": {"title": "aicompose.tonesNotModified", "description": "La lista de [tonos del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) guardados no ha cambiado desde la última vez que se recuperó (i.e. el `hash` pasado a [aicompose.getTones](https://core.telegram.org/method/aicompose.getTones.md) sigue siendo válido).", "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": "La lista de [tonos del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) guardados del usuario actual.", "externalDocs": {"url": "https://core.telegram.org/constructor/aicompose.tones"}, "type": "object", "properties": {"_": {"type": "string", "enum": ["aicompose.tones"]}, "hash": {"type": "string", "pattern": "^-?\\d+$", "description": "[Hash para paginación, para más información haga clic aquí](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": "Tipo de TL: AiComposeTone."}, "x-tl-type": "Vector<AiComposeTone>", "description": "Los tonos guardados del compositor AI.", "x-telegram-field-docs": true}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios mencionados (i.e. los autores de los tonos)", "x-telegram-field-docs": true}}, "required": ["_", "hash", "tones", "users"], "additionalProperties": false}, "aiComposeToneExample": {"title": "aiComposeToneEjemplo", "description": "Un ejemplo que muestra cómo un [tono del compositor AI »](https://core.telegram.org/api/ai.md#ai-compose-tones) reformula un mensaje, utilizado como vista previa en el selector de tonos.", "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": "El mensaje de muestra original y sin transformar.", "x-telegram-field-docs": true}, "to": {"type": "object", "x-tl-type": "TextWithEntities", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["textWithEntities"]}}, "description": "El mismo mensaje de muestra después de ser reformulado con este tono.", "x-telegram-field-docs": true}}, "required": ["_", "from", "to"], "additionalProperties": false}, "bots.accessSettings": {"title": "bots.accessSettings", "description": "Configuración de restricción de acceso para un [bot administrado »](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": "Si se configura, solo el propietario y los usuarios de `add_users` pueden acceder al bot administrado", "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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>", "description": "Usuarios adicionales (máximo 10, excluyendo al propietario) que pueden acceder al bot administrado; sólo está presente cuando `restricted` está configurado", "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": "Tipo TL: Actualizaciones."}}, "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "query_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "users": {"type": "array", "items": {"type": "object", "x-tl-type": "User", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["userEmpty", "user"]}}, "description": "Tipo TL: Usuario."}, "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: EntradaFoto."}}, "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": "Tipo TL: Documento de entrada."}}, "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": "Tipo TL: Bloque de página."}, "x-tl-type": "Vector<PageBlock>"}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "InputPhoto", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["inputPhotoEmpty", "inputPhoto"]}}, "description": "Tipo TL: EntradaFoto."}, "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": "Tipo TL: Documento de entrada."}, "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": "Tipo de TL: Usuario de entrada."}, "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": "Tipo TL: Bloque de página."}, "x-tl-type": "Vector<PageBlock>"}, "photos": {"type": "array", "items": {"type": "object", "x-tl-type": "Photo", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["photoEmpty", "photo"]}}, "description": "Tipo TL: Foto."}, "x-tl-type": "Vector<Photo>"}, "documents": {"type": "array", "items": {"type": "object", "x-tl-type": "Document", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["documentEmpty", "document"]}}, "description": "Tipo TL: Documento."}, "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": "Tipo TL: Par."}}, "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": "Tipo TL: Par."}, "requested_by": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo 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": "Tipo TL: Usuario."}, "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": "Tipo TL: Par."}, "peer_id": {"type": "object", "x-tl-type": "Peer", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["peerUser", "peerChat", "peerChannel"]}}, "description": "Tipo TL: Par.", "x-tl-flag": "flags.9?Peer"}, "receiver_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo de TL: entidad de mensaje."}, "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": "Tipo de TL: 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": "Tipo de TL: Marcado de respuesta.", "x-tl-flag": "flags.4?ReplyMarkup"}, "reply_to": {"type": "object", "x-tl-type": "MessageReplyHeader", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["messageReplyHeader", "messageReplyStoryHeader"]}}, "description": "Tipo de 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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "x-tl-type": "Vector<long>"}, "joined_chat_ids": {"type": "array", "items": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo 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": "Tipo TL: Usuario."}, "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": "Tipo de 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": "Tipo de 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": "Tipo de TL: Usuario de entrada.", "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": "Tipo de TL: 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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Usuario de entrada."}}, "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": "Tipo TL: Estilo de botón de teclado.", "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": "Tipo de TL: Texto enriquecido."}, "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: 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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Usuario."}, "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "fee": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo 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": "Tipo TL: Usuario."}, "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": "Tipo de TL: Documento web.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: Documento web.", "x-tl-flag": "flags.3?WebDocument"}, "image_small": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo de TL: Documento web.", "x-tl-flag": "flags.4?WebDocument"}, "content_url": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo de TL: Documento web.", "x-tl-flag": "flags.5?WebDocument"}, "lottie": {"type": "object", "x-tl-type": "WebDocument", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["webDocument", "webDocumentNoProxy"]}}, "description": "Tipo de TL: Documento web.", "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": "Tipo de TL: DataJSON.", "x-tl-flag": "flags.8?DataJSON"}, "gift": {"type": "object", "x-tl-type": "StarGift", "additionalProperties": true, "properties": {"_": {"type": "string", "enum": ["starGift", "starGiftUnique"]}}, "description": "Tipo 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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Reacción."}, "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": "Tipo 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": "Tipo de TL: 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": "Tipo de TL: Coordenadas de área de medios."}, "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": "Tipo de TL: Coordenadas de área de medios."}, "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: 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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "new_price": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "service_fee": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "service_fee": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "refund_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "fine": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "refund_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "refund_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "execution_allowance": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.0?long"}, "forward_amount": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long", "x-tl-flag": "flags.1?long"}, "fine": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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": "Tipo TL: Documento."}, "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Par."}, "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": "Tipo TL: Mensaje."}, "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": "Tipo 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": "Tipo TL: Usuario."}, "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": "Tipo TL: Mensaje."}}, "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": "Tipo TL: Mensaje."}, "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": "Tipo 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": "Tipo TL: Usuario."}, "x-tl-type": "Vector<User>"}, "recommendation_id": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo de TL: 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 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": "Tipo TL: Documento."}, "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 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "available": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "x-tl-type": "long"}, "pending_ton": {"type": "string", "pattern": "^-?\\d+$", "description": "64 bits de velocidad en десятичной записи.", "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 bits de velocidad en десятичной записи.", "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": {"Служебные методы": "Métodos de utilidad", "Авторизация": "Autorización", "Аккаунт": "cuenta", "Пользователи": "Usuarios", "Контакты": "Contactos", "Сообщения": "Mensajes", "Обновления": "Actualizaciones", "Фотографии": "Fotos", "Файлы": "Archivos", "Конфигурация и справка": "Configuración y ayuda", "Каналы и супергруппы": "Canales y supergrupos", "Боты": "robots", "Платежи": "Pagos", "Стикеры": "Pegatinas", "Звонки": "llamadas", "Переводы": "Traducciones", "Папки": "Carpetas", "Статистика": "Estadísticas", "Папки чатов": "Carpetas de chat", "Истории": "Historias", "Telegram Premium": "Telegram Premium", "SMS": "SMS", "Fragment": "Fragment", "aicompose": "Editor con IA", "communities": "Comunidades", "ephemeral": "Mensajes temporales", "toncenter": "TON Center", "wallet": "Monedero", "feed": "Noticias"}}